Abstract
Relational learning in large-scale graphs often struggles with the "horizon problem"—the exponential growth of paths with length—and the inability to incorporate specific entity constants. This paper introduces Cor-PRA (Constant and Reversed Path Ranking Algorithm), which utilizes backward random walks to discover expressive features efficiently. By employing a bi-directional search strategy, Cor-PRA enables the use of longer relational paths and entity-specific rules, significantly improving performance on knowledge base inference and named entity extraction tasks while remaining highly scalable.
Introduction: The Limitations of Standard Path Ranking
In structured knowledge representation, data is modeled as a graph where nodes are entities and edges represent relationships. Predicting new relationships typically involves the Path Ranking Algorithm (PRA), which identifies sequences of edge types (paths) connecting nodes. However, standard PRA faces two critical bottlenecks:
- Lack of Constants: It cannot easily integrate specific nodes into its logic. For instance, it struggles to learn rules like "If the target is the NFL, the source is likely an athlete."
- The Horizon Problem: The search space for paths grows exponentially with length, restricting PRA to very short chains of reasoning.
Methodology: Cor-PRA and Bi-directional Walks
To overcome these limitations, the authors propose Cor-PRA, which leverages backward random walks to enhance both expressiveness and computational efficiency.
Bi-directional Search
Instead of searching only forward from a source node $s$, Cor-PRA walks backward from target nodes $t$. This "meet-in-the-middle" approach drastically reduces time complexity. Finding a path of length 6, for example, only requires two 3-step searches rather than one 6-step search, reducing complexity from $O(|V|^{2M})$ to $O(|V|^M)$.
Discovering Constants and Bi-directional Features
Backward walks allow the algorithm to identify "constants"—nodes frequently hit when walking back from target entities. These nodes (e.g., "NCAA") can then be used as features in the model. Furthermore, the algorithm treats forward and backward walk probabilities as distinct features, capturing the asymmetric nature of graph connectivity (e.g., a player belongs to one team, but a team has many players).
Feature Selection
To manage the resulting feature explosion and prevent overfitting, the authors implement precision/coverage thresholds and a top-$K$ filter based on the $F_1$ score.
Experimental Evaluation
The effectiveness of Cor-PRA was tested on two large-scale datasets:
- NELL (Never-Ending Language Learner): A knowledge base with ~1.6M edges. Tasks involved link prediction (e.g., athlete-league relationships).
- MUC-6: A text corpus where the graph represents syntactic relationships. The task was "set expansion"—identifying new entity names from a few examples.
Key Results and Discussion
Cor-PRA demonstrated substantial improvements across both tasks, particularly where long-range dependencies were crucial.
- Knowledge Base Inference: Cor-PRA achieved a Mean Average Precision (MAP) of 0.530, significantly higher than standard PRA (0.477) and logic-based FOIL (0.358).
- Named Entity Extraction: In the text domain, performance nearly tripled, with Cor-PRA reaching a MAP of 0.316 compared to PRA's 0.107. This highlights the importance of the "long paths" enabled by bi-directional search.
- Efficiency: While the expanded feature space increases computation time relative to basic PRA, Cor-PRA remains orders of magnitude faster than traditional Inductive Logic Programming (ILP) methods.
Conclusion
Cor-PRA addresses fundamental weaknesses in relational path-based learning. By integrating backward random walks, it successfully incorporates entity constants and explores deeper graph structures without sacrificing scalability. Future work may explore path conjunctions (logical "AND" operations) and further optimizations to handle even longer paths in massive, complex graphs.
Summary updated