Query-Driven Multimodal GraphRAG: Dynamic Local Knowledge Graph Construction for Online Reasoning

Chenyang Bu, Guojie Chang, Zihao Chen, CunYuan Dang, Zhize Wu, Yi He, Xindong WuACL 2025

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language understanding, yet they often falter when tasks require complex reasoning across heterogeneous data formats like text, images, and tables. While Retrieval-Augmented Generation (RAG) and GraphRAG have emerged as powerful solutions to ground LLMs in external context, they typically rely on static, pre-built knowledge graphs (KGs). This paper introduces a Query-Driven Multimodal GraphRAG framework that shifts the paradigm from static, "bottom-up" graph construction to a dynamic, "top-down" approach tailored to the specific semantics of a user's query.

The Limitations of Static Knowledge Graphs

Traditional GraphRAG systems construct KGs by processing all available data into triples before any query is received. This approach faces two significant hurdles:

  1. Computational Inefficiency: Pre-building massive graphs results in high storage costs and the inclusion of vast amounts of irrelevant information, which complicates retrieval.
  2. Contextual Incompleteness: Static extraction often misses fine-grained details—such as a specific facial expression in an image or a nuanced relationship within a table—that only become relevant in the context of a specific question.

Proposed Framework: Query-Driven Multimodal GraphRAG

The proposed framework mimics human cognitive processes by focusing attention on goal-relevant information. It operates through three primary stages:

1. Dynamic Graph Pattern Construction

Upon receiving a query, the system analyzes its semantics to derive a Pattern Graph ($G_1$). This graph serves as a blueprint, specifying the exact types of entities and relationships required to formulate an answer.

2. Multimodal Selective Attention

Guided by the pattern graph, the system performs multi-path retrieval across text, images, and tables. This process builds a Retrieval Graph ($G_2$), which is subsequently filtered to create a high-relevance Clue Graph ($G_3$).

3. Iterative Knowledge Refinement

If the initial evidence is insufficient, the system enters an "Evaluate-Augment-Expand" loop. It can dynamically mine relationships from tables or employ a Vision-Language Model (VLM) to extract specific visual details (e.g., verifying if a person is "smiling") that were overlooked during initial indexing.

Figure 2: Overview of the Query-Driven Multimodal GraphRAG Framework, illustrating the transition from query to pattern, retrieval, and clue graphs.

Experimental Evaluation

The framework was rigorously tested on multimodal benchmarks, including MultimodalQA and WebQA, as well as single-modal datasets like HotpotQA and Drop.

Performance and Efficiency

The system achieved state-of-the-art results, notably a 68.0% F1 score on MultimodalQA. This performance surpasses unsupervised competitors and even rivals some supervised baselines. Crucially, this accuracy is achieved with significantly higher efficiency; the method reduced the number of nodes by approximately 78% compared to standard GraphRAG implementations.

Table 1: Performance comparison on the MultimodalQA dataset across supervised and unsupervised models.

Key Insights

  • Neural Efficiency Principle: The framework models the trade-off between uncertainty and cost. It allocates more resources (like VLM calls) only when the system is uncertain, ensuring hierarchical resource allocation.
  • Query-Guided Extraction: By letting the query drive construction, the system avoids the "noise" inherent in static methods, pinpointing exact cross-modal links.
  • Dynamic Plasticity: The local KG is a temporary, evolving structure that adapts as new evidence is discovered during the reasoning process.

Conclusion

Query-Driven Multimodal GraphRAG represents a significant step forward in online reasoning. By constructing local, query-specific knowledge graphs on-the-fly, the framework achieves superior accuracy in complex multimodal tasks while maintaining a lean computational footprint. Future work will explore hybrid "top-down/bottom-up" approaches and expanding the framework to support video data.

Summary updated

BibTeX
@inproceedings{bu2025query,
  author = {Chenyang Bu and Guojie Chang and Zihao Chen and CunYuan Dang and Zhize Wu and Yi He and Xindong Wu},
  title = {{Query-Driven Multimodal GraphRAG: Dynamic Local Knowledge Graph Construction for Online Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure