Skip to content

Efficient RAG · 2024

BERGEN

A reproducible RAG benchmarking library connecting retrievers, rerankers, language models and evaluation.

Paper Code ★ 282 stars
BERGEN — Figure 1 · BERGEN components
Figure 1 · BERGEN components · source ↗

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 https://github.com/naver/bergen

Papers

Efficient RAG

Efficient RAG · 2025

COCOM

Retrieved contexts are compressed into embeddings before answer generation, connecting retrieval with efficient decoding.

Efficient RAG · 2024

FeB4RAG

Evaluating federated search across multiple resources within retrieval-augmented generation.