TL;DR
This paper investigates how the local graph topology of biomedical knowledge graphs (KGs) impacts the performance of Knowledge Graph Embedding (KGE) models. By analyzing graph structures at the individual triple level rather than aggregating by relation type, the authors reveal that node degrees and local topological patterns strongly dictate model accuracy. Crucially, they show that counterintuitively, adding more data to a biomedical KG can sometimes confuse models and degrade predictive performance.
What Problem Does This Paper Address?
Biomedical Knowledge Graphs (KGs) are powerful tools that integrate complex biological data—such as relationships between genes, drugs, diseases, and biological pathways—into structured triple formats $(h, r, t)$. Machine learning models use these KGs for critical tasks like drug repurposing and target discovery by predicting missing links (Knowledge Graph Completion).
However, constructing these graphs is a manual, expensive, and iterative process. Graph designers lack a clear understanding of how their structural choices (e.g., which relations or data sources to include) affect a model's predictive accuracy. While previous research analyzed graph topology at the macro-level (averaging properties across entire relation types), this approach obscures critical local variations and suffers from confounding factors like degree imbalance (the presence of highly connected "hub" genes or inspection biases). This paper addresses this gap by analyzing graph topology at the micro-level of individual triples to provide actionable insights for graph construction.
Methods
The authors move away from relation-level averages and formalize graph topology at the individual triple level. They focus on two main structural characteristics:
- Edge Cardinality: Categorizing individual triples into one-to-one (1:1), one-to-many (1:M), many-to-one (M:1), or many-to-many (M:M) based on the specific head and tail degrees for that relation type.
- Edge Topological Patterns: Identifying whether a triple satisfies specific logical patterns, namely Symmetry, Inference, Inverse, or Composition (illustrated in Figure 1).
They benchmarked five popular KGE models representing different mathematical approaches: TransE, DistMult, RotatE, TripleRE, and ConvE. To support future research, the authors released the kg-topology-toolbox, a standardized Python framework to compute these local topological statistics for any KG.
Datasets
The study evaluates five widely used public biomedical KGs:
- Hetionet
- PrimeKG
- PharmKG
- OpenBioLink
- PharMeBINet
They also include FB15k-237, a standard general-domain benchmark, as a baseline to distinguish biomedical-specific phenomena from general graph learning characteristics.
Key Insights and Ideas
- Relation-level aggregation hides the truth: Classifying an entire relation type as "symmetric" or "many-to-many" introduces too much noise because individual triples within that relation vary wildly. Triple-level analysis provides significantly higher statistical power.
- Node degree is a massive performance driver: Model accuracy is strongly correlated with node connectivity. A high tail in-degree makes a triple much easier to predict (popularity bias), whereas a high head out-degree makes it harder because the model must distinguish the target from many other valid connections.
- Compositions rescue low-degree nodes: Local composition patterns (e.g., predicting a Drug-treats-Disease link because of an underlying Drug-binds-Gene-associates-Disease path) significantly improve prediction accuracy. This benefit is most pronounced when the head and tail entities have low degrees. Surprisingly, this holds true even for models like DistMult that theoretically lack the capacity to capture composition rules.
- More data isn't always better: In a controlled case study, the authors matched identical triples shared between Hetionet and PharMeBINet (which augments Hetionet with extra databases). Models trained on the smaller, more tailored Hetionet consistently outperformed those trained on the larger PharMeBINet.
Key Results
- Dominance of Many-to-Many Edges: Across all studied biomedical KGs, many-to-many (M:M) is the overwhelmingly predominant edge cardinality, accounting for the vast majority of triples.
- The "Counterpart" Shortcut: If the counterpart of a symmetric or inverse edge is present in the training set, link prediction becomes trivial for most models. The exception is TransE on symmetric triples; because its design mathematically forbids symmetry, it performs poorly regardless of whether the counterpart was seen during training.
- Data Augmentation Degradation: When evaluating models on a shared set of test triples, distance-based models trained on the larger PharMeBINet showed a marked degradation in Mean Reciprocal Rank (MRR) compared to those trained on Hetionet. This suggests that simply expanding a KG with more relations can introduce confusion and noise for shallow KGE models.
Limitations and Future Work
The authors restrict their case studies to shallow embedding models and ConvE due to computational constraints. Future work is needed to see if these topological dependencies apply equally to Graph Neural Networks (GNNs) or language-model-based graph completion methods. Furthermore, the finding that larger graphs can harm performance highlights an urgent need for the community to develop better graph-filtering principles and task-specific graph tailoring techniques.
Summary updated