Stable Prediction via Leveraging Seed Variable

Kun Kuang, Bo Li, Peng Cui, Yue Liu, Jianrong Tao, Yueting Zhuang, Fei WuarXiv 2020

Machine learning models often suffer from "brittleness" when deployed in real-world scenarios. This paper addresses the challenge of achieving stable predictions across unknown test distributions by distinguishing between causal and non-causal features.

The Problem: Spurious Correlations

Standard machine learning models rely on the i.i.d. assumption—that training and test data share the same distribution. However, models frequently latch onto spurious correlations: statistical patterns that exist in the training set but vanish or change in the real world.

For example, a model might identify a "cow" based on the presence of "green grass." If the model later encounters a cow on a beach, it fails because the grass was a non-causal variable spuriously correlated with the label. To achieve stable prediction, models must ignore these environmental factors and focus exclusively on causal variables. Existing solutions often require multiple training environments or suffer from exponential computational complexity.

Methodology: The Seed Variable Approach

The authors propose a novel algorithm that identifies causal features in linear time ($O(p)$) using Conditional Independence (CI) tests and a known Seed Variable.

General causal framework where causal variables (C) influence the response (Y), while non-causal variables (N) are linked to sample selection (S).

The Collider Logic

The core of the method lies in causal graph theory, specifically the concept of a "collider." In the proposed model, both the seed variable ($C_0$) and any other causal variable ($C_i$) influence the response variable ($Y$).

  1. Conditioning on the Collider: By conditioning on the common effect ($Y$), a statistical dependence is induced between its causes ($C_0$ and $C_i$).
  2. Identifying Causal Features: If a variable $X_i$ is dependent on the seed $C_0$ when conditioning on $Y$ ($X_i \not\perp C_0 | Y$), it is identified as causal.
  3. Filtering Noise: Non-causal variables ($N$), which are assumed to be independent of the causal set, remain independent of the seed when conditioning on $Y$.

By running a single CI test for every variable in the dataset, the algorithm efficiently filters out environmental noise without needing to map the entire causal graph.

Evaluation and Results

The method was evaluated using both synthetic datasets (with varying dimensions and bias rates) and real-world biomedical voice measurements from the Parkinson’s Telemonitoring dataset.

Key Results

  • High Precision: On synthetic data, the method achieved near-perfect selection (Precision@k of 1.0), significantly outperforming standard techniques like LASSO, Random Forests, and specialized causal methods like Invariant Causal Prediction (ICP).
  • Out-of-Distribution (OOD) Robustness: The method demonstrated remarkable stability. While correlation-based models saw their error rates skyrocket when spurious correlations were reversed, the proposed approach maintained a low and stable Root Mean Square Error (RMSE).
Prediction error (RMSE) under varying distribution shifts (bias rate r), highlighting the robustness of the proposed seed-variable approach compared to standard baselines.
  • Real-World Stability: In the Parkinson’s dataset, the causal-based approach remained accurate across different patient groups, whereas traditional methods only performed well when the test data closely mirrored the training data.

Limitations and Future Work

While powerful, the method currently requires prior knowledge of at least one causal "seed" variable. Additionally, it assumes independence between causal and non-causal sets. Future research may explore "seedless" versions or utilize disentangled representation learning to handle cases where causal and environmental variables are more deeply intertwined. Currently, the evaluation focuses on linear models; extending this to complex non-linear predictors like Deep Learning is a key next step.

Summary updated

BibTeX
@misc{kuang2020stable,
  author = {Kun Kuang and Bo Li and Peng Cui and Yue Liu and Jianrong Tao and Yueting Zhuang and Fei Wu},
  title = {{Stable Prediction via Leveraging Seed Variable}},
  year = {2020},
  eprint = {2006.05076},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.05076},
}
Figure