arXiv:2605.09730 · 中英对照阅读
RubricRefine:通过免训练的执行前改进提升工具使用智能体的可靠性
RubricRefine: Improving Tool-Use Agent Reliability with Training-Free Pre-Execution Refinement
中文速览
代码调用工具的智能体常会犯一种隐蔽错误:程序跑完了,却把工具接错、参数传错,或输出成了错误格式,因此单靠运行报错很难发现。为此,研究者提出 RubricRefine:先根据任务和工具说明生成一份逐项检查清单,让模型在执行前评分并反复修补代码,整个过程不需要真正调用工具。它在七个模型上的综合成功率达到 0.86,比现有推理时方法更好;在多步骤任务中优势明显,但在主要由单步调用组成的任务上提升不大。这个方法重要之处在于,它能在付费、限次或有安全风险的真实操作发生前拦下不少“能跑但做错”的程序,不过效果也取决于工具说明是否准确。
摘要
Iterative self-refinement is a popular inference-time reliability technique, but its effectiveness in code-mode tool use depends heavily on the structure of the feedback signal: unstructured critique helps inconsistently across models, and even revision with real execution feedback improves only modestly. The dominant failures are inter-tool contract violations (wrong output shape, incorrect tool routing, broken argument provenance) that run to completion without raising errors, making runtime feedback insufficient. We introduce RubricRefine,11 1 Full prompt templates and evaluation code: https://anonymous.4open.science/r/RubricRefinePrivate-89FD/ a training-free method for pre-execution contract checking that generates task- and registry-specific rubrics, scores candidate code against explicit contract checks, and iteratively repairs failures before any execution occurs. RubricRefine reaches $0.86$ , averaged across seven models, on M3ToolEval with zero execution attempts, improving over prior inference-time baselines at lower latency than rubric-guided reranking. Performance remains flat on the predominantly single-step API-Bank, consistent with the method’s reliance on inter-tool contract structure. Results on AppWorld demonstrate that our method maintains an advantage in the multi-turn setting. Because the rubric is derived from the supplied tool documentation, the method’s advantage survives incomplete documentation but reverses under incorrect documentation. A rubric-category ablation identifies which rules are load-bearing, and top-bin calibration enables early stopping even where aggregate calibration is poor.
术语表
- Iterative self-refinement
- 迭代式自我改进
- Code-mode tool use
- 代码模式工具调用
- Tool registry
- 工具注册表
- Inter-tool contract violations
- 工具间契约违规
- Runtime feedback
- 运行时反馈
- RubricRefine
- RubricRefine
- Pre-execution contract checking
- 执行前契约检查
- Task-specific rubric
- 任务特定评分细则
- Contract checks
- 契约检查项
- Iterative repair
- 迭代修复
- M3ToolEval
- M3ToolEval
- API-Bank
- API-Bank
- AppWorld
- AppWorld
- Self-Refine
- Self-Refine
- Self-Debug
- Self-Debug
- Reflexion
- Reflexion
- LLM-as-a-Judge
- LLM-as-a-Judge(大语言模型评审)
- Rubric-based evaluation
- 基于评分细则的评估
- Single-attempt execution
- 单次执行
- Executable-action interaction setting
- 可执行动作交互设定
- Inference-time compute
- 推理时计算
- Verifier
- 验证器
- Process supervision
- 过程监督
- Process reward model
- 过程奖励模型
- Top-bin calibration
- 最高分档校准
- Rubric-category ablation
- 评分细则类别消融
- Argument provenance
- 参数来源链