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

Jon Saad-Falcon, Omar Khattab, Christopher Potts, Matei Zaharia
11/16/2023
cs.CLcs.AIcs.IR

No official code found. Best implementation: stanford-futuredata/ARES (732 stars, Apache-2.0, last commit 2025-03-28).

Abstract

Evaluating retrieval-augmented generation (RAG) systems traditionally relies on hand annotations for input queries, passages to retrieve, and responses to generate. We introduce ARES, an Automated RAG Evaluation System, for evaluating RAG systems along the dimensions of context relevance, answer faithfulness, and answer relevance. By creating its own synthetic training data, ARES finetunes lightweight LM judges to assess the quality of individual RAG components. To mitigate potential prediction errors, ARES utilizes a small set of human-annotated datapoints for prediction-powered inference (PPI). Across eight different knowledge-intensive tasks in KILT, SuperGLUE, and AIS, ARES accurately evaluates RAG systems while using only a few hundred human annotations during evaluation. Furthermore, ARES judges remain effective across domain shifts, proving accurate even after changing the type of queries and/or documents used in the evaluated RAG systems. We make our code and datasets publicly available on Github.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Automated Evaluation of RAG Systems

73267PythonSep 27, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{saadfalcon2023ares,
  title  = {ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systems},
  author = {Jon Saad-Falcon and Omar Khattab and Christopher Potts and Matei Zaharia},
  year   = {2023},
  eprint = {2311.09476},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09476v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.09476.svg)](https://codeofpaper.com/paper/2311.09476)

Discussion