Pseudorandom generators for width-3 branching programs

Raghu Meka, Omer Reingold, Avishay Tal

TL;DR

For nearly 30 years, Nisan's pseudorandom generator (PRG) stood as the state-of-the-art for fooling width-3 read-once branching programs (ROBPs) with a seed length of $O(\log^2 n)$. This paper finally breaks that barrier, introducing a novel PRG with a nearly optimal seed length of $\tilde{O}(\log n)$ for width-3 ROBPs, bringing theoretical computer science one step closer to proving that randomized space-bounded algorithms can be fully derandomized (BPL = L).

What Problem Does This Paper Address?

A central open question in complexity theory is understanding the trade-off between memory (space) and randomness, specifically whether every algorithm that uses randomness and logarithmic space can be simulated deterministically in logarithmic space (the BPL = L conjecture).

To prove this, researchers design Pseudorandom Generators (PRGs) that can "fool" space-bounded computations. These computations are modeled as Read-Once Branching Programs (ROBPs). Think of a ROBP as a state machine that reads an $n$-bit input exactly once, one bit at a time. The "width" of the program represents its memory capacity (e.g., width-3 means the machine has exactly 3 possible states at any given step).

In 1992, Noam Nisan created a breakthrough PRG that fools ROBPs of any polynomial width using a seed length of $O(\log^2 n)$. For width-2 programs, researchers later found PRGs with an optimal $O(\log n)$ seed length. However, for width-3, improving upon Nisan's $O(\log^2 n)$ bound has been a notorious bottleneck for decades. This paper directly tackles and solves this width-3 bottleneck.

Methods

The authors build on the "iterated milder restrictions" framework (originating from Ajtai-Wigderson). The high-level idea is to iteratively assign pseudorandom values to a fraction of the input variables. As variables are fixed, the branching program simplifies. Once it is simple enough, standard PRGs can finish the job.

To make this work for width-3 ROBPs, the authors introduce two major methodological novelties:

  1. The Relabeling Technique: When analyzing how a partial assignment simplifies the program, the authors look at the "bias function" (the average acceptance probability over the unassigned variables). They prove that this bias function is completely invariant to swapping the 0/1 labels on the unassigned edges. This allows them to artificially "relabel" the program to force it into a mathematically convenient form (called "locally monotone") without changing the math.
  2. Colliding Layers as a Progress Measure: A layer in the program is "colliding" if multiple edges merge into the same state. The authors use the number of colliding layers as a strict mathematical progress measure, proving that this number drops by a constant factor with every iteration of their pseudorandom restrictions.

Eventually, the program is reduced to the XOR of several short, simple ROBPs, which are then fooled using existing PRG architectures (like the INW generator).

Datasets

Not discussed in the paper. (As a theoretical computer science paper, the results are mathematical proofs rather than empirical evaluations on datasets).

Key Insights and Ideas

  • The Bias Function is Blind to Labels: The realization that the bias function doesn't care about the exact edge labels of unassigned variables is a massive analytical shortcut. By pretending the unassigned parts of the branching program are "locally monotone," the authors force collisions in the graph, which mathematically guarantees the width of the program will shrink from 3 to 2 under random restrictions.
  • Aggressive vs. Mild Restrictions: When reducing the problem to the XOR of many short ROBPs, the authors categorize the functions by their variance. For "high-variance" cases where the math threatens to blow up, they apply an "aggressive" pseudorandom restriction that kills off almost all variables, drastically simplifying the function while safely maintaining its expected output.
  • From Adaptive to Non-Adaptive: The authors initially design an adaptive process (a decision tree of random restrictions) that looks at the function to decide what to do next. Because a true PRG must be non-adaptive (it cannot know the function it is trying to fool in advance), they elegantly bypass this by taking the XOR of several pseudorandom assignments—one for every possible path in their decision tree.

Key Results

  • Main Theorem (Ordered Width-3): Constructed a PRG that $\varepsilon$-fools ordered width-3 ROBPs of length $n$ with a seed length of $\tilde{O}(\log(n/\varepsilon)) + O(\log(1/\varepsilon) \cdot \log(n))$. This is the first improvement over Nisan's 1992 result for width-3.
  • Unordered Width-3: Constructed a PRG for unordered width-3 ROBPs (where the program reads the input bits in an unknown, permuted order) with a seed length of $\tilde{O}(\log(n/\varepsilon)) + O(\text{poly}(1/\varepsilon) \cdot \log(n))$.
  • Read-Once Polynomials: Achieved a near-optimal PRG for read-once polynomials with a seed length of $\tilde{O}(\log(n/\varepsilon))$, vastly improving the previous best of $O(\log^2 n)$.

Limitations and Future Work

  • Dependence on Error ($\varepsilon$) in Unordered Programs: For unordered width-3 ROBPs, the seed length's dependence on the error parameter $\varepsilon$ is polynomial ($\text{poly}(1/\varepsilon)$), which is significantly worse than the logarithmic dependence achieved for ordered programs.
  • Scaling to Arbitrary Widths: The techniques here rely heavily on the specific structural properties of width-3 programs (e.g., reducing width-3 to width-2 via collisions). It is not immediately clear how to generalize this "colliding layers" progress measure to width-4, width-5, or arbitrary constant widths.
  • The Ultimate Goal: While a massive milestone, proving BPL = L ultimately requires achieving an $O(\log n)$ seed length for polynomial-width ROBPs, which remains an open challenge.

Summary updated

BibTeX
@inproceedings{meka2019pseudorandom,
  author = {Raghu Meka and Omer Reingold and Avishay Tal},
  title = {{Pseudorandom generators for width-3 branching programs}},
  booktitle = {STOC},
  year = {2019},
  doi = {10.1145/3313276.3316319},
}
Figure