RIPPLE: Recovery Internalization through Process-Level Policy Learning and Effect-Aware Credit for Long-Horizon Agentic Coding
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
Long-horizon coding agents can observe a failure and generate a plausible critique yet continue along the same incorrect trajectory. We call this the Critique-to-Action Handoff Gap. We introduce RIPPLE, a recovery-oriented training framework that internalizes process-level guidance into a single self-recovering policy. A prefix-only teacher provides evidence-grounded recovery supervision without access to future actions or terminal outcomes. After lightweight distillation, reinforcement learning assigns stage-specific credit to reflection triggering, diagnosis, and corrective action. Local validity signals gate trajectory advantages so that intermediate recovery decisions do not indiscriminately inherit terminal outcomes. Across four repository-level software-engineering benchmarks, RIPPLE improves the base policy by an arithmetic mean of 4.8 score points, with no auxiliary critic at deployment. Controlled ablations isolate the benefits of local, stage-aligned credit, and matched-prefix interventions show that critique semantics affect subsequent correction. Recovery gains concentrate where the prefix contains sufficient diagnostic evidence and the repository state remains reversible within the remaining budget.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 27 of its 36 references that are in the map. Submitted 22 Oct 2026.
Builds on
27 of 36 references.
Closest ancestors · 4
Same direction, newest first
- 2026Agent Reinforcement Learning via Pivotal-Aware Self-Feedback Retry4 Jul
- 2025Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learning5 Aug
- 2025STeCa: Step-level Trajectory Calibration for LLM Agent Learning20 Feb
- 2023Reflexion: Language Agents with Verbal Reinforcement Learning20 Mar
Other references · 23
- 2023Let's Verify Step by Stepcited by 4,259
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2023Teaching Large Language Models to Self-Debugcited by 1,049
- 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 855
- 2024Generative Verifiers: Reward Modeling as Next-Token Predictioncited by 516
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 414
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 363
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 287
- 2025RM-R1: Reward Modeling as Reasoningcited by 165
- 2025Agent-R: Training Language Model Agents to Reflect via Iterative Self-Trainingcited by 92
11 more
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 92
- 2026TRACE: Turn-level Reward Assignment via Credit Estimation for Long-Horizon Agentscited by 26
- 2026Wink: Recovering from Misbehaviors in Coding Agentscited by 22
- 2026Failure as a Process: An Anatomy of CLI Coding Agent Trajectoriescited by 22
- 2026SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agentscited by 17
- 2026Seeing with You: Perception-Reasoning Coevolution for Multimodal Reasoningcited by 14
- 2025MURPHY: Feedback-Aware GRPO with Retrospective Credit Assignment for Multi-Turn Code Generationcited by 6
- 2026ICRL: Learning to Internalize Self-Critique with Reinforcement Learningcited by 6
- 2026FLARE: A Full-Lifecycle Dense Supervision Paradigm for Long-Horizon Coding Agents via Generative Reward Modelcited by 3
- 2026WEAVE: Weaving Real-World Code Evolution into Dependency-Structured Tasks for Benchmarking and Training Code Agentscited by 2
- 2026SWE-Nexus: Automated Composition of Software Engineering Tasks from Test Executioncited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Opera: A Verbal Critic Framework for Long-horizon Coding Agents
- 2026OPRD: On-Policy Reminder Distillation for Long-Horizon Coding Agents
- 2026Counterfactual Distillation: Internalizing Reflective Experience into LLM Agent
- 2026Lost in Recovery: Demystifying Recovery Behavior of Computer-Use Agents via Goal-Oriented Action Replay
- 2025ReflexGrad: Within-Episode Failure Recovery in LLM Agents via Progress-Gated Dual-Process Routing
- 2026Diagnosis Before Recovery: Turning Agent Failures into Selective Self-Correction
- 2026ReflectPO: Reflection-Guided Policy Optimization for Long-Horizon LLM Agents
- 2026When Harnesses Lose the Signal: Causal Evaluation of Recovery in LLM Agents