[Paper Review] On the Ambiguity of Rank-Based Evaluation of Entity Alignment or Link Prediction Methods
This paper identifies critical flaws in rank-based evaluation for entity alignment and link prediction, showing that standard metrics like Mean Rank (MR) and Hits@K are biased by test set size and fail to enable fair cross-dataset comparisons. The authors propose Adjusted Mean Rank Index (AMRI), a normalized score that corrects for chance performance, demonstrating through empirical evaluation that AMRI enables consistent, interpretable, and comparable model assessment across datasets and test sizes.
In this work, we take a closer look at the evaluation of two families of methods for enriching information from knowledge graphs: Link Prediction and Entity Alignment. In the current experimental setting, multiple different scores are employed to assess different aspects of model performance. We analyze the informativeness of these evaluation measures and identify several shortcomings. In particular, we demonstrate that all existing scores can hardly be used to compare results across different datasets. Moreover, we demonstrate that varying size of the test size automatically has impact on the performance of the same model based on commonly used metrics for the Entity Alignment task. We show that this leads to various problems in the interpretation of results, which may support misleading conclusions. Therefore, we propose adjustments to the evaluation and demonstrate empirically how this supports a fair, comparable, and interpretable assessment of model performance. Our code is available at https://github.com/mberr/rank-based-evaluation.
Motivation & Objective
- To identify fundamental flaws in current rank-based evaluation protocols for entity alignment (EA) and link prediction (LP) in knowledge graphs.
- To demonstrate that standard metrics like Mean Rank (MR) and Hits@K are sensitive to test set size, leading to misleading performance comparisons.
- To show that existing evaluation scores fail to provide a consistent basis for comparing models across different datasets or training regimes.
- To propose a revised evaluation metric, Adjusted Mean Rank Index (AMRI), that corrects for chance performance and enables fairer, more interpretable comparisons.
- To empirically validate the superiority of AMRI in producing stable, consistent, and meaningful model performance assessments across varying test set sizes and datasets.
Proposed method
- Propose a new evaluation metric, Adjusted Mean Rank Index (AMRI), which normalizes rank scores by accounting for the expected rank under random assignment.
- Define the expected rank under random assignment as a function of the number of candidate entities per test instance, adjusting for dataset-specific characteristics.
- Apply the AMRI metric to both entity alignment and link prediction tasks, using filtered evaluation protocols to ensure consistency with standard baselines.
- Train models (e.g., GCN-Align) on varying amounts of training data and evaluate them on test sets of different sizes to assess metric stability.
- Use statistical validation (e.g., Spearman correlation) to analyze the relationship between node degree and embedding similarity, supporting the hypothesis behind model bias.
- Compare AMRI with standard metrics (MR, Hits@K) across multiple datasets (WN18RR, FB15k-237) and models (DistMult, ConvE, TransE, etc.) to validate robustness and interpretability.
Experimental results
Research questions
- RQ1Why do standard rank-based evaluation metrics like Mean Rank and Hits@K produce inconsistent and misleading results when comparing models across different datasets or test set sizes?
- RQ2How does the size of the test set affect the performance of the same model under standard evaluation metrics in entity alignment and link prediction?
- RQ3To what extent do existing evaluation metrics fail to account for chance performance, leading to biased or non-comparable results?
- RQ4Can a normalized evaluation metric be designed to correct for the bias introduced by varying test set sizes and candidate set sizes?
- RQ5How does the proposed AMRI metric improve the interpretability and fairness of model comparisons in knowledge graph completion and alignment tasks?
Key findings
- Standard metrics like Mean Rank (MR) and Hits@1 show a strong, almost linear increase with test set size, even when the model remains unchanged, indicating a fundamental bias in evaluation.
- The Hits@1 score also exhibits sensitivity to test set size, with performance appearing to degrade as test sets grow larger—even when the model’s actual predictive ability is unchanged.
- The proposed Adjusted Mean Rank Index (AMRI) is nearly insensitive to test set size, maintaining consistent scores across different evaluation configurations, thus enabling fairer comparisons.
- On the DBP15k(JAPE) dataset, models trained with 0 alignments still outperform random baseline (AMRI ≈ -0.0025%), suggesting that message-passing in GCN-Align introduces a degree-based inductive bias that improves performance without supervision.
- A significant negative correlation (ρ ≈ -0.041, p ≈ 9.22×10⁻¹⁷) exists between node degree and embedding norm, indicating that high-degree nodes are more similar, which explains the inductive bias in GCN-Align.
- In cross-dataset comparisons, AMRI reveals that models perform consistently worse on WN18RR than on FB15k-237, a difference not solely due to dataset size but likely due to sparsity or relational complexity, which standard metrics obscure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.