用可执行代码重构评分标准,让大模型评估更透明高效
ExecRubrics: Executable Tool-Augmented Rubrics for Verifiable and Efficient Long-Form Evaluation

- 将评分规则转化为可运行的Python程序,实现精确可验的评估逻辑
- 在三个长文本评测中无需大模型裁判,性能接近GPT-5.5基线
- 速度提升192倍,适合医疗金融等高要求场景的可审计评估
评分标准旨在通过分解响应质量为可解释维度来提高语言模型评估的透明度。然而,自然语言评分标准常存在歧义,依赖大模型裁判,且通常假设线性加权求和的评价方式,难以捕捉条件依赖、备选路径、惩罚机制和覆盖规则。我们提出ExecRubrics,一种将评分标准表示为紧凑可执行程序的框架。该框架将评估逻辑编码为可验证的Python评分函数,赋予自然语言评分意图明确的操作语义:一个固定、可检查、可执行、可编辑的决策流程。在三个长文本响应基准(HealthBench、HelpSteer、ArgQuality)上,我们证明ExecRubrics可在评估时无需大模型裁判的情况下恢复显著偏好信号。在ArgQuality和HelpSteer上,最优可执行变体分别仅比直接GPT-5.5代理基线低1.1和4个百分点。可执行评分标准还显著更快,平均提速192倍。我们进一步表明,整合NLTK和spaCy等文本处理库的外部逻辑与资源可进一步提升偏好准确率。结果表明,这是一种新的自动化评估路径,提供了比黑箱评分更快速、更可解释、更少歧义的替代方案,尤其适用于医疗、金融等对精度与可审计性要求极高的领域。
原文摘要 · Abstract (English)
Rubrics aim to make language-model evaluation transparent by decomposing response quality into interpretable criteria. However, natural-language rubrics are often ambiguous, require LLM judges, and typically assume criteria aggregated through linear weighted sums, limiting their ability to capture dependencies, alternatives, penalties, and override conditions. We propose ExecRubrics, a framework for representing rubrics as compact executable programs. ExecRubrics encodes evaluation logic as verifiable Python scoring functions, giving natural-language rubric intent an operational semantics: a fixed decision procedure that can be inspected, executed, and edited. On three long-form response benchmarks -- HealthBench, HelpSteer, and ArgQuality -- we show that ExecRubrics can recover substantial preference signal without an LLM judge at evaluation time. On ArgQuality and HelpSteer, the strongest executable variants are within 1.1 and 4 percentage points, respectively, of the direct GPT-5.5 agentic baseline. Executable rubrics are also considerably faster, achieving a 192x average speedup. We show that incorporating external logic and resources from text processing libraries such as NLTK and spaCy can further improve preference accuracy. Our results suggest a novel way of approaching automated evaluation, by offering a faster, more explainable, and less ambiguous alternative to black-box rubric evals, particularly in high-stakes domains such as healthcare and banking where precision and auditability are critical.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。