Judge as A Judge: Improving the Evaluation of Retrieval-Augmented Generation through the Judge-Consistency of Large Language Models

Retrieval-Augmented Generation (RAG) has proven its effectiveness in alleviating hallucinations for Large Language Models (LLMs).However, existing automated evaluation metrics cannot fairly evaluate the outputs generated by RAG models during training and evaluation.LLM-based judgment models provide the potential to produce high-quality judgments, but they are highly sensitive to evaluation prompts, leading to inconsistencies when judging the output of RAG models.This paper introduces the Judge-Consistency (ConsJudge) method, which aims to enhance LLMs to generate more accurate evaluations for RAG models.Specifically, ConsJudge prompts LLMs to generate different judgments based on various combinations of judgment dimensions, utilizes the judge-consistency to evaluate these judgments, and selects the chosen and rejected judgments for DPO training.Our experiments show that ConsJudge can effectively provide more accurate judgments for optimizing RAG models across various RAG models and datasets.Further analysis reveals that judgments generated by ConsJudge have a high agreement with the superior LLM.All codes are available at https://github.com/OpenBMB/ConsJudge.Case 1: What are the virulence factors of anthrax?Ground Truth: Bacillus anthracis.Choice A: The virulence factors of anthrax are a group of proteins produced by the Bacillus anthracis bacterium that contribute to its ability to cause disease in humans and animals.Choice B: anthracis.Choice C: lethal factor, edema factor and antiphagocytic factor.Choice D: lethal factor,antiphagocytic factor and other factors.Raw Metric (ROUGE-L): Choice B(0.667) > Choice A(0.143) > Choice C(0) = Choice D(0) Zero-Shot: ...choice C and D are more complete as they specifically mention the names of the virulence factor... Best answer :C.SFT:... from the perspective of

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.301
Citations
1
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
8.52

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Judge as A Judge: Improving the Evaluation of Retrieval-Augmented Generation through the Judge-Consistency of Large Language Models

Zheni Zeng, Shuliang Liu, Maosong Sun, Zhenghao Liu et al.
1 citations
Artificial Intelligence in Law
8.52
article

Judge as A Judge: Improving the Evaluation of Retrieval-Augmented Generation through the Judge-Consistency of Large Language Models

Zheni Zeng, Shuliang Liu, Maosong Sun, Zhenghao Liu, Xinze Li, Zhiyuan Liu, Yukun Yan, Cheng Yang, Yu Ge
article en
1 citations

Abstract

Retrieval-Augmented Generation (RAG) has proven its effectiveness in alleviating hallucinations for Large Language Models (LLMs).However, existing automated evaluation metrics cannot fairly evaluate the outputs generated by RAG models during training and evaluation.LLM-based judgment models provide the potential to produce high-quality judgments, but they are highly sensitive to evaluation prompts, leading to inconsistencies when judging the output of RAG models.This paper introduces the Judge-Consistency (ConsJudge) method, which aims to enhance LLMs to generate more accurate evaluations for RAG models.Specifically, ConsJudge prompts LLMs to generate different judgments based on various combinations of judgment dimensions, utilizes the judge-consistency to evaluate these judgments, and selects the chosen and rejected judgments for DPO training.Our experiments show that ConsJudge can effectively provide more accurate judgments for optimizing RAG models across various RAG models and datasets.Further analysis reveals that judgments generated by ConsJudge have a high agreement with the superior LLM.All codes are available at https://github.com/OpenBMB/ConsJudge.Case 1: What are the virulence factors of anthrax?Ground Truth: Bacillus anthracis.Choice A: The virulence factors of anthrax are a group of proteins produced by the Bacillus anthracis bacterium that contribute to its ability to cause disease in humans and animals.Choice B: anthracis.Choice C: lethal factor, edema factor and antiphagocytic factor.Choice D: lethal factor,antiphagocytic factor and other factors.Raw Metric (ROUGE-L): Choice B(0.667) > Choice A(0.143) > Choice C(0) = Choice D(0) Zero-Shot: ...choice C and D are more complete as they specifically mention the names of the virulence factor... Best answer :C.SFT:... from the perspective of

National Natural Science Foundation of China, Natural Science Foundation of Liaoning Province, Fundamental Research Funds for the Central Universities
Quality Education
Openalex Percentile: Top 3%
Artificial Intelligence in Law
8.52
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.