让大模型学会正确评估自己,提升推理准确率与自我纠错能力。
Closing the Reflection Gap: A Free Calibration Bonus for Agentic RL
- 用环境反馈对比模型自评,自动奖励更准的自我判断。
- 自评错误率从44.4%降至7.7%,任务准确率提升至76.5%。
- 无需额外标注,适合需要高可靠性推理的智能体应用。
大语言模型作为智能体在外部环境中执行任务并接收反馈(如执行结果、错误信息、工具输出)时,常出现自我评估偏差:即使答对问题,也容易误判自身表现。标准强化学习因信用分配不匹配难以缓解此问题。本文提出RefGRPO,通过两个核心改进:一是利用模型自评与实际结果的对比,生成无需额外奖励模型或人工标注的免费校准奖励;二是动态调整该奖励系数。在五个文本转SQL基准上,该方法将自评错误率从44.4%降至7.7%,任务准确率从75.1%提升至76.5%。校准后的自我评估使智能体能以自身反思作为伪奖励实现无监督自我优化,并在测试阶段仅对可信推演结果进行预测,显著提升可靠性。
原文摘要 · Abstract (English)
LLMs are increasingly deployed as agents that interact with external environments and observe feedback such as execution results, error messages, and tool outputs. A well-functioning agent should be able to leverage this feedback to accurately assess its own performance. Yet we find a persistent reflection gap: LLM agents tend to mis-assess their own outputs after observing concrete environment feedback -- even for questions they correctly answered -- and standard RL barely helps due to a credit-assignment mismatch. To close this gap, we propose RefGRPO, a simple yet effective fix that augments standard RL algorithms with two key ingredients: a free calibration bonus computed by contrasting the agent's own reflection with the actual outcome (requiring no additional reward model, LLM judge, or external annotation), and a dynamic schedule on its coefficient. Compared to standard RL baselines, our method simultaneously improves reflection calibration (e.g., reduces underconfidence rate $44.4\% \to 7.7\%$) and task accuracy (e.g., $75.1\% \to 76.5\%$) on text-to-SQL across five benchmarks. The resulting calibrated reflection turns the agent into its own verifier grounded in environment feedback, which further enables (i) better self-improvement that uses reflections as pseudo-rewards without outcome supervision, and (ii) more effective test-time selective prediction by committing only to rollouts flagged as correct.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。