atlas

Research map / Large language models / Retrieval and knowledge

Holistic Reasoning with Long-Context LMs: A Benchmark for Database Operations on Massive Textual Data

ICLR 2025 · Large language models › Retrieval and knowledge · approach: RAG robustness and evaluation · 0 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.

Introduces HoloBench, an automatically generated benchmark that verbalizes Spider text-to-SQL database rows into long text contexts to evaluate long-context LMs on holistic (aggregation-heavy) reasoning, varying context length, information amount/density, position, and query type/difficulty.

Problem

Long-context language models are mainly evaluated on localized retrieval (needle-in-a-haystack), not on holistic reasoning that aggregates and filters information scattered across massive document collections.

Approach

Convert text-to-SQL database rows into natural-language text via templates, mixing relevant and distractor rows at controlled lengths and positions, so gold answers are computed automatically by executing SQL, enabling scalable evaluation of aggregation, join, comparison, ranking, and max/min queries.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase relevant information with context length under constant 50% information densityLlama-3.1-405b · HoloBench, 4k to 64k contextaccuracy: 64.0 -> 30.2Hurt
Increase context length while keeping relevant information fixed at 2k tokensLlama-3.1-405b · HoloBench, constant information amount (2k), 4k to 64k contextaccuracy: 64.0 -> 44.8Hurt
Use a retrieval model to select relevant context for short inputsGPT-4o and Llama-3.1-8b · HoloBench, 4k contextaccuracyHelped
Use RAG instead of the vanilla model for longer contextsLlama-3.1-405b and GPT-4o · HoloBench, contexts longer than 4kaccuracyHurt
Use RAG rather than the vanilla model for contexts exceeding 16k tokensLlama-3.1-8b · HoloBench, contexts exceeding 16kaccuracyHelped
Increase retrieved tokens from 2k to 32k when relevant information occupies half of a 64k context (ablation)RAG with Llama-3.1-405b · HoloBench, 64k context, 50% information densityaccuracy: 21.70 -> 37.34Helped
Use all 64k tokens instead of retrieving 32k tokens when all context is relevant (ablation)RAG with Llama-3.1-405b · HoloBench, 64k context, 100% information densityaccuracy: 38.69 -> 39.06Helped
Add chain-of-thought prompting instead of answering directly (ablation)LCLMs · HoloBench, all context lengths and query typesaccuracyHelped
Cluster relevant information rather than distribute it uniformlyLCLMs · HoloBench, information positioningaccuracyHelped
Place relevant information at the end or bimodally rather than at the beginning or middleGPT-4o · HoloBench, information positioningaccuracyMixed
Ask a Max/Min query rather than other query typesLCLMs · HoloBench, query types across context lengthsaccuracyHelped
Require aggregation of multiple information pieces, especially at longer context lengthsLCLMs · HoloBench, Aggregation queriesaccuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: Spider

Benchmarks: HoloBench

Metrics: recall-oriented accuracy (exact/partial/no match scoring) unweighted average accuracy context-length-weighted average accuracy

Baselines: Needle-in-a-haystack BABILong FLenQA bge-large-en-v1.5 RAG

Builds on: Spider Neural Databases Needle-in-a-haystack RAG

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