ELMM: Efficient Lightweight Multimodal Large Language Models for Multimodal Knowledge Graph Completion

Wei Huang, Peining Li, Meiyu Liang, Xu Hou, Junping Du, Yingxia Shao, Guanhua Ye, Wu Liu, Kangkang Lu, Yang YuarXiv 2025 · DOI

Abstract

Multimodal Knowledge Graph Completion (MKGC) is essential for maintaining robust AI systems, yet it faces significant challenges when using Multimodal Large Language Models (MLLMs). These challenges include semantic noise from redundant visual data and the high computational overhead of processing thousands of image tokens. We introduce ELMM (Efficient Lightweight Multimodal Large Language Models), a framework that employs a Multi-view Visual Token Compressor (MVTC) to distill relevant visual features and an Attention Pruning Strategy to eliminate model redundancy. ELMM achieves state-of-the-art accuracy, including a 39% relative gain in Hits@1 on the FB15k-237-IMG dataset, while operating over 30% faster than standard MLLM baselines.

Introduction and Problem Statement

Knowledge Graphs (KGs) store facts as triplets (head entity, relation, tail entity). Multimodal Knowledge Graphs (MKGs) enhance these facts with images and text. However, MKGs are often incomplete. While MLLMs like LLaVA are powerful tools for completion, they suffer from two primary issues in the MKG context:

  1. Semantic Noise: Entities often have numerous associated images. Not every region of an image is relevant to every relation. For instance, a celebrity's face is relevant to a "Born In" relation but irrelevant to an "Award Won" relation where the trophy is the key visual cue.
  2. Computational Complexity: Processing large volumes of image tokens leads to quadratic increases in complexity, making inference slow and resource-intensive.
Figure 1: Illustration of how different relations (e.g., Award vs. Boyfriend) require focusing on different visual regions of the same entity images.

The ELMM Framework

ELMM optimizes MLLMs for knowledge graph completion through three architectural innovations designed to reduce noise and increase speed.

Multi-view Visual Token Compressor (MVTC)

Instead of passing all raw image tokens to the LLM, MVTC uses a multi-head attention mechanism to distill them. It evaluates images from a Textual View (aligning features with entity/relation names) and a Visual View (identifying salient regions). This process compresses thousands of tokens into a compact, high-information set.

Attention Pruning with Linear Compensation

Analysis of MLLMs reveals significant structural redundancy in the upper layers for specialized tasks like MKGC. ELMM prunes the top-K most redundant layers. To mitigate the resulting accuracy loss, the framework inserts a simple linear projection layer that compensates for the missing logic, effectively restoring model performance with minimal overhead.

Figure 2: The ELMM architecture, featuring the Multi-view Visual Token Compressor (MVTC) and Pruned Transformer Blocks with linear compensation.

Multimodal Knowledge Reasoning Layer

The standard LLM head is replaced with a specialized reasoning layer that outputs probability distributions over all candidate entities in the graph, rather than generic text tokens. This is supported by a Self-Denoising Strategy during training, which treats the input head entity as a "hard negative" to ensure the model learns true relational logic.

Key Results and Insights

ELMM was evaluated on four standard benchmarks: FB15k-237-IMG, WN18-IMG, DB15K, and MKG-W. Key findings include:

  • Superior Accuracy: ELMM outperformed all existing multimodal and text-only models, achieving a 39% relative gain in Hits@1 on FB15k-237-IMG compared to previous leaders.
  • Efficiency Gains: By pruning 16 attention layers, ELMM achieved over 30% faster inference than its non-pruned counterparts.
  • Effective Compensation: The proposed linear compensation strategy reduced the error introduced by pruning by 98.3%.
  • Robustness to Missing Data: Interestingly, the model performed better when 20% of the modality data was missing, suggesting that moderate data loss acts as a regularizer that forces the model to learn more robust representations.

Conclusion

ELMM demonstrates that MLLMs can be significantly optimized for specialized tasks like Knowledge Graph Completion without sacrificing accuracy. By filtering relation-specific visual noise and pruning redundant layers, ELMM provides a scalable and efficient path forward for multimodal reasoning. Future work will explore dynamic pruning strategies to further enhance real-time performance on massive, billion-node graphs.

Summary updated

BibTeX
@misc{huang2025elmm,
  author = {Wei Huang and Peining Li and Meiyu Liang and Xu Hou and Junping Du and Yingxia Shao and Guanhua Ye and Wu Liu and Kangkang Lu and Yang Yu},
  title = {{ELMM: Efficient Lightweight Multimodal Large Language Models for Multimodal Knowledge Graph Completion}},
  year = {2025},
  eprint = {2510.16753},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.16753},
}
Figure