Saved in:
Bibliographic Details
Main Authors: Guinet, Gauthier, Omidvar-Tehrani, Behrooz, Deoras, Anoop, Callot, Laurent
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.13622
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929353928998912
author Guinet, Gauthier
Omidvar-Tehrani, Behrooz
Deoras, Anoop
Callot, Laurent
author_facet Guinet, Gauthier
Omidvar-Tehrani, Behrooz
Deoras, Anoop
Callot, Laurent
contents We propose a new method to measure the task-specific accuracy of Retrieval-Augmented Large Language Models (RAG). Evaluation is performed by scoring the RAG on an automatically-generated synthetic exam composed of multiple choice questions based on the corpus of documents associated with the task. Our method is an automated, cost-efficient, interpretable, and robust strategy to select the optimal components for a RAG system. We leverage Item Response Theory (IRT) to estimate the quality of an exam and its informativeness on task-specific accuracy. IRT also provides a natural way to iteratively improve the exam by eliminating the exam questions that are not sufficiently informative about a model's ability. We demonstrate our approach on four new open-ended Question-Answering tasks based on Arxiv abstracts, StackExchange questions, AWS DevOps troubleshooting guides, and SEC filings. In addition, our experiments reveal more general insights into factors impacting RAG performance like size, retrieval mechanism, prompting and fine-tuning. Most notably, our findings show that choosing the right retrieval algorithms often leads to bigger performance gains than simply using a larger language model.
format Preprint
id arxiv_https___arxiv_org_abs_2405_13622
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Automated Evaluation of Retrieval-Augmented Language Models with Task-Specific Exam Generation
Guinet, Gauthier
Omidvar-Tehrani, Behrooz
Deoras, Anoop
Callot, Laurent
Computation and Language
Information Retrieval
We propose a new method to measure the task-specific accuracy of Retrieval-Augmented Large Language Models (RAG). Evaluation is performed by scoring the RAG on an automatically-generated synthetic exam composed of multiple choice questions based on the corpus of documents associated with the task. Our method is an automated, cost-efficient, interpretable, and robust strategy to select the optimal components for a RAG system. We leverage Item Response Theory (IRT) to estimate the quality of an exam and its informativeness on task-specific accuracy. IRT also provides a natural way to iteratively improve the exam by eliminating the exam questions that are not sufficiently informative about a model's ability. We demonstrate our approach on four new open-ended Question-Answering tasks based on Arxiv abstracts, StackExchange questions, AWS DevOps troubleshooting guides, and SEC filings. In addition, our experiments reveal more general insights into factors impacting RAG performance like size, retrieval mechanism, prompting and fine-tuning. Most notably, our findings show that choosing the right retrieval algorithms often leads to bigger performance gains than simply using a larger language model.
title Automated Evaluation of Retrieval-Augmented Language Models with Task-Specific Exam Generation
topic Computation and Language
Information Retrieval
url https://arxiv.org/abs/2405.13622