cs.LGMar 21, 2026

Causally-Guided Diffusion for Stable Feature Selection

Authors: Arun Vignesh Malarkkan, Xinyuan Wang, Kunpeng Liu, Denghui Zhang, Yanjie Fu

Organizations: Arizona State University Tempe, Arizona, USA · Clemson University Clemson, South Carolina, USA · Stevens Institute of Technology Hoboken, New Jersey, USA

Abstract

Feature selection is fundamental to robust data-centric AI, but most existing methods optimize predictive performance under a single data distribution. This often selects spurious features that fail under distribution shifts. Motivated by principles from causal invariance, we study feature selection from a stability perspective and introduce Causally-Guided Diffusion for Stable Feature Selection (CGDFS). In CGDFS, we formalized feature selection as approximate posterior inference over feature subsets, whose posterior mass favors low prediction error and low cross-environment variance. Our framework combines three key insights: First, we formulate feature selection as stability-aware posterior sampling. Here, causal invariance serves as a soft inductive bias rather than explicit causal discovery. Second, we train a diffusion model as a learned prior over plausible continuous selection masks, combined with a stability-aware likelihood that rewards invariance across environments. This diffusion prior captures structural dependencies among features and enables scalable exploration of the combinatorially large selection space. Third, we perform guided annealed Langevin sampling that combines the diffusion prior with the stability objective, which yields a tractable, uncertainty-aware posterior inference that avoids discrete optimization and produces robust feature selections. We evaluate CGDFS on open-source real-world datasets exhibiting distribution shifts. Across both classification and regression tasks, CGDFS consistently selects more stable and transferable feature subsets, which leads to improved out-of-distribution performance and greater selection robustness compared to sparsity-based, tree-based, and stability-selection baselines.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Safe Distributionally Robust Feature Selection under Covariate Shift

    Mar 17, 2026Hiroyuki Hanada, Satoshi Akahane, Noriaki Hashimoto +2Feature SelectionDistributionally Robust Optimization

  2. CAFE: Causally-Guided Automated Feature Engineering with Multi-Agent Reinforcement Learning

    Feb 18, 2026Arun Vignesh Malarkkan, Wangyang Ying, Yanjie FuAutomated Feature EngineeringDistribution Shift Robustness

  3. Learning domain-invariant features through channel-level sparsification for Out-Of Distribution Generalization

    Mar 26, 2026Haoran Pei, Yuguang Yang, Kexin Liu +2OOD GeneralizationInvariant Representation Learning