Reproduce “BERGEN: A Benchmarking Library for Retrieval-Augmented Generation” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

David Rau, Hervé Déjean, Nadezhda Chirkova, Thibault Formal, Shuai Wang, Vassilina Nikoulina, Stéphane Clinchant

NAVER LABS Europe developed BERGEN, an open-source Python library that standardizes the evaluation of Retrieval-Augmented Generation (RAG) systems. It provides an end-to-end framework for comparing various RAG components and methodologies, revealing best practices such as the importance of reranking and LLM-based evaluation metrics, and establishing strong baselines across over 500 experiments.

Key insights

  • Semantic LLM-based evaluation metrics are crucial for accurately assessing open-ended RAG responses, outperforming traditional surface-matching metrics.
  • Reranking plays a critical, often underestimated, role in enhancing overall RAG performance by refining initial retrieval results.
  • The effectiveness of retrieval augmentation for LLMs varies significantly across datasets, and performance is not directly tied to LLM size.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.