Asymptotically Optimal Knockoff Statistics via the Masked Likelihood Ratio

Asher Spector, William Fithian
12/17/2022
stat.ME
bayesian

Official code: amspector100/mlr_knockoff_paper (0 stars, Jupyter Notebook, last commit 2025-07-12).

Abstract

In feature selection problems, knockoffs are synthetic controls for the original features. Employing knockoffs allows analysts to use nearly any variable importance measure or "feature statistic" to select features while rigorously controlling false positives.

Show full abstract

However, it is not clear which statistic maximizes power. In this paper, we argue that state-of-the-art lasso-based feature statistics often prioritize features that are unlikely to be discovered, leading to low power in real applications. Instead, we introduce masked likelihood ratio (MLR) statistics, which prioritize features according to one's ability to distinguish each feature from its knockoff. Although no single feature statistic is uniformly most powerful in all situations, we show that MLR statistics asymptotically maximize the number of discoveries under a user-specified Bayesian model of the data. (Like all feature statistics, MLR statistics always provide frequentist error control.) This result places no restrictions on the problem dimensions and makes no parametric assumptions; instead, we require a "local dependence" condition that depends only on known quantities. In simulations and three real applications, MLR statistics outperform state-of-the-art feature statistics, including in settings where the Bayesian model is misspecified. We implement MLR statistics in the python package knockpy; our implementation is often faster than computing a cross-validated lasso.

View on arXivView PDF

Code Implementations(1)

00Jupyter Notebook, PythonAug 17, 20221 years ago

Similar Papers

Cite this paper

@article{spector2022asymptotically,
  title  = {Asymptotically Optimal Knockoff Statistics via the Masked Likelihood Ratio},
  author = {Asher Spector and William Fithian},
  year   = {2022},
  eprint = {2212.08766},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.08766}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.08766.svg)](https://codeofpaper.com/paper/2212.08766)

Discussion