Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

LLM Optimization with Reset Replay (LoRR)

Updated 8 July 2026
  • The paper demonstrates that integrating high replay with periodic resets and a hybrid objective recovers model plasticity, yielding improved performance on math and reasoning tasks.
  • It employs a reset mechanism using shrink-and-perturb to interpolate current parameters toward the initial checkpoint, effectively countering primacy bias.
  • Empirical results show that LoRR significantly boosts iterative preference training, achieving higher scores with limited high-quality preference data.

LLM optimization with Reset Replay (LoRR) is a post-training scheme for LLMs that targets the low sample efficiency and primacy bias of preference-based optimization. It is presented as a general plugin around preference-based finetuning, including DPO, KTO, IPO, rDPO, SimPO, and on-policy preference loops, and combines three elements: a high replay number, periodic parameter reset toward the initial checkpoint, and a hybrid objective that mixes supervised fine-tuning with a preference loss (Liu et al., 8 Aug 2025). The central claim is that aggressive data reuse can be made beneficial rather than destructive when replay is coupled with reset and mixed-objective optimization, allowing stronger performance from limited preference data on mathematical and general reasoning tasks (Liu et al., 8 Aug 2025).

1. Problem setting and motivation

LoRR is motivated by a recurrent weakness of post-training pipelines for reasoning LLMs: data and compute are both expensive, but standard preference optimization often performs relatively few gradient updates per collected sample. In the language of classical RL, this is a low replay ratio or low update-to-data ratio. The paper argues that higher replay should improve sample efficiency, but that naïvely increasing replay produces primacy bias and catastrophic overfitting (Liu et al., 8 Aug 2025).

In this setting, primacy bias is defined as a tendency to overfit initial experiences in a way that damages the rest of the learning process. The paper demonstrates the effect on Llama-3.2-3B with a heavy priming experiment: before normal DPO training, the model is trained on just the first batch 200 times, and even after later seeing all data the model never recovers its mathematical performance. The degradation is not confined to mathematics; unrelated MMLU-Pro subdomains such as health and psychology also decline (Liu et al., 8 Aug 2025). The result is used to argue that early data can lock in a poor policy, degrade subsequent rollouts, and impair later data collection itself.

The paper also emphasizes that early on-policy data is not uniformly reliable. For Llama-3.2, more rollout-generated data helps DPO math performance, whereas for Phi-3, early rollout data is lower quality and stronger SFT signals are more useful (Liu et al., 8 Aug 2025). A common misconception is therefore that more on-policy self-generated data is always preferable. The reported comparison instead treats early on-policy experience as uncertain in quality, which makes aggressive optimization on those samples risky.

These constraints matter because the math setting in the paper uses only about 8K high-quality preference pairs, sampled from MetaMath and MMIQC and pre-processed into preference form by Step-DPO-style pipelines (Liu et al., 8 Aug 2025). LoRR is proposed as a way to extract more optimization signal from such limited supervision.

2. Reset Replay as a training loop

LoRR modifies the training loop rather than introducing a new standalone preference loss. Its three components are high replay, reset with shrink-and-perturbation, and a hybrid SFT-plus-preference objective (Liu et al., 8 Aug 2025). In that sense, it is not a replacement for DPO, IPO, KTO, rDPO, or SimPO; it is a wrapper around them.

At a high level, training starts from an initial policy πθinit\pi_{\theta_{\text{init}}} and maintains a current policy πθ\pi_\theta and, for DPO-style objectives, a reference policy πref\pi_{\text{ref}} (Liu et al., 8 Aug 2025). For each outer iteration, a batch of prompts is sampled from a dataset. Then, for each replay index ℓ=1,…,L\ell = 1,\dots,L on the same prompt batch, the model generates candidate responses, scores them with a verifier, constructs winner-loser preference pairs, performs a reset toward the initial checkpoint, and updates the model with the hybrid loss (Liu et al., 8 Aug 2025).

