ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systems

Jon Saad-Falcon, Omar Khattab, Christopher Potts, Matei Zaharia

Abstract

Retrieval-Augmented Generation (RAG) has become the standard for building LLM applications that stay grounded in specific facts. However, evaluating these systems is a major bottleneck, typically requiring expensive human annotations for context relevance, answer faithfulness, and answer relevance. We introduce ARES (Automated RAG Evaluation System), a new framework that uses fine-tuned lightweight language models and a statistical technique called Prediction-Powered Inference (PPI) to evaluate RAG systems. ARES significantly outperforms existing tools like RAGAS, providing highly accurate scores while requiring 78% fewer human annotations than traditional methods.

Introduction

The primary challenge in RAG evaluation lies in the "gold" human annotations required to assess three critical dimensions: context relevance (did the retriever find the right documents?), answer faithfulness (is the answer supported by those documents?), and answer relevance (does the answer address the user's question?). Manually labeling thousands of examples for every new domain is prohibitively expensive. Existing automated tools often rely on "out-of-the-box" LLM prompts, which are brittle, fail to adapt to specific domains, and offer no statistical guarantees regarding their accuracy.

Methodology

ARES introduces a three-stage pipeline to automate the evaluation process, as illustrated in the figure below.

The ARES three-stage pipeline: Synthetic Dataset Generation, Fine-tuning LLM Judges, and Ranking with Confidence Intervals.
  1. Synthetic Dataset Generation: Using a generative model (e.g., FLAN-T5 XXL), ARES creates synthetic question-passage-answer triples from the target document corpus. It employs "strong" and "weak" negative sampling to generate both high- and low-quality RAG outputs for training.
  2. Fine-tuning LLM Judges: ARES fine-tunes lightweight models (specifically DeBERTa-v3-Large) on the synthetic data. This creates specialized judges that understand the specific nuances and terminology of the target domain.
  3. Prediction-Powered Inference (PPI): This is the framework's core innovation. ARES uses a small set of human-annotated data (150–300 points) to "rectify" the fine-tuned model's predictions. PPI provides a statistical bridge, allowing the system to output evaluation scores with 95% confidence intervals, ensuring automated scores remain grounded in human preferences.

Experimental Setup

ARES was evaluated across eight knowledge-intensive tasks from three major benchmarks: KILT (Natural Questions, HotpotQA, FEVER, and Wizards of Wikipedia), SuperGLUE (MultiRC and ReCoRD), and AIS (an attribution dataset used specifically to test hallucination detection).

Key Results

ARES demonstrates superior performance compared to existing baselines like RAGAS and GPT-3.5-based judges across various metrics.

Comparison of ARES against RAGAS and GPT-3.5 judges across multiple benchmarks, showing Kendall's Tau correlation and accuracy.
  • Superior Accuracy: ARES outperformed RAGAS by 59.3 percentage points in context relevance and 14.4 percentage points in answer relevance on average across KILT and SuperGLUE.
  • Efficiency: ARES requires 78% fewer human annotations than baseline human-only evaluation methods to achieve the same level of ranking precision.
  • Hallucination Detection: On the AIS attribution dataset, ARES predicted the average hallucination rate within 2.5 percentage points of the ground truth.
  • Real-World Ranking: When tested on actual RAG pipelines (e.g., ColBERTv2 vs. BM25), ARES consistently matched ground-truth performance metrics and ranked systems correctly.

Discussion and Limitations

The success of ARES highlights that domain adaptation is critical; fine-tuning judges on specific corpora is significantly more effective than "one-size-fits-all" prompts. Furthermore, the combination of noisy-but-fast models with small-but-accurate human datasets via PPI allows for scalable AI evaluation with human-level reliability.

However, several limitations remain. ARES still requires 150–300 high-quality human annotations to function reliably. Additionally, fine-tuning requires significant GPU resources (32GB+ VRAM). Current studies focused on English-language text; future work should explore multilingual support and more complex tasks like code generation or entity extraction where judges may face more drastic domain shifts.

Summary updated

BibTeX
@inproceedings{saadfalcon2024ares,
  author = {Jon Saad-Falcon and Omar Khattab and Christopher Potts and Matei Zaharia},
  title = {{ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systems}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.20},
}
Figure