BERT-as-a-Judge: A Robust Alternative to Lexical Methods for Efficient Reference-Based LLM Evaluation
Organizations: Artefact Research Center · MICS, Centrale-Supélec, Université Paris-Saclay · Diabolocom · Cohere
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 trade-off 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.
Figures & tables
| Family | Size | Multiple-Choice | Context Extraction | Open-Form Math | |||
|---|---|---|---|---|---|---|---|
| Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | ||
| Llama-3 | 1B | -0.9 (-2.6/+1.7) | 4.8 | -23.9 (-18.1/-5.8) | 1.2 | -11.9 (-11.1/-0.8) | 0.8 |
| 3B | -13.1 (-8.5/-4.6) | 0.5 | -27.5 (-15.6/-11.9) | 0.4 | -7.0 (-2.6/-4.4) | 1.7 | |
| 8B | -23.3 (-0.9/-22.3) | 6.4 | -21.0 (-4.0/-17.0) | 3.5 | -5.4 (-0.8/-4.6) | 4.2 | |
| 70B | -1.1 (-1.1/-0.1) | 1.3 | -18.4 (-0.1/-18.3) | 6.5 | -30.4 (-29.0/-1.4) | 13.3 | |
| Gemma-3 | 1B | -0.1 (-0.7/+0.5) | 5.7 | -12.3 (-0.1/-12.2) | 4.6 | -11.3 (-6.8/-4.5) | 1.2 |
| Task | Regex | Qwen-3 | Gemma-3 | JudgeLM | BLEURT | BERTJudge | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.6B | 0.6B (FT) | 14B | 12B | 7B | 13B | 33B | Base | Large | |||
| Multiple-Choice | |||||||||||
| ARC-Challenge | 89.0 | 50.2 | 98.1 | 99.1 | 99.4 | 59.1 | 60.8 | 65.4 | 23.8 | 23.8 | 99.4 |
| ARC-Easy | 88.2 | 54.0 | 99.1 | 98.9 | 99.7 | 53.2 | 53.8 | 59.5 | 15.1 | 15.1 | 99.7 |
| MMLU | 88.1 | 50.2 | 94.3 | 98.6 | 98.3 | 57.4 | 60.6 | 66.6 | 37.9 | 38.0 | 98.5 |
| GPQA | 68.0 | 65.9 | 82.0 | 95.3 | 92.5 | 64.9 | 70.6 | 73.5 | 68.0 | 68.1 | 93.5 |
| Size | Multiple- | Context | Open-Form | |||
|---|---|---|---|---|---|---|
| Choice | Extraction | Math | ||||
| ID | OOD | ID | OOD | ID | OOD | |
| Ministral-3 | ||||||
| 3B | 97.0 | 96.9 | 83.7 | 82.5 | 81.4 | 86.5 |
| 8B | 97.9 | 97.8 | 87.9 | 87.1 | 83.5 | 84.8 |
| 14B | 98.2 | 98.3 | 89.1 | 88.6 | 83.5 | 82.6 |
| Task | Test Set (Form.) | Test Set (Free) | ||||
|---|---|---|---|---|---|---|
| Regex | BERTJ. (Form.) | BERTJ. (Free) | Regex | BERTJ. (Form.) | BERTJ. (Free) | |
| Multiple-Choice | 88.8 | 97.7 | 97.4 | – | 94.0 | 97.6 |
| Context Extraction | 73.0 | 89.2 | 85.8 | – | 84.3 | 91.6 |
| Open-Form Math | 87.3 | 93.9 | 93.7 | – | 93.1 | 93.5 |
Appendix figures & tables22 assets
Supplementary material from the paper’s appendix.
Appendix
| Task Category | Generation Prompt |
|---|---|
| Multiple-Choice | Answer the following multiple-choice question. Question: {question} Choices: A) {choice_1} B) {choice_2} C) {choice_3} D) {choice_4} [...] |
| Context Extraction | Answer the question based on the provided context. Context: {context} Question: {question} |
| Open-Form Math | {question} |
| Task Category | Formatting Instruction | Generation Suffix |
|---|---|---|
| Multiple-Choice | Free | None |
| Soft | Conclude your response with "Final answer: X", where X is the letter of the correct choice. | |
| Strict | Respond only with the exact format "Final answer: X", where X is the letter of the correct choice. | |
| Context Extraction | Free | None |
| Soft | Conclude your response with "Final answer: X", where X is the exact span from the context that answers the question. | |
| Strict | Respond only with the exact format "Final answer: X", where X is the exact span from the context that answers the question. |
| Assessment Prompt |
| You are an expert evaluator. Your task is to determine whether the CANDIDATE response correctly answers the QUESTION. Judge the CANDIDATE as correct only if its final answer, disregarding any intermediate reasoning or explanation, is semantically equivalent to the REFERENCE with respect to the QUESTION. Base your judgment solely on the information given. Do not rely on external knowledge. [QUESTION starts here] {question} [QUESTION ends here] [REFERENCE starts here] {reference} [REFERENCE ends here] [CANDIDATE starts here] {candidate} [CANDIDATE ends here] Conclude your response with exactly one of the following: - "Final answer: True" if the CANDIDATE is correct - "Final answer: False" if the CANDIDATE is incorrect |
| Assessment Prompt |
| You are an expert evaluator. Your task is to determine whether the CANDIDATE response correctly answers the QUESTION. Judge the CANDIDATE as correct only if its final answer, disregarding any intermediate reasoning or explanation, is semantically equivalent to the REFERENCE with respect to the QUESTION. Base your judgment solely on the information given. Do not rely on external knowledge. [QUESTION starts here] {question} [QUESTION ends here] [REFERENCE starts here] {reference} [REFERENCE ends here] [CANDIDATE starts here] {candidate} [CANDIDATE ends here] Respond with exactly one of the following strings (add no additional text): - "Final answer: True" if the CANDIDATE is correct - "Final answer: False" if the CANDIDATE is incorrect |
| Task | Log-lik. | Generative | ||
|---|---|---|---|---|
| Strict | Soft | Free | ||
| Multiple-Choice | ||||
| ARC-Challenge | 46.3 | 74.4 | 76.2 | 75.0 |
| ARC-Easy | 65.0 | 84.6 | 84.9 | 84.4 |
| GPQA | 25.9 | 32.3 | 31.8 | 28.8 |
| MMLU | 39.9 | 59.4 | 62.0 | 60.5 |
| Task | Accuracy (%) |
|---|---|
| Multiple-Choice | |
| ARC-Challenge | 96.4 |
| ARC-Easy | 96.9 |
| MMLU | 96.4 |
| GPQA | 97.3 |
| MMLU-Pro | 97.5 |
| Language | Regex | Gemma-3 (12B) | Qwen-3 (14B) | BERTJudge | |
|---|---|---|---|---|---|
| English | Multilingual | ||||
| ar | 89.3 | 97.3 | 97.6 | 97.2 | 97.8 |
| de | 87.9 | 96.9 | 96.8 | 96.5 | 97.5 |
| en | 89.8 | 97.4 | 97.4 | 97.1 | 97.7 |
| es | 89.7 | 97.2 | 97.2 | 96.3 | 97.7 |
| fr | 88.4 | 96.8 | 96.8 | 96.2 | 97.6 |
| Family | Size | ARC | ARC | GPQA | MMLU | MMLU | Truthful |
|---|---|---|---|---|---|---|---|
| Challenge | Easy | Pro | QA | ||||
| Apertus | 8B | 0.2 | 0.1 | 4.9 | 0.8 | 4.5 | 0.0 |
| 70B | 0.1 | 0.1 | 21.2 | 2.6 | 12.3 | 1.5 | |
| EuroLLM | 1.7B | 97.6 | 98.7 | 83.0 | 94.1 | 69.9 | 66.3 |
| 9B | 0.0 | 0.0 | 11.8 | 1.2 | 11.8 | 0.0 | |
| 22B | 0.1 | 0.0 | 7.4 | 0.4 | 3.0 | 0.0 |
| Family | Size | CoQA | DROP | HotpotQA | SQuAD-v2 |
|---|---|---|---|---|---|
| Apertus | 8B | 0.0 | 0.2 | 0.1 | 0.1 |
| 70B | 0.0 | 0.3 | 0.0 | 0.1 | |
| EuroLLM | 1.7B | 41.4 | 39.7 | 16.3 | 38.6 |
| 9B | 0.0 | 0.0 | 0.0 | 0.0 | |
| 22B | 0.2 | 0.0 | 0.3 | 0.0 | |
| Falcon-3 | 1B | 20.6 | 6.2 | 3.9 | 5.2 |
| Family | Size | AIME24 | AIME25 | ASDiv | GSM8K | Math |
|---|---|---|---|---|---|---|
| Apertus | 8B | 50.0 | 46.7 | 0.9 | 0.8 | 13.3 |
| 70B | 26.7 | 36.7 | 1.3 | 0.4 | 15.5 | |
| EuroLLM | 1.7B | 70.0 | 76.7 | 5.3 | 6.3 | 54.1 |
| 9B | 63.3 | 50.0 | 16.9 | 16.2 | 43.7 | |
| 22B | 33.3 | 30.0 | 2.5 | 6.8 | 11.7 | |
| Falcon-3 | 1B | 83.3 | 90.0 | 69.0 | 59.9 | 77.7 |
| Family | Size | CoQA | DROP | HotpotQA | SQuAD-v2 | ||||
|---|---|---|---|---|---|---|---|---|---|
| Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | ||
| Apertus | 8B | -30.2 (-0.0/-30.2) | 3.0 | -21.8 (-0.0/-21.8) | 1.5 | -20.6 (-0.1/-20.5) | 2.0 | -19.2 (-0.0/-19.2) | 10.0 |
| 70B | -41.4 (-0.0/-41.4) | 7.5 | -21.9 (-0.1/-21.9) | 3.0 | -22.7 (-0.0/-22.7) | 3.0 | -25.3 (-0.0/-25.3) | 1.0 | |
| EuroLLM | 1.7B | -49.6 (-30.6/-19.0) | 8.0 | -19.5 (-11.6/-7.9) | 1.0 | -37.2 (-9.9/-27.3) | 6.0 | -30.0 (-16.6/-13.4) | 7.0 |
| 9B | -27.6 (-0.0/-27.6) | 1.0 | -18.9 (-0.0/-18.9) | 1.0 | -15.9 (-0.0/-15.9) | 5.0 | -22.6 (-0.0/-22.6) | 6.0 | |
| 22B | -24.8 (-0.2/-24.6) | 1.0 | -25.4 (-0.0/-25.4) | 0.0 | -16.3 (-0.2/-16.1) | 1.0 | -29.2 (-0.0/-29.2) | 0.0 | |
| Family | Size | ARC-Challenge | ARC-Easy | GPQA | MMLU | MMLU-Pro | TruthfulQA | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | ||
| Apertus | 8B | 0.0 (-0.1/+0.1) | 3.0 | 0.0 (-0.0/0.0) | 6.0 | +5.8 (-0.0/+5.8) | 16.0 | -0.9 (-0.1/-0.8) | 4.0 | +0.9 (-0.5/+1.4) | 4.0 | -0.5 (-0.0/-0.5) | 0.0 |
| 70B | -1.8 (-0.1/-1.7) | 3.0 | -1.5 (-0.0/-1.5) | 2.0 | -1.3 (-1.3/0.0) | 8.5 | -3.5 (-0.4/-3.1) | 3.0 | -2.9 (-1.2/-1.7) | 1.0 | -3.3 (-0.5/-2.8) | 2.0 | |
| EuroLLM | 1.7B | -29.8 (-28.2/-1.5) | 1.0 | -29.2 (-28.4/-0.8) | 1.0 | -28.3 (-19.2/-9.2) | 17.5 | -27.4 (-24.6/-2.9) | 1.0 | -22.4 (-9.3/-13.1) | 7.0 | -29.0 (-16.3/-12.7) | 5.0 |
| 9B | -0.3 (-0.0/-0.3) | 4.0 | -0.0 (-0.0/-0.0) | 6.0 | -8.9 (-2.7/-6.3) | 0.5 | -1.6 (-0.5/-1.2) | 2.0 | -8.2 (-2.7/-5.5) | 0.0 | +0.2 (-0.0/+0.2) | 3.0 | |
| 22B | -8.6 (-0.1/-8.5) | 6.0 | -7.7 (-0.0/-7.7) | 8.0 | -9.4 (-1.1/-8.3) | 2.5 | -12.7 (-0.1/-12.6) | 8.0 | -10.0 (-0.7/-9.3) | 2.0 | -6.2 (-0.0/-6.2) | 1.0 | |
| Family | Size | AIME24 | AIME25 | ASDiv | GSM8K | Math | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | Accuracy | Rank | ||
| Apertus | 8B | 0.0 (-0.0/0.0) | 4.0 | 0.0 (-0.0/0.0) | 5.0 | -5.1 (-0.1/-5.0) | 3.0 | -0.4 (-0.2/-0.2) | 3.0 | -10.2 (-1.2/-9.0) | 6.0 |
| 70B | 0.0 (-0.0/0.0) | 4.0 | 0.0 (-0.0/0.0) | 5.0 | -5.8 (-0.7/-5.1) | 1.0 | -0.3 (-0.0/-0.3) | 2.0 | -13.3 (-1.3/-12.0) | 7.0 | |
| EuroLLM | 1.7B | 0.0 (-0.0/0.0) | 4.0 | 0.0 (-0.0/0.0) | 5.0 | -1.7 (-0.9/-0.8) | 1.0 | -0.8 (-0.2/-0.7) | 1.0 | -2.7 (-2.0/-0.7) | 0.0 |
| 9B | -10.0 (-6.7/-3.3) | 7.5 | -3.3 (-3.3/0.0) | 3.0 | -29.5 (-11.9/-17.6) | 4.0 | -27.5 (-10.7/-16.8) | 6.0 | -30.2 (-15.5/-14.7) | 1.0 | |
| 22B | -20.0 (-3.3/-16.7) | 3.0 | -6.7 (-0.0/-6.7) | 7.5 | -32.3 (-1.9/-30.4) | 8.0 | -29.7 (-5.4/-24.3) | 8.0 | -38.6 (-4.2/-34.4) | 7.5 | |
| Family | Size | ARC | ARC | GPQA | MMLU | MMLU | Truthful |
|---|---|---|---|---|---|---|---|
| Challenge | Easy | Pro | QA | ||||
| Apertus | 8B | 99.4 | 99.6 | 92.4 | 98.2 | 96.7 | 99.1 |
| 70B | 99.5 | 99.7 | 95.1 | 98.4 | 96.6 | 99.0 | |
| EuroLLM | 1.7B | 99.5 | 99.7 | 92.4 | 97.0 | 88.5 | 83.0 |
| 9B | 99.9 | 100.0 | 94.9 | 99.3 | 97.5 | 99.8 | |
| 22B | 99.7 | 99.9 | 94.4 | 98.4 | 97.2 | 99.9 |
| Family | Size | ARC | ARC | GPQA | MMLU | MMLU | Truthful |
|---|---|---|---|---|---|---|---|
| Challenge | Easy | Pro | QA | ||||
| Apertus | 8B | 99.0 | 99.2 | 91.5 | 96.4 | 96.2 | 97.8 |
| 70B | 97.7 | 97.9 | 93.8 | 94.9 | 94.5 | 96.2 | |
| EuroLLM | 1.7B | 70.2 | 70.8 | 71.7 | 72.6 | 77.6 | 71.0 |
| 9B | 99.5 | 99.9 | 89.7 | 98.0 | 91.3 | 99.8 | |
| 22B | 91.2 | 92.1 | 85.3 | 85.8 | 87.3 | 93.5 |
| Family | Size | CoQA | DROP | HotpotQA | SQuAD-v2 |
|---|---|---|---|---|---|
| Apertus | 8B | 90.2 | 89.1 | 91.9 | 89.9 |
| 70B | 87.4 | 89.8 | 91.8 | 89.0 | |
| EuroLLM | 1.7B | 91.4 | 91.3 | 92.1 | 91.2 |
| 9B | 90.0 | 89.6 | 93.5 | 89.6 | |
| 22B | 90.4 | 89.2 | 93.3 | 89.4 | |
| Falcon-3 | 1B | 90.4 | 90.2 | 90.4 | 91.5 |
| Family | Size | CoQA | DROP | HotpotQA | SQuAD-v2 |
|---|---|---|---|---|---|
| Apertus | 8B | 67.0 | 75.7 | 73.7 | 78.3 |
| 70B | 56.6 | 76.3 | 72.5 | 72.8 | |
| EuroLLM | 1.7B | 49.2 | 80.0 | 60.5 | 69.0 |
| 9B | 70.8 | 79.9 | 80.5 | 76.1 | |
| 22B | 72.4 | 73.0 | 80.2 | 69.4 | |
| Falcon-3 | 1B | 55.4 | 85.1 | 77.5 | 78.8 |
| Family | Size | AIME24 | AIME25 | ASDiv | GSM8K | Math |
|---|---|---|---|---|---|---|
| Apertus | 8B | 100.0 | 100.0 | 95.4 | 98.6 | 93.3 |
| 70B | 100.0 | 100.0 | 94.5 | 99.1 | 92.6 | |
| EuroLLM | 1.7B | 100.0 | 100.0 | 97.8 | 97.6 | 97.0 |
| 9B | 90.0 | 96.7 | 95.4 | 98.6 | 91.8 | |
| 22B | 80.0 | 93.3 | 95.1 | 98.9 | 90.2 | |
| Falcon-3 | 1B | 96.7 | 96.7 | 95.6 | 97.9 | 90.6 |
| Family | Size | AIME24 | AIME25 | ASDiv | GSM8K | Math |
|---|---|---|---|---|---|---|
| Apertus | 8B | 100.0 | 100.0 | 94.0 | 99.2 | 88.4 |
| 70B | 100.0 | 100.0 | 92.9 | 99.7 | 85.0 | |
| EuroLLM | 1.7B | 100.0 | 100.0 | 96.4 | 97.5 | 96.5 |
| 9B | 90.0 | 96.7 | 70.2 | 72.5 | 69.4 | |
| 22B | 80.0 | 93.3 | 66.9 | 70.3 | 61.1 | |
| Falcon-3 | 1B | 96.7 | 96.7 | 48.6 | 63.3 | 77.0 |
| Question | Answer the question based on the provided context. Context: A psychological identity relates to self-image (one’s mental model of oneself), self-esteem, and individuality. Consequently, Weinreich gives the definition "A person’s identity is defined as the totality of one’s self-construal, in which how one construes oneself in the present expresses the continuity between how one construes oneself as one was in the past and how one construes oneself as one aspires to be in the future"; this allows for definitions of aspects of identity, such as: "One’s ethnic identity is defined as that part of the totality of one’s self-construal made up of those dimensions that express the continuity between one’s construal of past ancestry and one’s future aspirations in relation to ethnicity" (Weinreich, 1986a). The description or representation of individual and group identity is a central task for psychologists, sociologists and anthropologists and those of other disciplines where "identity" needs to be mapped and defined. How should one describe the identity of another, in ways which encompass both their idiosyncratic qualities and their group memberships or identifications, both of which can shift according to circumstance? Following on from the work of Kelly, Erikson, Tajfel and others Weinreich’s Identity Structure Analysis (ISA), is "a structural representation of the individual’s existential experience, in which the relationships between self and other agents are organised in relatively stable structures over time … with the emphasis on the socio-cultural milieu in which self relates to other agents and institutions" (Weinreich and Saunderson, (eds) 2003, p1). Using constructs drawn from the salient discourses of the individual, the group and cultural norms, the practical operationalisation of ISA provides a methodology that maps how these are used by the individual, applied across time and milieus by the "situated self" to appraise self and other agents and institutions (for example, resulting in the individual’s evaluation of self and significant others and institutions).[citation needed] Question: What is the ISA? Conclude your response with "Final answer: X", where X is the exact span from the context that answers the question. |
| Reference | Identity Structure Analysis (ISA) |
| Candidate | The ISA, or Identity Structure Analysis, is a methodology developed by Weinreich that maps how individuals perceive themselves and others in relation to their social environment, including their own group memberships and identifications, as well as the cultural norms and discourses that shape these perceptions. |
| Question | We have a triangle such that and If is an angle bisector such that is on then find the value of Conclude your response with "Final answer: X", where X is the computed solution. |
|---|---|
| Reference | 45 |
| Candidate | To solve for in where , , and , and is the angle bisector of with on , we can use the Angle Bisector Theorem and the Angle Bisector Length Formula. ### Step-by-Step Solution: 1. Angle Bisector Theorem: The Angle Bisector Theorem states that the angle bisector divides the opposite side into segments proportional to the adjacent sides. Therefore, if divides into segments and , then: [...] 4. Calculate : Final answer: |
Language Model Generation Evaluation
Language model generation evaluation measures the quality, reliability, diversity, and task fit of outputs produced by language models.
See all 395 papers