Abstract
When the target of statistical inference is chosen in a data-driven manner, the guarantees provided by classical theories vanish. We propose a solution to the problem of inference after selection by building on the framework of algorithmic stability, in particular its branch with origins in the field of differential privacy. Stability is achieved via randomization of selection and it serves as a quantitative measure that is sufficient to obtain non-trivial post-selection corrections for classical confidence intervals. Importantly, the underpinnings of algorithmic stability translate directly into computational efficiency -- our method computes simple corrections for selective inference without recourse to Markov chain Monte Carlo sampling.
Introduction
In classical frequentist statistics, hypotheses are assumed to be fixed before data collection. However, modern data science workflows typically involve exploratory data analysis where models and variables are selected after observing the data. This "double-dipping" introduces selection bias, causing standard p-values to be artificially low and confidence intervals to be misleadingly narrow.
Existing solutions to this post-selection inference (PSI) problem often face a trade-off between being overly conservative (e.g., Bonferroni corrections or data splitting) or being computationally prohibitive (e.g., MCMC-based conditional inference for specific algorithms like the LASSO). This paper introduces a "middle way" using the principle of algorithmic stability to provide valid, computationally efficient inference for a wide range of selection procedures.
Methodology: Stability as a Statistical Safeguard
The core innovation lies in applying Algorithmic Stability—a concept extensively developed in the differential privacy literature—to the problem of selective inference.
The Stability Principle
A selection procedure is considered "stable" if its output is relatively insensitive to small perturbations in the input dataset. To achieve this, the authors propose randomized versions of selection algorithms. By injecting a controlled amount of noise (such as Laplace noise) during the selection phase, the procedure's stability can be quantitatively bounded by a parameter $\eta$.
Sampling-Free Corrections
The primary theoretical contribution is a fundamental theorem showing that if a selection procedure is $\eta$-stable, a valid post-selection confidence interval can be obtained by adjusting the target error level $\alpha$. Specifically, the correction is a simple closed-form function of $\eta$. Unlike previous conditional PSI methods that require simulating thousands of "what-if" scenarios via MCMC, this approach is sampling-free and scales efficiently to high-dimensional data.
Experimental Evaluation
The proposed framework was evaluated using synthetic simulations involving Gaussian and Bernoulli designs, as well as heavy-tailed error distributions to test robustness.
Comparative Performance
The stability-based method was compared against traditional benchmarks, including Bonferroni corrections and data splitting.
As shown in the figure above, the stability-based intervals offer a tunable trade-off. For high stability (low $\eta$), the intervals are significantly narrower and more powerful than Bonferroni or Benjamini-style corrections. As the "stability budget" is spent to gain more information during selection (increasing $\eta$), the intervals naturally widen to maintain validity.
Furthermore, the stability method consistently outperforms data splitting in terms of statistical power.
In high-dimensional settings ($d=50$ to $d=200$), the stability-based approach maintains a much lower average error compared to data splitting, which suffers from reduced sample sizes in both the selection and inference phases.
Key Insights
- Stability as a Currency: Researchers can view stability as a budget. Spending more on complex selection requires a higher "payment" in the form of wider confidence intervals.
- Randomization as a Feature: While adding noise to algorithms like LASSO might seem counterintuitive, it "smooths" the selection boundary, making the resulting inference robust to the specific realization of the data.
- Computational Efficiency: By avoiding MCMC sampling, the method is orders of magnitude faster than existing conditional PSI techniques, making it viable for large-scale feature selection.
Conclusion and Future Directions
This work bridges the gap between differential privacy and frequentist statistics, providing a practical toolkit for valid post-selection inference. While the introduction of noise involves a trade-off with selection utility, the framework provides a clear mechanism to balance selection quality with inferential power. Future research may explore "privacy amplification by subsampling" to further tighten these intervals by leveraging the inherent stability of sub-sampling procedures.
Summary updated