Randomized and Interactive Computation
Allowing algorithms to flip coins or to engage in a dialogue with a powerful but untrusted prover yields complexity classes such as BPP and IP that reshape our understanding of what efficient verification can achieve.
Definition
Randomized computation augments a machine with access to random bits and measures the probability of a correct answer, while interactive computation lets a polynomial-time verifier exchange messages with a prover; the resulting classes capture problems solvable with bounded error or verifiable through interaction.
Scope
This topic covers probabilistic complexity classes including BPP, RP, and ZPP and the question of whether randomness can be eliminated, interactive proof systems and the theorem identifying IP with PSPACE, zero-knowledge proofs, and probabilistically checkable proofs underlying the hardness of approximation.
Core questions
- Does access to randomness let algorithms solve more problems efficiently?
- Can a limited verifier check claims made by an untrusted, powerful prover?
- How can one be convinced a statement is true while learning nothing else?
- How does interactive and probabilistic proof checking constrain approximation?
Key theories
- IP equals PSPACE
- The languages provable by an interactive protocol between a polynomial-time verifier and an all-powerful prover are exactly those decidable in polynomial space, a striking measure of the power of interaction.
- The PCP theorem
- Every problem in NP has proofs that can be verified by reading only a constant number of randomly chosen bits, a result that pins down the precise threshold beyond which approximating many optimization problems is NP-hard.
Clinical relevance
These ideas have direct technological impact: zero-knowledge proofs enable authentication and privacy-preserving protocols and underpin verifiable computation in blockchains, while probabilistically checkable proofs explain why many optimization problems cannot be efficiently approximated, guiding where approximation algorithms can and cannot succeed.
History
Interactive and zero-knowledge proofs were introduced by Goldwasser, Micali, and Rackoff and by Babai in the mid-1980s. Shamir proved IP equals PSPACE in 1990, and the PCP theorem, completed by Arora and others in the early 1990s, revolutionized the study of approximation, while the standing conjecture that randomized polynomial time equals deterministic polynomial time remains open.
Debates
- Does randomness add genuine computational power?
- Many results suggest BPP equals P under plausible hardness assumptions, meaning randomness could in principle be removed from efficient algorithms. Whether this derandomization holds unconditionally is unresolved, leaving open how essential randomness really is.
Key figures
- Shafi Goldwasser
- Silvio Micali
- László Babai
- Adi Shamir
Related topics
Seminal works
- aroraBarak2009
- goldreich2008
Frequently asked questions
- How can flipping coins help an algorithm?
- Randomness lets an algorithm avoid worst-case inputs by making choices the adversary cannot predict, often yielding simpler or faster procedures, as in primality testing. The bounded-error class BPP captures problems solvable this way with a small, controllable chance of error.
- What is a zero-knowledge proof?
- It is an interactive protocol that convinces a verifier a statement is true while revealing nothing beyond its truth, not even why it holds. Such proofs allow, for example, proving you know a password or secret without disclosing it, and they are foundational to modern cryptographic privacy.