Selective Inference for Shapley-Based Feature Selection in Nonlinear Regression Models: A Loss-Reduction Approach

Kota Shida, Tomohiro Shiraishi, Shuichi Nishino, Ichiro TakeuchiarXiv 2026

TL;DR

When you use Shapley values to pick the "most important" features in a nonlinear model, you risk mistaking random noise for a genuine discovery. This paper introduces a statistical framework that calculates exact, valid $p$-values for features selected via Shapley-based loss reduction. It gives you the mathematical rigor to know whether your top-ranked features actually matter, without throwing away statistical power.

What Problem Does This Paper Address?

Imagine sifting through dozens of variables to see which ones drive a complex, nonlinear outcome. Tools like SHAP and SAGE borrow the Shapley value from cooperative game theory to do this fairly: they test how much a feature helps across every possible subset (or "coalition") of other features, averaging its contributions.

Here is the catch: complex nonlinear models are eager to fit noise. Even a completely useless variable can score a high Shapley value by sheer luck. If you pick the top-scoring features and then test their statistical significance on the same data using standard tests, you are committing "double-dipping" (data snooping). Your false-positive rate will skyrocket.

Selective Inference (SI) fixes this by mathematically conditioning on the exact sequence of events that led to a feature being chosen. Historically, SI was built for simpler linear methods like the Lasso. Extending SI to Shapley-based selection is a mathematical headache because a feature isn't judged by a single linear equation—it is judged by an ensemble of nonlinear models trained across exponentially many feature subsets, plus cross-validation.

Methods

The authors bridge game-theoretic feature selection and exact Selective Inference through a clever choice of model and geometry:

  • Loss-Reduction Shapley Scores: Inspired by SAGE, a feature's contribution to a coalition $S$ is measured by how much adding that feature reduces the penalized training loss. Averaging these reductions using standard Shapley weights yields an overall importance score, from which the top $k$ features are selected.
  • Fixed-Basis Nonlinear Regression: For the underlying models, the authors use $L_2$-regularized (ridge) nonparametric regression with fixed Gaussian Radial Basis Functions (RBFs). Regularization hyperparameters are chosen via standard $F$-fold cross-validation.
  • The Quadratic Trick (What's New): Because the basis functions are fixed and the penalty is $L_2$, something magical happens: every coalition's loss reduction, every aggregated Shapley score, and every cross-validation error can be written as a quadratic form in the response vector $Y$ (i.e., $Y^\top A Y$).
  • 1D Ray & Truncated $\chi$ Test: Under the null hypothesis, the test statistic follows a standard $\chi$ (chi) distribution. By conditioning on the selection event (which features won and which hyperparameter won via CV) alongside nuisance geometric directions, the $n$-dimensional space of possible outcomes collapses onto a single 1D ray. Finding where the exact same selection occurs reduces to solving a set of scalar quadratic inequalities, yielding a union of intervals and an exact $p$-value from a truncated $\chi$ distribution.

Datasets

No new benchmarks are introduced. The authors evaluate their method on:

  • Synthetic Data: Simulated datasets ($n \in \{20, 40, 60\}$, $m = 10$ features) with independent or correlated Gaussian features and four nonlinear signal shapes (linear, quadratic, mixed, and sine).
  • Real-World Benchmarks: Sub-samples from eight UCI Machine Learning Repository regression datasets: Abalone, Concrete, Energy Efficiency (Cooling and Heating loads), Gas Turbine, Real Estate, and Wine Quality (Red and White).

Key Insights and Ideas

  • Nonlinear Selection Meets Exact Algebra: You don't have to resort to approximate Monte Carlo sampling to do selective inference on nonlinear feature interactions. Fixing the basis functions turns a tangled web of $2^m$ nonlinear models and cross-validation loops into clean, solvable quadratic polynomials.
  • Saturated Model Flexibility: Because the inference operates in a "saturated model" setting (where the true mean vector $\mu$ is unrestricted), the theoretical false-positive guarantees hold even if the RBF network doesn't perfectly specify the true underlying data-generating function.
  • Precision Beats Brute-Force Correction: A naive Bonferroni correction has to penalize you for every possible combination of $k$ features out of $m$ and every hyperparameter on the grid. Conditioning on the exact geometric selection region preserves far more statistical power, especially in small samples.

Key Results

  • Exact False-Positive Control: Under the global null ($\alpha = 0.05$), the Naive test suffers from severe false positives (14.0% to 26.1% across settings), while Bonferroni is overly conservative ($\le 0.04\%$). The Proposed SI method stays right on target, with overall rejection rates between 4.62% and 5.19%.
  • Superior Power: In synthetic tests at $n=20$ and $n=40$, Proposed consistently outperforms Bonferroni across all signal strengths and shapes. (Only at the largest sample size and strongest signal—$n=60, \delta=0.8$—does Bonferroni slightly edge it out).
  • Real-Data Discovery: Across the eight UCI datasets (sub-sampled to $n=20, 40, 60$), Proposed achieves higher empirical rejection rates (power) than Bonferroni on all 8 datasets at $n=20$ and $n=40$ (e.g., 76% vs. 2% on Energy Cooling at $n=20$), and on 6 of 8 datasets at $n=60$.

Limitations and Future Work

  • The $2^m$ Bottleneck: Exhaustive Shapley calculation requires evaluating $2^m$ coalitions (in experiments, $m \le 11$). Scaling this framework to high-dimensional datasets where Shapley values must be approximated is an open challenge.
  • Strict Noise Assumptions: Exact finite-sample validity relies on a fixed design matrix and independent Gaussian noise with known variance $\sigma^2$. Extending the math to estimated variance or non-Gaussian noise is left for future work.
  • Fixed Basis Functions: The exact quadratic structure requires basis centers and widths to be fixed prior to looking at the response $Y$, meaning adaptive feature-learning models (like deep neural networks or random forests) aren't directly covered without moving to sampling-based approximations.

Summary updated

BibTeX
@misc{shida2026selective,
  author = {Kota Shida and Tomohiro Shiraishi and Shuichi Nishino and Ichiro Takeuchi},
  title = {{Selective Inference for Shapley-Based Feature Selection in Nonlinear Regression Models: A Loss-Reduction Approach}},
  year = {2026},
  eprint = {2611.35326},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35326},
}
Figure