RAGGED: Towards Informed Design of Scalable and Stable RAG Systems

Jennifer Hsia, Afreen Shaikh, Zhiruo Wang, Graham Neubig

TL;DR

The RAGGED framework introduces a systematic way to evaluate Retrieval-Augmented Generation (RAG) systems, revealing that a model's robustness to "noise" (irrelevant documents) is the primary factor in its success. By introducing two new metrics—RAG Stability Score (RSS) and RAG Scalability Coefficient (RSC)—the authors demonstrate that while some models benefit from more context, others suffer sharp performance declines as retrieval depth increases.

What Problem Does This Paper Address?

While RAG is widely used to ground Large Language Models (LLMs) in external facts, its performance is notoriously sensitive to configuration. Engineers often struggle with a fundamental question: How many documents ($k$) should we retrieve?

Prior research has been contradictory: some studies suggest that more context is always better, while others observe diminishing returns or even performance degradation ("lost in the middle"). The authors argue that these inconsistencies exist because we lack a standardized framework to evaluate how different "readers" (the LLMs) interact with different "retrievers" across varying depths. RAGGED aims to fill this gap by moving beyond simple accuracy to measure how stable and scalable a RAG system truly is under realistic, noisy conditions.

Methods

The authors developed the RAGGED (Retrieval-Augmented Generation Generalized Evaluation Device) framework to analyze the RAG pipeline (see Figure 1).

Figure 1: Roadmap of what our framework RAGGED anal- yses across the RAG pipeline.

The core of the framework consists of two novel diagnostic metrics:

  1. RAG Stability Score (RSS): Quantifies how consistently a model maintains performance near its optimal retrieval depth ($k^*$). A high RSS (~1.0) means the model is robust; a low RSS indicates that being slightly off the "perfect" $k$ causes a performance crash.
  2. RAG Scalability Coefficient (RSC): Measures the total accumulated benefit a model gains as more context is added before it plateaus or declines.

The study evaluates these metrics across a massive matrix of configurations, including sparse (BM25) and dense (ColBERT, Contriever) retrievers, and a wide array of open and closed-source reader models.

Datasets

The framework was tested on three distinct types of datasets to ensure generalizability:

  • Natural Questions (NQ): Single-hop, Wikipedia-based open-domain QA.
  • HotpotQA: Multi-hop reasoning requiring information from multiple passages.
  • BioASQ: Specialized biomedical QA, testing performance in technical domains.
  • CRAG: A newer, more challenging RAG benchmark used for preliminary validation of the findings.

Key Insights and Ideas

  • Reader Archetypes: The authors identified two distinct behaviors when increasing retrieval depth (see Figure 2):
  • Improve-then-Plateau: Models like FLAN and GPT-3.5 are "noise-robust." They extract signal efficiently and don't mind extra irrelevant docs.
  • Peak-then-Decline: Models like Llama and Claude-3-Haiku are "noise-sensitive." They often perform worse than a closed-book baseline when $k$ is high because they get distracted by irrelevant information.
Figure 2: While some readers exhibit ‘peak-then-decline’ (left), others exhibit ‘improve-then-plateau’ behavior (right) with increasing number of contexts.
  • The "Noise" Bottleneck: Retriever quality matters, but the reader's ability to filter noise is the real bottleneck. Interestingly, neural retrievers like ColBERT sometimes hurt sensitive readers more than BM25 because they retrieve "semantically similar" noise that is more confusing than random noise.
  • Multi-hop Resilience: Models are generally more resilient to noise in multi-hop tasks (HotpotQA). The authors hypothesize that the complexity of the task forces the model to rely on specific "signal anchors," making it less likely to be swayed by irrelevant distractors.
  • Prompting is not a Panacea: Adding instructions like "only use relevant parts of the context" helps sensitive models slightly but does not change their fundamental "Peak-then-Decline" nature.

Key Results

The empirical results highlight a massive disparity in model stability (see Figure 6 for the NQ dataset performance).

Figure 6: Reader performance on the NQ dataset as k, the number of contexts retrieved by ColBERT, varies.
  • Stability Champions: FLANT5-XXL achieved a near-perfect RSS of 0.99 on NQ, meaning its performance is incredibly predictable regardless of retrieval depth.
  • Scalability Leaders: FLAN models also dominated scalability, with an RSC of ~33, whereas Llama and Claude models often had an RSC of 0.00, indicating they fail to benefit from deeper retrieval.
  • Performance Gains: Across datasets, FLANT5 showed average gains of 16-30 F1 points over closed-book baselines, while GPT-3.5 saw more modest gains of 1-9 F1 points.

Limitations and Future Work

The authors acknowledge that their current RSS metric uses a symmetric window, which might not perfectly capture cases where a model is specifically fragile to over-retrieval versus under-retrieval.

Future work suggested includes:

  • Fine-tuning for Robustness: Moving beyond prompting to train readers specifically to ignore retrieval noise.
  • Adversarial Noise: Testing RAGGED against intentionally misleading or outdated information.
  • Dynamic Depth: Developing methods to dynamically adjust $k$ based on the specific reader-retriever pair and the complexity of the query.

Summary updated

BibTeX
@inproceedings{hsia2025ragged,
  author = {Jennifer Hsia and Afreen Shaikh and Zhiruo Wang and Graham Neubig},
  title = {{RAGGED: Towards Informed Design of Scalable and Stable RAG Systems}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=4ufjBV6S4I},
}
Figure