Rethinking Self-Repair in Code-as-Policy Agents: What Drives Retry Success?

重新思考代码即策略代理的自我修复:是什么推动重试成功?

Siddharth Aphale、Ayushman Singh · arXiv:2611.06863 · 2026-11-04 · cs.RO

论文自动收录 · 未精读PDF ↗arXiv 原文 ↗
壹摘要

代码即策略代理通常使用执行反馈来重试失败的程序。额外的采样和任务指导也可以提高成功率,从而使特定于失败的反馈的贡献不明确。我们在模拟机器人操作中研究这个问题。固定查找使用故障标签和 API 变体选择反馈模板。每次场景重置后,冻结的代码模型都会生成新的程序。在同样的 252 次初始故障中,Qwen2.5-Coder-7B 在五次重试内恢复了 85.3%,而使用相同重试上限的重采样则恢复了 68.3%。在固定的总代币预算下,优势仍然存在。其他剧集的反馈和

中文为机器翻译节选,以英文原文为准。

English abstract

Code-as-policy agents often use execution feedback to retry failed programs. Additional sampling and task guidance can also improve success, leaving the contribution of failure-specific feedback unclear. We study this question in simulated robot manipulation. A fixed lookup selects feedback templates using failure labels and the API variant. A frozen code model generates a fresh program after each scene reset. On the same 252 initial failures, Qwen2.5-Coder-7B recovers 85.3% within five retries, compared with 68.3% for resampling with the same retry cap. The advantage persists under fixed total-token budgets. Feedback from other episodes and fixed task guidance yield similar recovery point estimates, with no detected benefit from matching the coarse failure label. In a separate study, a fixed guided prompt used from the first attempt achieves an observed overall success rate similar to…

贰引用
Siddharth Aphale、Ayushman Singh. Rethinking Self-Repair in Code-as-Policy Agents: What Drives Retry Success?. arXiv:2611.06863 (2026-11-04). https://arxiv.org/abs/2611.06863v1
叁同分类新篇