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 Yu
TL;DR
This work tackles the problem of completing multimodal knowledge graphs by leveraging large language models while addressing the inefficiencies caused by abundant image tokens. It introduces ELMM, which combines a Multi-view Visual Token Compressor (MVTC) for adaptive token compression, an attention pruning strategy with a linear compensation mechanism, and a multimodal knowledge reasoning completion layer to outperform state-of-the-art MKGC methods. Across FB15k-237-IMG and WN18-IMG, ELMM achieves superior accuracy (e.g., Hits@1/3/10) with substantially reduced inference time, demonstrating both accuracy and efficiency gains. The approach offers a practical pathway to scalable multimodal reasoning in MKGC and highlights the importance of targeted token selection and structural pruning in MLLMs for knowledge-intensive tasks.
Abstract
Multimodal Knowledge Graphs (MKGs) extend traditional knowledge graphs by incorporating visual and textual modalities, enabling richer and more expressive entity representations. However, existing MKGs often suffer from incompleteness, which hinder their effectiveness in downstream tasks. Therefore, multimodal knowledge graph completion (MKGC) task is receiving increasing attention. While large language models (LLMs) have shown promise for knowledge graph completion (KGC), their application to the multimodal setting remains underexplored. Moreover, applying Multimodal Large Language Models (MLLMs) to the task of MKGC introduces significant challenges: (1) the large number of image tokens per entity leads to semantic noise and modality conflicts, and (2) the high computational cost of processing large token inputs. To address these issues, we propose Efficient Lightweight Multimodal Large Language Models (ELMM) for MKGC. ELMM proposes a Multi-view Visual Token Compressor (MVTC) based on multi-head attention mechanism, which adaptively compresses image tokens from both textual and visual views, thereby effectively reducing redundancy while retaining necessary information and avoiding modality conflicts. Additionally, we design an attention pruning strategy to remove redundant attention layers from MLLMs, thereby significantly reducing the inference cost. We further introduce a linear projection to compensate for the performance degradation caused by pruning. Extensive experiments on benchmark FB15k-237-IMG and WN18-IMG demonstrate that ELMM achieves state-of-the-art performance while substantially improving computational efficiency, establishing a new paradigm for multimodal knowledge graph completion.
