Scalable Feature Learning on Huge Knowledge Graphs for Downstream Machine Learning
Félix Lefebvre, Gaël Varoquaux
TL;DR
SEPAL tackles the scalability gap in knowledge-graph embeddings by learning high-quality, globally consistent embeddings from a small, dense core and propagating them to the rest of a huge graph through relation-aware message passing. It introduces BLOCS to split ultra-large graphs into balanced, overlapping subgraphs, enabling single-GPU training while preserving connectivity and relational coverage. Theoretical analysis links SEPAL’s propagation to global embedding alignment and an Arnoldi-like evolution, and empirical results on 7 large KG datasets and 46 downstream tasks show strong downstream performance and substantial speedups over baseline large-scale KGEs. The approach reduces engineering overhead, scales to graphs with hundreds of millions of triples on commodity hardware, and remains adaptable to various base KGE models, with potential for continual learning.
Abstract
Many machine learning tasks can benefit from external knowledge. Large knowledge graphs store such knowledge, and embedding methods can be used to distill it into ready-to-use vector representations for downstream applications. For this purpose, current models have however two limitations: they are primarily optimized for link prediction, via local contrastive learning, and their application to the largest graphs requires significant engineering effort due to GPU memory limits. To address these, we introduce SEPAL: a Scalable Embedding Propagation ALgorithm for large knowledge graphs designed to produce high-quality embeddings for downstream tasks at scale. The key idea of SEPAL is to ensure global embedding consistency by optimizing embeddings only on a small core of entities, and then propagating them to the rest of the graph with message passing. We evaluate SEPAL on 7 large-scale knowledge graphs and 46 downstream machine learning tasks. Our results show that SEPAL significantly outperforms previous methods on downstream tasks. In addition, SEPAL scales up its base embedding model, enabling fitting huge knowledge graphs on commodity hardware.
