RIPPLE: Recovery Internalization through Process-Level Policy Learning and Effect-Aware Credit for Long-Horizon Agentic Coding
TL;DR - RIPPLE trains long-horizon coding agents to translate failure critiques into corrective actions. It improves repository-level benchmark scores by an average of 4.8 points without requiring an auxiliary critic at deployment.
- Uses a prefix-only teacher to provide recovery supervision without seeing future actions or outcomes.
- Applies stage-specific reinforcement-learning credit to reflection, diagnosis, and correction.
- Gates trajectory advantages with local validity signals to avoid assigning terminal outcomes indiscriminately to intermediate decisions.
- Gains are strongest when diagnostic evidence is sufficient and the repository state remains reversible within the remaining budget.