Semi-knockoffs: a model-agnostic conditional independence testing method with finite-sample guarantees
Angel Reyero-Lobo, Bertrand Thirion, Pierre Neuvial
TL;DR
Conditional independence testing in high dimensions is addressed with Semi-knockoffs, a model-agnostic approach that leverages pre-trained ML models without data splitting to obtain finite-sample type-I error and FDR control. The method hinges on estimating conditional expectations $(\\nu_j,\\rho_j)$ and constructing perturbations that preserve null-exchangeability, backed by stability and double-robustness results. Oracle results establish baseline guarantees, while practical algorithms provide p-values or FDR control through Wilcoxon-based statistics and knockoff-thresholding. Empirical studies on simulated and real data demonstrate robust error control and competitive power across diverse models, with derandomization offering additional gains. The work broadens CIT applicability to complex ML settings and reduces the power loss associated with train-test splits, enabling reliable feature discovery in practice.
Abstract
Conditional independence testing (CIT) is essential for reliable scientific discovery. It prevents spurious findings and enables controlled feature selection. Recent CIT methods have used machine learning (ML) models as surrogates of the underlying distribution. However, model-agnostic approaches require a train-test split, which reduces statistical power. We introduce Semi-knockoffs, a CIT method that can accommodate any pre-trained model, avoids this split, and provides valid p-values and false discovery rate (FDR) control for high-dimensional settings. Unlike methods that rely on the model-$X$ assumption (known input distribution), Semi-knockoffs only require conditional expectations for continuous variables. This makes the procedure less restrictive and more practical for machine learning integration. To ensure validity when estimating these expectations, we present two new theoretical results of independent interest: (i) stability for regularized models trained with a null feature and (ii) the double-robustness property.
