atlas

Research map / Large language models / Retrieval and knowledge

Inference Scaling for Long-Context Retrieval Augmented Generation

ICLR 2025 · Large language models › Retrieval and knowledge · approach: Retrieval-augmented reasoning · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Studies inference scaling for long-context RAG with demonstration-based (DRAG) and iterative demonstration-based (IterDRAG) strategies on Gemini 1.5 Flash, finding near-linear gains in performance with effective context length and fitting a computation allocation model.

Problem

Long-context RAG performance plateaus when simply adding more retrieved documents, and it is unclear how to allocate inference compute (documents, in-context examples, iterations) to maximize knowledge-intensive QA performance.

Approach

Two inference strategies, DRAG (many retrieved documents plus many-shot RAG demonstrations in one call) and IterDRAG (query decomposition into Self-Ask sub-queries with interleaved retrieval), are used to scale effective context length; the optimal performance is modeled with a computation allocation model fit by least squares on log-parameters with an inverse sigmoidal output mapping.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use IterDRAG instead of DRAGGemini 1.5 Flash RAG · Bamboogle, 128kAcc: 54.4 -> 68.8Helped
use IterDRAG instead of DRAGGemini 1.5 Flash RAG · HotpotQA, 128kAcc: 52.2 -> 52.8Helped
use IterDRAG instead of DRAGGemini 1.5 Flash RAG · MuSiQue, 128kAcc: 17.9 -> 24.5Helped
use IterDRAG instead of DRAGGemini 1.5 Flash RAG · 2WikiMultiHopQA, 128kAcc: 53.1 -> 74.6Helped
increase effective context budget from 1M to 5MIterDRAG · HotpotQAAcc: 55.3 -> 56.4Helped
increase effective context budget from 1M to 5MIterDRAG · MuSiQueAcc: 30.5 -> 30.5No clear effect
increase effective context budget from 1M to 5MIterDRAG · 2WikiMultiHopQAAcc: 76.4 -> 76.9Helped
add b and task informativeness i to the model (ablation)Computation allocation model · Computation allocation modelR²: 0.866 -> 0.903Helped
add b and task informativeness i to the model (ablation)Computation allocation model · Computation allocation modelMSE: 0.116 -> 0.085Helped
use linear scaling of P instead of sigmoid scaling (ablation)Computation allocation model · Computation allocation modelR²: 0.903 -> 0.876Hurt
use linear scaling of P instead of sigmoid scaling (ablation)Computation allocation model · Computation allocation modelMSE: 0.085 -> 0.109Hurt
use a quadratic form of log(θ) instead of the model's standard form (ablation)Computation allocation model · Computation allocation modelR²: 0.903 -> 0.867Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Bamboogle HotpotQA MuSiQue 2WikiMultiHopQA TriviaQA Natural Questions StrategyQA Wikipedia (KILT)

Benchmarks: Bamboogle HotpotQA MuSiQue 2WikiMultiHopQA TriviaQA Natural Questions StrategyQA

Metrics: exact match F1 accuracy

Baselines: zero-shot QA many-shot QA standard RAG chain-of-thought

Builds on: Self-Ask many-shot in-context learning Gecko embedding KILT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy