Fooling Restricted Computational Models with Short Pseudorandom Seeds

28 concepts20 papers3 proposals

Suppose you have a randomized algorithm that uses $n$ truly random bits to solve a problem. To eliminate this reliance on randomness—a process known as derandomization—you could try to replace those $n$ random bits with a deterministic sequence.

A standard tool for this is a Pseudorandom Generator (PRG), an algorithm that takes a very short, truly random "seed" of length $s$ and stretches it into a long string of length $n$ that looks random. If you can make the seed length near-optimal ($s = O(\log n)$), you can simply run your algorithm deterministically on all $2^s = \text{poly}(n)$ possible seeds and take a majority vote, achieving full derandomization in polynomial time.

But how do you guarantee that a deterministic string will "fool" an algorithm? If you try to fool every possible function, a mathematical counting argument shows that your seed must be almost as long as the output ($s \approx n$), offering no computational savings.

The core insight of space-bounded derandomization is that real computational models—such as space-bounded algorithms, threshold gates, and decision trees—are structurally limited. They cannot track complex, global correlations across all bits simultaneously. By identifying and exploiting these structural "blind spots," researchers can design PRGs with incredibly short seeds that perfectly mimic true randomness for specific classes of functions.

Exploiting Local Blind Spots: Bounded Independence

Let us start with one of the simplest structural building blocks in computer science: the halfspace (or linear threshold function). A halfspace takes a weighted sum of its inputs and checks whether it exceeds a certain threshold.

Can a halfspace tell the difference between true randomness and a distribution where only small subsets of bits are independent? In Bounded Independence Fools Halfspaces, Parikshit Gopalan et al. proved that $k$-wise independent distributions are sufficient to fool any halfspace. This means that if you ensure every subset of $k$ bits looks perfectly random, the entire halfspace is fooled, even if the global string is highly structured.

Building on this, Parikshit Gopalan et al. in Fooling functions of halfspaces under product distributions extended these techniques using a "monotone trick" to handle more general, non-monotone functions of halfspaces under various product distributions. By reducing the required seed length, the authors showed that simple forms of bounded randomness possess surprising derandomization power. This line of work was further expanded by Valentine Kabanets et al. in Algorithms and Lower Bounds for De Morgan Formulas of Low-Communication Leaf Gates, demonstrating how bounded independence can fool complex compositions of threshold functions.

Memory Constraints and Fourier Growth

What about algorithms that process data sequentially using very little memory? These are modeled as Read-Once Branching Programs (ROBPs). An ROBP reads one input bit at a time and transitions between a limited number of states (its "width").

Because a small-width program forgets old information as it moves forward, it cannot track complex, long-range dependencies. To exploit this, researchers analyze the Fourier growth of the branching program—a mathematical measure of how much the function's output depends on high-order interactions between input bits. If a model's higher-order Fourier coefficients decay rapidly, it means the model is fundamentally blind to high-frequency variations in the input.

In Pseudorandomness and Fourier Growth Bounds for Width-3 Branching Programs, Thomas Steinke et al. established new bounds on Fourier growth to drastically shorten the seed length required to fool width-3 ROBPs. This approach was generalized by Parikshit Gopalan et al. in Pseudorandomness via the Discrete Fourier Transform, showing that the discrete Fourier transform can be leveraged to construct near-logarithmic seed length PRGs for broad classes of geometric and linear shapes.

For decades, Nisan's classic PRG stood as the benchmark for space-bounded derandomization with a seed length of $O(\log^2 n)$. Recently, Raghu Meka et al. broke through this barrier in Pseudorandom Generators for Width-3 Branching Programs, achieving a nearly optimal seed length of $\tilde{O}(\log n)$. This brings complexity theory remarkably close to proving $\mathsf{BPL} = \mathsf{L}$—the proposition that any randomized log-space algorithm can be simulated deterministically with the same space complexity. Further refinements for specialized structures, such as monotone or regular branching programs, have been advanced by Dean Doron et al. in Pseudorandom Generators for Read-Once Monotone Branching Programs and Omer Reingold et al. in Pseudorandomness for Regular Branching Programs via Fourier Analysis.

Hitting Sets: A Shortcut to Two-Sided Derandomization

Traditionally, derandomization tools come in two flavors:

  1. Pseudorandom Generators (PRGs): Fool algorithms with two-sided error by accurately approximating the exact probability that an algorithm accepts an input.
  2. Hitting Set Generators (HSGs): Fool algorithms with one-sided error. They simply guarantee that if an algorithm accepts a large fraction of inputs, the generator will output at least one string that causes it to accept.

Intuitively, HSGs are much easier to construct than PRGs because they do not need to preserve the exact statistics of the distribution; they just need to "hit" the accepting region once.

However, a remarkable result by William M. Hoza in Hitting Sets Give Two-Sided Derandomization of Small Space bridged this gap for space-bounded computation. The author demonstrated that if an explicit log-space hitting set exists for polynomial-width branching programs, it can be mathematically transformed into a full, two-sided derandomization ($\mathsf{BPL} = \mathsf{L}$). This means that to completely eliminate randomness from log-space algorithms, we do not necessarily need the full statistical power of a PRG; a well-structured hitting set is enough. The structural implications of this relationship for restricted models like permutation branching programs continue to be mapped out, as explored by Dean Doron et al. in Implications of Better PRGs for Permutation Branching Programs.

Circuits, Decision Trees, and Cryptographic Seeds

The philosophy of exploiting structural blind spots extends beyond branching programs and halfspaces into circuit complexity and cryptography.

For instance, Boolean circuits ($\mathsf{AC}^0$) and decision trees can be fooled by simplifying their structure via random restrictions—forcing a subset of bits to fixed values so that the remaining formula collapses into a simpler form. In Improved Pseudorandom Generators from Pseudorandom Multi-switching Lemmas, Rocco A. Servedio et al. introduced a "pseudorandom multi-switching lemma" to construct state-of-the-art PRGs for $\mathsf{AC}^0$ circuits and sparse polynomials without relying on unproven complexity assumptions. Similarly, Zelin Lv et al. in Fooling Near-Maximal Decision Trees introduced the concept of "$k$-wise probable uniformity" to achieve nearly optimal seed lengths for fooling large decision trees.

Even in cryptographic settings, where PRGs are built from one-way functions, space-bounded derandomization plays a key role. As shown by Iftach Haitner et al. in On the Power of the Randomized Iterate, one can derandomize the selection of hash functions within cryptographic constructions by employing bounded-space generators. This dramatically reduces the overall seed length required, making foundational cryptographic primitives significantly more efficient.

As highlighted in the comprehensive overview by Markus Bläser et al. in Algebraic Methods in Computational Complexity (Dagstuhl Seminar 18391), these diverse approaches share a unified algebraic and combinatorial goal: finding the minimal amount of true randomness needed to simulate complex systems, steadily pushing seed lengths toward the theoretical optimum.

Key Foundational Work

Fooling functions of halfspaces under product distributions (2010) — contributed 3 concept elements to this direction.
Bounded Independence Fools Halfspaces (2010) — contributed 1 concept elements to this direction.
Pseudorandom Bit Generators That Fool Modular Sums (2009) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_derandomization_challenges_81c9c634,
  title = {derandomization challenges},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/derandomization-challenges/rdr_81c9c63458114c7d85713fdb0d127cb3},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_derandomization_challenges_81c9c634_v1,
  title = {derandomization challenges},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/derandomization-challenges/rdr_81c9c63458114c7d85713fdb0d127cb3/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake