Introduction
Knowledge Graphs (KGs) such as Freebase and YAGO are foundational to modern AI applications, including search engines and recommendation systems. However, these graphs are notoriously incomplete. For instance, an entity like Joe Biden might be labeled as an "American politician," but the KG may lack labels for "lawyer" or "male." The task of inferring these missing labels, known as Knowledge Graph Entity Typing (KGET), is critical for maintaining the utility of these data structures.
Existing KGET methods typically focus on an entity’s immediate neighbors or its existing types. However, these approaches often overlook semantic clustering. Types are not isolated labels; they belong to broader hierarchical categories (e.g., "American_politician" is a subset of the "politician" cluster). By ignoring this coarse-grained information, current models struggle to effectively constrain the decision space for predictions. This paper introduces MCLET (Multi-view Contrastive Learning for Entity Typing), a framework that leverages multi-granularity views to improve prediction accuracy and robustness.
Methodology
Multi-view Generation and Encoding
MCLET decomposes the KGET problem into three distinct "homogeneous" views to capture different levels of abstraction:
- Entity-Type View: The standard mapping between entities and specific types.
- Entity-Cluster View: Mappings between entities and broader categories (e.g., mapping an entity to a "politician" cluster).
- Cluster-Type View: Mappings that define how specific types belong to broader clusters.
The framework utilizes LightGCN to encode these views. LightGCN is chosen for its computational efficiency, as it strips away unnecessary complexities like self-loops and non-linear transformations, focusing purely on the graph structure.
Cross-view Contrastive Learning
The core innovation of MCLET is its use of contrastive learning to align these views. The model is trained to ensure that an entity’s representation in the fine-grained view is semantically similar to its representation in the coarse-grained view. This forces the model to learn a unified semantic understanding of an entity across different levels of abstraction, using the broader clusters to "anchor" the specific type predictions.
Entity Typing Prediction (MHAM)
For the final prediction, the authors propose a Multi-Head Attention with Mixture-of-Experts (MHAM) strategy. Because KGs can be dense and noisy, not all neighbors are equally informative. The Mixture-of-Experts mechanism allows the model to assign specialized "heads" to different types of neighbor information, effectively filtering out noise and focusing on the most relevant relational and type-based data.
Experimental Evaluation
Datasets and Performance
The model was evaluated on two primary benchmarks:
- FB15kET: Based on Freebase, featuring ~15k entities and ~3.5k types.
- YAGO43kET: Based on YAGO, featuring ~42k entities and ~45k types.
MCLET outperformed all previous state-of-the-art (SOTA) models, including MiNer and TET. On the FB15kET dataset, MCLET-MHAM achieved a Mean Reciprocal Rank (MRR) of 0.750, marking a 2.2% improvement over the previous best model.
Robustness and Efficiency
A key finding of the study is MCLET’s robustness to data sparsity. In stress tests where up to 90% of relational edges were removed, MCLET remained remarkably stable. This suggests that the hierarchical cluster information provides a vital safety net when direct relational data is missing. Furthermore, the model is highly efficient; it converges in just 39 minutes on FB15kET using a standard GPU, outperforming more complex Transformer-based models in both speed and resource consumption.
Conclusion and Future Work
MCLET demonstrates that granularity acts as a powerful filter in entity typing. By using contrastive learning to bridge the gap between specific types and coarse clusters, the model achieves superior accuracy even in highly incomplete graphs.
While the current framework relies on existing hierarchical data (like WordNet), future work will explore the use of unsupervised clustering to generate these semantic layers for "flat" datasets. Additionally, the authors aim to apply the MCLET framework to inductive scenarios—predicting types for entities not seen during training—and to fine-grained entity typing within natural language text.
Summary updated