Overview
This post discusses the KAIST paper *Structure Is All You Need: Structural Representation Learning on Hyper-Relational Knowledge Graphs* (Lee & Whang, ICML 2025), which introduces MAYPL (Message pAssing framework for hYper-relational knowledge graph rePresentation Learning).
Background: Hyper-Relational Knowledge Graphs
Traditional knowledge graphs store simple triples like *Finding Nemo — set in — Sydney*. Hyper-relational knowledge graphs (HKGs) enrich these triples with qualifiers — e.g., *Sydney — country — Australia* and *Sydney — state — New South Wales* — providing crucial context. Existing methods underuse this structure:
- Transformer-based methods (StarE, HyNT) process each hyper-relational fact individually, ignoring inter-fact connections.
- GNN-based methods (HAHE) use neighborhood information but ignore the positional roles of entities and relations within facts.
- Some approaches simplify HKGs into knowledge hypergraphs (KHG) or n-ary relational representations (NRR), losing shared-qualifier connections.
- Fact level: composition and relative positions within each fact
- Entity level: which facts an entity belongs to and its role in each
- Relation level: which facts a relation participates in and how it links entities
- Transductive: MRR of 0.488 on WikiPeople, up 8.4% over the best baseline (HJE at 0.450); strong results on WD50K as well.
- Inductive (unseen entities/relations at test time): MRR of 0.486 on WD20K(100)v1 vs. 0.107 for the best baseline QBLP — an improvement of over 350%.
- Replacing the structure-driven initializer with learnable vectors: MRR on WikiPeople' drops from 0.521 to 0.388.
- Removing attention-based message passing: MRR falls to 0.109.
- Replacing attention with mean aggregation or Hadamard product with concatenation: consistent performance drops.
- Structuralism wins: exploiting intrinsic structure can outperform adding external features or scaling up models.
- Inductive learning: pure structural learning enables strong generalization to unseen data, relevant for few-shot and zero-shot settings.
- Bridging symbolism and connectionism: MAYPL combines knowledge-graph logic with neural representation learning.
- Limitations: message computation is resource-intensive; the authors suggest more efficient attention (e.g., Luong-style), applications in QA, generation, and robot navigation, and a long-term vision of knowledge-reasoning foundation models.
- Ethics: powerful knowledge completion could be misused to predict or leak private information.
MAYPL's Design
MAYPL is a purely structure-driven framework with three stages:
1. Structure-Driven Initializer
Initial representations for entities and relations are computed from graph structure alone — co-occurring entities, connected relations, and their positional roles (head, tail, or qualifier). Formally:
Because no external features are required, MAYPL naturally handles unseen entities and relations.
2. Attention-Based Neural Message Passing
Representations are iteratively refined at three levels:
An attention mechanism weights each fact's contribution to the updates.
3. Link Prediction
Given an incomplete hyper-relational fact, MAYPL scores candidate entities by similarity, using qualifier context for more accurate predictions.
Experimental Results
Evaluated on 10 benchmark datasets against 40 baselines:
Ablation Findings
Qualitative Analysis
After message passing, the representation space refines coarse clusters into semantically tighter neighborhoods — e.g., "Vancouver" initially resembles cities like "Venice," but afterward its nearest neighbors become geographically closer Canadian cities such as "Toronto" and "Victoria."
Implications and Limitations
References
1. Lee, J., & Whang, J. J. (2025). Structure Is All You Need: Structural Representation Learning on Hyper-Relational Knowledge Graphs. *Proceedings of the 42nd International Conference on Machine Learning*. 2. Galkin, M., et al. (2020). StarE. *EMNLP 2020*. 3. Luo, L., et al. (2023). HAHE. *AAAI 2023*. 4. Chung, Y., et al. (2023). HyNT. *EMNLP 2023*. 5. Lee, J., et al. (2023). InGram. *EMNLP 2023*.