NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Post Selection Inference with Kernels

Makoto Yamada, Yuta Umezu, Kenji Fukumizu, Ichiro Takeuchi

Abstract

Post-selection inference (PSI) is essential for maintaining statistical validity when hypotheses are formulated after observing the data. Traditional PSI methods are primarily limited to linear models, failing to capture complex non-linear dependencies common in modern datasets. This paper introduces hsicInf, a framework that extends PSI to non-linear and multi-variate settings using kernel methods. By employing the Hilbert-Schmidt Independence Criterion (HSIC) and the polyhedral lemma, hsicInf provides valid p-values for selected features. Experimental results demonstrate that hsicInf maintains a controlled false positive rate while offering significantly higher detection power than standard data-splitting techniques.

Introduction: The Danger of Data Snooping

In high-dimensional data analysis, researchers frequently perform feature selection—identifying the most "interesting" variables—before conducting statistical significance tests. This "selection event" introduces a profound bias: variables chosen because they appear significant in a specific sample are likely to yield false positives if tested using standard methods. This phenomenon, often termed "p-hacking" or "data snooping," undermines the reliability of scientific discoveries.

While Selective Inference (or Post-Selection Inference) has been developed to correct for this bias, existing tools have been largely restricted to linear relationships. The hsicInf framework, introduced at AISTATS 2018, bridges this gap by integrating kernel methods into the PSI pipeline, allowing for valid inference in the presence of non-linear noise and multi-dimensional outputs.

Methodology: Kernels and Constraints

The hsicInf approach relies on three core mathematical pillars to ensure both flexibility and statistical rigor.

1. Measuring Dependence with HSIC

Instead of relying on linear correlation, the authors use the Hilbert-Schmidt Independence Criterion (HSIC). HSIC measures the dependence between variables by mapping them into high-dimensional Reproducing Kernel Hilbert Spaces (RKHS). This allows the framework to detect virtually any type of relationship, including non-linear, periodic, or multi-variate dependencies, which linear models would miss.

2. The Polyhedral Lemma for Selection Bias

The key to post-selection inference is accounting for the "selection event." The authors leverage the Polyhedral Lemma, which demonstrates that if a selection process (like picking the top $k$ features) can be expressed as a set of linear inequalities, the distribution of the test statistic follows a truncated normal distribution. By conditioning on the fact that a feature was selected, hsicInf can calculate adjusted p-values that remain valid.

3. Ensuring Asymptotic Normality

The mathematical proofs for PSI require the test statistic to be normally distributed. However, standard HSIC estimators do not naturally follow a Gaussian distribution. To resolve this, the authors implement Block HSIC and Bagging Block HSIC. By averaging scores across random blocks of data, they invoke the Central Limit Theorem to ensure the estimator behaves normally, thereby validating the statistical guarantees.

Experimental Evaluation

The researchers compared hsicInf against traditional data splitting and linear PSI methods (larInf) using both synthetic and real-world datasets.

Comparison of TPR and FPR across linear and non-linear synthetic datasets.

As shown in the figure above, hsicInf consistently outperforms data splitting in terms of True Positive Rate (TPR), particularly as the number of samples increases. In non-linear scenarios (b), the linear larInf method fails to detect the signal, whereas hsicInf reaches near-perfect detection. Crucially, panels (c) and (d) confirm that hsicInf successfully controls the False Positive Rate (FPR) at the target significance level ($\alpha = 0.05$), preventing the flood of false discoveries typical of naive selection.

Conclusion and Future Directions

The hsicInf framework represents a significant advancement in statistical inference for machine learning. By enabling valid post-selection tests for non-linear data, it provides a rigorous foundation for feature selection in complex domains like bioinformatics and chemical descriptors. Future work aims to establish stronger theoretical guarantees for high-dimensional screening and to refine the asymptotic assumptions for smaller sample sizes.

Summary updated

BibTeX
@inproceedings{yamada2018post,
  author = {Makoto Yamada and Yuta Umezu and Kenji Fukumizu and Ichiro Takeuchi},
  title = {{Post Selection Inference with Kernels}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
}
Figure