Enhancing the Performance of Neural Networks Through Causal Discovery and Integration of Domain Knowledge

Xiaoge Zhang, Xiao-Lin Wang, Fenglei Fan, Yiu-Ming Cheung, Indranil BosearXiv 2023 · DOI

Abstract

Standard deep learning models are often "causally agnostic," excelling at pattern recognition but struggling to distinguish between true causal drivers and spurious correlations. This paper introduces the Causality-Informed Neural Network (CINN), a framework that systematically embeds hierarchical causal structures into neural network architectures. By integrating data-driven causal discovery with expert domain knowledge and utilizing multi-task optimization, CINN achieves superior predictive accuracy and robustness compared to state-of-the-art models across diverse real-world regression tasks.

Introduction

The primary limitation of traditional neural networks is their reliance on statistical correlations that may not hold in new environments. This leads to poor generalization, a lack of trust in high-stakes fields like healthcare or finance, and vulnerability to small data perturbations. The challenge lies in "injecting" causal logic—the underlying "why" behind the data—into the design of the neural network to ensure it learns the actual data-generating process rather than mere shortcuts.

Methodology: The CINN Framework

The CINN methodology follows a rigorous three-step pipeline designed to bridge the gap between causal discovery and deep learning.

  1. Causal Discovery & Refinement: The process begins by discovering a Directed Acyclic Graph (DAG) from observational data using continuous optimization (e.g., the NOTEARS approach). A "human-in-the-loop" stage allows domain experts to refine this graph by pruning invalid links or adding known causal relationships.
  2. Architecture Mapping: The core innovation of CINN is mapping this DAG directly into the neural network. Variables are categorized into Root (causes), Intermediate (mediators), and Leaf (effects) nodes. The network hierarchy mirrors this flow, ensuring information strictly respects causal orientation.
  3. Multi-Task Learning with PCGrad: To handle the simultaneous prediction of final targets and intermediate causal variables, the authors employ Projected Conflicting Gradients (PCGrad). This prevents gradient interference between different learning goals, ensuring stable convergence.
The three-step CINN pipeline: DAG discovery, causality-informed architecture mapping, and multi-task optimization using PCGrad.

Experimental Evaluation

The framework was evaluated on five diverse datasets from the UCI Machine Learning Repository, ranging from chemical safety (Bioconcentration) to social science (Community Crime). These datasets vary in scale from 12 to 128 variables, providing a comprehensive test of the model's generalizability.

Results and Discussion

CINN consistently outperformed standard baselines (including L1/L2 regularization and Dropout) and state-of-the-art causal regularization methods like CASTLE. For instance, in the Community Crime (CM) dataset, CINN reduced the test Mean Squared Error (MSE) by approximately 18% compared to CASTLE.

Key insights from the study include:

  • Orientation Matters: Strictly adhering to the direction of causal links prunes the search space and leads to more efficient, parsimonious models.
  • Expert-AI Symbiosis: The framework allows experts to provide "causal guardrails" through a shared language of graphs, which the model translates into architectural constraints.
  • Incremental Improvement: Ablation studies confirmed that as more expert knowledge (quantitative constraints and refined graphs) was injected, model performance improved steadily.
Comparison of CINN with existing causal-informed learning methods across key structural and quantitative dimensions.

Conclusion

By moving away from purely correlation-based learning, CINN provides a transparent and robust alternative to "black box" models. While future work aims to integrate expert knowledge earlier in the discovery phase and explore interventional "what-if" queries, the current framework represents a significant step toward more reliable and interpretable artificial intelligence.

Summary updated

BibTeX
@misc{zhang2023enhancing,
  author = {Xiaoge Zhang and Xiao-Lin Wang and Fenglei Fan and Yiu-Ming Cheung and Indranil Bose},
  title = {{Enhancing the Performance of Neural Networks Through Causal Discovery and Integration of Domain Knowledge}},
  year = {2023},
  eprint = {2311.17303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.17303},
}
Figure