NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning and Testing Junta Distributions

Maryam Aliakbarpour, Eric Blais, Ronitt Rubinfeld

In the field of machine learning, the concept of a "junta" has long served as a fundamental model for high-dimensional data with low-dimensional structure. Traditionally, a function is defined as a $k$-junta if its output depends on only $k$ of its $n$ input variables. This model captures the "needle in a haystack" scenario common in feature selection: most variables are irrelevant noise, and only a tiny subset carries the signal.

While decades of research have focused on learning $k$-junta functions, the work of Aliakbarpour, Blais, and Rubinfeld extends this logic to the realm of unsupervised learning. Their research asks: Can we efficiently learn and test $k$-junta distributions? This paper provides the first formal framework and efficient algorithms for identifying these structures within probability spaces.

Defining the Junta Distribution

The primary challenge in moving from functions to distributions is defining what it means for a distribution to be "independent" of a coordinate. The authors define a distribution $D$ as a $k$-junta with respect to a reference distribution $U$ (typically the uniform distribution) if there exists a set of relevant coordinates $J$ (where $|J| \le k$) such that, when conditioned on the values in $J$, the remaining $n-k$ variables behave exactly like the reference distribution $U$.

In practical terms, this means that outside of a small subset of features, the data is indistinguishable from random noise. This definition allows for a rigorous approach to feature selection in high-dimensional distributions, where the goal is to model the underlying probability space rather than a specific target label.

Algorithmic Framework

The paper introduces two primary algorithmic contributions: one for learning the distribution and one for testing its properties.

1. Learning via Fourier Analysis

To learn a $k$-junta distribution, the authors utilize Fourier analysis over the Boolean hypercube. By treating the probability mass function (pmf) as a function, they can estimate its Fourier coefficients.

However, a significant technical hurdle exists: standard Fourier-based learning algorithms (such as the Low-Degree Algorithm) are designed to minimize $L_2$ error. In distribution learning, the standard metric is Total Variation distance ($L_1$ error). To bridge this gap, the authors developed a novel "scoring" system. The algorithm estimates the total Fourier mass for various candidate sets of coordinates; the set that maximizes this score is identified as the true junta $J$. This approach allows the algorithm to ignore the "noise" coordinates and focus exclusively on the $k$ relevant dimensions.

2. Testing via Weighted Collections

Testing whether a distribution is a $k$-junta is a distinct challenge from learning one. The authors approach this by reducing the problem to testing the uniformity of a weighted collection of distributions.

By partitioning the high-dimensional space based on the $k$ coordinates, the algorithm creates a collection of "sub-distributions." If the original distribution is indeed a $k$-junta, all these sub-distributions should match the reference distribution $U$. The authors then apply a sublinear-time uniformity test to this collection to verify the junta structure.

Key Results and Complexity

The paper establishes several critical bounds on the complexity of these tasks:

  • Learning Complexity: The authors present an $\epsilon$-learner for $k$-junta distributions with a running time of $\tilde{O}(n^k \cdot 2^{2k} / \epsilon^4)$. While the dependence on $k$ is exponential, the dependence on the total dimension $n$ is polynomial. This is a significant improvement over previous "cover-based" methods, which were doubly-exponential in $k$.
  • Testing Complexity: The proposed tester achieves a sample complexity of $\tilde{O}(2^{n/2} / \epsilon^2)$. Although this remains large, it is sublinear relative to the total domain size ($2^n$), representing a major theoretical milestone in distribution testing.
  • The Learning-Testing Gap: A fascinating insight from the work is that testing is fundamentally harder than learning in this context. While a junta can be learned with $O(\log n)$ samples, testing if a distribution is a junta requires significantly more, suggesting that verifying structural assumptions is more resource-intensive than modeling the data under those assumptions.

Implications and Future Directions

This work provides a robust theoretical foundation for unsupervised feature selection. By proving that we can ignore irrelevant features even when modeling probability spaces, the authors open new doors for high-dimensional data analysis.

However, several open questions remain. Currently, the results rely heavily on the reference distribution $U$ being uniform over a Boolean hypercube. Extending these algorithms to non-uniform or continuous domains remains an active area of interest. Furthermore, while the sample complexity is optimized, the $n^k$ factor in the running time suggests a "brute force" search for coordinates. Future research may look toward techniques from sparse recovery or compressed sensing to bypass this computational bottleneck and make junta distribution learning even more practical for massive datasets.

Summary updated

BibTeX
@inproceedings{aliakbarpour2016learning,
  author = {Maryam Aliakbarpour and Eric Blais and Ronitt Rubinfeld},
  title = {{Learning and Testing Junta Distributions}},
  booktitle = {Conference on Learning Theory},
  year = {2016},
}
Figure