Papers › Normalizing Flows for Knockoff-free Controlled Feature Selection

Normalizing Flows for Knockoff-free Controlled Feature Selection

3 Jun 2021arXiv:2106.01528archive 2025-07-28

Derek Hansen, Brian Manzo, Jeffrey Regier

Controlled feature selection aims to discover the features a response depends on while limiting the false discovery rate (FDR) to a predefined level. Recently, multiple deep-learning-based methods have been proposed to perform controlled feature selection through the Model-X knockoff framework. We demonstrate, however, that these methods often fail to control the FDR for two reasons. First, these methods often learn inaccurate models of features. Second, the "swap" property, which is required for knockoffs to be valid, is often not well enforced. We propose a new procedure called FlowSelect to perform controlled feature selection that does not suffer from either of these two problems. To more accurately model the features, FlowSelect uses normalizing flows, the state-of-the-art method for density estimation. Instead of enforcing the "swap" property, FlowSelect uses a novel MCMC-based procedure to calculate p-values for each feature directly. Asymptotically, FlowSelect computes valid p-values. Empirically, FlowSelect consistently controls the FDR on both synthetic and semi-synthetic benchmarks, whereas competing knockoff-based approaches do not. FlowSelect also demonstrates greater power on these benchmarks. Additionally, FlowSelect correctly infers the genetic variants associated with specific soybean traits from GWAS data.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2106.01528")

Code

Syntology Ran 25 of 33 code samples harvested from 3 repositories linked to this paper; 8 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 7 ran · our draft was wrong; 6 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: found in paper text by Syntology: 33 samples from 3 repositories, 25 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

dereklhansen/flowselect officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

33 samples harvested; 25 ran; 2 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · violated contract
7ran · our draft was wrong
6ran · fixture could not drive it
9ran
8unverified

Licence: 11 of the 33 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BootstrapConditionalModel tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran MIT (permissive) · 5c388071175a785e · report
CrossValidationSampler tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran MIT (permissive) · db6d9a8444f8edbd · report
DiscreteBootstrapConditionalModel tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran MIT (permissive) · befe2dc54f127a04 · report
DiscreteClassifierNetwork tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran fingerprinted MIT (permissive) · aa9395158d2da40a · report
GaussianMixtureModel tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran MIT (permissive) · d01652f4c7968e16 · report
HoldoutSampler tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran MIT (permissive) · 02fd42887a52a943 · report
MixtureDensityNetwork tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran fingerprinted MIT (permissive) · cbe098cac4a6fd68 · report
MultinomialModel tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran MIT (permissive) · e117979a67e9dbec · report
Net msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted GPL-3.0 (copyleft) · pointer only · 44a37c78381afc80 · report
_mix_rbf_kernel msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology ran · our draft was wrong fingerprinted GPL-3.0 (copyleft) · pointer only · 48dd34f19c1766db · report
_mmd2 msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology ran · fixture could not drive it fingerprinted GPL-3.0 (copyleft) · pointer only · ce10f353f05f5250 · report
batches tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · ff0fb920ccf5b064 · report
covariance_diff_biased msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology ran · violated contract GPL-3.0 (copyleft) · pointer only · 2e39bc098a25ff99 · report
create_folds tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · d9996f0a1157eaa1 · report
gen_batches msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology ran · honoured contract fingerprinted GPL-3.0 (copyleft) · pointer only · a10785afdd1943d9 · report
ks_test tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran · honoured contract fingerprinted MIT (permissive) · a929f8158e0f37f5 · report
logsumexp tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · c73bee7360661346 · report
matrix_str tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · db0aefbe8dbc29a8 · report
mix_rbf_mmd2 msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology ran · our draft was wrong fingerprinted GPL-3.0 (copyleft) · pointer only · 661038d37be136e9 · report
mix_rbf_mmd2_loss msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology ran · our draft was wrong fingerprinted GPL-3.0 (copyleft) · pointer only · 6817b2d2b5a8ba50 · report
norm msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology ran · fixture could not drive it fingerprinted GPL-3.0 (copyleft) · pointer only · e1d9c760ce9d1c42 · report
pretty_str tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · ab49a597c1aff75c · report
sample_holdout_dists tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 45caf0e3cf7297ea · report
tv_test tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · b4c04d0603c1c2db · report
vector_str tansey/hrt/pyhrt/hrt.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · e69ab4938b9c4680 · report
KnockoffGAN firmai/tsgan/alg/knockoffgan/KnockoffGAN.py found in paper text by Syntology unverified licence not identified · pointer only · a78618a3a2bcc9c2 · report
KnockoffMachine msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology unverified GPL-3.0 (copyleft) · pointer only · e61b4c8c3d64412e · report
calibrate_continuous tansey/hrt/pyhrt/hrt.py found in paper text by Syntology unverified MIT (permissive) · c7dde2181bd90c3f · report
calibrate_discrete tansey/hrt/pyhrt/hrt.py found in paper text by Syntology unverified MIT (permissive) · 450d25e7824a48dc · report
fit_classifier tansey/hrt/pyhrt/hrt.py found in paper text by Syntology unverified MIT (permissive) · 0cddd24f3b7ed39a · report
fit_mdn tansey/hrt/pyhrt/hrt.py found in paper text by Syntology unverified MIT (permissive) · 4d0755e27691fb59 · report
hrt tansey/hrt/pyhrt/hrt.py found in paper text by Syntology unverified MIT (permissive) · 2e296d67a46288e5 · report
save_checkpoint msesia/deepknockoffs/DeepKnockoffs/DeepKnockoffs/machine.py found in paper text by Syntology unverified GPL-3.0 (copyleft) · pointer only · 96f1fefe68df3674 · report

Tasks

Density Estimationfeature selection

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Feature Selection

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections