arXiv:2602.15481cs.LG2026-02被引 2

用少花钱的方式更准评估大模型输出质量

LLM-as-Judge on a Budget

  • 根据评分不确定性动态分配评测次数,避免浪费计算资源
  • 实验显示在相同预算下误差比均匀分配低30%以上
  • 适合需要大规模模型评估的AI安全与对齐研究者

LLM-as-a-judge已成为评估大语言模型的核心技术,通过LLM推理对提示-响应对进行打分。由于评分具有随机性,实践者通常多次查询以准确估算均值。在固定计算预算B下,如何在K个提示-响应对间最优分配查询次数以最小化估计误差成为关键挑战。本文提出一种基于多臂老虎机理论和集中不等式的方差自适应方法,动态依据评分方差分配查询,将资源集中在不确定性最高的样本上。该算法实现最坏情况下的评分估计误差为$\tilde{O}\left(\sqrt{\frac{\sum_{i=1}^K σ_i^2}{B}}\right)$,其中$σ_i^2$为第$i$个样本的未知评分方差,达到近似最优的预算分配。在\emph{Summarize-From-Feedback}和\emph{HelpSteer2}数据集上的实验表明,该方法显著优于均匀分配,在相同预算下大幅降低最坏情况估计误差。本工作为高效的大规模LLM评估建立了理论基础,对AI安全、模型对齐和自动化评估具有重要应用价值。

原文摘要 · Abstract (English)

LLM-as-a-judge has emerged as a cornerstone technique for evaluating large language models by leveraging LLM reasoning to score prompt-response pairs. Since LLM judgments are stochastic, practitioners commonly query each pair multiple times to estimate mean scores accurately. This raises a critical challenge: given a fixed computational budget $B$, how to optimally allocate queries across $K$ prompt-response pairs to minimize estimation error? We present a principled variance-adaptive approach leveraging multi-armed bandit theory and concentration inequalities. Our method dynamically allocates queries based on estimated score variances, concentrating resources where uncertainty is highest. Further, our algorithm is shown to achieve a worst-case score-estimation error of $\tilde{O}\left(\sqrt{\frac{\sum_{i=1}^K σ_i^2}{B}}\right)$, $σ_i^2$ being the unknown score variance for pair $i \in [K]$ with near-optimal budget allocation. Experiments on \emph{Summarize-From-Feedback} and \emph{HelpSteer2} demonstrate that our method significantly outperforms uniform allocation, reducing worst-case estimation error while maintaining identical budgets. Our work establishes a theoretical foundation for efficient LLM evaluation with practical implications for AI safety, model alignment, and automated assessment at scale.

大模型评估预算优化自动评分

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。