Abstract
Knowledge Graph (KG) embedding models typically rely on a widely established assumption: similar entities are likely to have similar relational roles. However, most existing methods focus exclusively on "triple-level" learning, examining only an entity's immediate 1-hop neighbors. To move beyond this limitation, researchers have developed Recurrent Skipping Networks (RSNs). By utilizing biased random walks to generate long relational paths and introducing a novel residual-inspired skipping mechanism, RSNs successfully capture long-term dependencies that traditional models miss. This approach significantly boosts performance in downstream tasks like entity alignment and knowledge graph completion.
The Problem with Triple-Level Learning
Knowledge Graphs, such as DBpedia or Wikidata, store facts as triples: (subject, relation, object). Most existing embedding methods focus on this local, triple-level view, which introduces two major flaws:
- Low Expressiveness: Localized learning struggles with "long-tail" entities (those with very few connections). Furthermore, it cannot easily distinguish between entities that happen to share similar local neighborhoods but play entirely different roles in the broader graph structure.
- Inefficient Propagation: For tasks like entity alignment—matching the same entity across two different KGs—information from "seed alignments" (known matches) doesn't travel far enough through the graph to help match more distant, disconnected entities.
Methodology: The RSN Framework
To address these limitations, the authors propose an end-to-end framework consisting of three main components designed to capture and exploit long-term relational dependencies.
1. Biased Random Walk Sampling
To move beyond isolated triples, the model needs to process continuous paths. The authors employ a sampling strategy with two specific biases:
- Depth Bias: Encourages the random walk to move away from the starting point rather than looping locally, capturing deeper structural dependencies.
- Cross-KG Bias: Specifically designed for entity alignment, this bias encourages the walk to jump between different KGs via known seed alignments, creating "bridges" that allow information to flow across graphs.
2. Recurrent Skipping Networks (RSNs)
Standard Recurrent Neural Networks (RNNs) struggle with KG paths because they tend to "blur" the distinction between entities and relations over sequential time steps. To solve this, RSNs introduce a skipping mechanism inspired by Residual Networks (ResNets).
When the model processes a relation step, it "skips" the previous entity's embedding forward. This allows the subject entity to directly participate in predicting the object entity, effectively learning the residual between the two and preserving the structural identity of the subject entity that would otherwise be lost in a standard RNN hidden state.
3. Type-based Noise Contrastive Estimation (NCE)
To handle the massive vocabulary of entities and relations during training, the authors use NCE to approximate the loss function. Crucially, they separate negative samples by type (entities vs. relations). This distinction makes the learning process more accurate and computationally efficient.
Datasets and Evaluation
The authors evaluated their model on two primary tasks:
- Entity Alignment: They introduced four new pairs of datasets (DBP-WD, DBP-YG, EN-FR, EN-DE) using a "segment-based random PageRank sampling" (SRPRS) method. This ensures the entity distributions reflect real-world KGs more accurately than previous benchmarks. Both "normal" and "dense" versions were provided.
- Knowledge Graph Completion: The model was tested on standard benchmark datasets, including FB15K and WN18.
Key Results and Insights
- State-of-the-Art Entity Alignment: RSNs outperformed existing state-of-the-art methods like BootEA and GCN-Align across all datasets. On the "normal" DBP-WD dataset, RSNs achieved a Hits@1 of 38.8%, a significant improvement over BootEA’s 32.3%. This proves that treating the KG as a collection of long paths, rather than a bag of triples, allows alignment information to propagate much further.
- Competitive KG Completion: While models specifically designed for triples (like RotatE) still hold a slight edge in some specific metrics, RSNs achieved highly competitive results (e.g., 0.94 MRR on WN18). This demonstrates that path-level learning is robust even for localized link prediction.
- Faster Convergence: Thanks to the skipping mechanism and biased sampling, RSNs converged significantly faster than standard RNNs or Recurrent Residual Networks (RRNs), requiring only a fraction of the epochs to reach peak performance.
Limitations and Future Work
The authors note that while RSNs excel at modeling long paths, some KG completion tasks are inherently triple-based, meaning sophisticated triple-modeling structures (like ConvE) might still be superior for specific local link predictions.
For future directions, the authors suggest creating a unified sequence model that integrates both relational paths and textual information (such as entity descriptions or names), which are currently handled as separate modalities in most KG embedding pipelines.
Summary updated