Skip to Content
Chapter 10

Communication complexity: The common blade

Tomas Reimers 13 minute read

In 1979, Andrew Yao posed a deliberately tiny question . Two computers each hold half of the input — Alice has xx, Bob has yy — and they must compute some f(x,y)f(x, y). Charge them nothing for computation. Charge them only for communication, one unit per bit sent. How many bits must cross the wire? The model looks like a toy: it throws away everything Chapters 1 and 7 fought to formalize — steps, gates, tapes — and keeps a single resource; each party gets unlimited time and memory, every cleverness free of cost. The austerity is what makes its verdicts unconditional.

Lower bounds have been this book’s recurring heartbreak (Chapter 7 stalled at 3n3n gates; Chapter 8 has nothing against Frege, ordinary textbook logic), and the one style of argument that kept winning anyway — count the information that must cross a cut — is this model, isolated and industrialized. You have already used it at least four times without being told. This chapter names the weapon, shows its exact mechanics on the dinner party, re-reads Part III’s victories as message-passing, and climbs to the summit: a theorem converting circuit depth itself into a two-player conversation, carrying the field’s most concrete live plan for a real separation.

Three steps:

  1. The model and the matrix — protocols as rectangle partitions, a lower bound computed exactly, and the dinner party cut in half.
  2. The harvest — five bounds from earlier chapters, re-read as statements about one wire.
  3. Depth is a conversation — the Karchmer–Wigderson game, the monotone trophies, lifting, and the KRW route to separating P from NC¹ (the log-depth circuits parallelism can crush).

Alice, Bob, and the matrix

Fix a function f(x,y)f(x, y) with Alice holding xx (an nn-bit string) and Bob holding yy. A protocol is an agreed conversation plan: who speaks when, what each bit means, everything determined by the speaker’s input plus the bits spoken so far. Its cost is the worst-case number of bits exchanged, and D(f)D(f) — the deterministic communication complexity — is the cost of the best protocol. Two trivial anchors: D(f)≤n+1D(f) \le n + 1 always (Alice reads out xx, Bob announces the answer), and D(f)≥D(f) \ge whatever we can prove it is.

The proving tool is a single picture. Write ff as a matrix: one row per possible xx, one column per possible yy, the answer in each cell. Now watch a conversation from outside. Before anyone speaks, the live possibilities are the whole matrix. Each bit Alice sends depends only on her row, so it splits the live rows into two camps; each of Bob’s bits splits the live columns. When the protocol halts, the set of input pairs that would have produced this exact transcript is therefore a combinatorial rectangle — some set of rows times some set of columns — and since the transcript determines the answer, every cell of that rectangle must hold the same value. A cc-bit protocol partitions the matrix into at most 2c2^c monochromatic rectangles. That’s the whole theory. To prove a lower bound, show the matrix cannot be tiled by few monochromatic rectangles — and tile-counting is exactly the kind of thing mathematics is good at.

Here it is, run to completion on equality (EQ\mathrm{EQ}: answer 1 iff x=yx = y) at n=3n = 3:

Bob's y →Alice's x →0000000010010100100110111001001011011101101111111000000001000000001000000001000000001000000001000000001000000001Alice's bitBob's bit
EQ on 3 bits: Alice holds x, Bob holds y, answer 1 iff x = y. The full table of answers is an 8×8 matrix — all the protocol can do is carve it up by talking.
A conversation is a rectangle partition. EQ on 3 bits: any protocol carves the 8×8 answer matrix into monochromatic rectangles; two diagonal 1s can never share one (their off-diagonal corners are 0s), so ≥ 9 leaves are forced and 4 bits are necessary — exactly what the trivial protocol spends. Deterministic communication lower bounds are all, at bottom, this picture.