The reset step is the most distinctive operation:

θ←αθ+(1−α)θinit.\theta \gets \alpha \theta + (1-\alpha)\theta_{\text{init}}.

The paper describes this as interpolating parameters toward the initial model and frames it as shrink-and-perturb (Liu et al., 8 Aug 2025). The intuition is that frequent high-replay updates induce loss of plasticity and overfitting to recent data, whereas reset partially erases that over-specialization and restores capacity to learn from new batches.

For each prompt x\mathbf{x} in a replay pass, the model samples KK candidates,

{y1,…,yK}∼πθ(⋅∣x),\{\mathbf{y}_1,\dots,\mathbf{y}_K\} \sim \pi_\theta(\cdot \mid \mathbf{x}),

scores them with a reward verifier r(x,yi)r(\mathbf{x}, \mathbf{y}_i), and chooses

yw=arg⁡max⁡yiri,yl=arg⁡min⁡yiri.\mathbf{y}_w = \arg\max_{\mathbf{y}_i} r_i,\quad \mathbf{y}_l = \arg\min_{\mathbf{y}_i} r_i.

With probability πθ\pi_\theta0, the update uses the newly rolled-out pair πθ\pi_\theta1; with probability πθ\pi_\theta2, it uses an initial-data pair from the original dataset or initial policy (Liu et al., 8 Aug 2025). This mixes on-policy and initial data during every replay phase.

The default configuration in the main experiments uses replay number πθ\pi_\theta3, sample count πθ\pi_\theta4, and reset coefficient πθ\pi_\theta5, with the dataset divided into 7 reset intervals overall (Liu et al., 8 Aug 2025). Ablations reported in the paper show that πθ\pi_\theta6 improves performance, whereas πθ\pi_\theta7 begins to hurt, indicating that reset does not remove overfitting at arbitrarily high replay (Liu et al., 8 Aug 2025).

3. Hybrid objective and scheduling

LoRR uses a hybrid loss that combines supervised fine-tuning on the winning responses with a preference objective:

πθ\pi_\theta8

For DPO instantiations, the paper writes the SFT term on winners as

πθ\pi_\theta9

and combines it with the DPO loss on the same batch πref\pi_{\text{ref}}0 (Liu et al., 8 Aug 2025). The paper’s claim is not merely that SFT helps in isolation. It reports that varying SFT ratio alone, without replay and reset, yields only small improvements and then overfits; the hybrid objective is effective specifically as part of the full replay-reset scheme (Liu et al., 8 Aug 2025).

Two schedules control how LoRR moves from initial data toward fresh rollouts and from preference-only updates toward stronger winner fitting. The rollout ratio is initialized at πref\pi_{\text{ref}}1 and decreases with replay index:

πref\pi_{\text{ref}}2

Thus early replays rely more heavily on initial off-policy data, while later replays rely more on current on-policy rollouts (Liu et al., 8 Aug 2025).

The SFT weight starts from πref\pi_{\text{ref}}3 and increases with replay index:

πref\pi_{\text{ref}}4

Early replays are therefore pure preference optimization, and later replays place more weight on SFT over winners (Liu et al., 8 Aug 2025). This scheduling is meant to exploit good current samples more aggressively later in the replay cycle while reducing sensitivity to uncertain early on-policy data.

A second misconception addressed by the paper is that LoRR is equivalent to “just replaying more.” The ablation results argue against that interpretation: high replay without LoRR’s reset and hybrid components either saturates or degrades, and the full combination of reset, data mixing, and hybrid optimization produces the largest gains (Liu et al., 8 Aug 2025).

4. Empirical setting and reported performance

