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 +1 more
6/17/2025
cs.CL

Official code: llm-jp/massive-sft (1 star, last commit 2026-02-16).

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.

View on arXivView PDF

Code Implementations(1)

llm-jp/massive-sftOfficial100%
10Sep 19, 20258 months ago

Similar Papers

Cite this paper

@article{harada2025massive,
  title  = {Massive Supervised Fine-tuning Experiments Reveal How Data, Layer, and Training Factors Shape LLM Alignment Quality},
  author = {Yuto Harada and Yusuke Yamauchi and Yusuke Oda and Yohei Oseki and Yusuke Miyao and Yu Takagi},
  year   = {2025},
  eprint = {2506.14681},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.14681v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.14681.svg)](https://codeofpaper.com/paper/2506.14681)

Discussion