The matrix is the 8×88 \times 8 identity. No monochromatic 1-rectangle can contain two diagonal cells: a rectangle holding (x,x)(x,x) and (y,y)(y,y) also holds (x,y)(x,y), which is a 0. So the eight diagonal 1s demand eight distinct 1-rectangles, the 0s need at least one more, and 2c≥92^c \ge 9 forces c≥4c \ge 4 — which the trivial protocol (three bits of xx, one bit of verdict) meets exactly. In general D(EQ)=n+1D(\mathrm{EQ}) = n + 1: equality of two nn-bit strings costs the whole string, deterministically.

A set of inputs that pairwise refuse to share a rectangle is called a fooling set, and you have met one before. Chapter 5’s lower-bound template for OBDDs counted distinguishable situations across a cut to force the diagram’s width. That argument was this argument, one-way.

Now the running example, cut down the middle. The dinner party, in full one last time: φ=(a∨b∨c)(¬a∨¬b)(¬b∨¬c)(¬c∨d)(¬d∨c)(¬a∨¬d)\varphi = (a \lor b \lor c)(\neg a \lor \neg b)(\neg b \lor \neg c)(\neg c \lor d)(\neg d \lor c)(\neg a \lor \neg d) — Chapter 2’s four guests and six constraints, with exactly three solutions {a}\{a\}, {b}\{b\}, {c,d}\{c,d\}. Give Alice the variables (a,b)(a, b) and Bob (c,d)(c, d), and ask them to decide whether their combined assignment satisfies φ\varphi. Alice has four possible inputs, but compute what her half actually induces on Bob’s half and only three distinct subfunctions survive:

  • with a=b=0a{=}b{=}0, dinner needs exactly c∧dc \wedge d;
  • with exactly one of a,ba, b present, the surviving solutions need ¬c∧¬d\neg c \wedge \neg d;
  • with a=b=1a{=}b{=}1, the clause (¬a∨¬b)(\neg a \vee \neg b) is already violated, and no (c,d)(c,d) can help.

Alice’s entire relevant knowledge is which of three situations she’s in — three necessary messages, not four. (The match with the count of solutions is a coincidence: {a}\{a\} and {b}\{b\} share the middle situation, and the third situation permits no solution at all.) Chapter 5’s OBDD, built on the order a,b,c,da, b, c, d, has width 3 at this cut, counting the dead end, for exactly this reason: the diagram’s nodes are these messages, laid out as data structure.

Does randomness change the game?

Let Alice and Bob share a random string and tolerate error, and this field’s own razor edge appears. For equality, the deterministic n+1n + 1 collapses: pick a shared random vector rr, have Alice send the single bit ⟨x,r⟩ mod 2\langle x, r \rangle \bmod 2 (the parity of the bitwise AND of xx and rr), and have Bob reply with his own parity of yy. When x≠yx \neq y, the positions where they differ give the comparison a fair-coin flip, so each round catches unequal strings with probability 12\tfrac12 — three rounds, six bits, error 18\tfrac18, for strings of any length (this fingerprinting trick is why rsync and content-addressed storage work). So deterministic bounds can evaporate under randomness. The field’s load-bearing fact is that one function refuses: set disjointness (DISJ\mathrm{DISJ}: Alice and Bob each hold a subset of {1,…,n}\{1, \ldots, n\}; do the sets intersect?) costs Ω(n)\Omega(n) bits even for randomized protocols  (Razborov 1992). Disjointness is the workhorse pulling half the results below — when you need hardness that survives every trick, you reduce from DISJ\mathrm{DISJ}.

The harvest: five bounds, one wire

Look back at what most of the proofs in this book’s lower-bound campaign were actually about:

  • Chapter 5’s OBDD bound was a protocol by construction: a decision diagram’s width at a cut equals the number of distinct messages the left variables must be able to send the right ones, physically laid out as nodes — and Bryant’s theorem says multiplication forces 2n/82^{n/8} distinguishable messages under every variable order.
  • The 1965 crossing-sequence argument (Chapter 7’s accordion) watches the boundary between two tape cells and counts what must flow across it. The tape boundary is the wire; the crossing sequence is the transcript.
  • Urquhart’s Tseitin formulas (Chapter 9) put parity charges on a graph’s nodes precisely so that any resolution refutation must track charge across the graph’s cuts, paying in clause width; expanders are graphs where every cut is crossed by many edges, so the payment comes due everywhere.
  • Pudlák’s cutting-planes bound (Chapter 8) extracts, from any short proof, a small monotone circuit solving a related separation problem, then kills it with Chapter 7’s monotone lower bounds. The extraction (feasible interpolation) splits the formula’s variables between two sides and reads the proof as a conversation across the split.

The fifth is new, and it reaches into your optimizer’s job description. Say you want to solve traveling-salesman by writing one polynomial-size linear program (LP — a system of linear inequalities a solver optimizes over). Helper variables do the combinatorial work: choose constraints so that the feasible region’s shadow (its projection down to the original variables) is the TSP polytope, the geometric solid whose corners are exactly the valid tours. In 1991, Yannakakis proved  that the smallest such LP is governed by how few nonnegative pieces the polytope’s slack matrix (the table of how far each corner sits from each defining inequality) factors into — and each nonnegative piece is positive exactly on some set of corners times some set of inequalities, which is to say on a rectangle of the table. Bounding the factorization is a rectangle-covering problem: this chapter’s game in matrix clothing.

On that bridge, Fiorini and coauthors showed in 2015  that the TSP polytope needs exponentially many inequalities, and Rothvoss did the same for matching  — matching, a problem in P. No clever modeling, no change of variables, no amount of solver engineering escapes it: these are unconditional theorems, won by message-passing, about what your optimizer can never be asked to do with one small LP.

But communication arguments see only a computation’s information flow, never its work. The boundary doesn’t care what’s computing on either side — which is exactly why these bounds are unconditional while P vs NP waits, and also why they bound only structures with identifiable boundaries (variable orders, tape cells, proof interfaces) and go silent on unrestricted time.

Depth is a conversation

In 1990, Mauricio Karchmer and Avi Wigderson found a boundary hiding inside every circuit : the gap between a yes-instance and a no-instance. The Karchmer–Wigderson game for a function ff: give Alice an input xx with f(x)=1f(x) = 1 and Bob an input yy with f(y)=0f(y) = 0, and ask them to agree on one coordinate where xx and yy differ (one must exist — ff tells them apart). Their theorem is an exact identity, not an inequality: the circuit depth of ff equals the communication cost of its game, bit for bit.

A circuit yields a protocol. Walk down from the root maintaining one invariant — the current gate computes 1 on xx and 0 on yy — which holds at the root by assumption. At an OR gate (true on xx, false on yy), some child is true on xx while every child is false on yy, so Alice names her true child and the invariant survives; at an AND gate, dually, Bob names his false child. The walk bottoms out at a variable that reads 1 on xx and 0 on yy: a differing coordinate, found in depth-many bits (gates have two children, so naming one costs a bit). The converse converts a protocol’s conversation tree into gates the same way, Alice’s turns becoming ORs and Bob’s becoming ANDs.

∨∧∧x₁x₂x₃x₄1. Alice: “my left ∧ is true” (1 bit)2. Bob: “your x₂ is my 0” (1 bit)leaf x₂: 1 ≠ 0 ✓Alice x = 1100, f(x) = 1Bob   y = 1010, f(y) = 0
protocol ⇒ circuit and circuit ⇒ protocol, both exact: depth(f) equals the game's communication, bit for bit
The Karchmer–Wigderson game, played on (x₁∧x₂)∨(x₃∧x₄). Alice holds an input the circuit accepts (1100), Bob one it rejects (1010); they must agree on a coordinate where their inputs differ. Walking the circuit does it: at each OR Alice names a child that is true for her, at each AND Bob names one false for him, and the leaf they reach (x₂: Alice has 1, Bob has 0) is a difference. One bit per gate level, in both directions — circuit depth IS the cost of this conversation, exactly.

Why depth? Depth is the parallel time of a computation (a depth-dd circuit is a dd-round parallel machine), and NC¹ (log-depth circuits, the problems parallelism can crush) sits inside P like a question mark: nobody has proven P ≠ NC¹ — that is, that any polynomial-time problem resists log-depth parallelization. The KW identity converts that whole question into message-counting. And in the monotone world (Chapter 7’s one conquered province, where the game asks for a coordinate with xi=1x_i = 1 and yi=0y_i = 0), message-counting delivered. Karchmer–Wigderson proved graph connectivity needs Ω(log⁡2n)\Omega(\log^2 n) monotone depth, and Raz and Wigderson proved matching needs linear monotone depth : real, unconditional separations for natural problems, exactly the kind of statement the non-monotone campaign has never produced. The supporting industry is lifting: theorems (Raz–McKenzie 1999 ; Göös–Pitassi–Watson 2018 ) that take a lower bound in the query world (decision trees, where bounds are almost embarrassingly easy to prove — Chapter 7’s Ω(nlog⁡n)\Omega(n \log n) sorting bound is one) and mechanically “lift” it into a communication bound by replacing each queried variable with a small fixed two-party subproblem (a gadget). This factory has been retooling proof complexity and monotone complexity for a decade.

The summit is a conjecture. Karchmer, Raz, and Wigderson proposed  (1995) that when you compose functions (ff applied to blocks, gg inside each block), the games’ costs must essentially add — no conversational shortcut can beat playing both games. Prove that KRW composition conjecture and iterated composition manufactures an explicit function of superlogarithmic depth inside P. Compose a function whose game costs log⁡n\log n bits with itself log⁡n\log n times: if each layer must pay its full cost, the depths stack to roughly log⁡2n\log^2 n, superlogarithmic, while the composed function, built from polynomially many small pieces, plainly stays polynomial-time computable. That is P ≠ NC¹, a genuine, unconditional separation of famous classes, by pure message-passing. Partial cases (compositions with universal relations, with specific inner functions) keep falling, which is why Chapter 14’s open-problems board lists KRW as the separation with a concrete, partially-executed plan of attack. One asterisk: the barrier chapters ahead apply here too (Chapter 12’s natural-proofs fence looms over any approach this combinatorial), and nobody claims the last step is close. But of everything in Part III, this is the program whose next theorem is most likely to be a headline.

What happens with more than two players?

The known techniques hit a wall, at a suspiciously familiar altitude. In the number-on-forehead model (Babai–Nisan–Szegedy 1992 ), kk players each see everyone’s input but their own (picture the inputs written on foreheads). Overlapping knowledge makes lower bounds brutally hard, and the known techniques lose a factor per player: every bound decays to nothing by k=log⁡nk = \log n players. The suspicious part: an explicit lower bound for polylogarithmically many players, just past where the techniques die, would imply lower bounds against ACC⁰ — precisely the class where Chapter 13’s Williams theorem had to invent a new method, at the exact altitude where Chapter 7’s campaign froze. Three different research programs, one shared wall, visible from three directions. Nobody thinks that’s a coincidence, and Part IV is about what the coincidence means.

The battlefield is circuits; the victories — diagram width, crossing sequences, clause width, cutting planes, polytopes, depth-via-games — are real; and they share one blade: find the boundary, count what must cross it. What no amount of blade-sharpening has produced is a bound against unrestricted polynomial time, and the stall is too uniform, across too many independent weapons, to be bad luck. It isn’t: three theorems explain exactly why every technique in this part of the book falls short of the main question, and the first was already on the books in 1975, quietly waiting for everyone to notice what it implied. That first theorem starts with a seemingly innocent question: what happens to all of this if everyone gets free access to the same magic subroutine?

Further reading

Last updated on