Structural Causality-based Generalizable Concept Discovery Models

Sanchit Sinha, Guangzhi Xiong, Aidong ZhangarXiv 2024 · DOI

Introduction

Deep Neural Networks (DNNs) often operate as "black boxes," making their decision-making processes difficult for humans to interpret. A promising direction for explainable AI is the learning of disentangled representations, where models identify independent "generative factors" (e.g., shape, color, position) that underlie the data. However, standard disentanglement methods often fail to align these factors with human-understandable concepts that are relevant to specific tasks.

The Challenge of Task-Specific Concepts

The authors identify two primary hurdles in current explainability research:

  1. Task-Specificity: Concepts are not static. For instance, identifying a "heart on the left" requires focusing on shape and x-position, whereas identifying a "red object at the top" requires color and y-position.
  2. Non-Identifiability: Without guidance, unsupervised models struggle to consistently recover the true underlying factors of a dataset.

Methodology: A Causal Framework

To address these issues, the researchers propose a three-stage pipeline that bridges raw data and human-understandable explanations through structural causality.

The three-stage pipeline: Disentangling Generative Factors, Concept Learning via SCM, and Task Learning.

1. Disentangled Factor Learning

The framework utilizes a Variational Autoencoder (VAE) to compress input images into a set of mutually independent latent variables ($z$). These variables represent the fundamental "generative factors" or the "DNA" of the image.

2. Structural Causal Model (SCM)

The core innovation is the introduction of an SCM that assumes a bipartite graph relationship. Here, generative factors ($z$) act as "parents" to "child" concepts ($c$). A Causal Matrix ($A$) learns the weights of these relationships. To ensure the model doesn't learn redundant or overly complex mappings, the authors include a diversity regularization term that prevents a single concept from dominating the causal graph and a thresholding process to keep the causal edges clean and interpretable.

3. Task-Specific Prediction

The discovered concepts ($c$) are then fed into a linear model to predict the final task label ($y$). Because this final step is a weighted sum of concepts, the model's decision can be traced back through the causal matrix to the original generative factors, providing a clear explanatory path.

Experimental Evaluation

The model was evaluated on two benchmark datasets with known ground-truth factors:

  • D-Sprites: 2D shapes varying in scale, rotation, and position.
  • Shapes3D: 3D images with factors such as floor/wall color, object hue, and orientation.

Key Results

  • Superior Disentanglement: The model achieved significantly higher Maximal Information Coefficient (MIC) scores (0.77 on D-Sprites) compared to standard $\beta$-VAEs (0.48), indicating a clearer separation of latent factors.
  • Causal Accuracy: In tasks involving multiple relevant factors, the model identified correct causal edges with precision up to 0.93, effectively ignoring irrelevant data dimensions like rotation when they were not pertinent to the task.
  • Interpretability vs. Accuracy: The research highlights a trade-off: pushing for higher task accuracy can sometimes degrade the quality of internal factor disentanglement, a balance controlled by a hyperparameter $\delta$.

Conclusion and Future Directions

This framework demonstrates that causality can serve as a powerful bridge between objective data features and subjective task requirements. While the model currently focuses on binary classification and shows some sensitivity to hyperparameters, it offers a flexible and generalizable approach to concept discovery. Future work will aim to scale the method to multi-class problems and refine regularization techniques to minimize "false positive" causal links.

Reference: Sinha, S., Xiong, G., & Zhang, A. (2024). Structural Causality-based Generalizable Concept Discovery Models. arXiv:2410.15491v1 [cs.LG].

Summary updated

BibTeX
@misc{sinha2024structural,
  author = {Sanchit Sinha and Guangzhi Xiong and Aidong Zhang},
  title = {{Structural Causality-based Generalizable Concept Discovery Models}},
  year = {2024},
  eprint = {2410.15491},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.15491},
}
Figure