Success Can Still Fail: Objective Choice in Recursive Self-Training

Elijah Ng, Jennifer DodgsonarXiv 2026

TL;DR

When AI agents train recursively on their own verified successes, you might assume they can only get better—yet standard fine-tuning often causes them to stall and collapse. Surprisingly, the "failed" data buffers generated by dying models can still train high-performing agents if you simply swap the mathematical loss function. By combining token-probability weighting with an anchor to the base model, researchers turned a collapsing feedback loop into a thriving 10-round self-improvement engine.

What Problem Does This Paper Address?

Imagine teaching an AI to code by letting it try things in a sandbox, keeping only the scripts that actually work, and training the next generation on those winners. Because every single training example is a verified success, it feels intuitive that the system should steadily improve, or at least stay competent.

In reality, recursive self-training creates a delicate, stateful feedback loop: today's loss function shapes today's model, which determines tomorrow's dataset. Over multiple generations, models can narrow their behavior, drift away from their foundational knowledge, or paint themselves into a corner where they can no longer generate enough valid solutions to fill the next training batch. The authors investigate how the choice of training objective steers this evolutionary lineage—separating the immediate quality of a trained checkpoint from the hidden value of the data it leaves behind.

Methods

Building on a protocol called Negative Space Learning, the authors set up a 10-round evolutionary loop using a frozen Qwen2.5-Coder-7B-Instruct base model. Crucially, model weights are never passed directly between rounds. Instead, each round fits a brand-new LoRA adapter from scratch using a sliding window of the three most recent collections of successful agent interactions (1,000 rows each), mixed with 500 fixed "rehearsal" examples. Inheritance happens strictly through data.

Figure 1. One objective switch across two fits. At round 6, both branches fit fresh adapters from the same frozen base using the same three DFT-generated collections and fixed rehearsal corpus. Each agent then generates its own collection A6 from successful attempts. At round 7, the two buffers share the inherited collections A5 and A4.

The authors test a 2×2 grid of existing supervised objectives by toggling two mechanisms:

  • Target-token weighting: Standard Supervised Fine-Tuning (SFT) treats every target token equally. Dynamic Fine-Tuning (DFT) multiplies each token's loss by the model's current probability for that token—meaning it softly ignores bizarre, low-probability flukes instead of violently contorting its weights to memorize them.
  • Reference regularization: Adding a forward-KL divergence penalty (+KL) acts like a bungee cord tethered to the frozen base model, preventing extreme distribution drift.

Combining both mechanisms yields Anchored Supervised Fine-Tuning (ASFT), where low-probability targets automatically receive gentler fitting updates and stronger base-model anchoring. The authors also formalize this sliding-window loop mathematically (adapting stateful performative prediction) and run "switch" experiments where a lineage changes loss functions mid-run.

Figure 2. Target weighting and KL anchoring at one recorded prefix. (a) With current target probability p, the target-fitting contribution to the negative gradient on the recorded target’s logit is 1 −p under equal weighting and p(1 −p) under detached probability weighting. (b) For each token v at prefix h, ASFT adds the KL contribution λu[π0(v | h) −πθ(v | h)] to the weighted target-fitting contribution. On the “shelf” logit, the two contributions sum to −0.02 + 0.05 = +0.03.

Datasets

  • Recursive File-Cleanup Task: An execution-based sandbox environment where an agent succeeds if it deletes at least 5% of disposable files, leaves protected files untouched, and keeps the system functional. Evaluated online during collection and offline on a fixed 200-item panel across five filesystem variations.
  • Rehearsal Corpus: 500 fixed Python examples drawn from flytech/python-codes-25k.
  • Complementary Single-Round Benchmark: FictionalQA (990 fictional and 512 background documents) paired with TriviaQA (200 items to measure knowledge retention), used in the appendix to test single-round document adaptation without a recursive loop.

Key Insights and Ideas

  • Weak checkpoints can hide goldmine datasets: When a lineage performs terribly, it is tempting to blame "poisoned" synthetic data. By taking the exact data buffers from struggling Round-6 DFT models and fitting fresh adapters using ASFT, evaluation performance tripled. The data was fine; the previous objective just couldn't digest it cleanly.
  • Neither mechanism works alone: Standard SFT over-reacts to low-probability tokens in synthetic traces; SFT+KL stays close to the base model yet still stalls out; DFT learns fast initially but drifts away from base capabilities. Only the synergy of probability weighting and base anchoring (ASFT) sustains learning.
  • Equal performance does not mean convergent data: Even when lineages switched from DFT to ASFT mid-stream and caught up to pure-ASFT performance, their underlying data buffers actually grew farther apart in Wasserstein distance—and some high-scoring agents narrowed their behavioral repertoire from ~190 distinct cleanup scripts down to just 1 or 22.

Key Results

  • Sustaining the loop: Across all three runs, ASFT completed all 10 rounds, climbing to 92.3% mean evaluation success (and 92.0% online collection success). Both SFT and SFT+KL died out between rounds 6 and 8 because their success rates dropped near zero and they failed to collect 1,000 valid rows within 4,000 attempts. DFT peaked early and decayed, averaging 40.8% across its two surviving Round-10 runs.
Online success across 10 data collection rounds, showing ASFT steadily climbing while SFT variants collapse.
  • Rescuing "bad" buffers: At Round 6, original DFT checkpoints averaged just 22.2% evaluation success. Training fresh adapters on those exact same DFT buffers yielded 66.8% with ASFT and 54.2% with SFT.
  • Mid-run recovery: Lineages that started with SFT or DFT and switched to ASFT at Round 3 recovered completely, hitting 92.0% and 93.8% success by Round 10.
  • Task dependence: ASFT isn't a universal hammer—on the single-round FictionalQA task, SFT+KL achieved the best held-out answer likelihood and MCQ accuracy (33.08% vs. ASFT's 31.09%), though ASFT best preserved prior TriviaQA knowledge.

Limitations and Future Work

The recursive experiments focus on a single 4-bit quantized 7B model, one primary task family (file cleanup), three starting datasets with a shared training seed, and a 10-round horizon. Furthermore, the theoretical contraction bound assumes idealized population distributions and fixed mixture weights, leaving real-world finite-sample contraction factors undetermined. For future work, the authors propose deliberately perturbing a recorded data buffer and running parallel lineages forward to directly test whether disturbances damp out and whether recursive trajectories truly settle into stable attractors.

Summary updated

BibTeX
@misc{ng2026success,
  author = {Elijah Ng and Jennifer Dodgson},
  title = {{Success Can Still Fail: Objective Choice in Recursive Self-Training}},
  year = {2026},
  eprint = {2611.38977},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38977},
}
Figure