The paper evaluates LoRR on Llama3.2-3B-Instruct, Phi-3-mini-4K-Instruct, and Qwen2.5-3B-Instruct, with Qwen2.5-Math-7B-Instruct used for iterative DPO with LoRR (Liu et al., 8 Aug 2025). Math training uses about 8K high-quality preference pairs derived from MetaMath and MMIQC, while general reasoning uses the UltraFeedback dataset (Liu et al., 8 Aug 2025). Math evaluation is reported on GSM8K, MATH or MATH500, TabMWP, Minerva, OlympiadBench, AMC’23, and AIME’24 using Pass@1; general reasoning is evaluated with MMLU-Pro over 14 domains with shuffled choice order (Liu et al., 8 Aug 2025).

Across Llama3.2-3B, Phi-3, and Qwen2.5-3B, and across five preference methods—DPO, KTO, IPO, rDPO, and SimPO—the paper reports that LoRR consistently improves both the base preference method and iterative preference training without LoRR (Liu et al., 8 Aug 2025). On Llama3.2-3B, the six-task math average for the base Instruct model is 25.55, SimPO is 25.63, SimPO Iterative is 26.83, and SimPO+LoRR reaches 29.88, a gain of +4.3 absolute over the Instruct baseline (Liu et al., 8 Aug 2025). On Phi-3, SimPO+LoRR reaches 24.93 versus base SimPO at 22.57 and Instruct at 23.42; on Qwen2.5-3B, SimPO+LoRR reaches 39.77 versus base SimPO at 37.30 and Instruct at 37.12 (Liu et al., 8 Aug 2025).

On MMLU-Pro with UltraFeedback, the paper states that DPO or SimPO with varying SFT ratios but without replay and reset shows only small gains and overfits after about 400 steps, whereas LoRR with replay, reset, and hybrid optimization yields higher final MMLU-Pro averages (Liu et al., 8 Aug 2025). This is presented as evidence that LoRR is not only a math-specific intervention.

The most prominent comparison is on Qwen2.5-Math-7B-Instruct under iterative DPO with LoRR. After three iterations, the reported scores are MATH500 75.6, Minerva 36.0, OlympiadBench 37.2, AMC23 60.0, and AIME24 30.0, for an average of 47.8 (Liu et al., 8 Aug 2025). The paper compares this with Qwen2.5-7B-DPO-VP at 46.9 average, Simple-RL-Zero at 45.7, ReLIFT at 45.1, and DPO-R1-Zero at 45.0 (Liu et al., 8 Aug 2025). Iterative progression is also reported: 42.1 at iteration 1, 46.2 at iteration 2, and 47.8 at iteration 3 (Liu et al., 8 Aug 2025).

The compute and data comparison is central to the paper’s interpretation. Qwen2.5-7B-DPO-LoRR uses 8K pairs and 1 A100 for 2 days; Qwen2.5-7B-DPO-VP uses 8K pairs and 1 A100 for 3 days; ReLIFT uses 45K examples and 16 A800s; rStar-Math-7B uses about 3.6M evolution data and 80 H100s for several days (Liu et al., 8 Aug 2025). The paper’s stated conclusion is that iterative DPO augmented with LoRR can match or surpass several RL-based methods on challenging math tasks while using limited data and modest compute (Liu et al., 8 Aug 2025).

5. Relation to adjacent replay-based post-training methods

LoRR belongs to a broader replay-oriented turn in LLM post-training, but its reset mechanism operates at the parameter level rather than exclusively at the trajectory or prompt level. This suggests that LoRR can be situated alongside several neighboring methods while remaining conceptually distinct.

"Improving RL Exploration for LLM Reasoning through Retrospective Replay" stores promising intermediate states, later resets generation to those prefixes, and replays them as new starting points for PPO updates, with prefix masking so only continuation tokens are optimized (Dou et al., 19 Apr 2025). "RePO: Replay-Enhanced Policy Optimization" instead augments GRPO with off-policy replay buffers keyed by prompt and uses strategies such as recency-based, reward-oriented, and variance-driven replay, together with split on- and off-policy normalization (Li et al., 11 Jun 2025). "Reinforcement Learning with Experience rePlay for LLM Reasoning" uses a two-phase design that first collects verified successful trajectories and then replays them alongside fresh rollouts in a second RL run (Zhang et al., 10 Jul 2025).

