Entity alignment links records that describe the same real-world thing across two knowledge graphs, for example a Chinese and an English DBpedia. In practice many entities in one graph have no counterpart in the other. These are called dangling entities. Models built on the older assumption that every entity has a match push each dangling entity onto its nearest wrong neighbor. The resulting errors pile up on a few popular "hub" entities, and the noise leaks into the representations of entities that do have matches. How well a graph neural network encoder resists this depends heavily on its design: how it aggregates neighbors, how deep it goes, and whether the entity's own features bypass the aggregation. Yet every dangling-aware encoder in the literature was designed by hand. Automated architecture search is the natural tool, but here it is unusually expensive, because judging one candidate means full contrastive training followed by a dangling-detection stage.
We propose a training-free score that ranks candidate encoders using a single forward pass at random initialization. It does not measure generic properties such as gradient flow or kernel conditioning, which is what existing zero-cost proxies do. It measures the two geometric failures that the dangling literature has identified. The first is loss of reciprocity: an entity's nearest cross-graph neighbor no longer has that entity as its own nearest neighbor. The second is hubness: a few target entities appear in many other entities' neighbor lists. To test whether any such score works, we first build what the field lacks, a tabular benchmark of about a thousand fully trained alignment encoders on degree-balanced open-world data. That benchmark also answers the question a skeptic should ask first: does architecture matter enough in this setting to be worth searching over at all?
Core Claim
In open-world alignment, an untrained encoder's cross-graph neighbor geometry on the real input graphs predicts its trained dangling-detection quality better than architecture-agnostic proxies do. The input graphs matter because the harm is structural. Aggregation that mixes dangling neighbors into matchable ones damages reciprocity and creates hubs before any learning happens. This follows On Random Weights and Unsupervised Feature Learning, which shows that connectivity fixes important representational properties before weights are learned. The score needs no alignment seeds and no dangling labels. That matches the unlabeled setting of Lambda and the unsupervised open-world regime of Towards Entity Alignment in the Open World.
Concretely, let $A$ be a candidate architecture and $h_A$ its randomly initialized encoder applied to both graphs, with literal (name) features as input. For each target entity $t$, let $N_k(t)$ be the number of source entities that list $t$ among their $k$ nearest targets. The score is
$$S(A) = z\big(\mathrm{MNN}_k(A)\big) - z\big(\mathrm{skew}\,N_k(A)\big),$$
Here $\mathrm{MNN}_k(A)$ is the fraction of source entities that are mutual nearest neighbors with their top target. $\mathrm{skew}\,N_k(A)$ is the skewness of the k-occurrence distribution, a standard measure of hubness. $z(\cdot)$ standardizes each term across the candidate pool. The equal weighting is fixed in advance so the score cannot be tuned on the benchmark it is evaluated on. We average over three random seeds. The cost is one forward pass plus an approximate k-nearest-neighbor query, which amounts to seconds on graphs of the DBP2.0 size.
Relation to Prior Work
Three dangling-aware methods motivate the two terms in the score, and all three use fixed, hand-designed encoders. Dangling-Aware Entity Alignment with Mixed High-Order Proximities flags an entity as dangling when its match is not reciprocated. It reports cutting the most frequent hub from about 200 to about 100 occurrences. We take both ideas, reciprocity and hub counting, and use them as a scoring device for architectures rather than as a training loss. Lambda names neighborhood pollution and designs a selective-aggregation encoder by hand. We include that design as one region of our search space and ask whether search finds better ones. Knowing the No-match supplies DBP2.0, the fixed training recipe of marginal-ranking loss plus a nearest-neighbor dangling classifier, and the point that dangling rejection must shape the representation during training. Methods based on optimal transport, UED and FGWEA, are far too expensive to run inside a search loop. They serve instead as a competing answer to whether an encoder is needed at all.
The zero-cost architecture search literature supplies our method template and also constrains it. Zero-Cost Proxies for Lightweight NAS, TEG-NAS, and EZNAS score untrained networks from gradient, kernel, or evolved tensor statistics. All three were validated on image search spaces. Evaluating Efficient Performance Estimators of Neural Architectures reports three problems with such proxies:
- they often lose to a plain parameter count;
- SNIP and Fisher reward networks whose gradients explode at initialization;
- proxies in general fail at separating the top decile of architectures, a failure also reported by How Powerful are Performance Predictors in NAS?.
Our score differs in kind. It uses no gradients and is computed on the task's own two graphs, so the gradient-explosion bias cannot apply. The top-decile failure remains a real risk, and we evaluate it directly.
TEG-NAS argues that a well-conditioned neural tangent kernel signals good trainability. We expect this to hold for accuracy on matchable entities and to break for dangling detection: a smooth loss surface on a polluted graph may simply lead to a hub-dominated solution. The benchmark lets us test this prediction directly.
Existing graph architecture search work, such as AutoCoG, searches single-graph node classifiers. None of it addresses two-graph matching with unmatchable entities.
Research Program
Search space. We define a relational graph neural network space that spans these choices:
- aggregation operator: mean, attention, or a gated selective aggregator in the style of Lambda's encoder;
- message-passing depth: one to four layers;
- whether relation types condition the messages;
- how the entity's literal features combine with the aggregated messages: none, residual, highway gate, or concatenation;
- how layer outputs are combined: last layer only or all layers concatenated;
- embedding width.
Every candidate is trained with one fixed recipe: marginal-ranking alignment loss plus a nearest-neighbor dangling classifier, following Sun et al., with identical epochs and optimizer. Only the architecture varies.
Benchmark. We sample about a thousand architectures, removing structurally isomorphic duplicates as Evaluating Efficient Performance Estimators recommends. We train each one to completion on the three DBP2.0 language pairs. We choose DBP2.0 because its dangling entities are degree-matched to matchable ones, so degree alone does not solve detection. A 200-architecture subset is also trained on MedED and GA16K to test transfer across domains and across unequal graph sizes. For each run we record:
- Hits@1 on matchable entities;
- dangling-detection F1;
- end-to-end detect-then-align F1;
- the count of the largest hub.
This costs on the order of a few thousand GPU-hours, spent once. We release the benchmark so future proxies can be evaluated without retraining.
Proxy analysis. We evaluate each proxy by its rank correlation (Kendall τ) with each ground-truth metric. We report τ over the whole pool and within the top 10%, because top-decile ranking is where such proxies usually fail.
Search. We then plug the best proxy into a simple evolutionary search with a one-GPU-hour budget, and fully train only the final few candidates.
Baselines
Naive references. The first reference is random selection from the pool. The second is ranking by parameter count, which Evaluating Efficient Performance Estimators found hard to beat. Our score has to clear parameter count to justify its existence.
Architecture-agnostic proxies. We run synflow, SNIP, the NASWOT/Jacobian-covariance score, relu_logdet, and the neural tangent kernel condition number from TEG-NAS. We also run the synflow+jacob_cov+snip vote from Zero-Cost Proxies for Lightweight NAS, which reports Spearman ρ = 0.82 on NAS-Bench-201. That figure comes from an image benchmark. We found no reported result on Lacuna for any zero-cost proxy on an entity-alignment search space. Every proxy is computed on the same graphs, with the same seeds and the same batch of entities as our score.
Truncated training. This is the strongest cheap competitor. Each candidate is trained for one epoch and scored by validation Hits@1 on seed pairs. We give it the same total wall-clock budget as our score across the full search. This matters because Zero-Cost Proxies for Lightweight NAS observed that nominal FLOP savings from truncated training translate poorly into wall-clock savings.
Hand-designed architectures. We compare against a Dual-AMN-style encoder and Lambda's selective-aggregation encoder. Both are rerun inside our pipeline, and each receives a matched hyperparameter-tuning budget. For reference, Lambda reports GA16K Hits@1 of 67.59%, more than 3% above Dual-AMN, and DBP2.0 dangling F1 between 0.68 and 0.87. Knowing the No-match reports detection F1 of 0.75–0.80 and ZH-EN Hits@1 rising from 0.358 to 0.378 with marginal ranking.
What counts as winning. Our score beats the proxies if its Kendall τ with dangling F1 exceeds the best proxy and parameter count on all three DBP2.0 pairs, including within the top decile. The search beats the hand-designed encoders if, at one GPU-hour of search, its selected architecture matches or exceeds the tuned Lambda encoder on dangling F1 when both are rerun in our pipeline.
Ablations. The main ablation isolates the ingredient that matters, the dependence on the architecture. We compute the same reciprocity and hubness statistics on the raw literal features and on each encoder's features, then check whether the improvement over the raw features, not merely the absolute score, is what predicts trained quality. We also report each term alone, and a seed-supervised variant that measures Hits@1 at initialization, to see whether being label-free costs accuracy.
Why not just…?
Why not just use off-the-shelf zero-cost proxies? Two findings from Evaluating Efficient Performance Estimators argue against it. SNIP and Fisher over-reward gradient explosion, and many proxies lose to parameter count. An aggregator polluted by dangling neighbors could inflate exactly those gradient statistics. We treat this as an empirical claim, not an assumption: the benchmark reports every such proxy's τ, and if one of them matches our score, we will say so.
Why not just train each candidate for one epoch? This is the main threat. One epoch of alignment training may already expose pollution. TEG-NAS argues that early learning speed can mislead a search. In this setting, even a single epoch requires a cross-graph nearest-neighbor evaluation to score. Our budget-matched comparison settles the question. If truncated training ranks as well at equal wall-clock cost, the contribution reduces to the benchmark plus that finding.
Why not skip encoder search and run optimal transport on literal embeddings? UED reaches DBP15K Hits@1 of 0.877–0.975 without supervision. FGWEA reaches 0.987 on ZH-EN, though under the closed-world assumption. If strong literal features dominate, architecture may barely matter. We run UED on DBP2.0 and MedED. We also measure the spread of dangling F1 across the benchmark. If the spread is small, or UED alone beats the best searched encoder, we will conclude that search is unnecessary in this setting. The low-resource and weak-literal regime, where these methods are known to degrade, is where we expect encoders to earn their keep.
Why not just tune Dual-AMN's hyperparameters? The matched-budget Dual-AMN baseline answers this directly. The benchmark also shows whether the best architectures differ from Dual-AMN in structural choices, such as how literal features bypass aggregation, or only in depth and width.
Proposed Experiments
Does architecture matter? The first decisive check is whether the spread in dangling F1 and detect-then-align F1 across the thousand trained encoders is large relative to seed-to-seed noise. The rest of the program depends on this.
Does the score rank architectures? The second check is whether our score's τ with dangling F1 beats parameter count, the image-derived proxies, and budget-matched truncated training. This must hold overall and in the top decile.
Which metric does each proxy track? We test the prediction that the kernel condition number tracks Hits@1 but not dangling F1, and that our score tracks both.
Where does the score fail? We split the analysis by whether an architecture contains learned gates. Such gates carry no information at initialization, so the score may undervalue Lambda-style designs. We would rather state that limitation than hide it.
Does it transfer? We check whether the ranking holds when we move from DBP2.0 to MedED and GA16K.
Does it help the final model? The architecture found in one GPU-hour should reduce the largest hub's frequency, the quantity MHP halved, and should match or exceed the rerun Lambda encoder on dangling F1.
References
- On Random Weights and Unsupervised Feature Learning
- Lambda: Learning Matchable Prior For Entity Alignment with Unlabeled Dangling Cases
- Towards Entity Alignment in the Open World: An Unsupervised Approach
- Dangling-Aware Entity Alignment with Mixed High-Order Proximities
- Knowing the No-match: Entity Alignment with Dangling Cases
- An Accurate Unsupervised Method for Joint Entity Alignment and Dangling Entity Detection
- A Fused Gromov-Wasserstein Framework for Unsupervised Knowledge Graph Entity Alignment
- Zero-Cost Proxies for Lightweight NAS
- Understanding and Accelerating Neural Architecture Search With Training-Free and Theory-Grounded Metrics
- EZNAS: Evolving Zero-Cost Proxies For Neural Architecture Scoring
- Evaluating Efficient Performance Estimators of Neural Architectures
- How Powerful are Performance Predictors in Neural Architecture Search?
- AutoCoG: A Unified Data-Model Co-Search Framework for Graph Neural Networks