Continual Multimodal Knowledge Graph Construction

Xiang Chen, Jingtian Zhang, Xiaohan Wang, Ningyu Zhang, Tongtong Wu, Yuxiang Wang, Yongheng Wang, Huajun Chen

Abstract

Building Multimodal Knowledge Graphs (MKGs) in dynamic environments requires models that can learn new entities and relations continuously without losing previously acquired knowledge. We present MSPT (Multimodal Stability-Plasticity Transformer), a novel framework designed to address the challenges of catastrophic forgetting and modality imbalance in incremental learning. By employing gradient modulation to balance learning speeds across text and vision, and an asymmetric attention distillation mechanism, MSPT achieves state-of-the-art performance in extracting knowledge from streaming multimedia data.

Introduction

Knowledge Graphs (KGs) are essential for modern AI applications, yet they often remain static, failing to incorporate new real-world information as it emerges. Multimodal Knowledge Graph Construction (MKGC) leverages both textual and visual data to resolve ambiguities—such as distinguishing between "Apple" the fruit and "Apple" the technology company. However, when these models are subjected to continual learning, they suffer from catastrophic forgetting, where new information overwrites old knowledge. Furthermore, a unique challenge in multimodal learning is the "imbalance" problem: text and vision modalities often learn at different rates, leading the model to over-rely on one modality and accelerate forgetting in the other.

Methodology: The MSPT Framework

MSPT utilizes a dual-stream Transformer architecture, integrating BERT for text and ViT for images. The framework introduces two primary innovations to navigate the stability-plasticity dilemma:

1. Gradient Modulation for Balanced Learning

To prevent one modality from dominating the learning process, MSPT adaptively tunes gradients. If the text modality contributes significantly more to the learning objective than the visual modality, the system reduces the speed of text updates. This ensures that both modalities develop nuanced representations in tandem, enhancing the model's plasticity—its capacity to integrate new information.

2. Hand-in-Hand Multimodal Interaction and Asymmetric Distillation

Instead of standard cross-attention, MSPT employs a shared set of "external learnable keys" ($K_l$) to decouple the fusion process from specific task data. To preserve stability, the model uses an asymmetric distance function for attention distillation. Unlike symmetric losses that penalize any change, this function only penalizes the model if it loses old attention patterns, while allowing it the freedom to develop new patterns for novel tasks.

The MSPT architecture featuring dual-stream encoders, shared interaction keys, and the gradient modulation mechanism.

Experimental Setup

The researchers established two new benchmarks to evaluate continual MKGC:

  • IMNER (Incremental Multimodal Named Entity Recognition): A class-incremental format where the model encounters new entity types over time.
  • IMRE (Incremental Multimodal Relation Extraction): A 10-subset partition of MRE data designed to test relationship identification across a sequence of tasks.

Key Results and Discussion

MSPT was evaluated against several baselines, including unimodal models and state-of-the-art continual learning methods like RP-CRE and EWC.

Superior Retention and Stability

On the IMRE benchmark, MSPT maintained an F1 score of 46.0% after 10 tasks. This significantly outperformed the best text-only continual learning baseline (RP-CRE at 35.1%) and multimodal baselines like MKGformer, which plummeted to 3.2%. The results indicate that standard multimodal models are often more prone to forgetting than unimodal ones unless specifically regularized.

Plasticity and Robustness

MSPT consistently remained near the "Joint Training" upper bound for plasticity, meaning its ability to learn new tasks did not degrade as the sequence progressed. The model also demonstrated robustness to task ordering, proving its effectiveness across various data sequences.

Comparison of Forgetting and Plasticity metrics across 10 tasks, showing MSPT's superior performance over baselines.

Conclusion

MSPT effectively addresses the core challenges of continual multimodal learning through balanced gradient modulation and asymmetric distillation. While the current model relies on a small memory buffer for rehearsal, future work will explore rehearsal-free strategies and expand the framework to broader MKGC tasks and additional modalities like audio and video.

Summary updated

BibTeX
@inproceedings{chen2024continual,
  author = {Xiang Chen and Jingtian Zhang and Xiaohan Wang and Ningyu Zhang and Tongtong Wu and Yuxiang Wang and Yongheng Wang and Huajun Chen},
  title = {{Continual Multimodal Knowledge Graph Construction}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
}
Figure