Abstract
Knowledge Base Completion (KBC) is the task of predicting missing relationships in large-scale knowledge graphs. While the Path Ranking Algorithm (PRA) has been a dominant approach, it suffers from high computational costs and limited expressivity due to its reliance on exact random walk probabilities. We present Subgraph Feature Extraction (SFE), a method that simplifies the feature space through binarization and expands it using efficient subgraph traversal. Our results show that binarized features outperform probabilistic ones, enabling a 10x speedup and substantial improvements in Mean Average Precision (MAP).
Introduction: The Challenge of Incomplete Knowledge Bases
Knowledge Bases (KBs) such as NELL and Freebase store vast amounts of structured information but are inherently incomplete. KBC aims to infer new facts from existing ones. The state-of-the-art Path Ranking Algorithm (PRA) identifies paths between entities and calculates the probability of reaching a target node via a random walk. However, PRA is computationally expensive and restricted to simple path features, limiting its ability to capture complex graph structures.
Methodology: Subgraph Feature Extraction (SFE)
The proposed SFE method shifts the focus from "how likely" a path is to "does this feature exist?" This binarization approach simplifies the learning problem and reduces computation.
Technical Innovations
- Breadth-First Search (BFS) Traversal: Instead of stochastic random walks, SFE uses BFS to exhaustively characterize the local subgraph around entities, providing a more complete feature set in less time.
- Feature Binarization: The feature matrix uses binary indicators (0 or 1) instead of floating-point probabilities.
- Expanded Feature Space: SFE introduces richer features, including path bigrams, one-sided entity neighborhood features, and vector space similarity using word embeddings to group related relations.
- Any-Rel Feature: A generalized feature that signals the existence of any relationship between two nodes, mitigating issues with graph sparsity.
Experimental Evaluation
The authors evaluated SFE on two benchmarks: NELL (a subset of 10 relations) and Freebase (24 relations). To improve training robustness, the study utilized Personalized PageRank (PPR) to sample "near-miss" entities as negative evidence.
Key Insights: The Value of Simplicity and Expressivity
A primary finding of this research is that precise random walk probabilities are unnecessary for high-quality KBC. As shown in the experimental results, binarizing features consistently leads to comparable or superior performance across different datasets.
By abandoning probability calculations, the model can scale to hundreds of thousands of features—far exceeding the capacity of PRA. This increased expressivity allows the model to capture subtle structural patterns that simple paths miss.
Results and Performance
SFE demonstrates significant gains in both accuracy and efficiency:
- Accuracy: On the NELL dataset, SFE improved Mean Average Precision (MAP) from .432 to .528 and Mean Reciprocal Rank (MRR) from .850 to .933.
- Efficiency: Processing time for 10 NELL relations dropped from 44 minutes to just 5 minutes—nearly an order of magnitude faster.
- Feature Scale: SFE successfully utilized over 649,000 features, compared to approximately 800 in standard PRA implementations.
Limitations and Future Work
Despite its advantages, SFE requires a separate candidate generation step to identify node pairs for scoring. Additionally, "one-sided" features can occasionally lead to overfitting on specific entity names. Future research will explore more efficient memory management for extremely large graphs and refined negative sampling techniques.
Summary updated