Introduction
Retrieval-Augmented Generation (RAG) has emerged as a cornerstone for grounding Large Language Models (LLMs) in external knowledge. While current RAG systems are highly effective at "local" retrieval—finding specific facts within a large corpus—they struggle significantly with "global" queries that require synthesizing information across the entire document set. A recent study from Fudan University introduces GlobalQA, a benchmark designed to evaluate corpus-level reasoning, and GlobalRAG, a framework that significantly improves performance on these complex tasks.
The Challenge of Global RAG
Standard RAG pipelines typically rely on dense retrievers to fetch the "top-k" most relevant chunks of text. This approach is sufficient for queries where the answer is contained in a single snippet, such as "In which year was Einstein born?". However, it fails for global queries like "Which research domain has the highest average years of experience?" which require access to the entire document set.
The authors identify three primary bottlenecks in traditional RAG:
- Chunking Fragmentation: Breaking documents into small tokens often separates critical metadata from its context.
- Retrieval Noise: Dense retrievers often prioritize semantic similarity over factual relevance, filling the LLM's context window with irrelevant "noise."
- Numerical Reasoning Deficits: LLMs frequently fail at large-scale aggregation tasks like counting or sorting across many data points.
The GlobalRAG Framework
To address these limitations, the researchers proposed GlobalRAG, a three-stage pipeline designed for aggregation:
- Document-Level Retrieval: By treating entire documents as atomic units rather than fragmented chunks, the system preserves structural integrity and metadata.
- LLM-Driven Filtering: A lightweight model acts as a gatekeeper, identifying and retaining only the documents containing the specific attributes required for the query.
- Symbolic Aggregation Tools: Instead of relying on the LLM's internal logic for calculations, GlobalRAG utilizes symbolic tools for operations like Counting, Extremum (Max/Min), Sorting, and Top-k Extraction. This offloads mathematical complexity to precise code-based execution.
GlobalQA: A New Benchmark
The paper introduces GlobalQA, the first large-scale benchmark specifically for global RAG. It comprises over 13,000 question-answer pairs derived from a corpus of 2,000+ real-world resumes across 23 domains.
Unlike existing multi-hop datasets that focus on chaining a few facts, GlobalQA emphasizes aggregation. Approximately 42.6% of its queries require information from more than 20 documents, with some requiring up to 50. The tasks are diverse, covering various mathematical and logical operations necessary for corpus-level understanding.
Results and Discussion
The performance gap between standard RAG and GlobalRAG is substantial. Using Qwen2.5-14B, standard RAG achieved an F1 score of only 1.51 on global tasks. In contrast, GlobalRAG reached 6.63—a 5x improvement. Ablation studies highlighted that document-level retrieval is the most critical component; removing it caused performance to drop by over 90%, proving that chunking is a primary "killer" of global reasoning.
Despite these gains, the low absolute F1 scores indicate that Global RAG remains a formidable challenge. The current approach faces hurdles in computational cost due to the filtering stage and potential issues scaling to millions of documents.
Conclusion
The work by Fudan University highlights a critical "blind spot" in current AI systems. By moving from local chunk-based retrieval to global document-level aggregation supported by symbolic tools, GlobalRAG sets a new baseline for corpus-level reasoning. The release of the GlobalQA dataset provides a vital resource for the community to develop more robust and scalable global retrieval systems.
Summary updated