NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Enhancing Multimodal Knowledge Graph Representation Learning through Triple Contrastive Learning

Yuxing Lu, Weichen Zhao, Nan Sun, Jinzhuo Wang, Bo Xu

This summary covers the paper "Enhancing Multimodal Knowledge Graph Representation Learning through Triple Contrastive Learning," published at IJCAI-24.

TL;DR

Researchers have developed KG-MRI, a framework that moves beyond symbolic knowledge graphs by integrating multiple data modalities (like text and chemical structures) using foundation models. By employing a novel Triple Contrastive Learning module and a dual-phase training strategy, the model significantly improves the accuracy of knowledge graph embeddings and demonstrates high diagnostic performance on real-world clinical data.

What Problem Does This Paper Address?

Traditional Knowledge Graphs (KGs) represent the world using "pure symbols"—unique identifiers or text strings linked by defined relationships. However, human cognition doesn't work this way; when we think of an "apple," we don't just see a ID number; we recall its taste, smell, and visual appearance.

While "Multimodal KGE" (Knowledge Graph Embedding) models exist, they face two major hurdles:

  1. The Modality Ceiling: Most existing methods struggle to integrate more than two modalities effectively (e.g., they can handle text + image, but adding a third modality becomes mathematically messy).
  2. Fusion Friction: Fully integrating diverse attributes into a single, cohesive vector space without losing the unique "signal" of each modality is difficult.

The authors aim to bridge this gap, creating a representation that is "grounded" in diverse data types to better mirror human-like understanding.

Methods

The authors propose the KG-MRI (Knowledge Graph Multimodal Representation Integration) method, which consists of three main components:

  1. Multimodal Representation Acquisition: Instead of training feature extractors from scratch, the framework leverages Foundation Models (FMs). For example, they use SciBERT for text descriptions and ChemBERTa-2 for SMILES (chemical structure) sequences. This allows the model to inherit deep, pre-existing domain knowledge.
  2. Triple Contrastive Learning (TCL): This is the core innovation. Standard contrastive learning (like InfoNCE) typically aligns two views of data. TCL extends this to three: the base KGE embedding and two additional modalities. The loss function is designed to pull the representations of the same entity from all three sources closer together in vector space while pushing "negative" (different) entities away.
  3. Dual-Phase Training:
    • Phase 1 (Multimodal Training): The model optimizes both the standard KGE loss (structural) and the TCL loss (alignment) simultaneously.
  4. Phase 2 (Combined Training): The model focuses on refining the integrated representation using only the KGE loss to ensure structural consistency across the graph.

Datasets

The researchers evaluated their model using two primary sources:

  • HMKG (Human Metabolome Knowledge Graph): A custom-built biomedical KG derived from the Human Metabolome Database (HMDB). It contains intricate details on small molecules, including chemical structures (SMILES) and clinical text descriptions.
  • NAFLD Clinical Cohort: A real-world dataset from Jidong Hospital, China, consisting of 160 patients with Non-Alcoholic Fatty Liver Disease and 150 healthy controls. This was used to test the "downstream" utility of the learned embeddings in a diagnostic setting.

Key Insights and Ideas

  • Foundation Models as "Grounding": The paper demonstrates that the "bottleneck" in multimodal KGs isn't just the fusion algorithm, but the quality of the initial features. Using domain-specific FMs (like ChemBERTa) provides a much richer starting point than generic embeddings.
  • Moving Beyond Pairs: The jump from pairwise to triple contrastive learning is crucial. By forcing three different representations (Structure, Modality A, and Modality B) into alignment, the resulting "integrated" vector is more robust and less prone to noise from any single source.
  • Batch Effect Mitigation: One of the most surprising findings was that the multimodal embeddings helped remove "batch effects"—statistical noise introduced by different lab equipment or conditions. Because the embeddings are grounded in the semantics of the molecules (via the KG), they are more stable than raw experimental data.

Key Results

The authors tested KG-MRI against several heavyweights in the KGE field (TransE, RotatE, DisMult, etc.).

  • Link Prediction: Using RotatE as the base model, the MRI-enhanced version (MRI-RotatE) outperformed the vanilla version across all metrics. For example, Hits@1 improved from 0.538 to 0.572, and MRR (Mean Reciprocal Rank) rose from 0.614 to 0.631.
  • Clinical Diagnosis: When using the learned embeddings to classify NAFLD patients, the model achieved an AUC of 0.87 and an accuracy of 0.83, significantly outperforming traditional machine learning models (like Random Forest or SVM) trained on raw expression data.

Limitations and Future Work

While the paper presents a strong case for triple contrastive learning, a few areas remain for exploration:

  • Scalability of Modalities: The current TCL formulation is specifically designed for three representations. While the authors mention "more than two," it isn't immediately clear how the math scales if one wanted to integrate five or six modalities (e.g., adding genomic data, images, and sensor logs).
  • Computational Overhead: Using multiple foundation models as encoders adds significant computational weight during the initial representation acquisition phase.
  • Base Model Dependency: The performance of KG-MRI is still tied to the underlying KGE model (like RotatE). If the base model struggles with certain graph structures (like highly dense clusters), the multimodal integration can only compensate so much.

The authors suggest that future work could involve applying this to even broader multimodal environments and exploring more complex "N-way" contrastive strategies.

Summary updated

BibTeX
@inproceedings{lu2024enhancing,
  author = {Yuxing Lu and Weichen Zhao and Nan Sun and Jinzhuo Wang and Bo Xu},
  title = {{Enhancing Multimodal Knowledge Graph Representation Learning through Triple Contrastive Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=3S7auSE5OY},
}
Figure