arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.31276cs.AI
收藏

RIPPLE:通过流程级策略学习与效果感知信用实现长期智能体编码的恢复内化

RIPPLE: Recovery Internalization through Process-Level Policy Learning and Effect-Aware Credit for Long-Horizon Agentic Coding

National University of Singapore(新加坡国立大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Tsinghua University(清华大学)

Jingxuan Xu, Zihang Xu, Yuechen Luo, Ziqi Miao, Wenqiang Zhu, Weihao Li, Junhao Fan, Xinshun Feng, Zhiyi Lai, Yanan Wu, Haoyang Huang, Ken Deng

AI总结:

针对长期智能体编码的批评到行动交接缺口,提出RIPPLE框架,通过流程级策略学习与效果感知信用提升编码性能,在四个软件工程基准上平均提分4.8且无需辅助评论者。

摘要:

长期智能体编码智能体可观测到失败并生成合理的批评意见,但仍会沿相同错误轨迹继续,我们将此称为“批评到行动的交接缺口”。我们提出RIPPLE,这是一种面向恢复的训练框架,可将流程级指导内化到单一自恢复策略中。仅前缀的教师提供基于证据的恢复监督,无需访问未来动作或终端结果。经轻量级蒸馏后,强化学习为反思触发、诊断和纠正动作分配特定阶段的信用。局部有效性信号控制轨迹优势,使中间恢复决策不会随意继承终端结果。在四个仓库级软件工程基准上,RIPPLE使基础策略的算术平均得分提高了4.8分,部署时无需辅助评论者。受控消融实验分离了局部、阶段对齐信用的益处,匹配前缀干预显示批评语义会影响后续纠正。恢复增益集中在前缀包含足够诊断证据且仓库状态在剩余预算内可逆的场景中。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