Randomness Extraction in AC0 and with Small Locality

Kuan Cheng, Xin Li

Introduction

Randomness extractors are fundamental primitives in theoretical computer science, acting as mathematical "purifiers." They take a source of biased, correlated bits—such as thermal noise or keystroke timings—and combine them with a short, perfectly uniform "seed" to produce a longer string of nearly perfect random bits. While near-optimal extractors are known for general computational models, their complexity under restricted computational regimes remains a critical area of study.

This paper investigates the feasibility of randomness extraction within two highly restricted models: $AC^0$ circuits and functions with small locality. $AC^0$ circuits consist of constant-depth, polynomial-size gates (AND, OR, NOT) and are known for their limited expressive power; for instance, they cannot compute the Parity of a string. Small locality refers to functions where each output bit depends on only a few bits of the input. This research refutes long-standing conjectures regarding the limits of $AC^0$ extractors and establishes fundamental lower bounds on achievable error rates.

The Computational Limits of $AC^0$

Historically, researchers suspected that the inherent weakness of $AC^0$ circuits would prevent them from being effective extractors for many useful parameters. Specifically, Goldreich et al. (2015) conjectured significant limitations on the amount of randomness $AC^0$ circuits could extract.

This paper provides a definitive refutation of that conjecture. By providing explicit constructions, the authors demonstrate that $AC^0$ circuits can indeed handle low-entropy sources and produce high-quality randomness. However, they also identify a fundamental "error floor": $AC^0$ circuits cannot achieve an error rate better than $2^{-\text{poly}(\log n)}$. This implies that while $AC^0$ is more capable than previously thought, it is impossible to achieve exponentially small error within constant depth, regardless of the available entropy.

Methodological Innovations

To achieve these results, the authors synthesize and adapt several classical techniques in pseudorandomness and Fourier analysis:

1. Modified IW-Generator

The authors adapt the Impagliazzo-Wigderson (IW) generator—originally designed for derandomization—into an extractor. A key insight was identifying that while the first step of standard hardness amplification is not computable in $AC^0$, skipping this step and focusing on the subsequent stages still yields a functional "basic" extractor within the required complexity bounds.

2. Error Reduction and Condensation

To improve the error rate without increasing circuit depth, the authors employ a technique inspired by Raz et al., which involves XORing the outputs of multiple independent extractions. For sources with extremely low entropy, they utilize a "randomness condenser" based on random walks on expander graphs. This concentrates the entropy into a smaller string, making it manageable for the $AC^0$ extractor.

3. Fourier Analysis for Lower Bounds

To prove the negative results (the error floor), the authors use the Linial-Mansour-Nisan (LMN) theorem. This theorem relates the average sensitivity of $AC^0$ functions to their Fourier spectrum, allowing the authors to bound the statistical distance between the extractor's output and a truly uniform distribution.

Key Results and Applications

The paper's contributions are both constructive and impossibility-defining:

  • Explicit $AC^0$ Extractor: For sources with min-entropy $k \ge n/\text{poly}(\log n)$, the authors construct an extractor with an error of $1/\text{poly}(n)$ using a seed length of $O(\log n)$.
  • Improved Locality: For low-entropy sources ($k \ge \log^2 n$), they achieve a locality of $O(\frac{n}{k} \log n)$. This is a significant improvement over previous sparse extractor families, particularly in how it optimizes the relationship between locality and entropy.
  • Pseudorandom Generators (PRGs): These extractors enable the construction of better PRGs in $AC^0$. These have applications both in cryptography (under standard assumptions) and in unconditional results for space-bounded computation.

Conclusion and Future Directions

This work shifts the understanding of what simple circuits can achieve in the realm of randomness extraction. While it establishes that $AC^0$ is more powerful than previously conjectured, it also defines the hard boundaries of that power through the $2^{-\text{poly}(\log n)}$ error floor.

Future research remains to bridge the remaining gaps. Specifically, the seed length for low-entropy constructions is currently $O(k)$, whereas the theoretical ideal is $O(\log n)$. Additionally, exploring whether $AC^0$ extractors can be optimized for other source models—such as independent or affine sources—remains an open challenge for the field.

Summary updated

BibTeX
@inproceedings{cheng2018randomness,
  author = {Kuan Cheng and Xin Li},
  title = {{Randomness Extraction in AC0 and with Small Locality}},
  booktitle = {APPROX-RANDOM},
  year = {2018},
  doi = {10.4230/lipics.approx-random.2018.37},
}
Figure