Iteratively Learning Representations for Unseen Entities with Inter-Rule Correlations

Zihan Wang, Kai Zhao, Yongquan He, Zhumin Chen, Pengjie Ren, Maarten de Rijke, Zhaochun Ren

Introduction

Knowledge Graphs (KGs) such as DBpedia and Freebase are dynamic, evolving as new entities—people, products, or concepts—emerge. Traditional Knowledge Graph Embedding (KGE) methods are typically transductive, meaning they require all entities to be present during training. When a new "out-of-knowledge-graph" (OOKG) entity appears, these models often require a full, computationally expensive retraining of the entire graph.

Inductive methods attempt to solve this by using Graph Neural Networks (GNNs) to estimate representations for new entities based on their local neighbors. However, they face two major hurdles:

  1. Data Sparsity: New entities often have very few connections, making it difficult for GNNs to aggregate sufficient information.
  2. Static Logic: Previous rule-based methods treat logic rules as independent or static, ignoring "inter-rule correlations"—complex patterns where different rules reinforce or mirror one another.

The VNC Framework

The authors propose VNC (Virtual Neighbor Network with Inter-rule Correlations), a framework that iteratively refines both rules and embeddings to handle OOKG entities effectively.

The VNC framework architecture, showing the iterative loop between rule mining, rule inference, and embedding learning.

The VNC framework operates in three iterative stages:

  • Rule Mining: VNC identifies standard logic rules and complex inter-rule correlations. It looks for structural similarities across different systems to find "incomplete" rules that still provide predictive power.
  • Rule Inference: To combat data sparsity, VNC uses these mined rules to predict virtual neighbors for new entities. It employs soft labels (probabilities) derived from fuzzy logic to handle uncertainty gracefully.
  • Embedding: The augmented graph is fed into a GNN-based encoder (Weighted Graph Convolutional Network) and an embedding-based decoder (e.g., DistMult).

The "iterative" nature is key: better embeddings lead to more accurate rule confidence scores, which in turn improve virtual neighbor predictions, further refining the embeddings.

Key Insights: The Power of Analogy

A central innovation of VNC is modeling how rules correlate. By identifying analogies between different systems, the model can infer missing information even when a specific rule's prerequisites are not fully met in the local neighborhood.

An illustration of inter-rule correlations using the analogy between a solar system and an atomic system.

By using a rule-constrained optimization problem to assign soft labels to virtual neighbors, the model avoids "cascading errors" where a single incorrect logical inference might otherwise degrade the entire embedding space. This approach demonstrates that rule mining and representation learning are synergistic; continuous embeddings help "smooth" the discrete search space of logic rules.

Experimental Results

VNC was evaluated on benchmarks including YAGO37, FB15K, and WN11, modified to test inductive capabilities.

  • Performance: VNC achieved state-of-the-art (SOTA) results in link prediction and triple classification, significantly improving Mean Reciprocal Rank (MRR) on the FB15K dataset.
  • Robustness: The model remained stable even as the percentage of unseen entities rose to 25%, whereas baseline models saw sharp declines in performance.
  • Ablation: Removing "inter-rule correlations" or the "iterative framework" led to significant accuracy drops, proving these components are essential.

Conclusion

VNC provides a robust solution for incorporating new entities into Knowledge Graphs without full retraining. While currently focused on entities, future work may address unseen relations and the computational challenges of mining correlations in massive, web-scale graphs.

Summary updated

BibTeX
@inproceedings{wang2023iteratively,
  author = {Zihan Wang and Kai Zhao and Yongquan He and Zhumin Chen and Pengjie Ren and Maarten de Rijke and Zhaochun Ren},
  title = {{Iteratively Learning Representations for Unseen Entities with Inter-Rule Correlations}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2023},
  doi = {10.1145/3583780.3614938},
}
Figure