From Training to Deployment: Post-Hoc Causal Feature Identification via Sensitivity Ratios
arXiv:2607.25546
The paper proposes the Normalised Sensitivity Ratio (NSR), a post‑hoc, model‑agnostic method to distinguish causal from spurious features by comparing model sensitivity across environments with structured shifts.
Abstract
Given a model that is already trained, which features does it rely on causally versus spuriously? Existing methods require access to the training procedure and cannot answer this post-hoc. We introduce the \textbf{Normalised Sensitivity Ratio~(NSR)}, a post-hoc, model-agnostic diagnostic for this question under a structured-shift regime: environments differ primarily in the mean of spurious features while the causal mechanism and causal marginals remain stable, as in multi-site clinical data or multi-batch genomics. Within this regime, causal features induce constant model sensitivity across environments while spurious features track shift. NSR formalises this as the squared coefficient of variation of per-environment sensitivity. Under a linear structural causal model (SCM) with non-degenerate environments, NSR achieves exact identification (Theorem~1). We fully characterise failure: weak shifts ( collapse), degenerate geometry, and proxy attenuation (), giving practitioners quantitative criteria for assessing whether the regime holds. Finite-sample rates are under the null and under the alternative. Experiments confirm all theoretical predictions on synthetic data (area under the ROC curve [AUROC] under conditions satisfying the regime), show consistent rankings across five model families (Kendall ), and recover six of eight causal features on bike-sharing data (Precision@7 ) without modifying any trained model.