Memory, Communication, and Statistical Queries

Jacob Steinhardt, Gregory Valiant, Stefan Wager

Abstract

This paper establishes a deep theoretical link between learning under memory/communication constraints and the well-known Statistical Query (SQ) model. It proves that if a problem can be solved using statistical queries, it can also be learned with surprisingly little memory or communication. This framework provides new upper and lower bounds for fundamental tasks like parity learning and sparse linear regression, unifying disparate areas of computational learning theory.

Introduction

Traditional computational learning theory has historically focused on two primary resources: time (computational operations) and data (sample complexity). However, in the modern landscape of large-scale distributed systems and GPU-accelerated learning, the primary bottlenecks have shifted toward memory (storage capacity per processor) and communication (bandwidth between distributed nodes).

The authors address a fundamental challenge: if a concept is simple enough to be represented with limited memory, can it be learned efficiently within those same constraints? By investigating how much information an algorithm must extract from individual examples, the paper moves beyond simple linear trade-offs to identify the fundamental limits of resource-constrained learning.

The Statistical Query (SQ) Bridge

The core contribution of this work is a series of reductions that position the Statistical Query (SQ) model as a central hub for understanding resource constraints. In the SQ model, an algorithm does not access raw data directly; instead, it queries an oracle for the expected value of a function over the data distribution (e.g., "What is the average value of feature $X$ given label $Y$? ").

The authors establish two critical connections:

  1. Communication to SQ: They prove that any multi-party communication protocol can be simulated by an SQ algorithm, and vice versa. This equivalence allows researchers to apply decades of existing SQ lower bounds to modern distributed learning settings.
  2. SQ to Memory: They demonstrate an "existential" reduction showing that any concept class learnable via SQs can also be learned in a streaming fashion with minimal memory. This is achieved by binarizing SQ outputs and using a decision-tree approach to prune the hypothesis space, maintaining only the most critical bits of information.

Distributed Learning and Communication Models

To analyze these constraints, the paper utilizes a distributed learning model where information flows from a central distribution through multiple parties, each holding a piece of the data.

Distributed learning framework: Information flows from a distribution $p$ through samples $X^{(i)}$ to messages $Z^{(i)}$, culminating in an estimate $\hat{p}$.

In this model, the goal is to produce an estimate $\hat{p}$ of the underlying distribution $p$ using limited communication between parties. The paper's equivalence theorem shows that a concept class is learnable with $O(\log n)$ bits of communication per party if and only if it is learnable with $poly(n)$ statistical queries of $1/poly(n)$ error.

Information-Theoretic Analysis: Why $\chi^2$ Matters

For one-way communication protocols, the authors employ $\chi^2$-divergence and a variant of Assouad’s method to derive sharp lower bounds. They argue that $\chi^2$-divergence is a more natural metric for analyzing memory and communication constraints than the more common KL-divergence.

In the context of parity learning, KL-divergence fails to distinguish between "storing one full example" and "storing a tiny fraction of many examples." In contrast, $\chi^2$-divergence correctly identifies that the latter is far more useful for making progress, providing a more accurate reflection of the information-theoretic reality of the problem.

Key Results and Applications

The theoretical framework is applied to several fundamental distributional problems, most notably PARITY and Sparse Linear Regression.

Bit-wise communication constraints: An illustration of how limited information (bits $c_i$) is extracted from individual parties in a distributed protocol.
  • The Hardness of Parity: The results reinforce that Parity is uniquely difficult for resource-constrained systems. The authors prove that any protocol for learning parity with $n/4$ bits of communication per party requires $2^{\Omega(n)}$ parties, implying that effectively no compression is possible for this problem.
  • Sparse Regression Upper Bound: Conversely, the paper shows that $k$-sparse linear regression in $n$ dimensions can be solved using only $k \cdot polylog(n)$ bits of memory, a significant result for high-dimensional statistics.
  • Memory Bound: Generally, if a class of distributions $\mathcal{F}$ is SQ-learnable, it can be learned using only $O(\log |\mathcal{F}| \log n)$ bits of storage.

Conclusion and Future Work

While the reduction from SQ to memory-efficient learning is mathematically robust, it remains "existential," meaning the resulting algorithm may not be computationally efficient in terms of runtime. Furthermore, a known "SQ Gap" exists: some problems (like parity on $\sqrt{n}$ bits) can be solved with limited memory but remain unlearnable via SQs. Characterizing this gap and improving the polynomial factors in sparse regression algorithms remain key areas for future research.

Summary updated

BibTeX
@inproceedings{steinhardt2016memory,
  author = {Jacob Steinhardt and Gregory Valiant and Stefan Wager},
  title = {{Memory, Communication, and Statistical Queries}},
  booktitle = {Conference on Learning Theory},
  year = {2016},
}
Figure