TL;DR
NASE introduces a Neural Architecture Search (NAS) framework for knowledge graph link prediction that bridges the gap between reconstruction-based and semantic matching models. By relaxing the search space to be continuous, it efficiently customizes embedding architectures for diverse datasets, outperforming rigid human-designed baselines and prior AutoML methods.
What Problem Does This Paper Address?
Knowledge Graphs (KGs)—networks of real-world entities and their interrelations—are powerful but notoriously incomplete. Link prediction aims to fill these gaps by predicting missing facts, formatted as triplets: (head entity, relation, tail entity).
Over the years, machine learning researchers have split into two main camps to solve this:
- Reconstructive models (e.g., TransE, ConvE), which try to mathematically regenerate one entity embedding given the other entity and the relation.
- Semantic matching models (e.g., DistMult, SimplE), which use algebraic operations to calculate a compatibility score for the triplet.
Because real-world KGs vary wildly in sparsity, scale, and relational patterns, no single human-designed architecture rules them all. While automated machine learning (AutoML) has been proposed to find the best model per dataset, prior attempts (like AutoSF) only searched within a narrow family of bilinear semantic matching models. NASE addresses this limitation by creating a unified search space that spans both paradigms.
Methods
NASE (Neural Architecture Search for Knowledge Graph Embedding) breaks the link prediction pipeline into a two-level search space:
- Representation Search Module: This module refines the raw input embeddings ($e_h, e_r, e_t$) through $N$ representation layers. It searches over reconstructive operators like 1D/2D convolutions, translation operations (TransE/TransR), and identity mappings. Crucially, it introduces a learnable, gated fusion step to blend the newly generated embeddings with the original ones, ensuring the model retains entity-specific context.
- Score Function Search Module: This module takes the refined embeddings and integrates them to output the final triplet plausibility score. It searches across multiple distinct model families: convolution-based (ConvKB), translation-based (TransE), bilinear (DistMult, SimplE), and standard Multi-Layer Perceptrons (MLPs).
Instead of using a slow, discrete search strategy (like reinforcement learning or genetic algorithms), NASE applies a continuous relaxation technique inspired by DARTS (Differentiable Architecture Search). Every candidate operation is assigned a continuous weight, allowing the entire architecture to be optimized jointly with the network weights using standard gradient descent.
Datasets
The authors evaluated NASE across five public benchmark datasets to test its adaptability to different domains and structural properties:
- Standard Benchmarks:
FB15k-237(dense, many relations) andWN18RR(highly sparse, few relations). - Domain-Specific Benchmarks:
Medical-E(extracted from Freebase),Medical-C(a Chinese medical KG), andMilitary(a Chinese military tech KG).
The inclusion of the three less common domain-specific datasets serves as a strict test for dataset adaptation.
Key Insights and Ideas
- Hybrid Architectures Win: By combining reconstructive representation layers with semantic matching score functions, NASE automatically discovers hybrid architectures that human engineers rarely design from scratch.
- Shallow is Better (Usually): For most datasets, NASE discovered that a single representation layer ($N=1$) is optimal. Deeper architectures tend to overfit the graph structure. The only exception was the small, cleanly distributed
Medical-Edataset, which successfully utilized two layers. - The Necessity of Gated Fusion: The ablation study highlighted that simply adding new embeddings to old ones degrades performance. A learnable, gated fusion mechanism is vital for keeping the representations stable across layers.
Key Results
- Outperforming AutoML: NASE clearly outperformed the previous state-of-the-art AutoML framework, AutoSF, on 4 out of 5 datasets. For instance, on
FB15k-237, NASE achieved a Mean Reciprocal Rank (MRR) of 0.421 compared to AutoSF's 0.360. - Beating Human Design: NASE consistently achieved superior or comparable results to top human-designed baselines (like ConvE, TuckER, and SimplE) across diverse datasets, proving its strong generalization capabilities.
Limitations and Future Work
- Sparsity Struggle: NASE underperformed AutoSF on the
WN18RRdataset (MRR of 0.465 vs 0.490). BecauseWN18RRis exceptionally sparse, NASE's broader, more expressive search space likely suffered from overfitting due to the lack of training signals. - Search Space Omissions: Highly effective models like RotatE were excluded from the search space because they require relation embeddings to have different dimensions or complex number representations compared to entity embeddings. The authors note that expanding the search space to accommodate these complex geometric transformations is a key direction for future work.
Summary updated