57
2
v1v2 (latest)

The Right Time Matters: Data Arrangement Affects Zero-Shot Generalization in Instruction Tuning

Ning Ding
Cheng Qian
Huan-ang Gao
Longtao Huang
Hui Xue
Huimin Chen
Zhiyuan Liu
Maosong Sun
Abstract

Understanding alignment techniques begins with comprehending zero-shot generalization brought by instruction tuning, but little of the mechanism has been understood. Existing work has largely been confined to the task level, without considering that tasks are artificially defined and, to LLMs, merely consist of tokens and representations. To bridge this gap, we investigate zero-shot generalization from the perspective of the data itself. We first demonstrate that zero-shot generalization happens very early during instruction tuning, with loss serving as a stable indicator. Next, we investigate training data arrangement through similarity and granularity perspectives, confirming that the timing of exposure to certain training examples may greatly facilitate generalization on unseen tasks. Finally, we propose a more grounded training data arrangement framework, Test-centric Multi-turn Arrangement, and show its effectiveness in promoting continual learning and further loss reduction. For the first time, we show that zero-shot generalization during instruction tuning is a form of similarity-based generalization between training and test data at the instance level. Our code is released atthis https URL.

View on arXiv
@article{he2025_2406.11721,
  title={ The Right Time Matters: Data Arrangement Affects Zero-Shot Generalization in Instruction Tuning },
  author={ Bingxiang He and Ning Ding and Cheng Qian and Jia Deng and Ganqu Cui and Lifan Yuan and Haiwen Hong and Huan-ang Gao and Longtao Huang and Hui Xue and Huimin Chen and Zhiyuan Liu and Maosong Sun },
  journal={arXiv preprint arXiv:2406.11721},
  year={ 2025 }
}
Comments on this paper