Abstract: In modern data analysis, it is common to select a model before performing statistical inference. Selective inference tools make adjustments for the model selection process in order to ensure reliable inference post selection. In this paper, we introduce an asymptotic pivot to infer about the effects of selected variables on conditional quantile functions. Utilizing estimators from smoothed quantile regression, our proposed pivot is easy to compute and yields asymptotically-exact selective inference without making strict distributional assumptions about the response variable. At the core of our pivot is the use of external randomization variables, which allows us to utilize all available samples for both selection and inference, without partitioning the data into independent subsets or discarding samples at any step. From simulation studies, we find that: (i) the asymptotic confidence intervals based on our pivot achieve the desired coverage rates, even in cases where sample splitting fails due to insufficient sample size for inference; (ii) our intervals are consistently shorter than those produced by sample splitting across various models and signal settings. We report similar findings when we apply our approach to study risk factors for low birth weights in a publicly accessible dataset of US birth records from 2022.
Introduction
In modern data science, the standard workflow often involves "model selection" (e.g., using Lasso to identify relevant predictors) followed by "inference" (calculating p-values or confidence intervals). However, using the same dataset for both stages leads to "double-dipping," where selection bias results in overconfident statistical tests and high false-positive rates.
Traditional remedies include sample splitting, which sacrifices data efficiency for safety, and the polyhedral method, which often suffers from "brittleness" in quantile regression—frequently producing infinitely long intervals or failing to achieve target coverage when signals are weak. This paper introduces a randomized selective inference framework that overcomes these limitations by utilizing the entire dataset for both selection and inference.
Methodology: Smoothing and Randomization
The proposed method rests on two key innovations:
- Smoothed Quantile Regression (SQR): By replacing the non-differentiable "check loss" function with a convolution-type smoothing technique, the authors make the optimization objective differentiable, facilitating scaling to large datasets.
- External Randomization: To prevent the mathematical brittleness of previous selective inference methods, the authors introduce controlled Gaussian noise into the selection objective. This "blurs" the selection event, allowing for the derivation of an asymptotic pivot.
As shown in Figure 2, the level of randomization plays a crucial role in balancing recall and coverage. The randomized approach ensures that the resulting confidence intervals are "asymptotically exact," hitting target coverage rates as the sample size grows.
Key Results and Performance
The efficiency of the proposed method was evaluated through extensive simulations and a real-world application to 2022 U.S. birth records.
Simulation Performance
In comparative studies across various signal strengths (Low, Mid, High), the proposed method consistently outperformed both naive approaches and traditional sample splitting.
As illustrated in Figure 1, the proposed method (blue) maintains the target 90% coverage rate across all signal strengths, whereas naive methods (red) fail significantly. Furthermore, the proposed intervals are consistently shorter than those from sample splitting (green), often by nearly 50%, indicating higher precision. Crucially, the proposed method avoids the "infinite interval" problem that plagues previous non-randomized selective inference techniques.
Key Insights
Beyond coverage and length, the inference step acts as a critical filter. By weeding out "noise" variables accidentally selected during the initial phase, the method can improve the accuracy of identifying the true signal structure (measured by F1 scores) by as much as 50%. This stability and efficiency make the method particularly reliable for "messy" real-world data where distributional assumptions are hard to justify.
Real-World Application
Applying the method to a dataset of ~33,800 twin births, the researchers identified risk factors for low birth weight (10th percentile). The proposed approach successfully identified critical factors such as "Weight Gain" and "Steroids" that sample splitting missed due to its inherent loss of statistical power.
Conclusion
The randomized selective inference framework for quantile regression provides a robust, distribution-free solution to the "double-dipping" problem. By leveraging the full dataset and stabilizing the selection event through randomization, it offers superior power and precision compared to sample splitting. Future work may extend this pivot to other penalty types and explore its behavior in purely nonlinear models.
Summary updated