Gelfand-Pinsker and Costa's Dirty-Paper Coding
Anchor (Master): Cover & Thomas 2006 Elements of Information Theory 2e (Wiley) §7.6; Gelfand & Pinsker 1980 Capacity of a broadcast channel with one deterministic component; Costa 1983 Writing on Dirty Paper; Csiszar & Korner 2011 Information Theory: Coding Theorems for Discrete Memoryless Systems 2e (Cambridge) §7.3
Intuition Beginner
Someone hands you a piece of paper covered in random scribbles and asks you to write a legible message on it. The scribbles are interference — they corrupt whatever you write. But there is a catch: you can see the scribbles before you write. You know exactly where every mark is.
Costa called this "writing on dirty paper." The result is stunning: if you know the interference ahead of time, you can pre-cancel it and write as if the paper were clean. The capacity is the same as if the interference did not exist.
How? You write your message in a way that is mathematically orthogonal to the scribbles. The receiver sees your message plus the scribbles plus new noise, but because your encoding is correlated with the known scribbles in a specific way, the decoder can extract your message without the scribbles causing any degradation.
The key mathematical trick is binning. You have a large codebook of auxiliary codewords. For each interference pattern, you pick a codeword from the bin that is "compatible" with that interference. The bin structure ensures that the decoder can identify both the interference and your message from the received signal.
This is different from feedback (where you learn past outputs). Here you learn the future interference before transmitting. It is also different from simply subtracting the interference, because you have a power constraint — you cannot transmit infinite power to overwhelm it.
The result has revolutionized wireless communications. In MIMO (multiple-input multiple-output) systems, the transmitter often knows the channel state, which acts like known interference. Dirty-paper coding achieves the full MIMO capacity by pre-canceling the known channel effects.
Visual Beginner
Figure: three versions of a Gaussian channel. Left: clean channel . Center: dirty channel with unknown interference . Right: dirty channel with known at transmitter, using dirty-paper coding to achieve the clean-channel capacity.
| Scenario | Interference known? | Capacity |
|---|---|---|
| Clean channel () | No interference | |
| Dirty channel, unknown | No | Reduced (interference hurts) |
| Dirty channel, known at TX | Yes, non-causally | (same as clean!) |
The capacity with known interference equals the capacity without interference. The transmitter "writes around" the dirt.
Worked example Beginner
A Gaussian channel has where the transmitter power constraint is , the noise variance is , and the interference has variance .
Without knowing : the interference acts as additional noise, and the effective noise variance is . Capacity bits per channel use.
With known at the transmitter (dirty-paper coding): the capacity equals bits per channel use — the same as if did not exist. The tenfold increase comes from pre-canceling the strong interference.
The encoder uses with . The codeword carries the message. The actual channel input is , which satisfies the power constraint. The receiver sees . Since is designed to be independent of , the decoder can recover (and hence the message) with the same performance as a clean channel.
Check your understanding Beginner
Formal definition Intermediate+
A channel with state has transition probabilities where is the channel state, is the input, and is the output. The state sequence is i.i.d. from .
Definition (Code with non-causal state information). A code with non-causal state information at the encoder consists of:
- An encoder mapping the message and the state sequence to the channel input .
- A decoder mapping the output to a message estimate.
The encoder knows the entire state sequence before encoding (non-causal knowledge).
Theorem (Gelfand-Pinsker 1980). The capacity of a channel with state known non-causally at the transmitter is:
where the maximum is over all auxiliary random variables and encoding functions such that forms a Markov chain.
Theorem (Costa 1983, Dirty-paper coding). For the Gaussian channel where is known at the transmitter, is unknown noise, and :
The interference causes no rate loss.
Key theorem with proof Intermediate+
Theorem (Gelfand-Pinsker achievability). The rate is achievable for any distribution and encoding function .
Proof (random binning).
Codebook generation. Generate codewords for by drawing each symbol i.i.d. from . Randomly partition the codewords into bins of size . Label the bins by message index .
Encoding. Given message and state sequence :
- Look in bin for a codeword that is jointly typical with . Since each bin has codewords, and there are sequences in the jointly typical set, a typical codeword exists in the bin with high probability provided , i.e., — this needs adjustment. The correct analysis: the total number of codewords is and the number of jointly typical pairs is . A codeword in bin is jointly typical with with probability , so a bin of size contains a jointly typical codeword with high probability.
- Transmit for .
Decoding. The decoder looks for the unique codeword jointly typical with . Since there are codewords, the probability of confusion is , which vanishes when .
Rate. The encoder uses bits per channel use.
Bridge. The Gelfand-Pinsker theorem builds toward the entire class of "writing on dirty paper" results by introducing the auxiliary-variable binning technique that pre-cancels known interference. This is exactly the same binning structure that appears in Slepian-Wolf 46.05.01 and Wyner-Ziv 46.05.02, but applied in the channel coding direction: the encoder bins auxiliary codewords by their compatibility with the known state sequence. The result appears again in the broadcast channel 46.06.02 through Marton's inner bound, where the transmitter bins codewords for one receiver conditioned on the "interference" created by the other receiver's message. The foundational reason dirty-paper coding works is that the rate penalty for making the codeword compatible with the state is exactly compensated by the rate gain from the decoder's ability to identify the correct codeword — for the Gaussian case with the optimal , these terms balance perfectly, yielding zero net penalty. Putting these together, the central insight is that non-causal transmitter side information is a fundamentally different resource than causal feedback: knowing the future interference allows pre-cancellation at no asymptotic rate cost for the Gaussian channel, while knowing past outputs (feedback) provides no rate gain at all for the memoryless channel.
Exercises Intermediate+
Lean formalization Intermediate+
Mathlib does not define channels with state, the Gelfand-Pinsker capacity formula, or Costa's dirty-paper result. The formula requires optimizing over auxiliary random variables with a Markov chain constraint. The binning achievability proof requires partitioning auxiliary codewords by state compatibility. The Costa result requires Gaussian auxiliary variable optimization with a power constraint. None of these are formalized. This unit ships without formalization.
Advanced results Master
The Gelfand-Pinsker formula as an optimization
The Gelfand-Pinsker capacity can be interpreted as follows. The term is the rate cost of making the auxiliary codeword compatible with the state (binning cost). The term is the rate benefit of the decoder identifying the correct codeword. The net rate is the difference.
For discrete channels, the optimization is over finite alphabets and can be solved numerically using the Blahut-Arimoto algorithm adapted for the Gelfand-Pinsker setting. The auxiliary variable can be restricted to by the cardinality bound for auxiliary variables.
Costa's result and the cancellation parameter
Costa's choice with is optimal for the Gaussian case. The parameter balances two effects:
- : no interference cancellation, rate is .
- : full pre-subtraction, but has variance , which may violate the power constraint.
The optimal maximizes the net rate over all . At this value, the effective noise seen by the decoder (after accounting for the correlation between and ) has the same variance as the original noise , giving the clean-channel capacity.
Duality between Gelfand-Pinsker and Wyner-Ziv
The Gelfand-Pinsker theorem and the Wyner-Ziv theorem are information-theoretic duals:
| Wyner-Ziv (source coding) | Gelfand-Pinsker (channel coding) | |
|---|---|---|
| Side info location | Decoder | Encoder |
| Rate formula | ||
| Minus sign | Subtract decoder's knowledge | Subtract encoder's knowledge of state |
| Binning direction | Bin by source, decode with side info | Bin by state, encode with message |
In both cases, the rate equals the difference of two mutual informations, representing net information after accounting for side information. The minus term quantifies the side information's contribution.
Writing on fading paper
The dirty-paper model extends to fading channels where the state affects the channel multiplicatively: , where is the fading coefficient (channel gain). When is known at the transmitter, the "writing on fading paper" result shows that pre-coding can partially compensate for the fading.
However, for fading channels, the result is more nuanced than Costa's original setting. The multiplicative state means the interference scales with the input, and the optimal coding strategy involves both power allocation (water-filling) and dirty-paper pre-coding. The combination achieves the broadcast channel capacity for the Gaussian fading MIMO channel.
Synthesis. The Gelfand-Pinsker theorem and Costa's dirty-paper coding are the central results on channel coding with non-causal transmitter side information, establishing that known interference can be pre-cancelled at no asymptotic rate cost for the Gaussian channel. The central insight is that binning auxiliary codewords by state compatibility allows the encoder to "write around" the known interference while the decoder identifies the correct codeword from the received signal. The rate formula represents net information after the binning cost, and the foundational reason Costa's result achieves zero penalty is that the optimal auxiliary variable creates a perfect correlation structure that cancels the interference at the decoder. The result builds toward the MIMO broadcast channel 46.06.02 via successive dirty-paper encoding, the interference channel 46.06.04 via per-transmitter DPC, and is dual to Wyner-Ziv 46.05.02 in the source-channel coding duality. Putting these together, dirty-paper coding is the single most important technique for exploiting transmitter side information, and its impact on modern wireless communications (MIMO, cognitive radio, interference management) is foundational.
Full proof set Master
Proposition (Costa's dirty-paper capacity). For with known at the transmitter, unknown, and , the capacity is .
Proof. Achievability. Let with independent of , and to be optimized. The encoder, given , transmits .
Power constraint: . Since is independent of in the codebook generation, , so . (Wait — actually , so when and are designed such that . This is satisfied by construction.)
Received signal: .
. has variance . has variance . . So .
.
.
Rate .
Setting and simplifying yields .
Connections Master
46.05.01— Slepian-Wolf uses the same binning technique in the source coding context; Gelfand-Pinsker applies binning to channel coding with state.46.05.02— Wyner-Ziv is the source-coding dual of Gelfand-Pinsker: both use auxiliary variables and rate formulas with a difference of mutual informations.46.06.02— Marton's inner bound for the broadcast channel uses dirty-paper coding to pre-cancel interference between users.46.06.04— The Han-Kobayashi bound for the interference channel uses dirty-paper coding at each transmitter to manage cross-interference.46.03.01— The standard channel capacity is the Gelfand-Pinsker capacity when the state is absent (): the formula reduces to .46.03.06— Feedback (causal output knowledge) does not increase capacity, while non-causal state knowledge does — the contrast highlights the importance of timing in side information.
Historical & philosophical context Master
Sergius Gelfand and Mark Pinsker published "Coding for Channel with Random Parameters" in Problems of Control and Information Theory (vol. 9, no. 1, 1980, pp. 19-31). The paper established the general formula for channels with non-causal state information at the transmitter and introduced the binning technique for the channel coding setting.
Max Costa published "Writing on Dirty Paper" in the IEEE Transactions on Information Theory (IT-29, no. 3, 1983, pp. 439-441). The paper is one of the shortest and most impactful in information theory — only three pages — and showed that the Gelfand-Pinsker capacity for the Gaussian channel equals the clean-channel capacity. Costa's choice of with is an elegant application of the Gelfand-Pinsker framework.
The practical significance of dirty-paper coding was not fully appreciated until the rise of MIMO systems in the late 1990s and early 2000s. Yu and Cioffi (2004) showed that DPC achieves the sum-rate capacity of the Gaussian MIMO broadcast channel, and Weingarten, Steinberg, and Shamai (2006) proved that DPC achieves the entire capacity region. These results established DPC as the theoretical benchmark for multi-user MIMO communication.
The binning technique introduced by Gelfand-Pinsker has become the standard tool for channel coding with side information and appears in cognitive radio channels (where the secondary user knows the primary user's message), interference channels, and broadcast channels.
Bibliography Master
@article{gelfand-pinsker1980,
author = {Gelfand, S. I. and Pinsker, M. S.},
title = {Coding for Channel with Random Parameters},
journal = {Problems of Control and Information Theory},
volume = {9},
number = {1},
pages = {19--31},
year = {1980},
}
@article{costa1983,
author = {Costa, M. H. M.},
title = {Writing on Dirty Paper},
journal = {IEEE Transactions on Information Theory},
volume = {IT-29},
number = {3},
pages = {439--441},
year = {1983},
}
@book{cover-thomas2006,
author = {Cover, T. M. and Thomas, J. A.},
title = {Elements of Information Theory},
edition = {2nd},
publisher = {Wiley},
year = {2006},
}
@article{yu-cioffi2004,
author = {Yu, W. and Cioffi, J. M.},
title = {Sum Capacity of Gaussian Vector Broadcast Channels},
journal = {IEEE Transactions on Information Theory},
volume = {50},
pages = {1875--1892},
year = {2004},
}
@article{weingarten-steinberg-shamai2006,
author = {Weingarten, H. and Steinberg, Y. and Shamai, S.},
title = {The Capacity Region of the Gaussian Multiple-Input Multiple-Output Broadcast Channel},
journal = {IEEE Transactions on Information Theory},
volume = {52},
pages = {3936--3964},
year = {2006},
}