LAFA: Multimodal Knowledge Graph Completion with Link Aware Fusion and Aggregation

Bin Shang, Yinliang Zhao, Jun Liu, Di WangAAAI 2024

Abstract

LAFA (Link Aware Fusion and Aggregation) is a novel framework designed to enhance Multimodal Knowledge Graph (MKG) completion by addressing modality contradiction and structural information loss. By implementing link-aware mechanisms for both image fusion and neighborhood aggregation, LAFA effectively filters out irrelevant visual noise and captures local graph context. Experimental results on benchmark datasets FB15k-237-IMG and WN18-IMG demonstrate that LAFA achieves state-of-the-art performance, significantly outperforming existing unimodal and multimodal models.

Introduction

Knowledge Graphs (KGs) represent facts as triples $(h, r, t)$, where $h$ is the head entity, $r$ the relation, and $t$ the tail entity. Multimodal Knowledge Graphs (MKGs) extend this structure by associating entities with images. However, existing completion models—which predict missing links—face two primary challenges:

  1. Modality Contradiction: Not every image of an entity is relevant to every relationship. Treating all images as equally important introduces noise and uncertainty into the entity embeddings.
  2. Structural Information Loss: Many models treat triples in isolation, ignoring the "neighborhood" context of an entity. An entity's meaning is often defined by the other entities it connects to in the graph.

LAFA addresses these issues by making the fusion of images and the aggregation of neighbors "link-aware."

Methodology

LAFA utilizes an Encoder-Decoder architecture featuring two innovative modules:

Instead of static image averaging, LAF employs a Modality Interaction Attention mechanism. It evaluates the specific triple being processed and calculates an importance score for each associated image. Images that do not align with the current relationship are down-weighted, effectively filtering out visual noise and creating a dynamic visual profile for the entity.

LAA moves beyond the single triple by identifying an entity's neighbors and calculating their importance relative to the central entity. It aggregates the multimodal embeddings of these neighbors using a linear combination, ensuring the model captures the broader structural context of the graph.

For the decoder, the authors primarily utilize ConvE, though LAFA is designed to be "plug-and-play" with other popular decoders like DistMult or ComplEx.

Experimental Results

LAFA was evaluated on two standard multimodal benchmarks: FB15k-237-IMG and WN18-IMG. The model outperformed all existing unimodal and multimodal baselines:

  • FB15k-237-IMG: Achieved a Hits@10 of 0.551, significantly surpassing the previous state-of-the-art (MKGformer).
  • WN18-IMG: Reached a near-perfect Hits@10 of 0.977.

Ablation studies confirmed that both the Link Aware Fusion and Link Aware Aggregation modules are essential; removing either resulted in a clear drop in performance.

Visual Analysis

The effectiveness of the Link Aware Fusion mechanism is demonstrated through attention maps. The model assigns different weights to images based on their relevance to the specific relation being predicted, prioritizing high-quality, relevant visual data while filtering out noise.

Attention weights for images of the head entity (Taylor Swift), demonstrating how the model prioritizes relevant visual data for a given link.
Attention weights for images of the tail entity (Grammy Award), showing the filtering of less relevant or lower-quality images in an award-related context.

Conclusion

LAFA provides a robust solution for MKG completion by intelligently fusing modalities and aggregating structural context. Its link-aware approach effectively mitigates the impact of noisy visual data, setting a new standard for performance in multimodal link prediction. Future work may involve expanding the framework to include other modalities, such as text or audio.

Summary updated

BibTeX
@inproceedings{shang2024lafa,
  author = {Bin Shang and Yinliang Zhao and Jun Liu and Di Wang},
  title = {{LAFA: Multimodal Knowledge Graph Completion with Link Aware Fusion and Aggregation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i8.28744},
}
Figure