Overview
Randomness is a surprisingly powerful resource in modern computation, enabling algorithms that are dramatically simpler and faster than their deterministic counterparts. This course is a journey through several areas of theoretical computer science in which randomization has proved immensely successful, highlighting the core techniques that underlie the design and analysis of randomized algorithms. We will also explore their inherent limitations through tools such as query complexity and communication complexity.
Prerequisite background: A strong background in undergraduate algorithms. The material is largely complementary to Prof. Anupam Gupta’s Fall 2025 course on Randomized Algorithms.
Topics
Topics covered include:
- Sublinear Algorithms
- Query and Communication Complexity (limits of sublinear algorithms)
- Approximation algorithms via Randomized Rounding
- Algebraic fingerprinting and Polynomial Identity Testing
- Interactive proofs, PCP theorem, and Hardness of Approximation
- Random Walks and Markov chains
Lecture schedule
-
Lecture 1:
Course overview and randomization in action. Randomness as a computational resource;
verifying matrix multiplication by fingerprinting; deterministic vs. randomized equality testing;
Karger's contraction algorithm for global min-cut and its consequences.
-
Lecture 2:
Randomized complexity classes. Las Vegas and Monte Carlo algorithms; zero-error,
one-sided-error, and two-sided-error computation; ZPP, RP, co-RP, BPP, and PP; Markov's
inequality; ZPP versus RP and co-RP; containments relating randomized classes to P, NP, co-NP, and PSPACE.
-
Lecture 3:
Tail inequalities and reliable estimation. Expectation, variance, and independence;
Markov, Chebyshev, and Chernoff-Hoeffding bounds and their relative strengths; variance
reduction by averaging; Monte Carlo estimation; majority-vote
amplification for BPP.
-
Lecture 4:
Sublinear space algorithms and data streams. Streaming model and approximate
distinct-element counting; deterministic space lower bounds via fooling sets; distinct-element counting via
pairwise independent hashing.
-
Lecture 5:
Sublinear time algorithms for graph problems. Estimating connected components of a graph;
estimating minimum spanning tree weight via component counts; estimating matching size.
-
Lecture 6:
Graph coloring and palette sparsification. Palette Sparsification Theorem for (Δ + 1)-coloring;
applications to streaming algorithms, sublinear-query coloring algorithms, and
massively parallel algorithms.
-
Lecture 7:
Limits of sublinear computation. Deterministic, randomized, and distributional query
complexity; Yao's minimax principle; query lower bounds for graph connectivity;
public versus private randomness and Newman's theorem; one-way communication and the Index
problem; streaming space lower bounds for connectivity, directed reachability, and
bipartite matching.
-
Lecture 8:
Approximation algorithms and linear programming. Approximation guarantees, integer
programming, LP relaxations, and integrality gaps; deterministic rounding for weighted
Vertex Cover and restricted-assignment scheduling; randomized rounding for Set Cover.
-
Lecture 9:
Independent and correlated randomized rounding. Weighted Max SAT via uniform random
assignment and LP-guided rounding; limitations of independent rounding; rounding for minimum s-t cut.
-
Lecture 10:
Algebraic fingerprinting and polynomial identity testing. Schwartz-Zippel
lemma; polynomial identities versus zero functions over finite fields; randomized
polynomial identity testing; perfect-matching detection via the Edmonds and Tutte
matrices.
-
Lecture 11:
Probabilistically checkable proofs and hardness of approximation. Randomized local
verification of NP proofs; the
PCP theorem and its easy direction; the FGLSS reduction and Clique inapproximability; hardness
of Max-3SAT; an introduction to outer and inner verifiers and proof composition.
-
Lecture 12:
Algebraic proof checking and the PCP proof. Polynomial representation of
3-CNF formulas; linearity test; self-correction by random shifts; outer-product
consistency tests; a constant-query PCP verifier.
-
Lecture 13:
Markov chains, stationary distributions, and random walks. Finite Markov chains and
transition matrices; stationary distributions and expected return times; irreducibility,
periodicity, and convergence; random walks on undirected graphs; hitting and commute times.
-
Lecture 14:
Cover times and space-bounded computation. Cover times of general graphs;
randomized undirected reachability in logarithmic space and polynomial time; directed
reachability using random walks and probabilistic clocks; deterministic recursive reachability in O(log2 n) space.
Course Materials
- Course materials: All lecture notes and homeworks are available on NYU Brightspace.