Metrics That Write Themselves: Evolving an Evaluator from Its Own Blind Spots

📅 2026-08-19
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文通过演化一组Python操作符来自动评估生成报告的质量,使用EvalCEGAR方法从反例中学习,以解决难以直接定义良好答案标准的问题。
📝 Abstract
Agents improve quickly against a reliable automatic metric and stall without one, and the applications that need them most, report generation among them, are the ones nobody knows how to score. Can the metric write itself? Saying what makes an answer good is hard; pointing at something wrong with one is easier, so the metric we evolve is a pool of small Python operators that each flag a candidate for one named defect, or abstain, and vote. Asking a model for operators directly does not work: 183 candidates realise only 96 distinct behaviours, from one narrow region of an enormous space. EvalCEGAR instead borrows counterexample-guided abstraction refinement from program verification. It reads the pool as an abstraction and searches for a collision, two answers the operators score identically, one correct and one not. That pair, not a prompt, is the authoring request, and when a collision defeats every attempt the loop widens what an operator may read rather than resampling. On MBPP+ and HumanEval+, a sandbox whose hidden unit tests give exact ground truth, the loop writes a 55-line operator that closes 15.4% of the gap between flagging nothing and a perfect filter on 428 unseen tasks (+0.0065, p=0.0010) at a quarter of our best hand-written operator's flags. On the benchmark it never saw it matches that operator's effect exactly on a third of the flags. Six of eight runs admit such an operator and all six help out of sample; our 15 hand-written operators applied together as one filter lose accuracy. An LLM judge on the same information ties that delta on a nearly disjoint set of candidates, and charges a model call per candidate forever where the operator charges none.
Problem

Research questions and friction points this paper is trying to address.

automatic metric
report generation
evaluation
operators
Innovation

Methods, ideas, or system contributions that make the work stand out.

EvalCEGAR
counterexample-guided abstraction refinement
automated metric generation
Python operators
X
Xing Zhang
AWS Generative AI Innovation Center
Y
Yanwei Cui
AWS Generative AI Innovation Center
G
Guanghui Wang
AWS Generative AI Innovation Center
Zhihao Lin
Zhihao Lin
Phd Student, University of Glasgow
optimizationcontrol theoryreinforcement learningSLAM.
P
Peiyang He
AWS Generative AI Innovation Center