English

BERGEN: A Benchmarking Library for Retrieval-Augmented Generation

Computation and Language 2024-07-02 v1 Information Retrieval

Abstract

Retrieval-Augmented Generation allows to enhance Large Language Models with external knowledge. In response to the recent popularity of generative LLMs, many RAG approaches have been proposed, which involve an intricate number of different configurations such as evaluation datasets, collections, metrics, retrievers, and LLMs. Inconsistent benchmarking poses a major challenge in comparing approaches and understanding the impact of each component in the pipeline. In this work, we study best practices that lay the groundwork for a systematic evaluation of RAG and present BERGEN, an end-to-end library for reproducible research standardizing RAG experiments. In an extensive study focusing on QA, we benchmark different state-of-the-art retrievers, rerankers, and LLMs. Additionally, we analyze existing RAG metrics and datasets. Our open-source library BERGEN is available under \url{https://github.com/naver/bergen}.

Keywords

Cite

@article{arxiv.2407.01102,
  title  = {BERGEN: A Benchmarking Library for Retrieval-Augmented Generation},
  author = {David Rau and Hervé Déjean and Nadezhda Chirkova and Thibault Formal and Shuai Wang and Vassilina Nikoulina and Stéphane Clinchant},
  journal= {arXiv preprint arXiv:2407.01102},
  year   = {2024}
}

Comments

29 pages

R2 v1 2026-06-28T17:24:40.410Z