Near-Optimal Algorithm for Distribution-Free Junta Testing

Xiaojin ZhangarXiv 2019

Introduction

In property testing, a Boolean function $f: \{0,1\}^n \rightarrow \{0,1\}$ is defined as a $k$-junta if its output depends on at most $k$ of its $n$ input variables. While testing for this property is well-understood under the uniform distribution, real-world data often follows unknown, arbitrary distributions. This "distribution-free" setting is significantly more challenging because standard mathematical tools, such as Fourier analysis and Efron-Stein decomposition, are no longer applicable.

Prior to this work, the best adaptive algorithm with one-sided error required $\tilde{O}(k^2)/\epsilon$ queries. This paper bridges the gap, presenting a near-optimal algorithm that achieves $\tilde{O}(k)/\epsilon$ query complexity, approaching the known lower bound of $\Omega(k \log k)$ even for the simpler uniform case.

Algorithmic Framework

The core of the proposed approach is a randomized, adaptive algorithm that identifies "relevant blocks"—groups of variables containing at least one of the $k$ influential variables. Unlike previous methods that relied on complex spectral analysis, this algorithm uses a structural approach based on block splitting and success amplification.

Flowchart of the distribution-free junta testing algorithm, illustrating the iterative process of identifying relevant blocks and literals.

The algorithm iteratively tests blocks using an IsLiteral check. If a block behaves like a single relevant variable (a "literal"), it is split to isolate the specific variable. A key innovation is treating the search for the "correct" sub-block as a best block identification problem, similar to finding a biased coin among many. By using simple sampling and confidence intervals (e.g., Hoeffding's inequality), the algorithm identifies relevant variables more efficiently.

Furthermore, the author demonstrates that the "closeness" parameter $\gamma$ (the threshold for considering a block close to a literal) can be relaxed from $1/(8k)$ to a constant $1/8$. This seemingly minor mathematical adjustment effectively removes a factor of $k$ from the total query complexity. The algorithm also employs aggressive early stopping, terminating and accepting if no new relevant blocks are found within $\Theta(1)/\epsilon$ iterations.

Key Results and Comparison

The primary contribution of this research is the achievement of $\tilde{O}(k)/\epsilon$ query complexity with one-sided error. One-sided error is a critical guarantee: if a function is a $k$-junta, the algorithm will always accept it. If the function is $\epsilon$-far from being a $k$-junta, it rejects with a probability of at least $2/3$.

Comparison of junta testing algorithms across different distributions and error types, highlighting the near-optimal performance of this work.

As shown in the table above, this work matches the query complexity of Bshouty (2019) while improving the error type from two-sided to one-sided. It also represents a quadratic improvement over the previous state-of-the-art one-sided error algorithm by Liu et al. (2019).

Conclusion

This paper demonstrates that Fourier analysis is not a prerequisite for optimal junta testing. By reframing the problem through the lens of randomized block identification and optimizing constant parameters, the author provides a simpler and more efficient path to distribution-free testing. This shift suggests that other complex property testing problems might also be solvable using intuitive, non-Fourier algorithmic techniques.

Summary updated

BibTeX
@misc{zhang2019near,
  author = {Xiaojin Zhang},
  title = {{Near-Optimal Algorithm for Distribution-Free Junta Testing}},
  year = {2019},
  eprint = {1911.10833},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.10833},
}
Figure