BERT-as-a-Judge:面向高效参考型LLM评估的鲁棒词法替代方案
阅读原文· arxiv.org针对大语言模型评估中词法方法僵化、与人类判断相关性差及LLM评判者计算成本高的问题,本文提出BERT-as-a-Judge方案。基于36个模型和15个任务的大规模实证研究,该编码器驱动方法仅需在合成数据上轻量训练,即可对基于参考的生成答案进行语义正确性评估,且对措辞变化具有鲁棒性。实验表明,该方法性能与大型LLM评判者相当,显著优于词法基线,在准确性与计算效率间实现了良好平衡。
Accurate evaluation is central to the large language model (LLM) ecosystem, guiding model selection and downstream adoption across diverse use cases. In practice, however, evaluating generative outputs typically relies on rigid lexical methods to extract and assess answers, which can conflate a model's true problem-solving ability with its compliance with predefined formatting guidelines. While recent LLM-as-a-Judge approaches mitigate this issue by assessing semantic correctness rather than strict structural conformity, they also introduce substantial computational overhead, making evaluation costly. In this work, we first systematically investigate the limitations of lexical evaluation through a large-scale empirical study spanning 36 models and 15 downstream tasks, demonstrating that such methods correlate poorly with human judgments. To address this limitation, we introduce BERT-as-a-Judge, an encoder-driven approach for assessing answer correctness in reference-based generative settings, robust to variations in output phrasing, and requiring only lightweight training on synthetically annotated question-candidate-reference triplets. We show that it consistently outperforms the lexical baseline while matching the performance of much larger LLM judges, providing a compelling tradeoff between the two and enabling reliable, scalable evaluation. Finally, through extensive experimentation, we provide detailed insights into BERT-as-a-Judge's performance to offer practical guidance for practitioners, and release all project artifacts to foster downstream adoption.