Bucket Pre-training is All You Need
<|reference_start|>Bucket Pre-training is All You Need: Large language models (LLMs) have demonstrated exceptional performance across various natural language processing tasks. However, the conventional fixed-length data composition strategy for pretraining, which involves concatenating and splitting documents, can introduce noise and limit the model's ability to capture long-range dependencies. To address this, we first introduce three metrics for evaluating data composition quality: padding ratio, truncation ratio, and concatenation ratio. We further propose a multi-bucket data composition method that moves beyond the fixed-length paradigm, offering a more flexible and efficient approach to pretraining. Extensive experiments demonstrate that our proposed method could significantly improving both the efficiency and efficacy of LLMs pretraining. Our approach not only reduces noise and preserves context but also accelerates training, making it a promising solution for LLMs pretraining.<|reference_end|>
@article{liu2024bucket,
    title={Bucket Pre-training is All You Need},
    author={Hongtao Liu, Qiyao Peng, Qing Yang, Kai Liu, Hongyan Xu},
    journal={arXiv preprint arXiv:2407.07495},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.07495},
    primaryClass={cs.CL}
}