{
  "id": 832,
  "kind": "paper",
  "title": "PivotOPD: Learning to Recover from Pivotal Mistakes in Multi-Turn Agents",
  "summary": "On-policy distillation (OPD) for training language agents with dense teacher supervision on student trajectories. In multi-turn interaction an incorrect action changes the states the student encounters later, so errors compound. Across three Qwen3 models (8B-235B), more than half of failed rollouts contain an early \"pivotal mistake\" -- an action that moves the agent farther from task completion -- and these are often recoverable: a few guided turns after the pivotal turn can restore task success. PivotOPD jointly trains the student to prevent pivotal mistakes and to recover from the states they create: at each pivotal mistake the teacher provides a gold action plus recovery actions for the next few turns. Preventive distillation uses the gold action with reverse KL to steer the student away from the mistake; recovery distillation uses the recovery actions with forward KL to transfer recovery behaviors the student rarely samples. Strongest average performance vs 13 baselines on ALFWorld, WebShop, and Search-based QA for Qwen3-1.7B and Qwen3-8B students (+5.5% over the strongest baseline on ALFWorld with the 1.7B student); gains transfer to SWE-Bench Verified, raising a Nemotron-3.5 student's resolve rate by +3.2%.",
  "body": "",
  "notes": "Discovery: shared directly in chat (2026-10-01) | Project page: https://research.nvidia.com/labs/lpr/pivotopd/ | No code repo, dataset, or model checkpoint linked on the arXiv page. | Connects to the collection's agent-training/distillation entries.\n[2026-10-07] Re-shared by co-author Ali Hatamizadeh (@ahatamiz1, NVIDIA LLM Tech Lead & Staff Research Scientist, co-creator of Gated DeltaNet/Gated DeltaNet-2; X post ~4:34 PM ET, 326 views) quote-posting @NVIDIAAI's announcement (~4:19 PM ET, ~4.2K views). Hatamizadeh's framing: \"Post-training agents with OPD or GRPO? One early mistake decides most rollouts, and the student never samples the fix. PivotOPD plugs into your PPO loop, needs no bigger teacher, and lifts recovery from 8.3% to 72.7%.\"\n\nEnrichment from the NVIDIA research page (research.nvidia.com/labs/lpr/pivotopd):\n- Diagnosis (ALFWorld symbolic oracle, Qwen3-8B/30B/235B): 59% of failed rollouts contain a pivotal mistake (action lengthening remaining optimal trajectory or making the task unsolvable); first pivot lands at median turn 8-12 of 30, agent wastes the rest of the episode. Correcting the pivotal turn lifts replayed success 8%->59%; guiding just the two turns after it still reaches 58%. Standard OPD lowers overall failure rate 79%->56%, but failures after a pivotal turn only fall 51%->49%: the recovery action stays below 1% probability, so a group of eight rollouts never samples it and there is no learning signal.\n- Method: three components added to group-based RL. (1) Pivot detection: teacher reads each rollout in hindsight, names a gold action per candidate turn; a turn is pivotal when the student's committed action disagrees; teacher then names a recovery action at each of the next K turns. (2) Preventive distillation (reverse KL): student's recorded response re-scored against a \"privileged self-teacher\" — the frozen student conditioned on a hint naming the gold action — steering away from the committed mistake. (3) Recovery distillation (forward KL): hinted self-teacher writes recovery responses, unhinted student trained on them; mass-covering forward KL puts probability on recovery actions the student rarely samples. Teacher only ever names actions; self-teacher renders them in the student's own reasoning style. Both terms enter a single PPO update as per-token distillation advantages. Later recovery turns start from the state reached by executing the recovery action in a copy of the environment replaying all preceding actions.\n- Recovery budget: one recovery turn enough on WebShop and Search-based QA; ALFWorld needs two (longer chained sequences after a mistake). Selected budget raises best validation score over preventive-only variant by +5.4 (ALFWorld), +21.5 (WebShop), +2.4 (Search QA).\n- Main results: best average vs 13 baselines on ALFWorld, WebShop, Search-based QA for both Qwen3-1.7B and 8B students; +5.5% over strongest baseline on ALFWorld with 1.7B (+5.9% on Search QA); largest gains where successful rollouts are scarcest. WebShop: beats RLSD by only +1.2% score but +14.1% success rate (partial progress -> completed tasks).\n- Recovery rate: replayed from same 72 oracle-labeled pivotal mistakes: PivotOPD recovers 72.7% (base model 8.3%, standard OPD 20.3%, preventive-only 45.8%), fewest turns; improves on 60 of 72, worsens none.\n- No bigger teacher needed: with Qwen3-8B as its own teacher (self-distillation, all teacher-using baselines given same treatment), PivotOPD remains best on all three benchmarks, >=+1.5% over strongest baseline each, +3.9% avg — gains come from where/how the teacher intervenes, not teacher capacity.\n- SWE-Bench Verified transfer: curated bug-fix curriculum, Nemotron-3-Super teacher, Nemotron-3.5-SFT student gains +3.2% resolve rate (62.8%->66.0%, ~third of gap to teacher's 73.0); standard OPD only +0.2%. Long containerized episodes: audits final committed action, preventive distillation alone.\n- Relevance to user's RL post-training: plugs into PPO loop; recovery distillation via mass-covering forward KL fixes the \"student never samples the fix\" problem in multi-turn agent rollouts.\n- Caveats: no code repo, dataset, or checkpoint linked on arXiv at catalog time; standard OPD results show the baseline class already struggles precisely on post-pivot recovery.\n",
  "url": "https://arxiv.org/abs/2609.40285",
  "links": [],
  "authors": [
    "Yinghui He",
    "Yapei Chang",
    "Khushi Bhardwaj",
    "Daniele Molinari",
    "Tugrul Konuk",
    "Jan Kautz",
    "Ali Hatamizadeh"
  ],
  "tags": [
    "agents",
    "on-policy-distillation",
    "multi-turn-interaction",
    "error-recovery",
    "language-agents"
  ],
  "topics": "agents, on-policy distillation, multi-turn interaction, error recovery, language agents",
  "venue": "NVIDIA LPR lab (arXiv technical report, 2026-09-30; CC BY 4.0)",
  "publisher": "",
  "source": "paper",
  "language": "en",
  "access": "public",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-01T00:00:00.000Z",
  "verified_at": "2026-10-07T00:00:00.000Z",
  "attrs": {},
  "enrichment": {
    "s2": {
      "paper_id": "689c175dd8437f4080d72669f70f5dae2e9e324a",
      "published": "2026-09-30",
      "fetched_at": "2026-10-03T14:58:38.261Z",
      "citation_count": 0,
      "reference_count": 55,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2609.40285",
      "title": "PivotOPD: Learning to Recover from Pivotal Mistakes in Multi-Turn Agents",
      "authors": [
        "Yinghui He",
        "Yapei Chang",
        "Khushi Bhardwaj",
        "Daniele Molinari",
        "Tugrul Konuk",
        "Jan Kautz",
        "Ali Hatamizadeh"
      ],
      "comment": "PivotOPD technical report; Project page: https://research.nvidia.com/labs/lpr/pivotopd/",
      "updated": "2026-09-30",
      "abstract": "On-policy distillation (OPD) is a promising approach for training language agents, providing dense teacher supervision on student-generated trajectories. However, in multi-turn interaction, an incorrect action changes the states the student encounters later, so errors compound across turns. In preliminary experiments across three Qwen3 models (8B to 235B), we find that more than half of the failed rollouts contain a pivotal mistake, an action that moves the agent farther from completing the task, and this mistake typically occurs early. These pivotal mistakes often remain recoverable: guiding the model for only a few turns after the pivotal turn can restore task success. We therefore propose PivotOPD, an on-policy distillation framework that jointly trains the student to prevent pivotal mistakes and to recover from the states they create. At each pivotal mistake, a teacher model provides a gold action and then names a recovery action at each of the next few turns. Preventive distillation uses the gold action with reverse KL to steer the student away from the pivotal mistake, while recovery distillation uses the recovery actions with forward KL to transfer recovery behaviors that the student rarely samples. Against 13 baselines on ALFWorld, WebShop, and Search-based QA, PivotOPD achieves the strongest average performance for both Qwen3-1.7B and Qwen3-8B students, improving over the strongest baseline on ALFWorld by +5.5% with the 1.7B student. The gains also transfer to another model family on the software engineering domain, where PivotOPD raises the resolve rate of a Nemotron-3.5 student on SWE-Bench Verified by +3.2%. Project page: https://research.nvidia.com/labs/lpr/pivotopd/",
      "published": "2026-09-30",
      "categories": [
        "cs.AI"
      ],
      "fetched_at": "2026-10-03T14:58:38.261Z"
    }
  },
  "enriched_at": "2026-10-03T14:58:38.300Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "913",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-07T21:01:24.007Z",
  "page": "https://papers.projxon.ai/entries/832",
  "markdown": "https://papers.projxon.ai/entries/832.md",
  "api": "https://papers.projxon.ai/api/entries/832",
  "relations": [
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 915,
        "kind": "paper",
        "title": "Training Language Models to Self-Correct via Reinforcement Learning",
        "summary": "arXiv 2409.12917 (v2): SCoRe multi-turn RL for self-correction using only self-generated data; addresses SFT distribution mismatch and behavior collapse. Reports +15.6% / +9.1% self-correction lifts on MATH / HumanEval for Gemini 1.0 Pro / 1.5 Flash baselines. Discord: Training LLMs to self-correct.",
        "url": "https://arxiv.org/abs/2409.12917",
        "authors": [
          "Aviral Kumar",
          "Vincent Zhuang",
          "Rishabh Agarwal",
          "Yi Su",
          "John D Co-Reyes",
          "Avi Singh",
          "Kate Baumli",
          "Shariq Iqbal",
          "Colton Bishop",
          "Rebecca Roelofs",
          "Lei M Zhang",
          "Kay McKinney",
          "Disha Shrivastava",
          "Cosmin Paduraru",
          "George Tucker",
          "Doina Precup",
          "Feryal Behbahani",
          "Aleksandra Faust"
        ],
        "tags": [
          "score",
          "self-correction",
          "rl",
          "deepmind",
          "arxiv:2409.12917"
        ],
        "venue": "arXiv 2409.12917; Google DeepMind",
        "source": "arxiv",
        "license": "",
        "published_year": 2024,
        "added_at": "2026-09-14T21:11:52.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 472,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/915",
        "markdown": "https://papers.projxon.ai/entries/915.md",
        "api": "https://papers.projxon.ai/api/entries/915"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 472,
      "kind": "paper",
      "title": "Multi-Turn On-Policy Distillation with Prefix Replay",
      "summary": "ReOPD replays teacher-forced prefixes, lets the student act at the supervised step, and samples positions with step-decay κ=0.6. Formalizes a prefix trap: student-on-policy histories are relevant but can query the teacher where it is unreliable. On math (Python-tool, 6 benches) a Qwen3-4B student with a 4B teacher averages 57.2 vs OPD 55.1 / SFT 46.1; with an 8B teacher 53.7 vs OPD 51.0. Search essentially matches OPD (40.5 vs 40.6). Zero tool calls during student training and at least 4× faster per rollout. A joint math+search student stays on par with OPD. 8×H100; authors report training under 3 hours.",
      "url": "https://arxiv.org/abs/2607.04763",
      "authors": [
        "Baohao Liao",
        "Hanze Dong",
        "Christof Monz",
        "Xinxing Xu",
        "Li Dong",
        "Furu Wei"
      ],
      "tags": [
        "reopd",
        "on-policy-distillation",
        "prefix-replay",
        "qwen3",
        "microsoft",
        "agent-distillation"
      ],
      "venue": "arXiv / Microsoft Research",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0",
      "published_year": 2026,
      "added_at": "2026-08-14T16:44:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 11,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/472",
      "markdown": "https://papers.projxon.ai/entries/472.md",
      "api": "https://papers.projxon.ai/api/entries/472"
    },
    {
      "id": 798,
      "kind": "paper",
      "title": "Beyond Teacher Assignment: Domain-Normalized Multi-Teacher On-Policy Distillation",
      "summary": "RL can turn one language model into several specialists (math, coding, instruction-following), and multi-teacher on-policy distillation (MOPD) merges them by having the specialist for each prompt's domain give per-token feedback. But the routing decides which specialist teaches, not how strongly its feedback moves the shared student: in Qwen3.5 models at three sizes, the MOPD student does not beat one taught by the best single specialist and captures little of the math specialist's advantage, because instruction-following feedback is several times more spread out than math feedback and dominates updates. Domain-Normalized MOPD (DN-MOPD) keeps the routing and rescales each domain's feedback by its measured spread; on six public benchmarks it improves average score over MOPD at every size, across three seeds and two answer-length limits, recovering most of the lost math gain. Controls show the gain comes mainly from turning down instruction-following feedback rather than turning up math alone.",
      "url": "https://arxiv.org/abs/2609.35347",
      "authors": [
        "Xin Li",
        "Hao Jiang",
        "Xin Gao",
        "Annan Wang",
        "Yuchen Xie",
        "Jinghao Guo",
        "Xingwei Qu",
        "Yichi Zhang",
        "Chau Yuen"
      ],
      "tags": [
        "distillation",
        "multi-teacher",
        "on-policy-distillation",
        "rl",
        "qwen",
        "specialists"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "CC-BY-4.0",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/798",
      "markdown": "https://papers.projxon.ai/entries/798.md",
      "api": "https://papers.projxon.ai/api/entries/798"
    },
    {
      "id": 1095,
      "kind": "post",
      "title": "SFT, RL, and On-Policy Distillation Through a Distributional Lens",
      "summary": "Independent technical essay arguing that SFT pulls toward a fixed external dataset (forward-KL / catastrophic-forgetting risk), RL reshapes regions the current policy already visits, and on-policy distillation (OPD) is in between: teacher logits with student-generated states. Reports a minimal code-editing task (fix a corrupted function and nothing else) where SFT and RL teachers both learn the task but RL generalizes better and forgets less on LiveCodeBench v6. OPD students from either teacher look similar, slightly beat the RL teacher on the editing metrics, and forget less than the SFT teacher even when distilled from it. Prefers Shenfeld et al.'s nearest-task-solving-policy view of on-policy data over KL-direction or uniform-token-gradient stories as the main anti-forgetting mechanism. Discusses GLM 5 / DeepSeek v4 using OPD to merge experts and MiMo-V2 Flash Table 7 domain-wise teacher recipes. No new public dataset or weights.",
      "url": "https://nrehiew.github.io/blog/sft_rl_opd/",
      "authors": [
        "nrehiew (GitHub nreHieW)"
      ],
      "tags": [
        "sft",
        "rl",
        "on-policy-distillation",
        "opd",
        "opsd",
        "catastrophic-forgetting",
        "post-training",
        "livecodebench",
        "distributional-view",
        "independent-blog"
      ],
      "venue": "nrehiew.github.io",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-01T18:32:46.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1095",
      "markdown": "https://papers.projxon.ai/entries/1095.md",
      "api": "https://papers.projxon.ai/api/entries/1095"
    },
    {
      "id": 793,
      "kind": "paper",
      "title": "Context Language Models",
      "summary": "Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.",
      "url": "https://arxiv.org/abs/2609.37725",
      "authors": [
        "Rulin Shao",
        "Shannon Zejiang Shen",
        "Junjie Oscar Yin",
        "Yuetai Li",
        "Minheng Wang",
        "Hamish Ivison",
        "Radha Poovendran",
        "Nathan Lambert",
        "Teng Xiao",
        "Mike Lewis",
        "Wen-tau Yih",
        "Luke Zettlemoyer",
        "Pang Wei Koh"
      ],
      "tags": [
        "agents",
        "long-context",
        "context-management",
        "rl",
        "multi-agent",
        "inference",
        "caching"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "CC-BY-4.0",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/793",
      "markdown": "https://papers.projxon.ai/entries/793.md",
      "api": "https://papers.projxon.ai/api/entries/793"
    },
    {
      "id": 1121,
      "kind": "paper",
      "title": "Trajectory-Refined Distillation",
      "summary": "arXiv 2606.08432. Identifies prefix failure in on-policy (self-)distillation: wrong student prefixes make per-token teacher KL bimodal/fragmented. Proposes TRD: sample on-policy y_o, then teacher-refine to y_r (OPSD conditions on reference), distill forward KL on y_r. Gains on AIME/AMOBench/code vs Forward/Reverse KL ± clip/top-K with Qwen3-1.7B/4B/8B; code https://github.com/louieworth/trd.",
      "url": "https://arxiv.org/abs/2606.08432",
      "authors": [
        "Li Jiang",
        "Haoran Xu",
        "Yichuan Ding",
        "Amy Zhang"
      ],
      "tags": [
        "trd",
        "on-policy-distillation",
        "opsd",
        "prefix-failure",
        "qwen3",
        "distillation",
        "arxiv-2606.08432"
      ],
      "venue": "arXiv / McGill University; Mila; UT Austin",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-02T18:35:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 10,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1121",
      "markdown": "https://papers.projxon.ai/entries/1121.md",
      "api": "https://papers.projxon.ai/api/entries/1121"
    },
    {
      "id": 830,
      "kind": "benchmark",
      "title": "ProgramBench: write-a-program-from-scratch SWE-agent benchmark; Muse Spark 1.3 results",
      "summary": "ProgramBench: a SWE-agent benchmark where an agent must write a whole program (sqlite, ffmpeg, php, cmatrix, ngrrram, ...) from scratch. Meta Muse Spark 1.3 ranks #2 (max tier) and #3 (xhigh tier) overall on the leaderboard. Full solves by 1.3 max: 5 programs entirely -- cmatrix, eureka, ngrrram*, nomino*, wrapcheck* (* = first time any LM has solved them). ngrrram (a TUI typing trainer): the agent typed lessons into the original and captured the screen frame by frame, then recreated layouts/scoring/UI; remaining misses are small details. Progress 1.1 -> 1.3 (both xhigh): avg test pass rate 47.0% -> 68.6%; almost resolved (>=95%): 8 -> 33 programs; fully resolved: 0 -> 2; 39% fewer tokens across the benchmark. Cost: Muse Spark max averages $6.46/task -- roughly the same as GPT-5.6 Sol xhigh at $6.08, but fully resolves 5 programs vs 2 and gets >=95% on 50 vs 31; Opus 5 reaches 9 solved at $50.53/task (~8x more). Trajectories, final codebases, and test pass/fail breakdowns open-sourced; submissions open to anyone. More models coming soon (6 astra, 5.5 opus noted).",
      "url": "https://x.com/jyangballin/status/2105322290179428389?s=20",
      "authors": [
        "ProgramBench team",
        "John Yang (SWE-bench / SWE-agent / SWE-smith author)"
      ],
      "tags": [
        "agents",
        "coding-agents",
        "swe-benchmarks",
        "program-synthesis",
        "open-weight-evals"
      ],
      "venue": "programbench.com (results announced 2026-09-30)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/830",
      "markdown": "https://papers.projxon.ai/entries/830.md",
      "api": "https://papers.projxon.ai/api/entries/830"
    }
  ]
}
