超越裁决:基于可验证反馈的智能体代码评判

·

研究论文 · 2026/10/15

针对大语言模型在测试时扩展中需要验证器来指导候选解的选择与修改,但竞赛编程的官方评测系统在有限提交次数下只给出权威判定、不提供失败解释或失败输入的问题,本文提出一项任务:模型仅凭题目描述和源代码对候选程序进行判定与诊断,并以生成的反例作为可检验证据。为评估该任务,作者基于 USACO 2026 竞赛构建了 USACO-JUDGE 数据集,包含人类专家和多个大语言模型编写的通过与被拒程序。随后在通用执行沙箱中用强化学习训练了 35B 混合专家(MoE)智能体验证器 ARBITER。训练将错误程序上的反例成功率从 40.61% 提升至 62.67%,并将 USACO-JUDGE 上的平均二元判定准确率从 71.41% 提升至 87.41%,接近前沿验证性能。除验证外,ARBITER 在代码选择与改进上也优于基线。在 IOI 2026 案例研究中,ARBITER 引导的改进使 GPT-OSS-120B 在官方提交限制下的期望得分超过金牌阈值。

该工作提出了一种不消耗官方提交次数即可对竞赛程序进行判定与诊断的智能体验证方法,并提供了可检验的反例证据;其训练显著提升了验证准确率,并在代码选择、改进及 IOI 2026 案例中展现出实用价值。

Test-time scaling for large language models (LLMs) can involve generating multiple candidate solutions for selection or revising an earlier attempt. To guide selection and revision, we need a verifier that can estimate candidate correctness and provide evidence of failure. In competitive programming, however, official judging systems provide authoritative verdicts under finite submission budgets, without revealing failure explanations or failing inputs. To provide informative feedback without consuming official submissions, we formulate a task in which a model judges and diagnoses a candidate program using only the problem statement and source code, with generated counterexamples serving as checkable evidence. To evaluate this task, we build USACO-JUDGE from the USACO 2026 contests, using accepted and unaccepted programs written by human experts and multiple LLMs. We then train ARBITER, a 35B mixture-of-experts (MoE) agentic verifier, with reinforcement learning in a generic execution sandbox. Training raises counterexample success on incorrect programs from 40.61% to 62.67% and mean binary verdict accuracy on USACO-JUDGE from 71.41% to 87.41%, approaching frontier verification performance. Beyond verification, ARBITER outperforms baselines in both code selection and refinement. In an IOI 2026 case study, ARBITER-guided refinement raises GPT-OSS-120B's expected score above the gold-medal threshold under the official submission limit.

阅读原文

参与讨论