Causal-Aware Generative Adversarial Networks with Reinforcement Learning

Tu Anh Hoang Nguyen, Dang Nguyen, Tri-Nhan Vo, Thuc Duy Le, Sunil GuptaarXiv 2025 · DOI

Introduction

Modern synthetic data generation, while proficient at capturing statistical correlations, often fails to preserve the underlying causal mechanisms of the original data. Models like CTGAN or those based on Large Language Models (LLMs) excel at matching distributions but frequently break structural dependencies, such as the causal link between age and blood pressure. This "causal drift" renders synthetic datasets unreliable for downstream tasks involving policy testing or economic interventions where understanding the "why" is as critical as the "what."

Existing causal generators typically rely on pre-defined graphs or incorporate causality only during the sampling phase. CA-GAN addresses these limitations by embedding causal awareness directly into the training process, ensuring the generator remains "causally faithful" even under intervention.

Methodology: Causal-Aware Synthesis

The CA-GAN framework employs a three-pronged approach to integrate structural knowledge into a deep generative model:

  1. Causal Knowledge Extraction: The process begins by extracting a Directed Acyclic Graph (DAG) from the real dataset using the PC algorithm. This graph serves as the structural backbone for the generation process.
  2. Graph-Conditioned Architecture: Building upon the Wasserstein GAN with Gradient Penalty (WGAN-GP), CA-GAN modifies the generator into a modular structure. Instead of a single monolithic network, it utilizes multiple sub-generators, where each feature is generated strictly conditioned on its causal "parents" identified in the DAG.
  3. Reinforcement Learning for Causal Alignment: A significant challenge in causal synthesis is that metrics like Structural Hamming Distance (SHD) are non-differentiable. To optimize for causal fidelity, CA-GAN treats the generator as a stochastic policy and utilizes the REINFORCE algorithm. The SHD between the real graph and a graph extracted from the synthetic output serves as a reward signal, forcing the model to align with the true causal structure.
The CA-GAN architecture integrates a graph-conditioned generator with a causal loss optimized via reinforcement learning.

Experimental Evaluation

The model was rigorously tested across 14 datasets, including 6 synthetic DAGs (4 to 6 nodes) specifically designed to evaluate causal preservation and 8 real-world benchmarks (e.g., breast_cancer, diabetes, insurance).

Key Results

  • Causal Fidelity: CA-GAN outperformed existing methods, achieving the lowest average SHD of 3.78, compared to 4.33 for its closest competitor, Causal-TGAN.
  • Downstream Utility: In machine learning classification tasks, CA-GAN achieved an average F1-score of 0.6590, closely trailing the performance of models trained on real data (0.6769).
  • Privacy and Efficiency: The model demonstrated superior privacy preservation, with a lower re-identification risk (0.1545) than both traditional GANs and LLM-based approaches. Furthermore, CA-GAN is highly efficient; it completed training on all eight real-world datasets in approximately 10 minutes, whereas LLM-based methods like Pred-LLM required over two hours.
Comparison of re-identification risk across different synthetic data generation models, showing CA-GAN's competitive privacy performance.

Discussion and Future Work

CA-GAN demonstrates that causality can act as a powerful regularizer, preventing the GAN from memorizing specific records and thus enhancing privacy without compromising utility. By bridging the differentiability gap with Reinforcement Learning, it brings structural constraints into the realm of deep generative modeling.

However, the framework's performance is inherently tied to the accuracy of the initial causal discovery step. Future research will focus on addressing "causal sufficiency" assumptions—exploring how the model can handle unobserved latent confounders or selection biases—and further reducing the computational overhead associated with calculating graph metrics during training.

Summary updated

BibTeX
@misc{nguyen2025causal,
  author = {Tu Anh Hoang Nguyen and Dang Nguyen and Tri-Nhan Vo and Thuc Duy Le and Sunil Gupta},
  title = {{Causal-Aware Generative Adversarial Networks with Reinforcement Learning}},
  year = {2025},
  eprint = {2510.24046},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.24046},
}
Figure