On the Power of Learning from k-Wise Queries

Vitaly Feldman, Badih Ghazi

Abstract

In computational learning theory, the Statistical Query (SQ) model provides a framework for understanding the complexity of learning problems by restricting algorithms to queries about the expected value of functions over a distribution. While standard SQ models focus on unary queries—evaluating a single sample at a time—this paper investigates the power of $k$-wise queries, which evaluate functions over $k$ samples simultaneously. We demonstrate that in the distribution-independent setting, $(k+1)$-wise queries can be exponentially more powerful than $k$-wise queries. Conversely, we identify conditions, such as distribution "flatness" and low communication complexity, under which $k$-wise queries can be efficiently simulated by unary queries. These results provide new insights into the hierarchy of SQ models and establish stronger lower bounds for learning Disjunctive Normal Form (DNF) formulas.

Introduction

The Statistical Query (SQ) model, introduced by Kearns, is a cornerstone of learning theory. In this model, an algorithm does not access raw samples from a distribution $D$. Instead, it interacts with an oracle that provides estimates of $E_{x \sim D}[f(x)]$ for any query function $f$. Most research has focused on unary queries, but many algorithmic techniques—most notably Gaussian elimination—naturally involve multiple samples. These are represented as $k$-wise queries: $E_{x_1, \dots, x_k \sim D^k}[f(x_1, \dots, x_k)]$.

Previous work suggested that $k$-wise queries do not significantly increase learning power when the distribution is fixed and known. However, this paper, "On the Power of Learning from $k$-Wise Queries" by Vitaly Feldman and Badih Ghazi, explores the distribution-independent setting. Here, the learner must succeed over any distribution in a class, revealing a much richer complexity landscape where the value of $k$ becomes a critical factor.

The Power of One More Sample

The central theoretical contribution of this work is an exponential separation between $k$-wise and $(k+1)$-wise queries. The authors construct a learning task involving the identification of $k$-dimensional affine subspaces over a finite field $\mathbb{F}_p^{k+1}$.

In this scenario, a $(k+1)$-wise query can effectively perform a recovery procedure akin to Gaussian elimination. By looking at $k+1$ samples, the algorithm can determine if they are linearly independent and solve the underlying system of equations to identify the target subspace. In contrast, any algorithm restricted to $k$-wise queries is shown to be information-theoretically limited; it cannot "see" the global structure of the subspace and is reduced to a complexity equivalent to random guessing. This proves that for any $k$, there exists a problem solvable with $O(\log p)$ queries of $(k+1)$-wise SQs, but requiring $\Omega(p^{1/4})$ queries for $k$-wise SQs.

Simulating Complex Queries

While $k$-wise queries are more powerful in the abstract, the authors identify specific regimes where they can be "downgraded" to standard unary queries without an exponential loss in efficiency. They introduce two primary mechanisms for this reduction:

1. Flatness-Based Reduction

The authors define a property called $\gamma$-flatness. A class of distributions is considered flat if no single distribution is overly concentrated compared to a central reference distribution. If this condition holds, a $k$-wise query can be simulated by "hallucinating" samples. The algorithm uses the reference distribution to draw $k-1$ synthetic samples and combines them with a single real sample in a unary query. The authors prove that a $k$-wise query on a $\gamma$-flat distribution can be simulated using $\tilde{O}(\gamma^{k-1} \cdot k^3 / \tau^3)$ unary queries, where $\tau$ is the error tolerance.

2. Communication Complexity

By leveraging multi-party communication complexity, the paper shows that if a $k$-wise query function $f(x_1, \dots, x_k)$ can be computed by $k$ parties exchanging a small number of bits, it is inherently "weak" and can be simulated by unary SQs. This links the physical complexity of the query function itself to its statistical power.

Implications for DNF Learning

The theoretical framework developed in this paper has immediate applications for long-standing problems in learning theory, specifically the learning of Disjunctive Normal Form (DNF) formulas. DNFs are a fundamental class of Boolean functions, and their complexity has been studied for decades.

By applying their $k$-wise query analysis, the authors provide the first exponential lower bounds for learning size-$n$ DNF formulas that hold even against very powerful algorithms. Specifically, they show that any algorithm learning size-$n$ DNFs with error slightly less than $1/2$ requires at least $2^{n^{1-\alpha}}$ queries, even if the algorithm is permitted to use $n^{1-\alpha}$-wise queries. This significantly strengthens previous lower bounds which were only known for unary queries.

Conclusion

Feldman and Ghazi demonstrate that the jump from $k$ to $k+1$ samples represents a fundamental threshold in the ability to solve algebraic structures in data. While $k$-wise queries offer exponential advantages in distribution-independent learning, the "flatness" of a distribution acts as a limiting factor that allows these complex queries to be reduced to simpler ones. This work refines our understanding of the Statistical Query model and provides a robust toolkit for proving hardness results in computational learning.

Summary updated

BibTeX
@inproceedings{feldman2017power,
  author = {Vitaly Feldman and Badih Ghazi},
  title = {{On the Power of Learning from k-Wise Queries}},
  booktitle = {ITCS},
  year = {2017},
  url = {https://openreview.net/forum?id=4RctqT39EaT},
}
Figure