ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systems
Saad-Falcon, Jon, Khattab, Omar, Potts, Christopher, Zaharia, Matei
–arXiv.org Artificial Intelligence
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. Using 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 six different knowledge-intensive tasks in KILT and SuperGLUE, ARES accurately evaluates RAG systems while using 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 datasets and code for replication and deployment available at https://github.com/stanford-futuredata/ARES.
arXiv.org Artificial Intelligence
Nov-15-2023
- Country:
- Pacific Ocean > North Pacific Ocean
- Puget Sound (0.04)
- North America > United States
- New York (0.04)
- California
- Santa Clara County > Palo Alto (0.04)
- Los Angeles County > Los Angeles (0.04)
- Europe > Croatia
- Dubrovnik-Neretva County > Dubrovnik (0.04)
- Asia > Middle East
- Jordan (0.04)
- Pacific Ocean > North Pacific Ocean
- Genre:
- Research Report (0.40)
- Industry:
- Education (0.93)
- Technology: