Skip to main content
QUICK REVIEW

[Paper Review] Selective inference after cross-validation

Joshua R. Loftus|arXiv (Cornell University)|Nov 28, 2015
Statistical Methods and InferenceMathematics3 references19 citations
TL;DR

This paper introduces a selective inference framework for models selected via cross-validation, leveraging quadratic constraints in the model selection process to enable valid hypothesis testing on selected variables. It enables valid p-values and confidence intervals for coefficients in Lasso and forward stepwise models chosen by cross-validation, even without knowledge of the error variance σ², by conditioning on the selection event through truncated null distributions.

ABSTRACT

This paper describes a method for performing inference on models chosen by cross-validation. When the test error being minimized in cross-validation is a residual sum of squares it can be written as a quadratic form. This allows us to apply the inference framework in Loftus et al. (2015) for models determined by quadratic constraints to the model that minimizes CV test error. Our only requirement on the model training pro- cedure is that its selection events are regions satisfying linear or quadratic constraints. This includes both Lasso and forward stepwise, which serve as our main examples throughout. We do not require knowledge of the error variance $σ^2$. The procedures described here are computationally intensive methods of selecting models adaptively and performing inference for the selected model. Implementations are available in an R package.

Motivation & Objective

  • To develop a method for valid statistical inference after model selection via cross-validation, which is widely used but previously lacked formal inference frameworks.
  • To extend the selective inference framework of Loftus et al. (2015) to include model selection procedures based on cross-validation, particularly when minimizing residual sum of squares.
  • To enable hypothesis testing on selected coefficients in high-dimensional models where model complexity is chosen adaptively via cross-validation.
  • To provide a computationally intensive but theoretically valid approach that maintains Type I error control under model selection bias.
  • To support inference for both Lasso and forward stepwise regression without requiring prior knowledge of the error variance σ².

Proposed method

  • The method models the cross-validation selection event as a quadratic constraint, allowing the use of the selective inference framework from Loftus and Taylor (2015).
  • It represents the model selection region as an intersection of quadratic inequalities involving the response vector y, leading to a tractable geometric structure for inference.
  • For each selected model, p-values are computed by conditioning on the selection event and truncating the null distribution of test statistics (e.g., t, χ², F) to the model selection region.
  • The approach handles both Lasso and forward stepwise by expressing their selection events as quadratic constraints, even when the tuning parameter λ is chosen via cross-validation.
  • The method accounts for unknown σ² by using selective t or F tests, or by estimating σ via cross-validation-based methods.
  • The framework is implemented in an R package, supporting inference for models selected via K-fold cross-validation with squared-error loss.

Experimental results

Research questions

  • RQ1Can valid statistical inference be performed on regression coefficients selected via cross-validation, despite the adaptive selection of model complexity?
  • RQ2How can the selective inference framework be extended to model selection procedures that depend on cross-validation rather than fixed tuning parameters?
  • RQ3What is the impact of unknown error variance σ² on inference after cross-validation, and how can it be handled within the selective inference framework?
  • RQ4To what extent does the method maintain Type I error control and power in finite samples when models are selected via cross-validation?
  • RQ5Can the quadratic constraint structure of cross-validation selection events be exploited to derive exact p-values and confidence intervals for selected models?

Key findings

  • The method successfully maintains Type I error control for null coefficients, as demonstrated by empirical CDFs of p-values under the global null in simulations.
  • In simulations with true non-null coefficients, the method shows reasonable power, with p-values for truly non-zero coefficients being small and well-distributed under the null.
  • The framework applies to both Lasso and forward stepwise regression, with model selection events expressible as quadratic constraints on the response vector.
  • The approach does not require knowledge of σ², and can use selective t or F tests or plug-in estimates from cross-validation.
  • The method is computationally intensive due to the complex geometry of quadratic selection regions, though optimizations are planned for future R package releases.
  • The paper establishes that cross-validation selection via residual sum of squares can be cast as a quadratic constraint, enabling the use of existing selective inference theory.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.