RSCF: Relation-Semantics Consistent Filter for Entity Embedding of Knowledge Graph

Junsik Kim, Jinwook Park, Kangil Kim

Abstract

Knowledge Graph Completion (KGC) is essential for addressing the inherent incompleteness of large-scale knowledge bases. While Entity Transformation Models (ETMs) have emerged as a powerful approach for capturing complex relational patterns, they often suffer from semantic disconnection and embedding collapse. This paper introduces the Relation-Semantics Consistent Filter (RSCF), a novel plug-in module designed to ensure that semantically similar relations produce consistent entity transformations. By leveraging shared affine transformations and normalization techniques, RSCF prevents the mathematical collapse of the embedding space and achieves state-of-the-art performance across multiple benchmarks, including FB15k-237 and WN18RR.

Introduction

Knowledge Graphs (KGs) like Freebase, WordNet, and YAGO serve as the backbone for many intelligent applications, yet they are notoriously incomplete. To fill these gaps, researchers utilize Knowledge Graph Completion (KGC) to predict missing links between entities. A prominent strategy involves Entity Transformation Models (ETMs), which adapt entity embeddings based on the specific relation being queried to handle complex patterns such as one-to-many or many-to-many relationships.

Despite their success, current ETMs face two significant hurdles:

  1. Semantic Disconnection: Most models treat transformations for each relation as independent parameters. Consequently, relations that are semantically similar (e.g., "place_of_birth" and "born_in") may result in wildly different entity transformations, failing to exploit the inductive bias inherent in the relation semantics.
  2. Embedding Concentration: When paired with modern regularizers like DURA, many ETMs suffer from a phenomenon where transformation scales shrink toward zero. This causes entity embeddings to collapse into a tiny, indistinguishable cluster, making it impossible for the model to effectively rank potential answers.

The RSCF Framework

The Relation-Semantics Consistent Filter (RSCF) is designed as a modular "plug-in" that can be integrated into existing KGE architectures like TransE or ComplEx. It introduces three key technical innovations to solve the aforementioned issues:

Shared Affine Transformation

Rather than learning a unique transformation matrix for every relation, RSCF utilizes a shared affine transformation across the entire relation set. Because affine transformations preserve geometric properties such as parallelism and proximity, relation embeddings that are close in the original vector space remain close after transformation. This ensures that semantically related relations yield consistent transformations for the entities they connect.

Rooted Entity Transformation

To maintain the core identity of an entity, RSCF employs a "rooted" approach. Instead of completely replacing the original entity embedding, the model calculates a "change" vector that is element-wise multiplied and added to the original embedding: $e_r = (change + 1) \otimes e$. This allows the entity to retain its "root" features while adapting specifically to the relation context.

Normalization and Regularization

To combat the "embedding collapse" caused by regularizers like DURA, RSCF incorporates a normalization step for the change vector. This prevents the scale of the transformation from decreasing during training, ensuring a diverse and useful distribution of scores across the entity space. The authors provide mathematical proof that this normalization is essential for maintaining model discriminability when using independent transformation weights.

Experimental Results

The effectiveness of RSCF was evaluated on three standard benchmarks: WN18RR, FB15k-237, and YAGO3-10.

State-of-the-Art Performance

When plugged into the ComplEx-DURA model, RSCF achieved superior results across all datasets. Notably, on the challenging FB15k-237 dataset, it reached a Mean Reciprocal Rank (MRR) of 0.388, surpassing the previous state-of-the-art.

Robustness and Visualization

Analysis of the model's score distribution reveals that RSCF successfully "recovers" the diversity of entity scores. While previous methods often produced near-zero scores for almost all entities—making them indistinguishable—RSCF maintains a wide range of scores, allowing for accurate ranking. Furthermore, t-SNE visualizations of the embedding space show that RSCF creates significantly tighter and more distinguishable clusters for semantically related groups compared to previous methods like SFBR.

Conclusion

RSCF addresses the critical weaknesses of existing Entity Transformation Models by enforcing semantic consistency and preventing embedding collapse. By providing a mathematically grounded approach to relation-specific transformations, it sets a new standard for performance in Knowledge Graph Completion. Future work may explore more complex non-linear transformations and further optimize the training overhead to make these high-performing models even more accessible.

Summary updated

BibTeX
@inproceedings{kim2025rscf,
  author = {Junsik Kim and Jinwook Park and Kangil Kim},
  title = {{RSCF: Relation-Semantics Consistent Filter for Entity Embedding of Knowledge Graph}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure