Abstract
LoRR (LLM optimization with Reset Replay) is a sample-efficient framework designed to enhance the post-training of Large Language Models (LLMs). By integrating high-frequency data replay with periodic parameter resets and a hybrid optimization objective, LoRR effectively mitigates primacy bias and maintains model plasticity. Our evaluation across mathematical and general reasoning benchmarks shows that LoRR enables smaller models, such as Llama 3.2-3B and Qwen 2.5-7B, to achieve reasoning capabilities comparable to complex reinforcement learning algorithms while utilizing significantly less training data and computational power.
Introduction
Post-training Large Language Models via Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO) is typically data-hungry and computationally expensive. Two major hurdles impede efficiency: low sample efficiency, where models require massive interactions to learn stable policies, and primacy bias, where early training experiences lead to a permanent loss of plasticity. LoRR addresses these challenges by replaying data multiple times while preventing overfitting through strategic parameter resets.
Methodology
The LoRR framework is built upon three core pillars:
- High Replay Number (L): Unlike standard approaches that update once per batch, LoRR performs multiple gradient updates (optimally L=3) on the same data.
- Reset Strategy (Shrink & Perturb): To combat overfitting from high replay, the model's weights are periodically "reset" by interpolating them with initial pre-trained weights (pi_theta = alpha * pi_theta + (1-alpha) * pi_init). This restores the network's plasticity, allowing it to keep learning without getting stuck.
- Hybrid Optimization Objective: LoRR combines preference losses (e.g., DPO) with a Supervised Fine-Tuning (SFT) loss, allowing the model to fit correct answers directly while learning relative preferences.
The algorithm also employs a dynamic rollout ratio, gradually mixing in more initial high-quality samples as the replay count increases to maintain data diversity.
The Threat of Primacy Bias and Plasticity Loss
Primacy bias is a phenomenon where a model overfits so heavily to its initial experiences that it loses the ability to learn effectively from subsequent data. The authors demonstrate that "heavy priming"—over-training on the first batch of data—can permanently damage a model's peak performance potential.
Periodic resets act as a "refresh" button, restoring the network's plasticity and allowing it to continue learning without becoming "stiff."
Key Results and Benchmarks
LoRR was evaluated across demanding benchmarks including GSM8K, MATH, and MMLU-Pro. The framework proved compatible with various base methods such as DPO, KTO, and SimPO.
Key performance highlights include:
- Llama 3.2-3B: Average math reasoning scores increased from 25.55 to 29.88.
- Qwen 2.5-7B: An iterative DPO approach with LoRR reached an average math score of 47.8, outperforming "Simple-RL-Zero" (45.7) and "DPO-VP" (46.9) while using significantly less training data.
- Generalization: On MMLU-Pro, LoRR-trained models exhibited more stable learning curves and higher final accuracy compared to standard DPO, which often suffered from performance dips due to overfitting.
Conclusion and Future Work
LoRR provides a scalable path to state-of-the-art reasoning without requiring massive compute clusters; the best results were achieved on a single A100 GPU in just two days. Future research will explore adaptive replay frequencies to address diminishing returns in later training stages and further investigate the underlying mechanisms of plasticity degradation in LLMs.
Summary updated