[Paper Review] To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisis
The paper studies repeating pre-training data (multi-epoch training) under token-crisis, showing multi-epoch degradation, identifying its causes, and proposing mitigation via dropout and MoE-based hyper-parameter tuning.
Recent research has highlighted the importance of dataset size in scaling language models. However, large language models (LLMs) are notoriously token-hungry during pre-training, and high-quality text data on the web is approaching its scaling limit for LLMs. To further enhance LLMs, a straightforward approach is to repeat the pre-training data for additional epochs. In this study, we empirically investigate three key aspects under this approach. First, we explore the consequences of repeating pre-training data, revealing that the model is susceptible to overfitting, leading to multi-epoch degradation. Second, we examine the key factors contributing to multi-epoch degradation, finding that significant factors include dataset size, model parameters, and training objectives, while less influential factors consist of dataset quality and model FLOPs. Finally, we explore whether widely used regularization can alleviate multi-epoch degradation. Most regularization techniques do not yield significant improvements, except for dropout, which demonstrates remarkable effectiveness but requires careful tuning when scaling up the model size. Additionally, we discover that leveraging mixture-of-experts (MoE) enables cost-effective and efficient hyper-parameter tuning for computationally intensive dense LLMs with comparable trainable parameters, potentially impacting efficient LLM development on a broader scale.
Motivation & Objective
- Motivate the study by addressing data bottlenecks in scaling LLMs under token scarcity (token-crisis).
- Empirically quantify the effects of repeating pre-training data on model performance and downstream tasks.
- Identify data, model, and training-objective factors driving multi-epoch degradation.
- Explore regularization and architectural strategies to mitigate degradation, including dropout and mixture-of-experts (MoE).
- Propose a cost-effective hyper-parameter tuning approach using MoE to predict behavior of larger dense models.
Proposed method
- Replicate pre-training with repeated data on C4 using T5 encoder-decoder configuration to assess data-hungry behavior; verify Chinchilla scaling law on C4.
- Systematically vary dataset size, repetition rate, and total compute to observe multi-epoch degradation across model scales (Base, Large, XL).
- Compare training objectives (MLM vs UL2) under token-crisis to evaluate impact on degradation and downstream tasks.
- Evaluate regularization techniques (dropout, dropPath, label-smoothing, weight decay) via ablation studies to identify effective mitigation.
- Use Mixture-of-Experts (MoE) and parameter-sharing (ParamShare) to decouple parameters and FLOPs, and test MoE as a predictor of larger dense-model behavior.
- Perform dropout sweeps with MoE to identify optimal dropout rates, and demonstrate MoE-based hyper-parameter tuning to reduce compute needs.
Experimental results
Research questions
- RQ1What are the consequences of repeating pre-training data under token-crisis for LLMs?
- RQ2What factors (data, model, training objectives) drive multi-epoch degradation when data are repeated?
- RQ3Can regularization techniques mitigate multi-epoch degradation, and which are most effective?
- RQ4Can MoE architectures and hyper-parameter tuning reliably predict and substitute for large dense-model tuning costs?
- RQ5How do different training objectives (MLM vs UL2) influence degradation and downstream performance under token-crisis?
Key findings
- Multi-epoch degradation occurs when training with repeated tokens; larger models are more prone to overfitting under token-crisis.
- Increasing dataset size can alleviate degradation, whereas dataset quality alone does not fully mitigate it; model parameters impact degradation while FLOPs have limited effect.
- Mixture-of-Experts (MoE) can simulate larger dense-model behavior with lower FLOPs, enabling cost-effective hyper-parameter tuning; regularization via dropout is notably effective, while other tricks show limited or negative effects.
- Dropout can significantly improve stability across model scales, though XL-scale models may still face challenges requiring careful tuning; staged/drop-in dropout can match performance with less early-stage disruption.
- UL2 objectives accelerate learning but may exhibit stronger multi-epoch degradation under token-crisis than vanilla MLM; diverse objectives do not universally alleviate degradation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.