CausE: Towards Causal Knowledge Graph Embedding

Yichi Zhang, Wen ZhangarXiv 2023 · DOI

Introduction: The Correlation Trap in Knowledge Graphs

Knowledge Graphs (KGs) are fundamental structures for representing facts as triples: (head entity, relation, tail entity). While Knowledge Graph Embedding (KGE) models have become the standard for predicting missing links by mapping entities and relations into vector spaces, they suffer from a significant flaw: they are primarily "correlation machines."

Standard KGE models often fail to distinguish between true causal relationships and spurious correlations. For instance, a model might observe a noisy link like (Human, prey_on, Mouse) or a trivial structural pattern like Tiger and Cat both belonging to the Felidae family. Consequently, the model might incorrectly predict that a Tiger preys on a Mouse simply because it mirrors patterns seen in similar entities. These "confounders"—noisy links and structural shortcuts—lead to unreliable, non-causal predictions.

Spurious correlations in Knowledge Graphs leading to incorrect predictions.

Methodology: The CausE Framework

To address these limitations, researchers developed CausE (Causality-enhanced knowledge graph Embedding), a framework that treats KGE through the lens of Causal Inference. The core innovation lies in disentangling the features that drive predictions.

1. Structural Causal Model (SCM)

The framework is built on an SCM where Triple Data ($T$) influences both Causal embeddings ($C$) and Confounder embeddings ($F$). These embeddings jointly influence the Triple Score ($S$), which determines the final Prediction ($Y$).

2. Embedding Disentanglement and Intervention

Instead of a single vector, CausE learns two distinct representations for every entity and relation: a causal embedding (capturing useful, logical features) and a confounder embedding (capturing harmful noise). To mitigate the influence of noise, the authors employ "backdoor adjustment" via a causal intervention operator. By recombining the decoupled embeddings through a specific addition operation, the model estimates the true causal effect of features rather than their mere correlation.

The CausE architecture showing disentangled embedding layers and multi-objective loss functions.

3. Multi-Objective Training

CausE utilizes five distinct loss functions to ensure effective learning. These losses force causal embeddings to be predictive while ensuring confounder embeddings capture noise (making them indistinguishable from negative samples). This hierarchy ensures that causal scores remain the most reliable metric for final predictions.

Experimental Results

The researchers evaluated CausE on gold-standard benchmarks, including FB15K-237 and WN18RR. To test robustness, they also created "Noisy KGs" by injecting random errors at rates up to 10%.

  • State-of-the-Art Performance: CausE achieved superior results on both benchmarks, including a 1.4% improvement in Hit@1 on WN18RR.
  • Universal Compatibility: CausE acts as a "wrapper" that can upgrade existing models. When applied to classic architectures like TransE, DistMult, and ComplEx, it yielded Mean Reciprocal Rank (MRR) improvements of 18.9%, 13.5%, and 16.5%, respectively.
  • Robustness to Noise: Even with 10% noisy data, CausE-enhanced models maintained significantly higher accuracy than standard models, proving that causal intervention effectively filters out data errors.

Conclusion and Future Work

CausE demonstrates that explicitly modeling causality allows KGE models to separate signal from noise. While the current framework increases parameter overhead by doubling embeddings, it provides a robust foundation for more reliable knowledge representation. Future research will explore more complex intervention operators and extend these causal principles to multimodal and temporal Knowledge Graphs.

Summary updated

BibTeX
@misc{zhang2023cause,
  author = {Yichi Zhang and Wen Zhang},
  title = {{CausE: Towards Causal Knowledge Graph Embedding}},
  year = {2023},
  eprint = {2307.11610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.11610},
}
Figure