Abstract
Multimodal knowledge graphs incorporate multimodal information rather than pure symbols, which significantly enhance the representation of knowledge graphs and their capacity to understand the world. Despite these advancements, existing multimodal fusion techniques still face significant challenges in representing modalities and fully integrating the diverse attributes of entities, particularly when dealing with more than one modality. To address this issue, this article proposes a Knowledge Graph Multimodal Representation Learning (KG-MRI) method. This method utilizes foundation models to represent different modalities and incorporates a triple contrastive learning model and a dual-phase training strategy to effectively fuse the different modalities with knowledge graph embeddings. We conducted comprehensive comparisons with several different knowledge graph embedding methods to validate the effectiveness of our KG-MRI model. Furthermore validation on a real-world Non-Alcohol Fatty Liver Disease (NAFLD) cohort demonstrated that the vector representations learned through our methodology possess enhanced representational capabilities, showing promise for broader applications in complex multimodal environments.
Introduction
Traditional Knowledge Graphs (KGs) are primarily symbolic, representing entities as unique identifiers or text strings. However, human cognition is inherently multimodal; we recognize an object not just by its name, but through a collection of sensory data such as color, taste, and texture. While Multimodal Knowledge Graphs (MKGs) have been developed to capture this complexity, current embedding techniques often struggle to integrate more than two modalities effectively. Most existing models focus heavily on graph structure while failing to fully exploit the rich, diverse attributes of the entities themselves. This gap is particularly evident in specialized fields like biomedicine, where an entity (e.g., a metabolite) possesses a name, a chemical structure (SMILES), and a clinical description—all vital for a holistic understanding.
The KG-MRI Framework
To bridge this gap, we introduce the Knowledge Graph Multimodal Representation Learning (KG-MRI) framework. KG-MRI is designed to integrate multiple data modalities by aligning representations from various domain-specific foundation models through a novel contrastive learning approach.
Core Components
- Multimodal Representation Acquisition: The framework leverages pre-trained foundation models as feature extractors. For instance, it employs SciBERT for textual descriptions and ChemBERTa-2 for chemical SMILES sequences, inheriting deep domain knowledge without requiring modality-specific encoders to be trained from scratch.
- Triple Contrastive Learning (TCL): This is the framework's primary innovation. While standard contrastive learning (like InfoNCE) typically aligns two views of an object, TCL extends this to three: the base KG embedding, modality A (text), and modality B (structure). It forces these three representations of the same entity to cluster together in vector space while pushing away representations of different entities.
- Dual-Phase Training Strategy:
- Phase 1 (Multimodal Alignment): The model is trained using both standard KG loss (to preserve graph structure) and TCL loss (to align modalities).
- Phase 2 (Refinement): The model focuses on refining the integrated representation using only the KG loss to ensure a consistent and stable update of the final embeddings.
Experimental Results
The study utilized the Human Metabolome Knowledge Graph (HMKG), containing over 200,000 compounds, and a real-world NAFLD Clinical Cohort to validate the framework.
- State-of-the-Art Performance: When applied to the RotatE base model, KG-MRI achieved a Hit@10 of 0.770 and an MRR of 0.631, outperforming ten popular KGE methods including TransE and ConvE. The results suggest that while graph structure provides the "skeleton," multimodal data provides the "flesh," leading to more discriminative representations.
- Clinical Utility: In the NAFLD diagnostic task, KG-MRI embeddings achieved an average AUC of 0.87 and an F1-score of 0.84. Notably, the multimodal embeddings helped decouple clinical data from specific machine "batch effects," making the model more robust for real-world hospital deployment.
Conclusion and Future Work
KG-MRI demonstrates that triple contrastive learning is a powerful tool for integrating diverse entity attributes into a unified knowledge representation. While successful, future research will focus on scaling the TCL module to accommodate even more modalities (such as images or genomic sequences) and optimizing the computational intensity of the training process, which currently ranges from 3 to 60 hours depending on the base model.
Summary updated