BERT-as-a-Judge: A Robust Alternative to Lexical Methods for Efficient Reference-Based LLM Evaluation

2026-04-10Computation and Language

Computation and LanguageArtificial Intelligence
AI summary

The authors studied how current methods for checking the answers generated by large language models (LLMs) often focus too much on exact wording and formatting, which doesn't always show how well the model truly understands or solves problems. They found that these simple checks don't agree well with human opinions. To improve this, they created a new way called BERT-as-a-Judge, which uses a smaller model to better judge if an answer is correct, even if it is worded differently. Their method works almost as well as bigger models but is faster and easier to use, making evaluation of LLMs more reliable and practical.

Large Language Models (LLMs)Lexical EvaluationSemantic CorrectnessBERTEncoder ModelsEvaluation MetricsGenerative OutputsHuman Judgment CorrelationModel AssessmentSynthetic Annotation
Authors
Hippolyte Gisserot-Boukhlef, Nicolas Boizard, Emmanuel Malherbe, Céline Hudelot, Pierre Colombo
Abstract
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.