Abstract
Large Language Models (LLMs) often struggle with multimodal reasoning, leading to "hallucinations" when they lack specific or up-to-date knowledge. This paper introduces MR-MKG, a framework that augments LLMs with Multimodal Knowledge Graphs (MMKGs), allowing models to reason using structured relationships between both text and images while training only ~2.25% of the total parameters.
Introduction
While LLMs are impressive, they are prone to two major issues: hallucination (generating confident but false information) and knowledge deficiency (not knowing facts outside their training data). Previous research attempted to mitigate this by integrating textual Knowledge Graphs (KGs). However, textual KGs are blind to visual nuances. The authors propose MR-MKG to bridge this "cross-modal gap" by providing LLMs access to knowledge graphs that include images as part of their factual structure.
Problem Statement: The Cross-Modal Gap
Text-only facts often fall short when a question requires understanding visual properties, such as the shape of a geographic region or visual similarities between objects. For instance, a textual KG might link Kobe Bryant to the Los Angeles Lakers, but it might not effectively convey the visual identity associated with his "Black Mamba" alias without multimodal grounding.
Methodology
The MR-MKG approach uses a multi-component architecture to integrate structured knowledge into the LLM's reasoning process:
- KG Encoder (RGAT): The model retrieves a relevant subgraph from an MMKG and processes it using a Relation Graph Attention Network (RGAT) to capture complex structural relationships.
- Adapters: Lightweight Knowledge and Visual Adapters map graph and image embeddings into the LLM’s word embedding space.
- Cross-Modal Alignment: A novel module uses triplet loss to ensure the model correctly associates images with their textual counterparts within the KG.
- Two-Stage Training: The model first learns foundational visual-knowledge associations on a custom grounded dataset (MMKG-Grounded), followed by fine-tuning for specific tasks like ScienceQA. Crucially, the LLM and visual backbone (CLIP) remain frozen.
Experiments and Results
The framework was evaluated on two primary benchmarks: ScienceQA and MARS (Multimodal Analogical Reasoning over Knowledge Graphs).
- ScienceQA: MR-MKG (using FLAN-T5-11B) achieved 92.78% accuracy, outperforming larger models like LLaVA (13B).
- MARS: On the analogy task, MR-MKG reached 0.405 Hits@1, a significant improvement over the base model's 0.286.
A key insight is that the "image-of" relations in MMKGs provide essential visual grounding that textual KGs lack. Ablation studies showed that replacing MMKGs with standard textual KGs led to a significant performance drop.
Conclusion
MR-MKG demonstrates that providing better structured multimodal context is more effective than simply increasing model scale. By updating only 2.25% of parameters, the framework achieves state-of-the-art results. Future work will address retrieval sensitivity and scaling to even larger LLM backbones.
Summary updated