TL;DR
This paper investigates how the structural properties (topology) of biomedical knowledge graphs (KGs) influence the performance of knowledge graph completion (KGC) models. They find that simple edge cardinality isn't enough; the actual degrees of nodes and specific topological patterns, especially when combined with entity degrees, are crucial predictors of model accuracy.
What Problem Does This Paper Address?
Knowledge Graph Completion (KGC) is a vital technique for inferring missing links in knowledge graphs, particularly in the biomedical domain for tasks like drug repurposing. While KGs are powerful for integrating diverse biological information, their complex structure, with entities and relations at various abstraction levels, poses challenges for machine learning models. Existing research on KGC performance often focuses on relation types or general graph properties, neglecting the nuanced impact of individual triple topology. This paper aims to bridge this gap by providing a detailed analysis of how specific topological features of biomedical KGs affect KGC model performance, offering a more principled approach to KG construction for downstream tasks.
Methods
The authors conducted a comprehensive analysis of topological properties of biomedical KGs and their correlation with KGC model performance. They focused on four primary edge topological patterns: symmetry, inference, inverse, and composition, and also considered edge cardinalities (1:1, 1:M, M:1, M:M). Unlike previous work that often aggregated these properties at the relation level, this study examines them at the individual triple level. They trained five well-established KGE models (TransE, DistMult, RotatE, TripleRE, and ConvE) on six different KGs and evaluated their performance using Mean Reciprocal Rank (MRR) and Hits@10 metrics. A key methodological contribution is the release of a Python package, kg-topology-toolbox, for KG topological analysis, along with all experimental predictions.
Datasets
The study utilized five public biomedical KGs:
- Hetionet
- PrimeKG
- PharmKG
- OpenBioLink
- PharMeBINet
Additionally, the general-domain KG FB15k-237 was included as a baseline for comparison.
Key Insights and Ideas
- Beyond Relation-Level Aggregation: Analyzing topological properties at the individual triple level, rather than aggregating them for entire relation types, reveals stronger patterns and avoids noise introduced by inconsistencies within a relation.
- Node Degrees Matter More Than Cardinality: Simple edge cardinality classifications (1:1, 1:M, etc.) alone are poor predictors of model accuracy. The actual degrees of head and tail nodes, especially when considering same-relation type degrees, are much more informative.
- Compositions are Beneficial (with caveats): Compositional patterns generally improve model accuracy, particularly when entity degrees are small. This effect is observed even for models not explicitly designed to handle compositions.
- Symmetry's Double-Edged Sword: Symmetric triples can be beneficial, especially if their counterparts are seen during training. However, models not designed for symmetry (like TransE) struggle with them, and in the absence of training data counterparts, symmetry can even be detrimental.
- Inverse and Inference Edges are Less Impactful: The presence of inverse or inference edges generally has a smaller impact on model accuracy compared to symmetry or composition, especially when counterparts are not seen during training.
- Larger KGs Aren't Always Better: Surprisingly, training on larger, more comprehensive biomedical KGs (like PharMeBINet) can sometimes lead to worse performance than training on smaller, more tailored KGs (like Hetionet). This suggests that additional, potentially noisy data can confuse simpler KGE models.
Key Results
- Dominance of Many-to-Many Cardinality: The majority of triples across all KGs exhibit many-to-many edge cardinality.
- Composition is Prevalent: Composition is the most prevalent topological pattern across all examined KGs.
- Biomedical KGs are Directed: Most biomedical KGs show a lack of inverse edges, indicating a generally directed nature of the encoded knowledge.
- Degree Correlation: A strong positive correlation was observed between model accuracy and the in-degree of the tail entity, and a strong negative correlation with the out-degree of the head entity.
- Compositional Gains: When entity degrees are small, compositions lead to improved accuracy across datasets and models.
- Training Data Paradox: Models trained on the smaller Hetionet dataset often outperformed those trained on the larger PharMeBINet dataset for common edges, suggesting that KGs with more data can sometimes be detrimental for shallow KGE models.
Limitations and Future Work
- Confounding Effects: The authors acknowledge that disentangling the effects of node degrees from other topological properties can be challenging, as these are often correlated.
- Validation Scheme Inconsistencies: The paper highlights issues with inconsistent validation schemes and topological property definitions in prior work, which can obscure true findings. They address this by releasing their predictions and a toolbox.
- Future Work: The authors encourage further investigation into the guiding principles for constructing training KGs for biomedical tasks, especially given the observed paradox of larger datasets sometimes leading to worse performance. They also suggest that their released toolbox and predictions can facilitate future research in this area.
Summary updated