TL;DR
Existing multimodal GraphRAG systems often isolate text and images during graph construction, creating a semantic gap that leads to retrieval errors and hallucinations. This paper introduces CEMMKG (Context-Enhanced Multimodal Knowledge Graph), a framework that enriches visual elements with both multi-granular local text and document-level global context. By injecting this tailored text context across multiple stages of graph construction, CEMMKG significantly boosts the accuracy of multimodal large language models (MLLMs) on complex, vision-heavy document question-answering tasks.
What Problem Does This Paper Address?
While Multimodal Large Language Models (MLLMs) are powerful, they frequently suffer from hallucinations, especially when dealing with long, complex documents. Retrieval-Augmented Generation (RAG) using Multimodal Knowledge Graphs (MMKGs) helps mitigate this by turning text and images into structured, traversable graph nodes (as shown in Figure 1).
However, current MMKG-based RAG pipelines process modalities independently before fusing them. When trying to understand an image, they typically only look at the immediate surrounding text chunks (proximity-based context). As illustrated in Figure 2, crucial explanations or references to a figure might be located pages away from the image itself. This localized blindness creates a severe semantic gap, leading to poor visual feature extraction and weak cross-modal alignment.
Methods
The authors propose CEMMKG, a framework that systematically extracts and applies textual context to visual elements using a two-pronged approach:
1. Multi-Granularity Context Design
CEMMKG constructs context from two complementary scopes (detailed in Figure 3):
- Local Context: Instead of relying solely on Surrounding Text, the framework identifies a Reference Set—all sentences across the entire document that explicitly mention the target image (e.g., "As shown in Figure 3..."). The authors experiment with three granularities for these references:
- Reference Sentence: The explicit sentence plus its immediate neighbors (highly concise).
- Reference Paragraph: The full paragraphs containing the references (broad but lower density).
- Reference Paragraph Summary: An LLM-generated summary of those paragraphs to filter out noise.
- Global Context: A high-level document summary or abstract to provide overarching thematic guidance.
2. Multi-Stage Context Utilization
Rather than applying this context as a one-off prompt addition, CEMMKG injects it at two critical phases of graph construction (see Figure 4):
- Image-to-Graph Construction: Both local and global contexts condition the MLLM as it translates visual information into image-based entity-relation subgraphs.
- Modality Fusion: Local context is used as targeted evidence to help an LLM align and merge the image subgraphs with the primary text-based knowledge graph.
Datasets
To properly evaluate the framework, the authors curated VisionHeavy, a challenging subset of the MMLongBench-Doc benchmark. VisionHeavy consists of 106 complex questions selected based on two strict criteria:
- Vision-Intensive: 80.2% of the answerable questions require evidence from visual elements like figures or charts.
- Non-Local Dependencies: 43.2% of the questions require connecting a visual element with textual evidence distributed across entirely different pages.
The dataset spans six real-world document types, including academic papers, research reports, guidelines, and manuals.
Key Insights and Ideas
- More Text $\neq$ Better Performance: Counterintuitively, directly using the full Reference Paragraph as local context caused performance to drop below the baseline. Broad paragraphs introduce irrelevant details and contextual noise that distract the MLLM during graph construction.
- Conciseness Wins Locally: Tightly scoped, high-density text context (Reference Sentences) yielded the highest accuracy. Keeping local context concise prevents the model from suffering from "lost in the middle" phenomena.
- Graph Integration Benefits Everything: Implementing CEMMKG led to massive performance gains even on "Misc" questions—those that did not explicitly contain figure, chart, or table labels. This indicates that better cross-modal alignment during the fusion stage improves the structural integrity and traversability of the entire knowledge graph.
Key Results
The authors evaluated CEMMKG across two distinct GraphRAG backbones: MMGraphRAG and RAG-Anything. Performance was measured using strict (exact match) and soft accuracy metrics.
- MMGraphRAG Baseline vs. CEMMKG: On the VisionHeavy dataset, the standard MMGraphRAG baseline achieved 23.58% strict / 24.17% soft accuracy. Upgrading it with CEMMKG (using Reference Sentences + Global Context) boosted performance to 34.91% strict / 36.84% soft accuracy.
- RAG-Anything Baseline vs. CEMMKG: Integrating CEMMKG into RAG-Anything improved its accuracy from 28.89% / 36.18% to 35.56% / 41.12%.
- Visual-Type Breakdown: The most dramatic improvement occurred in Figure-related questions, where soft accuracy leaped from a baseline of 6.25% up to 24.70%.
Limitations and Future Work
The current implementation of CEMMKG is tailored specifically for text and static visual elements (images, charts, and tables). The authors acknowledge that real-world knowledge bases are often richer. They suggest that future work should extend this multi-granular context framework to support other complex modalities, such as video and audio, exploring how to dynamically map context across multi-modal document streams.
Summary updated