Metraipolis › archive › dc_7022ddd4998b
RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learning — arXiv:2609.36813
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.36813
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T17:29:31.199Z
- SHA-256 of the archived text
75e2d605aac6730d42f97fcfb3c1dbf6b83afc6b90b6ed09a24fa65cdf641ca6- Stable URL of this page
https://metraipolis.com/documento/dc_7022ddd4998b
How to cite
RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learning — arXiv:2609.36813 — arXiv (en), https://arxiv.org/abs/2609.36813 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7022ddd4998b (Metraipolis archive dc_7022ddd4998b, sha256 75e2d605aac6730d42f97fcfb3c1dbf6b83afc6b90b6ed09a24fa65cdf641ca6)
BibTeX
@misc{dc7022ddd4998b,
title = {RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learning — arXiv:2609.36813},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.36813},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7022ddd4998b; sha256 75e2d605aac6730d42f97fcfb3c1dbf6b83afc6b90b6ed09a24fa65cdf641ca6},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.36813. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large language models (LLMs) exhibit strong general capabilities that mechanistic interpretability has attributed to sparse computational circuits. However, existing circuit studies emphasize preserving functionality or explaining safety, leaving the mechanisms underlying failures across a broader range of tasks largely unexplored. Extending circuit analysis from abilities to errors, we explore the perspective that such failures may likewise arise from erroneous internal computations and that targeted tuning of the corresponding parameters can correct such errors while largely preserving other capabilities. Motivated by this insight, we introduce RESCUE (Reasoning-Error Sparse-Circuit Uncovering and Editing), a framework that localizes error-associated circuits and surgically repairs them for performance enhancement. General tasks typically involve multi-step reasoning and long-form generation, where early deviations can cause prefixes to drift from supervised references, leading SFT-based mask optimization to overlook circuits involved in generation-time errors. RESCUE therefore refines these masks through reinforcement learning with multiple masked-model rollouts, improving their relevance to observed task failures. Finally, RESCUE introduces a pruning technique and precisely fine-tunes error circuits to correct task failures, thereby translating error localization into a sparse and targeted model update. We validate RESCUE on heterogeneous repair sets across two domains: (1) mathematical reasoning, identifying a math error circuit of 1.40% density whose repair raises accuracy from 6.0% to 75.5%; and (2) medical QA, where a similarly compact 1.44% circuit improves repair-set accuracy from 0% to 81%. Our code is available at: this https URL . Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-30 in cs.LG). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.36813 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T16:59:48.244Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).