利用大语言模型(LLM)作为自动评分者(LLM-as-a-judge)成本低但可能存在偏差:某些评分者宽松,某些严格,中间的分数被压缩,冗长的回答可能被过度奖励。常见的解决方法是在少量配对锚点上进行事后校准:保持低成本的评分者不变,并在配对锚点上拟合一个从原始评分到人类评分估计的转换。我们比较了两种校正器,它们在如何建模这种映射上持相反观点:一种是参数化的、小锚点的分层贝叶斯线性校正,带有每个评分的不确定性;另一种是非参数化的神经ODE(FFJORD)分数传输流。这两种方法在UltraFeedback细粒度评分(1700个配对示例,200个保留)上进行头对头测试,校准分为三个操作子问题:总体均值恢复、每个项目准确性、分布形状匹配。主要结果是方法选择主要是一个数据预算问题。两种校正器在100和1500个锚点上将原始评分的均值偏移从+0.71点缩小到GPT-4参考的±0.08以内。超过这一点,方法角色互换。在100个锚点下,线性校正器通过KL散度大致重建人类评分分布效果更好(0.031 vs. 0.058),并与流在MAE上平分。在1500个锚点下,流在所有指标上获胜(MAE 0.320 vs. 0.359,皮尔逊0.922 vs. 0.896,KL 0.026 vs. 0.037)。贝叶斯线性校正器在1500个锚点以下饱和良好:残差双曲正切形状的非线性,由构造决定,无法被线性校正拟合。流随着标签增长而持续改进。我们将这些发现转化为生产部署中的明确决策规则。
英文摘要:
[Abridged] Using a Large Language Model (LLM) as an automatic rater (LLM-as-a-judge) is cheap but potentially biased: some judges run lenient, others strict, the middle of the scale gets compressed, and verbose answers may be over-rewarded. A common remedy is post-hoc calibration: leave the cheap judge in place and, on a modest set of paired anchors, fit a transformation from raw judge scores to an estimate of the human rating. We compare two correctors that take opposing views on how this mapping should be modeled: a parametric, small-anchor hierarchical Bayesian linear correction with per-score uncertainty, and a non-parametric Neural-ODE (FFJORD) score-transport flow. Both are run head-to-head on UltraFeedback fine-grained_score (1700 paired examples, 200 held out), with calibration split into three operational sub-questions: population-mean recovery, per-item accuracy, and distributional-shape match.
The headline result is that the choice between methods is primarily a data-budget question. Both correctors close the raw $+0.71$-point mean offset to within $\pm 0.08$ of the GPT-4 reference, at 100 and at 1500 anchors. Past that, the methods swap roles. With 100 anchors, the linear corrector reconstructs the human-score distribution roughly twice as well by KL divergence (0.031 vs. 0.058) and ties the flow on MAE. With 1500 anchors the flow wins on every metric (MAE 0.320 vs. 0.359, Pearson 0.922 vs. 0.896, KL 0.026 vs. 0.037). The Bayesian linear corrector saturates well below 1500 anchors: residual $\tanh$-shaped non-linearity is, by construction, structure a linear correction cannot fit. The flow keeps improving as labels grow. We translate these findings into an explicit decision rule for production deployments.
Inside the Unfair Judge: A Mechanistic Interpretability Account of LLM-as-Judge Bias
AMAP, Alibaba Group(阿里巴巴集团AMAP实验室);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);University of Southern California(南加州大学);University of Michigan, Ann Arbor(密歇根大学安娜堡分校)
Do LLM Self-Explanations Help Users Predict Model Behavior? Evaluating Counterfactual Simulatability with Pragmatic Perturbations
Faculty of Computer Science, University of Vienna(计算机科学系,维也纳大学);UniVie Doctoral School Computer Science, University of Vienna(UniVie 计算机科学博士学院,维也纳大学);Faculty of Philological and Cultural Studies, University of Vienna(文学与文化研究系,维也纳大学)