Digital Communications

Costa Precoding

/KOH-stuh pree-KOH-ding/
Proved by Max Costa in his 1983 paper "Writing on Dirty Paper," this result shows that interference known non-causally at the transmitter can be perfectly pre-cancelled, so the achievable rate equals that of an interference-free channel with no power penalty and without the receiver ever knowing the interference. It is the information-theoretic foundation of dirty-paper coding and the optimal downlink strategy for the multiuser MIMO broadcast channel, where the base station knows every user's signal and can subtract each one before transmission. Random-binning Costa coding is too complex to deploy directly, so practical transmitters use lattice approximations such as Tomlinson-Harashima precoding.
Category: Digital Communications
Origin: M. Costa, 1983
Capacity penalty: 0 (ideal DPC)

Writing on Dirty Paper: The Costa Result

Costa's 1983 theorem answered a question that seemed counter-intuitive: if a channel adds Gaussian interference s that the transmitter knows in advance but the receiver does not, how much capacity is lost? The surprising answer is none. By treating the interference as side information available only at the encoder, Costa constructed a random-binning argument in which each message maps to a bin of auxiliary codewords, and the transmitter selects the codeword whose correlation with the known interference allows the receiver to decode after a simple subtraction. The resulting rate is identical to a channel with no interference at all, which is why the construction earned the memorable name "writing on dirty paper."

The mechanism that makes this work is the auxiliary variable u = x + αs, where x is the transmitted codeword, s is the known interference, and α is a scalar inflation factor. Costa showed that choosing α equal to the ratio P/(P + N), the minimum-mean-square-error coefficient, maximizes the mutual information I(u; y) minus I(u; s) and recovers the full interference-free rate. This single insight separated the side-information problem from the noise problem and made the broadcast downlink tractable.

In a multiuser MIMO downlink the base station generates the signals for all served users, so the cross-user interference is exactly the kind of transmitter-known interference Costa assumed. Encoding users one at a time and pre-subtracting each previously encoded user's contribution lets the base station deliver every user a clean channel. Weingarten, Steinberg, and Shamai later proved that this sequential dirty-paper coding achieves the full capacity region of the Gaussian MIMO broadcast channel, elevating Costa precoding from a clever bound to the proven optimum.

Governing Equations

Dirty-Paper Channel Model:
y = x + s + z,  z ∼ N(0, N),  E[x2] ≤ P  (s known at Tx only)

Costa Capacity (no loss):
C = ½ log2(1 + P/N)  bits/channel use  (independent of s)

Auxiliary Variable & Optimal Inflation:
u = x + αs,  αopt = P / (P + N)

Achievable Rate:
R = I(u; y) − I(u; s)

P = signal power, N = noise power, z = AWGN, s = transmitter-known interference, α = MMSE inflation factor. With α = αopt the rate R equals the interference-free capacity C.

Costa Precoding vs. Practical Downlink Schemes

SchemeAchieves BC capacity?Tx complexityRx knows interference?Typical gap to CostaWhere used
Ideal Costa / DPCYes (full region)Exponential (random bins)No0 dB (reference)Capacity benchmark
Tomlinson-HarashimaNear-optimalLow (modulo + FB filter)No≈ 1.5 dB shaping + modulo lossWireline DSL, MU-MIMO
Vector perturbationNear-optimalHigh (lattice search)No≈ 0.5 to 1 dBMultiuser downlink
Zero-forcingOnly at high SNRLow (matrix inverse)NoSeveral dB at low SNRMassive MIMO 5G
No precoding (TDMA)NoMinimaln/aLarge (loses multiplexing)Legacy single-user
Common Questions

Frequently Asked Questions

How does Costa precoding differ from receiver-side interference cancellation?

Receiver-side cancellation forces the receiver to estimate and subtract interference, which costs power and is bounded by estimation error. Costa precoding instead exploits interference known non-causally at the transmitter, such as other users' downlink signals. Costa's 1983 result proves the achievable rate equals ½log2(1 + P/N), identical to an interference-free channel, with no power penalty and no receiver knowledge of s. The transmitter uses random binning with the auxiliary variable u = x + αs so the receiver decodes cleanly, hence "writing on dirty paper."

Why is dirty-paper coding considered optimal for the MIMO broadcast channel?

In a downlink, one base station with M antennas serves K users and each user sees the others' signals as interference. The base station generates all of them, so that interference is known non-causally, exactly Costa's condition. Encoding users sequentially and pre-subtracting each prior user's contribution gives every user an interference-free rate. Weingarten, Steinberg, and Shamai proved in 2006 that this strategy attains the full Gaussian MIMO broadcast capacity region, making it the information-theoretic optimum; linear zero-forcing only approaches it at high SNR.

What practical schemes approximate Costa precoding in real transmitters?

Random-binning DPC is too complex, so systems use structured lattices. Tomlinson-Harashima precoding applies a modulo operation that folds pre-subtracted interference into the fundamental Voronoi region, capturing most of the gain with a feedback filter and modulo device. Vector perturbation and lattice-reduction-aided precoding push closer to the Costa bound via a perturbation search. These incur shaping loss of roughly 1.53 dB plus modulo loss at low rates, but avoid the exponential codebook. Massive MIMO often skips them since near-orthogonal channels let zero-forcing near capacity.

MIMO & mmWave Systems

Build Your Multiuser Downlink

Designing a millimeter-wave MIMO link that relies on precoded downlinks? RF Essentials supplies the low-noise converters, amplifiers, and integrated front ends that keep your phase coherence and dynamic range intact. Talk to our engineers.

Get in Touch