Self-Supervised Reconstruction Knockoffs for Calibrated Unsupervised Feature Selection

HaiHui Huang, Dingkui Kang, Yanan Zhou, Yong LiangNeurIPS 2026

TL;DR

When sifting through high-dimensional, unlabeled data—like thousands of genes in single-cell biology—most feature selection algorithms hand you an uncalibrated leaderboard of "important" variables without telling you where the real signal ends and the noise begins. Self-Supervised Reconstruction Knockoffs (SSRK) fixes this by forcing every feature to compete head-to-head against a synthetic "twin" (a knockoff) in a masked-data reconstruction game. The result is a mathematically principled way to either strictly control your false discovery rate or generate cleaner, more reliable feature rankings—no labels required.

What Problem Does This Paper Address?

Imagine collecting thousands of sensor readings or gene expressions before you even have a specific hypothesis or class label. You want to pick a compact subset of features that capture the dataset's core structure.

Existing unsupervised methods—ranging from simple variance filters to deep autoencoders—score features in an absolute sense. However, a feature might score high simply because it has inflated variance, is easy to copy, or correlates with everything else, not because it carries unique structural information. What’s missing is a calibrated baseline: a "null reference" for each individual feature.

In supervised learning, the knockoff framework solves this by pairing each real feature with a synthetic decoy that mimics its correlation structure, allowing statisticians to bound the False Discovery Rate (FDR—the expected fraction of selected features that are duds). Bringing knockoffs to unsupervised neural networks is tricky: without an external label $Y$ to predict, what is the task? And if you feed (original, knockoff) pairs into a standard neural network, the model can lazily learn a positional bias (e.g., "always trust input slot #1") rather than evaluating true feature quality.

Methods

SSRK marries self-supervised masked modeling (hiding parts of the data and predicting them from context) with knockoff competition. It operates in two modes depending on your goal and assumptions:

  1. Controlled Discovery Mode (Fixed-Target): Before doing anything, you split your unlabeled features into candidates $V$ and a held-out target block $Y$. Knockoffs $\widetilde{V}$ are generated only for the candidates, and the network tries to reconstruct masked parts of $Y$.
  2. Ranking Mode (Self-Reconstruction): When you don't split out a target block, the network reconstructs masked entries of the candidate vector itself, comparing each feature against simpler marginal reference draws (like column permutations).
Overview of the SSRK pipeline

What is genuinely novel here is how the neural network enforces mathematical fairness between a feature $V_j$ and its knockoff $\widetilde{V}_j$:

  • Mixture-only Gating: Instead of concatenating $V_j$ and $\widetilde{V}_j$ side-by-side, the network only ever sees a convex blend: $H_j = \pi_j V_j + (1 - \pi_j)\widetilde{V}_j$, controlled by a learnable gate $\pi_j \in (0,1)$.
  • Tied Logits & Swap-Equivariant Optimization: By tying reversed-order logits ($u$ vs. $-u$), initializing gates to $\pi_j = 0.5$, and carefully structuring Adam/AdamW updates, the authors guarantee that swapping a feature with its knockoff in the dataset literally flips the algebraic sign of the learned preference statistic $W_j = 2\pi_j - 1$.
  • Two-Stage Entropy Schedule: Training first uses positive entropy pressure to keep gates near $0.5$ while the predictor warms up, then flips to negative entropy pressure to force crisp, decisive choices between original and decoy.

Datasets

The authors evaluate SSRK on one synthetic benchmark and four standard real-world datasets (no new real-world datasets are introduced):

  • Synthetic AR(1) Gaussian Study: $n=800$ samples, $p=80$ candidate features (30 true signals, 50 nulls), and $r=12$ target coordinates, where exact knockoff distributions are mathematically known.
  • PBMC 3k: Single-cell RNA-seq data of peripheral blood mononuclear cells (selecting 100 out of 2,500 highly variable genes).
  • MNIST & Fashion-MNIST: Classic $28\times28$ grayscale image benchmarks (selecting 300 pixels).
  • UCI HAR: Smartphone inertial sensor dataset with 561 features across six human activities.

Key Insights and Ideas

  • The "Same-Vector" Trap: Why split out a separate target $Y$ for controlled discovery? The authors prove a subtle mathematical degeneracy: if you generate exact Model-X knockoffs for an entire vector and try to predict other coordinates of that same vector, the population prediction advantage between a real feature and its knockoff collapses to identically zero everywhere! Holding out $Y$ (or switching to independent marginal references for ranking) breaks this symmetry so true cross-coordinate signal can shine through.
  • Variance Inflation Gets Zero Credit: Unlike standard autoencoders that obsess over high-variance features, SSRK's theoretical target—Knockoff-Relative Masked Information (KRMI)—gives zero population reward to noisy, high-variance features that don't actually help predict other coordinates.
  • Exact Optimizer Symmetry: Statistical knockoff guarantees usually treat the machine learning model as a black box, praying it behaves symmetrically. Here, the authors prove that standard AdamW—when initialized at zero gate state—preserves exact sign-flip equivariance down to machine precision.

