TL;DR
The paper introduces TOFU (TOken-based MMKG FoUndation model), the first foundation model for multi-modal knowledge graph reasoning that generalizes across completely different graphs. By discretizing structural, visual, and textual data into fine-grained, transferable tokens, TOFU eliminates the need for dataset-specific embedding tables and achieves state-of-the-art zero-shot and fine-tuned performance across 17 distinct knowledge graphs.
What Problem Does This Paper Address?
Multi-modal Knowledge Graph Reasoning (MMKGR) aims to predict missing links (triples) in graphs containing multi-modal entity data, such as text descriptions and images. Historically, MMKGR models have been stuck in a transductive bottleneck: they learn fixed, entity-specific embedding tables. If you introduce a new entity, a new relation, or an entirely new graph, these models fail because they cannot generalize beyond their training vocabulary.
Recently, Knowledge Graph Foundation Models (KGFMs) like ULTRA have emerged to solve this cross-graph generalization problem, but they focus exclusively on structural graph patterns. They completely ignore the rich multi-modal signals (images and text) that could serve as powerful anchors when transferring knowledge to an unseen graph. TOFU bridges this gap by creating a unified, token-based architecture capable of processing structure, text, and vision under a single foundational framework.
Methods
TOFU borrows a core design principle from Large Language Models (LLMs): everything is a token. Instead of maintaining massive entity lookup tables, TOFU tokenizes all three modalities into a shared, discrete space:
- Visual & Textual Tokens: Raw text is processed using a standard BERT tokenizer, while images are converted into discrete visual tokens using a pre-trained BEiT/VQ-VAE codebook.
- Structural Tokens: To represent an entity's position without relying on its specific ID, TOFU samples local context subgraphs and encodes entities based on their shortest-path distances to the head and tail entities.
These tokens are processed through a Hierarchical Local Fusion architecture:
- A Structural Encoder (GNN) and a Multi-modal Encoder (Transformer) independently extract local features.
- A Gated Fusion module adaptively weights the structural vs. multi-modal features based on the query context.
Finally, a Global Propagation module uses a novel Mixture-of-Messages (MiM) mechanism. Because different relations are best modeled by different geometric operations, MiM dynamically combines three classic knowledge graph reasoning functions (TransE, DistMult, and RotatE) using a relation-informed temperature distribution to compute final triple scores.
Datasets
The authors evaluated TOFU across 17 multi-modal knowledge graphs spanning three distinct generalization settings:
- Transductive: DB15K, MKG-W, MKG-Y, YAGO15K, WN9, WN18RR++, and three splits of FB15K-237 (10%, 20%, 50%).
- Inductive (Unseen Entities): Four inductive splits of FB15K-237 (v1, v2, v3, v4).
- Fully-Inductive (Unseen Entities & Relations): Four fully-inductive splits of FB15K-237 (FB-25, FB-50, FB-75, FB-100).
Key Insights and Ideas
- The Power of Discretization: Treating graph structure and multi-modal features as discrete tokens allows the model to completely discard entity/relation-specific embedding tables. This is what enables true cross-KG transferability.
- Modality Synergy: Ablation studies revealed that while structural information remains the dominant signal for graph reasoning, textual and visual tokens act as critical complementary features, especially when generalizing to out-of-distribution (OOD) graphs.
- Dynamic Message Passing: Rather than forcing a single scoring function (like TransE) across the entire graph, the Mixture-of-Messages approach allows the model to adapt its mathematical representation depending on the specific relation query, which significantly boosts robust generalization.
Key Results
TOFU demonstrates remarkable performance and parameter efficiency across the board:
- Cross-Graph Generalization: In zero-shot settings on unseen graphs, TOFU frequently outperforms strong KGFM baselines (like ULTRA and KG-ICL) and even beats some fully fine-tuned baselines.
- Parameter Efficiency: Traditional MMKGR models are massive because their parameters scale with the number of entities (e.g., MoMoK uses 72.4M parameters). TOFU fixes the parameter count entirely. It achieves its state-of-the-art results with just 0.248M parameters—less than 1% of the size of traditional models.
Limitations and Future Work
While TOFU successfully establishes a foundation model paradigm for multi-modal knowledge graphs, the authors note that it currently focuses primarily on link prediction (reasoning). Future work includes expanding the unified token-based architecture to handle other critical multi-modal knowledge graph tasks simultaneously, such as entity linking and cross-lingual entity alignment.
Summary updated