Domain Compression and its Application to Randomness-Optimal Distributed Goodness-of-Fit

Jayadev Acharya, Clément L. Canonne, Yanjun Han, Ziteng Sun, Himanshu Tyagi

Introduction

In modern distributed systems, a central server often needs to perform statistical inference on data residing on millions of user devices. A fundamental problem in this domain is distributed goodness-of-fit (or identity testing): determining if a dataset follows a specific probability distribution $p$. However, real-world constraints such as limited communication bandwidth and privacy requirements (like Local Differential Privacy) prevent users from sending raw data.

A critical factor in these protocols is the availability of shared randomness. While "public-coin" protocols (where users and the server share a random seed) are highly efficient, broadcasting large seeds is costly. Conversely, "private-coin" protocols are less efficient. This work establishes the exact trade-off between the number of users, communication/privacy limits, and the amount of shared randomness, introducing a novel "domain compression" technique.

The distributed statistical testing framework, where users observe samples $X_i$ from distribution $p$ and send messages $Y_i$ through constrained channels $W_i$ to a central server.

Methodology: Domain Compression

The core innovation of this paper is a modular protocol centered on a new algorithmic primitive called Domain Compression.

  1. Domain Compression: This technique uses a limited budget of $s$ shared random bits to map a large data domain of size $k$ into a significantly smaller domain of size $L$. The mapping is designed to preserve the Total Variation distance between distributions, allowing the server to detect anomalies even in the compressed space.
  2. One-Bit $\ell_2$ Isometry: The authors develop a method to map probability vectors to $\{0,1\}$ while preserving pairwise $\ell_2$ distances using a minimal amount of random bits.
  3. Deterministic Amplification: To overcome the exhaustion of shared randomness during compression, the authors employ expander graphs to drive down error rates without requiring additional random bits.
  4. Semimaxmin Lower Bounds: A new theoretical framework is introduced to prove the optimality of these algorithms, interpolating between the traditional "maxmin" (private-coin) and "minmax" (public-coin) bounds.

Key Insights: The Value of Randomness

A primary takeaway from this research is the mathematical "exchange rate" between communication and randomness. The authors demonstrate that one bit of communication is worth two bits of shared randomness. Specifically, increasing the user-to-server channel capacity ($\ell$ bits) is twice as effective as increasing the server-to-user shared randomness ($s$ bits).

Furthermore, the research reveals that in communication-constrained settings, using too much shared randomness can be counterproductive. If the domain is compressed excessively, users cannot fully utilize their available communication bits. The proposed algorithm optimally balances these resources.

Interestingly, under Local Differential Privacy (LDP), the trade-off behaves differently. The authors prove that optimal sample complexity can be achieved using only 1-bit messages per user, regardless of the amount of shared randomness.

Key Results

The paper provides matching upper and lower bounds for the number of users $n$ required to test a distribution of size $k$ with distance parameter $\varepsilon$:

  • Communication Constraints ($\ell$ bits, $s$ shared bits): $$n = O\left(\frac{\sqrt{k}}{\varepsilon^2} \sqrt{\frac{k}{2^\ell} \lor 1} \sqrt{\frac{k}{2^{s+\ell}} \lor 1}\right)$$
  • Privacy Constraints ($\rho$-LDP, $s$ shared bits): $$n = O\left(\frac{k}{\varepsilon^2 \rho^2} \sqrt{\frac{k}{2^s} \lor 1}\right)$$

Conclusion and Future Work

This work provides a comprehensive understanding of the role of shared randomness in distributed testing. While the current domain compression scheme guarantees distance preservation with constant probability, future work could aim for a more general version with optimal trade-offs across all parameters. Additionally, the domain compression primitive and the "semimaxmin" framework are expected to be applicable to other problems, such as testing continuous distributions or different distance metrics.

Summary updated

BibTeX
@inproceedings{acharya2020domain,
  author = {Jayadev Acharya and Clément L. Canonne and Yanjun Han and Ziteng Sun and Himanshu Tyagi},
  title = {{Domain Compression and its Application to Randomness-Optimal Distributed Goodness-of-Fit}},
  booktitle = {Conference on Learning Theory},
  year = {2020},
  url = {https://openreview.net/forum?id=DafpeMcvmHN},
}
Figure