重新审视代码即策略智能体中的自我修复:重试成功由什么驱动?
Rethinking Self-Repair in Code-as-Policy Agents: What Drives Retry Success?
Siddharth Aphale, Ayushman Singh
AI 速读 基于摘要
在模拟机器人操作中比较失败特定反馈与重采样、错配反馈和静态任务指导对代码即策略智能体重试成功率的影响。
cs.RO
查看原文摘要
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 that of template-based feedback. Template-based feedback also lowers recovery on a nut-insertion task requiring a rim grasp, consistent with an incompatible center-grasp instruction. Evaluations of robot self-repair should include resampling, mismatched feedback, and concise, task-compatible static guidance as baselines.