NodePiece: Compositional and Parameter-Efficient Representations of Large Knowledge Graphs
Mikhail Galkin, Etienne G. Denis, Jiapeng Wu, William L. Hamilton
Abstract
Conventional representation learning algorithms for knowledge graphs (KG) map each entity to a unique embedding vector. Such a shallow lookup results in a linear growth of memory consumption for storing the embedding matrix and incurs high computational costs when working with real-world KGs. Drawing parallels with subword tokenization commonly used in NLP, we explore the landscape of more parameter-efficient node embedding strategies with possibly sublinear memory requirements. To this end, we propose NodePiece, an anchor-based approach to learn a fixed-size entity vocabulary. In NodePiece, a vocabulary of subword/sub-entity units is constructed from anchor nodes in a graph with known relation types. Given such a fixed-size vocabulary, it is possible to bootstrap an encoding and embedding for any entity, including those unseen during training. Experiments show that NodePiece performs competitively in node classification, link prediction, and relation prediction tasks while retaining less than 10% of explicit nodes in a graph as anchors and often having 10x fewer parameters. To this end, we show that a NodePiece-enabled model outperforms existing shallow models on a large OGB WikiKG 2 graph having 70x fewer parameters.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 965f7c58-91bd-48b8-9ffd-70a041232496Cited by top-tier papers28
- Towards Foundation Models for Knowledge Graph ReasoningMikhail Galkin, Xinyu Yuan, Hesham Mostafa, Jian Tang et al.ICLR 2024 · 95 citations
- InGram: Inductive Knowledge Graph Embedding via Relation GraphsJaejun Lee, Chanyoung Chung, Joyce Jiyoung WhangICML 2023 · 83 citations
- Lifelong Embedding Learning and Transfer for Growing Knowledge GraphsYuanning Cui, Yuxin Wang, Zequn Sun, Wenqiang Liu et al.AAAI 2023 · 57 citations
- A Prompt-Based Knowledge Graph Foundation Model for Universal In-Context ReasoningYuanning Cui, Zequn Sun, Wei HuNeurIPS 2024 · 46 citations
- Inductive Logical Query Answering in Knowledge GraphsMichael Galkin, Zhaocheng Zhu, Hongyu Ren, Jian TangNeurIPS 2022 · 36 citations
Builds on16
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Composition-based Multi-Relational Graph Convolutional NetworksShikhar Vashishth, Soumya Sanyal, Vikram Nitin, Partha P. TalukdarICLR 2020 · 1,105 citations
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link PredictionZhaocheng Zhu, Zuobai Zhang, Louis-Pascal A. C. Xhonneux, Jian TangNeurIPS 2021 · 546 citations
- Inductive Relation Prediction by Subgraph ReasoningKomal K. Teru, Etienne G. Denis, William L. HamiltonICML 2020 · 493 citations
- Few-Shot Knowledge Graph CompletionChuxu Zhang, Huaxiu Yao, Chao Huang, Meng Jiang et al.AAAI 2020 · 238 citations
Related papers
- Clustering then Propagation: Select Better Anchors for Knowledge Graph EmbeddingKe Liang, Yue Liu, Hao Li, Lingyuan Meng et al.NeurIPS 2024 · 7 citations
- Random Entity Quantization for Parameter-Efficient Compositional Knowledge Graph RepresentationJiaang Li, Quan Wang, Yi Liu, Licheng Zhang et al.EMNLP 2023 · 3 citations
- Entity-Agnostic Representation Learning for Parameter-Efficient Knowledge Graph EmbeddingMingyang Chen, Wen Zhang, Zhen Yao, Yushan Zhu et al.AAAI 2023 · 16 citations
- Scalable Feature Learning on Huge Knowledge Graphs for Downstream Machine LearningFélix Lefebvre, Gaël VaroquauxNeurIPS 2025 · 1 citation
- Learning Triple Embeddings from Knowledge GraphsValeria Fionda, Giuseppe PirròAAAI 2020 · 19 citations
