Skip to content

Endogenous forgetting: why fixed-data RL can lose solutions

optionalcorefrontierpaperrubric 11/122026 · ~35 min

Jingyan Shen, Stephanie Milani, Akshay Krishnamurthy, Jordan T. Ash

Read first: DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models · Evaluating reasoning RL: pass@1, pass@k, voting, verifiers and budgets

Status

Intuition. Even if you revisit the same textbook exercises uniformly, your own changing answers determine which exercises teach you anything. Once a rare solution disappears, sampling another correct answer may become too unlikely to recover it. The paper calls this endogenous forgetting.

Source and date: v1, November 26, 2026, discovered on HF’s December 2 list. This is delayed discovery, not a December submission.

First read: learn the accounting identity and the difference between replaying a prompt and replaying its successful response. Skip individual training curves initially.

Fixed prompt distribution, moving learning signal

Section titled “Fixed prompt distribution, moving learning signal”

The studied GRPO variant centers rewards within each group, without reward-standard-deviation normalization or a KL penalty. With binary verification, an all-correct or all-incorrect group has zero advantages. The changing policy therefore changes both which prompts produce a useful group and which solution traces get reinforced:

policy changes -> different sampled solutions / nonzero-advantage prompts
-> updates on that changing effective distribution
-> some earlier successes become hard to sample

The analysis is not claiming every mixed-reward group necessarily has a nonzero net parameter gradient; clipping, gradient cancellation and advantage magnitudes also matter.

Let m(q,t)m(q,t) be a prompt’s true pass@1 at checkpoint tt, and m∗(q,t)m^*(q,t) its maximum over evaluated checkpoints so far. Define

Gatt=Eq[m∗(q,t)−m(q,0)],Funrec=Eq[m∗(q,t)−m(q,t)].G_{\mathrm{att}}=\mathbb E_q[m^*(q,t)-m(q,0)], \qquad F_{\mathrm{unrec}}=\mathbb E_q[m^*(q,t)-m(q,t)].

Then the net mean pass@1 gain is exactly Gatt−FunrecG_{\mathrm{att}}-F_{\mathrm{unrec}}. This identity does not assume a particular optimizer.

Worked example, invented for illustration:

PromptInitialIntermediateFinalAttained gainUnrecovered loss
A0.20.80.50.60.3
B0.60.70.70.10

With equal prompt weights, attained gain is 0.35 and loss is 0.15; net gain is 0.20. A positive aggregate does not imply retained skill. In experiments these probabilities must be estimated: noisy maxima and more frequent evaluation can inflate apparent forgetting.

The authors take positive-advantage trajectories from RL and train identical initial models with SFT, either in the original temporal order or after shuffling the same data. In six model/domain settings, temporal ordering increases unrecovered loss in all six and gives lower final pass@64 in five. The intervention isolates ordering within this offline experiment, not every aspect of RL.

Shuffling future trajectories is impossible online. The implementable alternative is to retain past successes.

During RL, retain verified successful prompt–response pairs. In addition to the current on-policy surrogate JtJ_t, maximize

Jtreplay(θ)=Jt(θ)+λ E(q,o+)∼νt[1∣o+∣∑ℓlog⁡πθ(oℓ+∣q,o<ℓ+)].J_t^{\mathrm{replay}}(\theta)=J_t(\theta)+ \lambda\,\mathbb E_{(q,o^+)\sim\nu_t} \left[\frac{1}{|o^+|}\sum_\ell \log\pi_\theta(o_\ell^+\mid q,o^+_{\lt\ell})\right].

This is supervised maximum likelihood on historical trajectories, not a stale-trajectory policy gradient without importance correction. The RL experiments use λ=0.1\lambda=0.1; the separate ordered-SFT experiment uses replay strength 1.

The RL replay sampler first chooses a buffered prompt, weighted by one minus its most recently observed success-rate estimate, multiplied by a cooldown factor. That factor drops to zero after replay and recovers linearly over an epoch. It then samples a stored success uniformly for that prompt. Estimates can be stale; cooldown reduces repeated selection, not estimation error itself.

All findings are author-reported:

