English

Checkpoint Merging via Bayesian Optimization in LLM Pretraining

Computation and Language 2025-06-04 v2

Abstract

The rapid proliferation of large language models (LLMs) such as GPT-4 and Gemini underscores the intense demand for resources during their training processes, posing significant challenges due to substantial computational and environmental costs. To alleviate this issue, we propose checkpoint merging in pretraining LLM. This method utilizes LLM checkpoints with shared training trajectories, and is rooted in an extensive search space exploration for the best merging weight via Bayesian optimization. Through various experiments, we demonstrate that: (1) Our proposed methodology exhibits the capacity to augment pretraining, presenting an opportunity akin to obtaining substantial benefits at minimal cost; (2) Our proposed methodology, despite requiring a given held-out dataset, still demonstrates robust generalization capabilities across diverse domains, a pivotal aspect in pretraining.

Keywords

Cite

@article{arxiv.2403.19390,
  title  = {Checkpoint Merging via Bayesian Optimization in LLM Pretraining},
  author = {Deyuan Liu and Zecheng Wang and Bingning Wang and Weipeng Chen and Chunshan Li and Zhiying Tu and Dianhui Chu and Bo Li and Dianbo Sui},
  journal= {arXiv preprint arXiv:2403.19390},
  year   = {2025}
}
R2 v1 2026-06-28T15:37:04.947Z