mmRAG: A Modular Benchmark for Retrieval-Augmented Generation over Text, Tables, and Knowledge Graphs

Chuan Xu, Qiaosheng Chen, Yutong Feng, Gong Cheng

Introduction

Retrieval-Augmented Generation (RAG) has emerged as the industry standard for mitigating hallucinations in Large Language Models (LLMs) by grounding responses in external, verifiable context. Despite its widespread adoption, evaluating RAG systems remains a significant challenge. Most existing benchmarks treat RAG as a "black box," measuring only the final output. This end-to-end approach fails to pinpoint whether a failure occurred because the system couldn't find the right data (retrieval failure) or because the LLM couldn't interpret the retrieved data (generation failure).

Furthermore, real-world data is rarely uniform. It exists in silos of unstructured text, structured tables, and complex knowledge graphs (KGs). Most benchmarks focus on a single modality, ignoring the critical "query routing" step—the process of deciding which database or format to search in the first place. To address these gaps, this paper introduces mmRAG, a modular benchmark designed for transparent evaluation across heterogeneous data formats.

The mmRAG Framework: A Modular Approach

mmRAG decomposes the RAG pipeline into three distinct, measurable stages, allowing researchers to evaluate the performance of each component independently:

  1. Query Routing: Determining which specific dataset or data format (text, table, or KG) contains the necessary information to answer a query.
  2. Retrieval: Identifying the specific 512-token chunk within the selected corpus that contains the answer.
  3. Generation: Synthesizing the final answer based on the retrieved context.

Unified Corpus Construction

To enable cross-modality retrieval, the authors constructed a unified corpus by converting tables and KG triples into a uniform textual format. For Knowledge Graphs, they employed a "verbalization" technique, transforming one-hop subgraphs into descriptive text documents. This allows standard text-based retrievers to operate across what were previously incompatible data structures.

The LLM Ensemble Judge

Labeling a corpus of this magnitude—comprising 3.2 million chunks—required a sophisticated annotation strategy. The researchers used a "pooling" method combined with an ensemble of high-performing LLMs (DeepSeek-V3, GLM-4-Plus, and GPT-4o as a tiebreaker) to ensure high-quality relevance annotations, creating a robust ground truth for the benchmark.

Dataset Composition

mmRAG integrates six diverse, well-established QA datasets into a single testbed, covering a wide range of domains and structures:

  • Text-centric: Natural Questions (NQ) and TriviaQA.
  • Hybrid (Tables + Text): OTT-QA and TAT-QA (focused on the financial domain).
  • Knowledge Graphs: Complex WebQuestions (CWQ) and WebQSP.

In total, the benchmark consists of 5,124 queries and a corpus of 90,998 documents, which are further segmented into 3.2 million chunks.

Key Insights and Results

The Routing Bottleneck

The research identifies "query routing" as a critical but often overlooked bottleneck. If a system routes a financial query to a general-knowledge text database instead of a specialized table database, the RAG process is doomed before retrieval even begins. The study found that LLM-based routers (e.g., using GLM-4) significantly outperform "semantic routers" that rely solely on vector similarity between queries and dataset descriptions.

Cross-Dataset Relevance

One of the most striking findings was the prevalence of cross-dataset relevance. Queries originally designed for a "text" dataset were frequently better answered by data found in a "table" or "KG" chunk. mmRAG is the first benchmark to systematically annotate and measure this "cross-pollination," highlighting the necessity of multi-modal retrieval in complex information environments.

Retriever Performance and the "Oracle Gap"

Among the models tested, BGE-large-en-v1.5 emerged as the superior retriever, outperforming both classic BM25 and older neural models like DPR. However, a significant "Oracle Gap" remains—the difference between current state-of-the-art performance and a system with perfect retrieval. This suggests that the most immediate path to improving RAG systems lies in optimizing routing and retrieval rather than simply increasing the size of the generation LLM.

Limitations and Future Directions

While mmRAG provides a comprehensive framework for text, tables, and KGs, it currently lacks visual modalities such as images and video. Additionally, the high computational cost of LLM-based annotation presents a challenge for scaling the corpus to tens of millions of documents. Future work will focus on expanding the benchmark into specialized vertical domains like medicine and law, where the challenges of query routing and domain-specific reasoning are even more pronounced.

Summary updated

BibTeX
@inproceedings{xu2025mmrag,
  author = {Chuan Xu and Qiaosheng Chen and Yutong Feng and Gong Cheng},
  title = {{mmRAG: A Modular Benchmark for Retrieval-Augmented Generation over Text, Tables, and Knowledge Graphs}},
  booktitle = {ISWC},
  year = {2025},
  url = {https://openreview.net/forum?id=hh1a7VoAon},
}
Figure