Skip to main content
QUICK REVIEW

[Paper Review] Evaluating Quality of Answers for Retrieval-Augmented Generation: A Strong LLM Is All You Need

Yang Wang, Alberto Garcia Hernandez|arXiv (Cornell University)|Jun 26, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper introduces vRAG-Eval, a novel LLM-based evaluation framework that grades Retrieval-Augmented Generation (RAG) answers on correctness, completeness, and honesty, mapping them to a binary accept/reject decision. It demonstrates that GPT-4 achieves 83% agreement with human experts in judging answer quality, showing strong LLMs can reliably replace human evaluators in closed-domain, factual business applications.

ABSTRACT

We present a comprehensive study of answer quality evaluation in Retrieval-Augmented Generation (RAG) applications using vRAG-Eval, a novel grading system that is designed to assess correctness, completeness, and honesty. We further map the grading of quality aspects aforementioned into a binary score, indicating an accept or reject decision, mirroring the intuitive "thumbs-up" or "thumbs-down" gesture commonly used in chat applications. This approach suits factual business contexts where a clear decision opinion is essential. Our assessment applies vRAG-Eval to two Large Language Models (LLMs), evaluating the quality of answers generated by a vanilla RAG application. We compare these evaluations with human expert judgments and find a substantial alignment between GPT-4's assessments and those of human experts, reaching 83% agreement on accept or reject decisions. This study highlights the potential of LLMs as reliable evaluators in closed-domain, closed-ended settings, particularly when human evaluations require significant resources.

Motivation & Objective

  • To develop a reliable, automated evaluation framework for RAG applications in high-stakes, closed-domain business environments where answer quality directly impacts operational outcomes.
  • To address the high cost and scalability limitations of human-annotated evaluations by proposing an LLM-as-grader approach using a structured rubric.
  • To validate whether strong LLMs like GPT-4 can align with human expert judgments in assessing RAG-generated answers, particularly in factual, closed-ended QA settings.
  • To build a high-quality, proprietary benchmark dataset (VND-Bench) covering 14 domains in payment network data to support rigorous evaluation.
  • To explore the feasibility of using LLMs not only as evaluators but also as self-aware agents that express confidence and honesty in their grading.

Proposed method

  • Design a three-dimensional grading rubric—correctness, completeness, and honesty—applied to RAG-generated answers, with each dimension scored on a 5-point scale.
  • Map the 5-point quality score to a binary accept/reject decision to mirror real-world user interactions like thumbs-up/thumbs-down in chat applications.
  • Construct VND-Bench, a proprietary benchmark of 155 high-quality question-answer pairs across 14 transactional data domains, with ground truth from internal employee collaboration platforms.
  • Implement a vanilla RAG system (tRAG) to generate answers on the VND-Bench dataset for evaluation.
  • Use GPT-4, Llama 2, and five human experts to independently evaluate tRAG’s responses using the vRAG-Eval rubric, including confidence levels and justifications.
  • Quantify agreement between human experts and LLMs using Cohen’s Kappa and binary accept/reject agreement rates, and analyze confidence-score correlations.
Figure 1: Left: Distribution of human grading scores for tRAG’s answers to the first 52 questions. Right: Distribution of human grading scores for tRAG’s answers to the next 103 questions.
Figure 1: Left: Distribution of human grading scores for tRAG’s answers to the first 52 questions. Right: Distribution of human grading scores for tRAG’s answers to the next 103 questions.

Experimental results

Research questions

  • RQ1Can a strong LLM like GPT-4 achieve high agreement with human experts in evaluating RAG-generated answers in a closed-domain, closed-ended QA setting?
  • RQ2How effective is the vRAG-Eval framework in capturing correctness, completeness, and honesty in RAG responses, and does it support actionable binary decisions?
  • RQ3What is the performance gap between GPT-4 and Llama 2 in evaluating RAG answers, and can quantized Llama 2 serve as a cost-effective alternative?
  • RQ4To what extent can LLMs express self-confidence and honesty in their own evaluations, and can this be leveraged to improve evaluation reliability?
  • RQ5How does the inclusion of ethical dimensions such as fairness and inclusiveness affect the design and performance of automated RAG evaluation systems?

Key findings

  • GPT-4 achieved 82.6% agreement with human experts on binary accept/reject decisions, demonstrating strong alignment with human judgment in factual, enterprise-specific RAG evaluation.
  • The vRAG-Eval framework successfully maps multi-dimensional quality scores into a binary decision format, enabling clear, business-relevant evaluation suitable for production systems.
  • Llama 2 showed significantly lower agreement with human experts compared to GPT-4, highlighting the importance of model strength in automated evaluation tasks.
  • A positive correlation was observed between the 13B LLM evaluator’s confidence level and its assigned quality score, indicating consistent self-assessment behavior.
  • The study confirms that strong LLMs can serve as reliable, scalable, and explainable evaluators, reducing reliance on costly human annotation in enterprise RAG pipelines.
  • Preliminary results suggest that self-expressed confidence levels and verbalized probability can enhance evaluator transparency and honesty, opening paths for future ethical evaluation enhancements.
Figure 2: Score distribution comparison at each level.
Figure 2: Score distribution comparison at each level.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.