Feature Selection and Junta Testing are Statistically Equivalent

Lorenzo Beretta, Nathaniel Harms, Caleb Koch
5/7/2025
cs.LGcs.CCcs.DS

No confident code implementation found for this paper.

Abstract

For a function $f \colon \{0,1\}^n \to \{0,1\}$, the junta testing problem asks whether $f$ depends on only $k$ variables. If $f$ depends on only $k$ variables, the feature selection problem asks to find those variables. We prove that these two tasks are statistically equivalent. Specifically, we show that the ``brute-force'' algorithm, which checks for any set of $k$ variables consistent with the sample, is simultaneously sample-optimal for both problems, and the optimal sample size is \[ Θ\left(\frac 1 \varepsilon \left( \sqrt{2^k \log {n \choose k}} + \log {n \choose k}\right)\right). \]

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{beretta2025feature,
  title  = {Feature Selection and Junta Testing are Statistically Equivalent},
  author = {Lorenzo Beretta and Nathaniel Harms and Caleb Koch},
  year   = {2025},
  eprint = {2505.04604},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.04604v2}
}

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/2505.04604.svg)](https://codeofpaper.com/paper/2505.04604)

Discussion