Other replay-centered work extends the idea in different directions. "R3: Replay, Reflection, and Ranking Rewards for LLM Reinforcement Learning" uses cross-context replay at the query level, in-context self-reflection for hard queries, and a structural entropy ranking reward for failed or truncated trajectories (Jiang et al., 27 Jan 2026). "Efficient RL Training for LLMs with Experience Replay" formalizes replay-buffer design as a trade-off among staleness-induced variance, diversity, and generation cost, and argues that strict on-policy sampling is suboptimal when generation is expensive (Arnal et al., 9 Apr 2026).

In continual learning rather than RL, replay also appears as an anti-forgetting mechanism. "Forgetting in LLMs: Capacity, Optimization, and Self-Generated Replay" studies replay from a frozen reference model and shows that self-generated samples can nearly eliminate forgetting when capacity is not the limiting factor (Marek et al., 25 May 2026). "SuRe: Surprise-Driven Prioritised Replay for Continual LLM Learning" prioritizes high-NLL sequences in a fixed replay buffer and combines replay with fast and slow LoRA adapters merged through EMA (Hazard et al., 27 Nov 2025). "GeRe: Towards Efficient Anti-Forgetting in Continual Learning of LLM via General Samples Replay" uses a fixed set of 1,000 pretraining-like texts and introduces threshold-based margin loss to preserve activation-state consistency during replay (Zhang et al., 6 Aug 2025).

Within this landscape, LoRR’s characteristic combination is high replay together with periodic reset toward the initial checkpoint and increasing SFT weight over the replay cycle (Liu et al., 8 Aug 2025). The neighboring methods show that replay can target prefixes, successful trajectories, hard queries, or self-generated pretraining-like samples; LoRR instead treats plasticity restoration itself as a first-class optimization primitive.

6. Limitations, interpretation, and significance

The paper explicitly identifies several limitations. Very large replay numbers such as πref\pi_{\text{ref}}5 become less effective in later training stages, which motivates adaptive or annealed replay schedules as a future direction (Liu et al., 8 Aug 2025). The mechanism by which resets restore plasticity in LLMs is not fully understood, nor is the behavior of dormant neurons under repeated shrink-and-perturb cycles (Liu et al., 8 Aug 2025). The demonstrated scale is 3B to 7B; behavior on models above 30B or on mixture-of-experts architectures is left open (Liu et al., 8 Aug 2025). The method also presumes either a reward verifier or some preference data to bootstrap from, and the paper notes that its benefit may be smaller when the base model or data is already very strong and rich (Liu et al., 8 Aug 2025).

A third misconception concerns scope. LoRR is not restricted to DPO, and it is not defined as an RL algorithm in the narrow sense. The paper presents it as a drop-in training scheme for offline preference objectives such as DPO, KTO, IPO, rDPO, and SimPO, as well as for on-policy preference loops and RL-style methods using verifiable rewards mapped to preferences (Liu et al., 8 Aug 2025). Another misconception is that reset simply discards learning. The reported interpretation is the opposite: interpolation toward the initial checkpoint preserves network plasticity and prevents the model from becoming locked into early, uncertain experiences (Liu et al., 8 Aug 2025).

The broader significance claimed by the paper is that high replay, long regarded as a sample-efficiency tool in RL, can be transferred to LLM preference optimization if primacy bias and loss of plasticity are controlled (Liu et al., 8 Aug 2025). A plausible implication is that LoRR reframes preference-based post-training as a replay-management problem rather than only a loss-design problem. Under that interpretation, its contribution is less a new objective than a specific answer to how limited preference data can be safely reused many times without allowing initial errors to dominate the policy.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to LLM optimization with Reset Replay (LoRR).