Key Results

  • Exact FDR Control: In the Gaussian fixed-target study, SSRK kept the mean False Discovery Proportion at or below nominal targets $q \in \{0.05, 0.10, 0.15\}$ across all signal strengths. At $q=0.10$, statistical power climbed from $0.167$ (weak signal) to $1.000$ (strong signal), and across 100 pure-noise datasets, it made 0 false selections at $q=0.05$ and $q=0.10$. Retraining on swapped data reproduced sign-flipped statistics exactly in all 70 checked runs.
Table 1: Exact Gaussian study: knockoff+ applied to the same W at three levels (50 datasets per amplitude a; Empty: fraction of empty selections at q = 0.05). The last row counts nonempty selections among 100 all-null datasets. Tuning and intervals: Tables A4 and A5.
  • Real-Data Rankings: Across 70 matched 20-run comparisons against five baselines (Variance, Concrete Autoencoders, Stochastic Gates, GAEFS, SSFS), SSRK was significantly better in 52 comparisons and worse in only 4.
  • Domain Highlights: On PBMC 3k, SSRK achieved top cell-clustering ARI ($0.424$ in the representative run) and biological marker coverage ($3.400$), alongside the highest selection stability across 20 bootstrap refits (Jaccard $0.772$). On MNIST, it cleanly isolated digit strokes while ignoring background, and on UCI HAR, it hit $\sim 94.9\%$ downstream MLP accuracy while picking zero injected decoy columns across 20 runs.

Limitations and Future Work

The authors are admirably upfront about what SSRK can and cannot claim:

  • No Free Lunch on Real-Data FDR: Exact finite-sample FDR control requires exact conditional knockoffs—which are available in the synthetic Gaussian study, not on complex real-world omics or image data. Because the real-data experiments use simpler Gaussian-marginal or permuted references, their outputs must be treated as rankings, not certified statistical discoveries (unless paired with a separate likelihood-ratio defect certificate).
  • Proxy-Specific Relevance: Features are selected based on how well they reconstruct the chosen proxy target; this does not imply causal or clinical importance, requiring independent validation before policy or medical use.
  • Threshold Discreteness: When true signals are very weak and $q$ is strict (e.g., $q=0.05$), the discrete knockoff+ filter often returns an empty set ($94\%$ of runs at the lowest signal amplitude). Future work is not explicitly outlined in the main text.

Summary updated

Abstract

Unsupervised feature selection is widely used as a discovery tool, yet most methods return absolute rankings rather than comparisons with feature-wise matched references. We introduce Self-Supervised Reconstruction Knockoffs (SSRK), a proxy-selection framework for unlabeled data. For controlled discovery, a data-independent partition defines a candidate block and a held-out target block, and knockoffs are generated only for the candidates. A mixture-only gated predictor, tied complemented logits, and swap-equivariant optimization produce a flip-sign statistic for the predeclared target; without a target block, the same gated predictor reconstructs the candidates themselves and ranks them against matched-marginal references. We formalize knockoff-relative masked information, show that a same-vector population contrast degenerates under exact knockoffs but measures cross-coordinate information under matched-marginal references, derive a positive-entropy local gate fixed point and a bounded-class concentration result, and specialize exact and defect-robust Model-X bounds on the false discovery rate (FDR). In an exact Gaussian fixed-target study with six signal amplitudes (50 datasets each), the mean false discovery proportion (FDP) stays at or below q ∈ {0.05, 0.10, 0.15} up to Monte Carlo error, while power at q=0.10 rises from 0.167 to 1.000; 100 all-null datasets yield no nonempty selection at q=0.10, and retraining on swapped data reproduces the sign-flipped statistic exactly in every checked run. On peripheral blood mononuclear cells (PBMC 3k), MNIST, Fashion-MNIST, and UCI Human Activity Recognition, SSRK rankings are significantly better than the corresponding baseline in 52 of 70 matched 20-run comparisons and worse in 4 (Holm adjustment within each dataset–metric family). Code is available at https://github.com/bio-ai-source/SSRK/.
BibTeX
@inproceedings{huang2026self,
  author = {HaiHui Huang and Dingkui Kang and Yanan Zhou and Yong Liang},
  title = {{Self-Supervised Reconstruction Knockoffs for Calibrated Unsupervised Feature Selection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7DwhldqTP6},
}
Figure