Randomisation and Derandomisation in Descriptive Complexity Theory

Kord Eickmeyer, Martin Grohe

This paper, published in Logical Methods in Computer Science, bridges the gap between two major fields: Computational Complexity (the study of resource-bounded computation) and Descriptive Complexity (the study of what can be defined in various logics).

While complexity theorists generally believe that randomness doesn't actually add power to algorithms (the $P = BPP$ conjecture), this paper shows that in the world of logic, randomness is surprisingly potent.

TL;DR

The authors introduce a framework for "probabilistic logics" and demonstrate that, unlike the suspected behavior of complexity classes, these logics often cannot be derandomised. They prove that adding randomness to First-Order logic (BPFO) allows it to express properties that even much more powerful deterministic logics cannot.

What Problem Does This Paper Address?

In Descriptive Complexity, we characterize complexity classes using logic (e.g., Fagin’s Theorem equates $NP$ with Existential Second-Order Logic). However, probabilistic classes like BPP (Bounded-error Probabilistic Polynomial time) have historically lacked a clean logical description.

The authors tackle two main questions:

  1. How do we formally define a "probabilistic version" of a logic?
  2. Can these probabilistic logics be "derandomised"? That is, is a probabilistic logic $BPL$ always equivalent to some standard deterministic logic $L$?

In mainstream complexity theory, the "derandomisation" of $BPP$ to $P$ is a major goal. The authors investigate if a similar collapse happens at the logical level.

Methods

The authors define a new class of logics, BPL (Bounded-error Probabilistic $L$), for any base logic $L$.

  • Random Expansions: They introduce randomness by allowing formulas to speak about "random relations" (think of these as extra bits of random input).
  • The Probability Gap: To mirror the definition of $BPP$, a property is definable in $BPL$ only if there is a significant "gap" in probability: a structure either satisfies the formula with probability $\ge 2/3$ or $\le 1/3$.
  • Separation Proofs: To prove that these logics are distinct, the authors use sophisticated tools from finite model theory, including:
  • Cai-Fürer-Immerman (CFI) graphs: Complex graph structures designed to be indistinguishable by standard logics.
  • The Birthday Paradox: Used to show that random relations can "break symmetry" in ways deterministic logic cannot.
  • Nisan’s Pseudorandom Generator: Used to show that in specific cases (like structures with addition), some derandomisation is possible.

Datasets

As a theoretical logic paper, it does not use empirical datasets. Instead, it uses classes of mathematical structures as benchmarks:

  • CFI Graphs: Used to separate BPFO from infinitary logic with counting.
  • Ordered Structures: Linear sequences used to test the limits of Monadic Second-Order logic (MSO).
  • Additive Structures: Structures representing the natural numbers $[0, n-1]$ with an addition relation, used to study the logic of circuit complexity ($AC^0$).

Key Insights and Ideas

  • Logic $\neq$ Complexity: The most striking insight is that while $P$ might equal $BPP$, BPFO is strictly more powerful than FO. Logic lacks the "computational overhead" to always implement the complex pseudorandom generators required for derandomisation.
  • Breaking Symmetry: Randomness allows a logic to "pick" an element or "label" a structure in a way that breaks its internal symmetries. Deterministic logics like FO are often "trapped" by symmetry, unable to distinguish between identical-looking parts of a graph.
  • The Power of a Random Order: On unordered structures, standard logics struggle. The authors show that a probabilistic logic can define a "random linear order" with high probability. This effectively turns an unordered problem into an ordered one, which is much easier to solve.

Key Results

  • BPFO vs. Infinitary Logic: The authors prove there is a query definable in BPFO that is not definable in $C^\omega_{\infty\omega}$ (infinitary logic with counting). This implies that standard logics like Fixed-Point Logic (IFP) cannot be derandomised.
  • BPFO vs. MSO: On ordered structures, BPFO can express properties that Monadic Second-Order logic (MSO) cannot.
  • Derandomisation on Additive Structures: In a rare "positive" result for derandomisation, they show that on structures with addition, BPFO is contained within MSO. This uses Nisan's PRG to show that the randomness can be "simulated" by second-order quantification.
  • Capturing BPP: They prove that BPIFP+C (Probabilistic Fixed-Point Logic with Counting) perfectly "captures" the complexity class $BPP$ on all finite structures.

Limitations and Future Work

  • Undecidable Syntax: Like many logics involving probability gaps, the set of "valid" formulas in BPL is undecidable. You can't easily check if a formula actually maintains the required $1/3$ vs $2/3$ probability gap.
  • Word Models: The authors leave open whether BPFO can be derandomised on "word models" (simple strings). This is a crucial gap, as many computer science applications rely on string processing.
  • Weak Uniformity: The paper suggests that for derandomisation to be possible in logic, the "uniformity" (the structural regularity) of the underlying structures must be very high. Exploring exactly how much structure is needed is a suggested path for future research.

Summary updated

BibTeX
@inproceedings{eickmeyer2010randomisation,
  author = {Kord Eickmeyer and Martin Grohe},
  title = {{Randomisation and Derandomisation in Descriptive Complexity Theory}},
  booktitle = {CSL},
  year = {2010},
  doi = {10.1007/978-3-642-15205-4\_23},
}
Figure