ComparisonObservation
RL plus replay, eight settingsLower unrecovered loss in seven; higher pass@64 in all eight
Qwen3-8B-Base, mathUnrecovered loss falls by 13.0 points; final pass@1 rises by 6.9 points
Ordered SFT plus replayCoverage improves, but pass@1 is not uniformly higher

The Cryptarithm exception is informative: standard RL learns little and thus has less attained skill to lose. A low forgetting number alone can reward not learning.

Runs match gradient-step count, not necessarily total training FLOPs: replay adds tokens. Coverage measured by pass@64 is distinct from reliable one-attempt correctness and from choosing the correct sampled answer. Historical reward errors can also become persistent replay targets.

  • Reasoning-RL evaluation distinguishes average accuracy, pass@k and voting.
  • Maco-RL stores instances for fresh rollouts in its history buffer; this paper stores successful trajectories for supervised replay.
  • OPSE changes where training problems and hinted teachers come from; retaining old successes is a separate axis.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    Two equally weighted prompts have true success probabilities across three checkpoints of (0.2, 0.8, 0.5) and (0.6, 0.7, 0.7). Compute attained gain, unrecovered loss and net mean pass@1 change at the last checkpoint. What would looking only at the net hide?

    What a strong answer covers
    • Initial mean is 0.4 and final mean is 0.6, giving net gain 0.2.
    • Prompt maxima are 0.8 and 0.7; attained gain is ((0.8−0.2)+(0.7−0.6))/2 = 0.35.
    • Unrecovered loss is ((0.8−0.5)+(0.7−0.7))/2 = 0.15; 0.35−0.15 = 0.2.
    • The positive aggregate hides a 0.3 decline from the best observed checkpoint on the first prompt; empirical maxima also need correction for sampling noise.
  2. Mechanism

    Explain how uniformly sampled fixed prompts create a changing effective curriculum under binary-reward GRPO. Why can a formerly solvable prompt lose its own recovery signal?

    What a strong answer covers
    • The current policy determines both the response distribution and whether a group contains reward variation.
    • All-success and all-failure groups have zero group-centered advantages in the studied variant.
    • Parameter updates from other prompts can move a rare success out of practical sampling reach, leaving all-failure groups.
    • This is endogenous distribution drift, unlike an externally specified sequence of different tasks.
  3. What if…

    The paper trains on identical successful trajectories in temporal order or shuffled order. What does that isolate, and why is shuffled SFT not an implementable online RL remedy?

    What a strong answer covers
    • Holding trajectories, initialization and hyperparameters fixed isolates the effect of presentation order in an offline SFT experiment.
    • Ordered SFT has greater unrecovered loss in all six settings and lower pass@64 in five; this is not a theorem about every optimizer or task.
    • Shuffling the whole stream requires future trajectories unavailable during online learning.
    • Historical-success replay uses only previously collected trajectories; match added token compute as well as update count when comparing remedies.
  4. Critique

    A replay run has higher pass@64 and lower measured forgetting at the same number of gradient steps. Identify two reasons this alone does not establish a compute-efficient general solution to reasoning collapse.

    What a strong answer covers
    • Replay adds supervised training tokens, so equal gradient steps do not imply equal FLOPs or wall time.
    • Estimated per-prompt maxima are upward-biased by evaluation noise and depend on checkpoint frequency; confidence-aware estimation matters.
    • Higher sampled coverage does not guarantee discovery beyond the base model or better deployed answer selection.
    • Results concern the tested verifiable domains and small-to-8B models, not arbitrary long-horizon tool environments.
  5. Design

    Design a successful-trajectory replay policy for a verifier-trained agent where easy prompts produce most successes and old traces can contain shortcuts. How would you prevent both buffer domination and reward-hack preservation?

    What a strong answer covers
    • Sample prompts before trajectories, prioritize rare successes and use cooldown to prevent repeated replay of stale low-pass-rate estimates.
    • Revalidate stored successes with trusted current graders; quarantine shortcuts instead of preserving any positive historical reward.
    • Add supervised likelihood on old verified traces, not an uncorrected off-policy policy-gradient update.
    • Track per-prompt retention, pass@1, large-budget coverage and total token compute, with a matched-compute baseline.

Done with this page?

Status