Abstract
A major barrier to deploying current machine learning models lies in their non-reliability to dataset shifts. To resolve this problem, most existing studies attempted to transfer stable information to unseen environments. Particularly, independent causal mechanisms-based methods proposed to remove mutable causal mechanisms via the do-operator. Compared to previous methods, the obtained stable predictors are more effective in identifying stable information. However, a key question remains: which subset of this whole stable information should the model transfer, in order to achieve optimal generalization ability? To answer this question, we present a comprehensive minimax analysis from a causal perspective. Specifically, we first provide a graphical condition for the whole stable set to be optimal. When this condition fails, we surprisingly find with an example that this whole stable set, although can fully exploit stable information, is not the optimal one to transfer. To identify the optimal subset under this case, we propose to estimate the worst-case risk with a novel optimization scheme over the intervention functions on mutable causal mechanisms. We then propose an efficient algorithm to search for the subset with minimal worst-case risk, based on a newly defined equivalence relation between stable subsets. Compared to the exponential cost of exhaustively searching over all subsets, our searching strategy enjoys a polynomial complexity. The effectiveness and efficiency of our methods are demonstrated on synthetic data and the diagnosis of Alzheimer's disease.
Introduction
Current machine learning models are notoriously fragile when faced with dataset shifts—changes in the data-generating process between training and deployment. For example, a medical model trained on one hospital's demographics may fail when applied to another. To solve this, researchers often look to causal invariance, identifying "stable" mechanisms (causal relationships that don't change across environments) and "mutable" ones (those that do). While previous methods successfully isolate stable features, they typically assume that using all available stable information is the best strategy. This paper challenges that assumption, asking: Which subset of stable information should we actually transfer?
The "Less is More" Paradox
The core insight of this work is that transferring more stable information does not always lead to better generalization. In certain causal structures, a stable variable might be "contaminated" by its relationship with mutable variables. If a stable variable is a descendant of a mutable variable or involved in a collider path, including it can actually increase the model's sensitivity to distribution shifts.
The authors provide specific graphical conditions to determine when the "whole" stable set is optimal. When these conditions are violated, as shown in the complex DAGs above, a carefully selected subset of features provides superior worst-case performance.
Methodology
The proposed approach utilizes a Causal Minimax framework to find a predictor that minimizes risk in the most adversarial environment possible. Their contribution is three-fold:
- Worst-Case Risk Estimation: Since we cannot observe every possible environment, the authors use Multi-Layer Perceptrons (MLPs) to simulate adversarial interventions on mutable mechanisms. This allows for a robust estimation of the risk associated with any feature subset.
- Efficient Search via Equivalence Classes: Searching through all possible feature subsets is usually an exponential problem ($2^d$). The authors introduce a new equivalence relation based on $d$-separation. They prove that many subsets share the same worst-case risk profile, allowing them to search over "equivalence classes" in polynomial time rather than exponential.
Experimental Results
The researchers validated their approach on synthetic data, the International Mouse Phenotyping Consortium (IMPC) dataset, and the Alzheimer’s Disease Neuroimaging Initiative (ADNI) dataset.
Alzheimer’s Diagnosis
In the ADNI task—predicting Functional Activities Questionnaire (FAQ) scores across different age-based environments—the proposed method achieved a 36.4% improvement in maximal Mean Square Error (MSE) compared to a vanilla model.
As shown in Figure 1, the method significantly outperformed other robust methods like Invariant Risk Minimization (IRM) and Invariant Causal Prediction (ICP). Furthermore, the search algorithm proved highly efficient: on the ADNI dataset, an exhaustive search would have taken roughly 6.4 years of compute time; the authors' equivalence-class search finished in just 42 hours.
Conclusion
This research provides a theoretical and practical foundation for selecting the optimal invariant features for shift-robustness. By demonstrating that "less can be more" in causal transfer and providing a polynomial-time algorithm to find the right subset, this work paves the way for more reliable machine learning deployments in dynamic real-world environments. Future directions include extending this work to cases where the underlying causal graph is allowed to vary across environments.
Summary updated