[Paper Review] CASTLE: Regularization via Auxiliary Causal Graph Discovery
CASTLE introduces a novel regularization method that improves deep learning generalization by jointly learning a causal directed acyclic graph (DAG) as an auxiliary task during training. By reconstructing only features with causal neighbors and leveraging causal structure, CASTLE achieves superior out-of-sample performance across diverse synthetic and real-world datasets, consistently outperforming standard regularizers like dropout, weight decay, and autoencoders.
Regularization improves generalization of supervised models to out-of-sample data. Prior works have shown that prediction in the causal direction (effect from cause) results in lower testing error than the anti-causal direction. However, existing regularization methods are agnostic of causality. We introduce Causal Structure Learning (CASTLE) regularization and propose to regularize a neural network by jointly learning the causal relationships between variables. CASTLE learns the causal directed acyclical graph (DAG) as an adjacency matrix embedded in the neural network's input layers, thereby facilitating the discovery of optimal predictors. Furthermore, CASTLE efficiently reconstructs only the features in the causal DAG that have a causal neighbor, whereas reconstruction-based regularizers suboptimally reconstruct all input features. We provide a theoretical generalization bound for our approach and conduct experiments on a plethora of synthetic and real publicly available datasets demonstrating that CASTLE consistently leads to better out-of-sample predictions as compared to other popular benchmark regularizers.
Motivation & Objective
- To improve generalization in supervised deep learning by incorporating causal structure into regularization.
- To address the limitation of existing regularizers that are agnostic to causal relationships among variables.
- To overcome the inefficiency of reconstruction-based methods that reconstruct all features, including non-causal ones.
- To develop a theoretically grounded, stable regularizer that identifies optimal predictors via causal parent discovery.
- To demonstrate consistent performance gains across diverse datasets, including high-dimensional and noisy settings.
Proposed method
- CASTLE embeds a causal DAG as an adjacency matrix within the input layers of a feed-forward neural network.
- It jointly optimizes the prediction task and causal structure discovery using continuous optimization over the DAG space.
- The method reconstructs only input features that have causal neighbors in the learned DAG, avoiding suboptimal reconstruction of unrelated or noisy features.
- A differentiable relaxation of the DAG constraint enables end-to-end training via continuous optimization.
- The approach leverages PAC-Bayes theory to derive a theoretical generalization bound.
- The framework is applied to both regression and classification tasks with minimal architectural modifications.
Experimental results
Research questions
- RQ1Can joint learning of causal structure improve generalization in supervised deep learning models?
- RQ2Does reconstructing only causally connected features lead to better regularization than reconstructing all features?
- RQ3How does CASTLE perform compared to standard regularizers like dropout, weight decay, and autoencoders across diverse datasets?
- RQ4Is CASTLE robust to high-dimensional inputs, increasing noise, and varying dataset sizes?
- RQ5Can causal structure discovery serve as a stable and effective regularizer across real-world and synthetic data?
Key findings
- CASTLE consistently achieves the lowest test error across all 11 real-world datasets in both regression and classification tasks.
- On the Pima Diabetes dataset, CASTLE achieved a test RMSE of 0.246 ± 0.153, outperforming all benchmark methods.
- In classification tasks, CASTLE achieved an AUROC of 0.817 ± 0.007 on the Facebook Metrics dataset, the highest among all methods.
- CASTLE showed no performance degradation even with high-dimensional inputs or uncorrelated noise, demonstrating robustness.
- The ablation study confirmed that the causal structure discovery and selective reconstruction are key sources of improvement.
- CASTLE was the top-performing regularizer in 100% of 10-fold cross-validation runs across all datasets, with no consistent runner-up.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.