AI Foundationspredict · compress · act
act II

The Substrate

Real wires flip bits. Shannon showed there is still a hard ceiling — and a trick to reach it.

06

Channels: Pushing Through Noise

before this →Codes: Saying More with Less

A channel carries a message from sender to receiver. Noise corrupts it. The surprising result is that noise does not make reliable communication impossible — it just sets a speed limit with a name: channel capacity.

senderreceiverNOISE flips some bitscapacity C = max reliable rate
the rate must stay below capacity, or errors become unavoidable

The trick: add redundancy on purpose

If you want to say a single bit 1 over a noisy line, repeat it: 111. Majority vote recovers the bit — at the cost of sending three bits for one. That is an error-correcting code, and it trades rate for reliability.

Shannon’s noisy-channel theorem says something astonishing: for any noisy channel there is a maximum rate — the capacity — below which you can make errors as small as you like, while above it errors are unavoidable. You do not have to slow to a crawl to be perfect. You have to be just under the ceiling.

The two numbers that rule communication

source vs. channel, 1948

Source coding says: compress down to entropy. Channel coding says: stay under capacity. Do both and you have the optimum. These two theorems are the foundation stone under all networking and all storage.

the reachCapacity is not about cleverness. It is a property of the noise itself. No code can beat it; good codes approach it.
SOURCEentropy — the floor on bits
CHANNELcapacity — the ceiling on speed
REDUNDANCYthe currency you spend to be reliable
why it matters laterNoise is not only on wires. A model reading a messy, ambiguous world is decoding through a noisy channel. Robustness — to typos, to distribution shift, to adversarial input — is error correction by another name.
introduces →channelnoisechannel capacityerror-correcting code
← previousCodes: Saying More with Lessnext →Distance Between Beliefs