Abstract: Knockoffs are a popular statistical framework that addresses the challenging problem of conditional variable selection in high-dimensional settings with statistical control. Such statistical control is essential for the reliability of inference. However, knockoff guarantees rely on an exchangeability assumption that is difficult to test in practice, and there is little discussion in the literature on how to deal with unfulfilled hypotheses. This assumption is related to the ability to generate data similar to the observed data. To maintain reliable inference, we introduce a diagnostic tool based on Classifier Two-Sample Tests. Using simulations and real data, we show that violations of this assumption occur in common settings for classical knockoff generators, especially when the data have a strong dependence structure. As a consequence, knockoff-based inference suffers from a massive inflation of false positives. We show that the diagnostic tool correctly detects such behavior. We show that an alternative knockoff construction, based on constructing a predictor of each variable based on all others, solves the issue. We also propose a computationally-efficient variant of this algorithm and show empirically that this approach restores error control on simulated data and semi-simulated experiments based on neuroimaging data.
The Challenge of Variable Selection in High Dimensions
In fields like genomics and neuroimaging, researchers aim to identify specific variables (e.g., genes or brain regions) truly associated with an outcome, such as a disease. This task is significantly complicated by high-dimensional data and strong local correlations among features.
When variables are highly correlated, standard statistical tests often struggle to distinguish between a true signal and a "passenger" variable that is merely correlated with the signal. This leads to an inflation of the False Discovery Rate (FDR), where many reported associations are actually false positives.
The Knockoff Framework and the Exchangeability Assumption
The knockoff framework was introduced to provide rigorous FDR control in these complex settings. The core idea is to create synthetic "control" variables, called knockoffs, that mimic the correlation structure of the original data ($X$) but are independent of the outcome ($Y$). By comparing the original variables to their knockoff counterparts, researchers can determine which signals are robust.
The validity of this framework hinges on the exchangeability assumption: the joint distribution of the original variables and their knockoffs must remain unchanged if any variable is swapped with its knockoff. If this assumption fails, the statistical guarantees of the framework vanish. In practice, most researchers rely on Gaussian-based generators. However, if the data is non-Gaussian or if the covariance matrix is poorly estimated—a common occurrence in high dimensions—exchangeability is compromised, leading to unreliable results.
Diagnosing Failure via Classifier Two-Sample Testing (C2ST)
To address the difficulty of verifying exchangeability, this paper introduces a diagnostic tool based on Classifier Two-Sample Testing (C2ST). The approach is intuitive: if a machine learning classifier (such as a neural network or random forest) can distinguish between the original data $X$ and the generated knockoffs $\tilde{X}$ with an accuracy significantly greater than 0.5, then the knockoffs are not exchangeable. This "statistical canary" provides a clear warning that subsequent inference is likely to be invalid and prone to high FDR.
A Nonparametric Solution for Robust Knockoffs
To fix the issues identified by the diagnostic tool, the authors propose a new, nonparametric method for generating knockoffs. This method shifts the focus from modeling the entire joint distribution to a regression-based approach:
- Predictive Modeling: For each variable, a model (typically a Lasso) is trained to predict its value based on all other variables.
- Residual Permutation: Knockoffs are then generated by taking these predictions and adding randomly permuted residuals. This approach is derived from the Sequential Conditional Independent Pairs (SCIP) algorithm and is far more robust to complex dependencies than Gaussian assumptions.
- Parallelization: Recognizing that sequential generation can be computationally prohibitive, the authors developed a parallel version of the algorithm, enabling high-speed computation even in large-scale datasets like fMRI.
Key Results and Insights
The proposed methods were validated using both simulated data and semi-simulated neuroimaging data from the Human Connectome Project (HCP).
- FDR Restoration: In scenarios where high correlation caused Gaussian knockoffs to suffer from FDR inflation as high as 80%, the nonparametric method successfully restored control to the target 5% level.
- Diagnostic Reliability: The C2ST tool showed a strong correlation between classifier accuracy and actual FDR inflation, confirming its utility as a practical diagnostic.
- Computational Efficiency: The parallelized nonparametric algorithm achieved a 15x speedup on large datasets, making it a viable tool for "big data" applications in science.
Conclusion
This work highlights a critical vulnerability in standard knockoff applications and provides the necessary tools to diagnose and correct it. By moving toward nonparametric generation and utilizing machine learning for diagnostics, researchers can ensure that their variable selections remain statistically sound, even in the face of high-dimensional, highly correlated data.
Summary updated