Abstract
Knowledge graphs serve as critical resources supporting intelligent systems, but they can be noisy due to imperfect automatic generation processes. Existing approaches to noise detection often rely on external facts, logical rule constraints, or structural embeddings. These methods are often challenged by imperfect entity alignment, flexible knowledge graph construction, and overfitting on structures. In this paper, we propose to exploit the consistency between entity and relation type information for noise detection, resulting a novel self-supervised knowledge graph denoising method that avoids those problems. We formalize type inconsistency noise as triples that deviate from the majority with respect to type-dependent reasoning along the topological structure. Specifically, we first extract a compact representation of a given knowledge graph via an encoder that models the type dependencies of triples. Then, the decoder reconstructs the original input knowledge graph based on the compact representation. Experimental validation demonstrates the effectiveness of our approach in detecting potential noise in real-world data.
Introduction: The Challenge of Noisy Knowledge Graphs
Knowledge graphs (KGs) are structured networks of facts, typically represented as triples like (Rupert Murdoch, agentcontrols, News Corp). They are foundational for modern AI applications, including recommendation engines and chatbots. However, because KGs are often constructed automatically from web-scale text, they frequently contain "noise"—incorrect or nonsensical facts. A common error is a type mismatch, such as mistakenly labeling a person as a "city," which leads to invalid triples.
Existing denoising methods often struggle with three main issues:
- External Dependency: Requiring a "gold standard" database for verification, which is rarely available for niche or new domains.
- Rigid Logic: Relying on strict logical rules that fail to capture the flexible, evolving nature of real-world knowledge.
- Structural Overfitting: Embedding-based models often become so proficient at mapping a graph's topology that they "memorize" noise as if it were a legitimate pattern.
Methodology: The RAE Framework
To address these challenges, we propose the RAE (R-GCN Auto-Encoder), a self-supervised architecture that leverages entity type information (e.g., "Rupert Murdoch" is a person) as a signal to identify anomalies.
Type-Inconsistency and the Bottleneck
We define noise as triples that deviate from majority type-dependent reasoning. For instance, if the agentcontrols relation typically connects a person to an organization, a triple with a city as the head entity is likely noise.
The RAE architecture consists of:
- The Encoder (Masking): Instead of processing the entire graph, the encoder uses a masking function to select a subset of triples that are most "semantically aligned" with their neighbors. It employs Relational Graph Convolutional Networks (R-GCN) to propagate type information across the graph's structure.
- The Decoder (Reconstruction): The decoder attempts to reconstruct the original graph using only the compact subset identified by the encoder.
- Denoising Logic: The core denoising logic lies in the discrepancy: if a triple exists in the original graph but the model cannot reconstruct it from the type-consistent "compact core," that triple is flagged as noise.
- Differentiable Training: To make the discrete choice of keeping or dropping a triple trainable, we use the Gumbel-Softmax trick, allowing the model to learn an optimal masking strategy via gradient descent.
Key Insights: The Sparsity of Truth
A critical observation driving this work is the "sparsity of truth." Legitimate triple types (combinations of Head Type, Relation, and Tail Type) represent a tiny fraction of all possible combinations—often less than 1%. This concentration makes type-consistency an exceptionally powerful filter.
By forcing the model through a "bottleneck" (reconstructing from a compact representation), we prevent it from memorizing every edge and force it to learn these underlying type-based rules.
Experimental Results
We evaluated RAE on three real-world benchmarks: NELL-995, WN18RR, and FB15k-237.
Stable Noise Detection
Unlike standard embedding models like DistMult or vanilla R-GCN, which often converge to fitting nearly 100% of triples (effectively "swallowing" the noise), RAE maintains a stable set of unreconstructible triples.
Qualitative Success and Robustness
In a case study on NELL-995, RAE correctly flagged (concept_city_murdoch, concept:agentcontrols, ...) as noise, recognizing that "Murdoch" was mistyped as a city. Furthermore, the model proved robust to "noisy noise"; even when 1% of entity type labels were intentionally corrupted, the model's denoising performance remained stable.
Conclusion and Future Work
RAE provides a robust, self-supervised path for cleaning large-scale knowledge graphs without relying on external gold standards. While highly effective, future work will address "isolated facts"—true triples that lack neighborhood type support—and explore multi-hop reasoning to catch more complex semantic errors. Improving the interpretability of the reconstruction logic also remains a key goal.
Summary updated