Massive Supervised Fine-tuning Experiments Reveal How Data, Layer, and Training Factors Shape LLM Alignment Quality
Yuto Harada, Yusuke Yamauchi, Yusuke Oda, Yohei Oseki, Yusuke Miyao, Yu Takagi
TL;DR
The paper investigates how data, model architecture, and training choices shape the alignment quality of LLMs under supervised fine-tuning (SFT) through a large-scale, controlled study across 12 base models and 10 English-language datasets. It reveals that perplexity relative to the base model robustly predicts downstream gains, mid-layer weight updates best track performance, and embedding-space analyses show a shared instruction-following trajectory across models, with model architecture exerting a strong influence on representations. The work also demonstrates that LoRA trajectories closely mirror full-parameter fine-tuning and that cross-lingual transfer persists even when training data are English-only, offering practical guidance for efficient SFT. By releasing over 1,000 fine-tuned models and a rich benchmark suite, the study provides a valuable resource for understanding SFT dynamics and guiding future alignment research.
Abstract
Supervised fine-tuning (SFT) is a critical step in aligning large language models (LLMs) with human instructions and values, yet many aspects of SFT remain poorly understood. We trained a wide range of base models on a variety of datasets including code generation, mathematical reasoning, and general-domain tasks, resulting in 1,000+ SFT models under controlled conditions. We then identified the dataset properties that matter most and examined the layer-wise modifications introduced by SFT. Our findings reveal that some training-task synergies persist across all models while others vary substantially, emphasizing the importance of model-specific strategies. Moreover, we demonstrate that perplexity consistently predicts SFT effectiveness, often surpassing superficial similarity between the training data and the benchmark, and that mid-layer weight changes correlate most strongly with performance gains. We release these 1,000+ SFT models and benchmark results to accelerate further research. All resources are available at https://github.com/llm-jp/massive-sft.
