NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Structural Disentanglement of Causal and Correlated Concepts

Qilong Zhao, Shiyu Wang, Guangji Bai, Bo Pan, Zhaohui Qin, Liang Zhao, Qin, Zhaohui, Zhao, LiangarXiv 2024 · DOI

Abstract

Controllable data generation aims to synthesize data by specifying values for target concepts. Achieving this reliably requires modeling the underlying generative factors and their relationships. In real-world scenarios, these factors exhibit both causal and correlational dependencies, yet most existing methods model only part of this structure. We propose the Causal-Correlation Variational Autoencoder ($C^2VAE$), a unified framework that jointly captures causal and correlational relationships among latent factors. $C^2VAE$ organizes the latent space into a structured graph, identifying a set of root causes that govern the generative processes. By optimizing only the root factors relevant to target concepts, the model enables efficient and faithful control. Experiments on synthetic and real-world datasets demonstrate that $C^2VAE$ improves generation quality, disentanglement, and intervention fidelity over existing baselines.

Introduction

In the quest for controllable AI, a primary goal is to provide high-level instructions to a generative model—for instance, "Generate an image of a pendulum, but change the light position." To achieve this reliably, a model must understand the underlying "generative factors" of the data. However, real-world factors are rarely independent. They interact through two distinct mechanisms: causality (e.g., changing light position causes a shadow to move) and correlation (e.g., time and pendulum angle changing together due to a shared hidden cause).

Existing models typically focus on either causal or correlational structures in isolation. Ignoring the interplay between these structures leads to "entangled controls," where attempts to modify one feature result in unrealistic artifacts or unintended changes in other features. We address this gap by proposing a unified framework that models both causal and correlational dependencies.

Comparison of existing modeling approaches versus the proposed aim of structural disentanglement in a pendulum system.

Methodology

The proposed $C^2VAE$ framework organizes the latent space into a structured graph to capture complex dependencies. The architecture is divided into a learning phase and a generation phase.

The Learning Phase

During training, the model encodes input data $x$ into two types of latent representations:

  • Style Factors ($z$): These capture non-concept attributes such as background and texture.
  • Causal Factors ($w$): These represent the properties targeted for control.

A Causal Layer employs a Linear Structural Causal Model (SCM) to learn a Directed Acyclic Graph (DAG) among the $w$ factors. This process identifies "root factors"—the primary drivers of the system that have no parents in the causal graph. Simultaneously, a Correlation Layer utilizes a novel mask pooling mechanism to identify which latent factors correspond to specific observed concepts $y$, effectively managing redundancies. Furthermore, the framework is theoretically grounded in the iVAE literature, ensuring that the underlying latent factors are identifiable from observed data.

The Generation Phase

Once trained, $C^2VAE$ supports two modes of control:

  1. Factor Control: Users can directly edit root factors to steer all downstream descendant factors, ensuring physical consistency.
  2. Concept Control: Users specify target values for high-level concepts. The model employs a bijective (invertible) transform to map these targets back to the necessary root factors, ensuring the generated data respects learned causal laws.
The C2VAE framework architecture, illustrating the flow from data encoding to structured latent modeling and subsequent generation.

Experiments and Results

The model was evaluated on four datasets: Pendulum, Flow, dSprites, and CelebA. $C^2VAE$ consistently outperformed state-of-the-art baselines such as CausalVAE and CorrVAE across several key metrics:

  • Image Quality: The model achieved significantly lower FID (Frechet Inception Distance) scores. On the Pendulum dataset, $C^2VAE$ improved FID by approximately 36% over the strongest baseline.
  • Intervention Fidelity: Interventions on root factors (e.g., adjusting the pendulum angle) resulted in images that maintained realistic physical relationships (e.g., correct shadow length and position), whereas baseline models often produced inconsistent results.
  • Disentanglement: Quantitative analysis showed reduced mutual information between learned representations, confirming the model's ability to successfully separate distinct generative factors.

Conclusion

$C^2VAE$ advances the field of controllable generation by explicitly modeling the dual nature of latent dependencies. By identifying and manipulating root causes, the framework ensures that interventions are both efficient and physically faithful. Future research will focus on extending this approach to non-linear causal mechanisms and exploring unsupervised structure discovery.

Summary updated

BibTeX
@misc{zhao2024structural,
  author = {Qilong Zhao and Shiyu Wang and Guangji Bai and Bo Pan and Zhaohui Qin and Liang Zhao and Qin, Zhaohui and Zhao, Liang},
  title = {{Structural Disentanglement of Causal and Correlated Concepts}},
  year = {2024},
  eprint = {2405.16219},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.16219},
}
Figure