Wyner-Ziv Coding: Rate-Distortion With Side Information at the Decoder
Anchor (Master): Cover & Thomas 2006 Elements of Information Theory 2e (Wiley) §15.5-15.9; Wyner & Ziv 1976 The Rate-Distortion Function for Source Coding with Side Information at the Decoder; Wyner 1978 The Rate-Distortion Function for Source Coding with Side Information at the Decoder II
Intuition Beginner
You want to send a photo to your friend, but your friend already has a low-resolution version of the same photo. How many bits do you need to send so your friend can reconstruct a high-resolution version?
If your friend had no prior information, you would need to send enough bits to encode the full photo — that is the standard rate-distortion problem. But your friend has the low-res version, which is highly correlated with the high-res version. You should be able to exploit this correlation to send fewer bits.
The catch: you (the encoder) do not know exactly what low-res version your friend has. You know the statistics of the correlation, but not the specific realization. So you cannot simply send the difference. You must design a code that works for all possible side information values at the decoder.
Wyner-Ziv coding solves this problem. The Wyner-Ziv rate-distortion function gives the minimum rate needed when side information is available at the decoder but not at the encoder. If side information were available at both ends, the rate would be — the conditional rate-distortion function. Without side information at all, the rate would be the standard .
The Wyner-Ziv rate satisfies . Side information at the decoder helps, but not as much as side information at both ends — unless the source and side information are jointly Gaussian with quadratic distortion, in which case and decoder-only side information is just as good.
Visual Beginner
Figure: three scenarios for compressing source with correlated side information . Left: no side information — rate is . Center: side information at both encoder and decoder — rate is . Right: side information at decoder only — rate is , between the other two.
| Scenario | Side info at encoder? | Side info at decoder? | Rate |
|---|---|---|---|
| Standard rate-distortion | No | No | |
| Conditional rate-distortion | Yes | Yes | $R_{X |
| Wyner-Ziv | No | Yes |
The Wyner-Ziv rate is always between the conditional and unconditional rate-distortion functions.
Worked example Beginner
A source is a fair coin flip (0 or 1). The side information equals with probability 0.9 and flips with probability 0.1. We want to reconstruct with Hamming distortion (lossless).
Without side information: bit per symbol. With side information at both ends: bits per symbol. Wyner-Ziv: bits per symbol (since lossless Wyner-Ziv reduces to the Slepian-Wolf conditional entropy rate).
In this case, the Wyner-Ziv rate equals the conditional rate-distortion function. The encoder does not need to see to achieve the best possible rate. This is because at zero distortion, the problem reduces to Slepian-Wolf coding, where decoder-only side information is sufficient.
For distortion , the Wyner-Ziv rate can be strictly larger than . The rate penalty for not having side information at the encoder is the cost of not being able to adapt the compression to the specific side information value.
Check your understanding Beginner
Formal definition Intermediate+
Let be correlated random variables with joint distribution on , and let be a distortion measure.
Definition (Wyner-Ziv code). A Wyner-Ziv code consists of:
- An encoder mapping the source sequence to an index (without seeing ).
- A decoder mapping the index and the side information sequence to a reconstruction.
The expected distortion is .
Definition (Wyner-Ziv rate-distortion function). The Wyner-Ziv rate-distortion function is:
where the minimum is over auxiliary random variables such that does not form a Markov chain (but is conditionally independent of given , i.e., ), and is a deterministic function of .
Key theorem with proof Intermediate+
Theorem (Wyner-Ziv 1976). The Wyner-Ziv rate-distortion function is the infimum of rates such that there exists a sequence of codes with expected distortion .
Proof sketch (achievability). Choose and achieving . Generate auxiliary codewords for by drawing each symbol i.i.d. from . Partition the codewords into bins of size .
Encoder: Given , find a codeword that is jointly typical with . Send the bin index of .
Decoder: Given bin index and , find the unique codeword in the declared bin that is jointly typical with . Reconstruct via .
Error analysis: The encoder finds a typical codeword with high probability if . The decoder resolves the correct codeword from the bin because the number of codewords per bin () is large enough that the jointly typical one with is unique with high probability. The rate is .
Distortion: By the law of large numbers, the empirical distortion of approaches .
Bridge. The Wyner-Ziv theorem builds toward the Berger-Tung inner bound for distributed lossy compression, which generalises Wyner-Ziv to multiple correlated sources with individual distortion constraints. This is exactly the lossy counterpart of the Slepian-Wolf theorem 46.05.01, where the conditional entropy is replaced by and the lossless constraint gives way to a distortion constraint. The result appears again in the Gelfand-Pinsker theorem 46.05.03 as a channel-coding dual: in Wyner-Ziv, the decoder uses side information to resolve the correct reconstruction from a bin; in Gelfand-Pinsker, the encoder uses side information to pre-cancel known interference. The foundational reason the Wyner-Ziv rate exceeds in general is that the encoder, not seeing , must hedge against all possible side information values, but binning partially compensates by letting the decoder resolve the ambiguity. Putting these together, the central insight is that decoder-only side information provides a rate gain over no side information but incurs a penalty relative to encoder-decoder side information, and the penalty vanishes for the quadratic Gaussian case.
Exercises Intermediate+
Lean formalization Intermediate+
Mathlib does not formalize rate-distortion theory, the Wyner-Ziv function, or the auxiliary-variable achievability argument. The Wyner-Ziv function involves a double minimization over auxiliary random variables and deterministic reconstruction functions subject to a distortion constraint. The achievability proof requires random codebooks of auxiliary codewords, binning, and joint typicality decoding with side information. None of these structures exist in Mathlib. The converse uses a single-letterization argument with carefully constructed auxiliary variables. This unit ships without formalization.
Advanced results Master
The quadratic Gaussian Wyner-Ziv theorem
The most important special case is the quadratic Gaussian Wyner-Ziv problem. When and are jointly Gaussian and the distortion measure is mean-square error, the Wyner-Ziv rate-distortion function equals the conditional rate-distortion function:
where for the model with .
This means that for the quadratic Gaussian case, there is no rate penalty for not having side information at the encoder. The decoder can extract all the useful information from without the encoder knowing the specific value of . The proof uses the test channel where is independent Gaussian noise, and the decoder uses the MMSE estimate .
The Wyner-Ziv rate loss
The rate loss measures the penalty for lacking encoder side information. Zamir and Berger (1999) showed that for any source and any distortion measure:
and for the quadratic Gaussian case, the rate loss is exactly zero. For discrete sources with Hamming distortion, the rate loss is at most bits, and can be strictly positive.
The zero rate loss for the quadratic Gaussian case is intimately connected to the fact that the optimal Wyner-Ziv test channel produces an auxiliary variable that is "coset representative" of modulo the side information — the encoder sends enough information about that, combined with , the decoder can pin down to within distortion .
The Berger-Tung inner bound
The Berger-Tung inner bound generalizes Wyner-Ziv to multiple correlated sources with individual distortion constraints. For two sources with distortion constraints :
where and are auxiliary variables satisfying (long Markov chain), and is a function of with .
The Berger-Tung bound is tight for the quadratic Gaussian case (by the same argument as Wyner-Ziv) but is not known to be tight in general. The gap between the Berger-Tung inner bound and the outer bound (cut-set bound) is one of the major open problems in network information theory.
Synthesis. The Wyner-Ziv theorem is the central result on lossy compression with decoder-only side information, establishing that with equality for the quadratic Gaussian case. The central insight is that binning of auxiliary codewords lets the decoder resolve ambiguity using its side information, achieving rate where the difference represents the "net information" about that does not already provide. The result generalises to the Berger-Tung bound for multiple sources, building toward distributed lossy compression 46.06.01. The foundational reason the Gaussian case achieves no rate loss is that the MMSE estimator is linear, so the encoder need not adapt to the specific side information value. Putting these together, the Wyner-Ziv theorem reveals a deep asymmetry: side information at the decoder is almost as valuable as side information at both ends for Gaussian sources, but for general sources, the encoder pays a penalty for not seeing the side information.
Full proof set Master
Proposition (Wyner-Ziv achievability). For any and reconstruction function with and , the rate is achievable with distortion .
Proof. Codebook generation. Generate codewords by drawing each symbol i.i.d. from the marginal . Randomly partition the codewords into bins of size .
Encoding. Given , find such that . By the covering lemma, such a codeword exists with high probability since the codebook has codewords. Send the bin index .
Decoding. Given bin index and , find the unique in bin such that . By the packing lemma, this is unique with high probability because the bin has codewords and there is at most one jointly typical with .
Reconstruction. Set . By the law of large numbers, .
Rate. The number of bins is . Taking , the rate approaches .
Connections Master
46.05.01— Slepian-Wolf coding is the lossless () limit of Wyner-Ziv; the Wyner-Ziv rate at zero distortion equals .46.02.05— Rate-distortion theory provides and , the benchmarks that bound from above and below.46.05.03— Gelfand-Pinsker is the channel-coding dual: encoder side information reduces required channel rate, while Wyner-Ziv shows decoder side information reduces required source rate.46.05.04— Wyner's common information measures the minimum rate of shared randomness needed for distributed generation, connecting to the Wyner-Ziv framework.46.06.01— The Berger-Tung bound generalizes Wyner-Ziv to distributed lossy compression of multiple sources, and the MAC capacity region is the dual.
Historical & philosophical context Master
Aaron Wyner and Jacob Ziv published "The Rate-Distortion Function for Source Coding with Side Information at the Decoder" in the IEEE Transactions on Information Theory (IT-22, 1976, 1-10). The paper resolved a natural question arising from the Slepian-Wolf theorem (1973): if side information at the decoder helps for lossless compression, how much does it help for lossy compression?
The answer was surprising. The Wyner-Ziv rate-distortion function involves an auxiliary random variable and takes the form , which is strictly larger than the conditional rate-distortion function in general. This means there is a genuine rate penalty for not having side information at the encoder. However, for the quadratic Gaussian case, the penalty vanishes — a result that has profound practical implications because Gaussian models are widely used in image and video compression.
Wyner followed up with a second paper in 1978 (IEEE Trans. IT-24, 341-346) strengthening the converse and establishing tighter bounds on the rate loss. The result was extended to multiple sources by Berger and Tung independently in the late 1970s, giving the Berger-Tung inner bound that remains the best known achievable region for distributed lossy compression.
Ram Zamir's 1999 paper "On the Rate Loss of Wyner-Ziv Coding" (with Berger) showed that the rate loss is bounded by 0.5 bits for the quadratic Gaussian case (tight bound), and more generally provided universal upper bounds on the Wyner-Ziv rate loss. This result quantified exactly how much one pays for not having encoder side information.
Bibliography Master
@article{wyner-ziv1976,
author = {Wyner, A. D. and Ziv, J.},
title = {The Rate-Distortion Function for Source Coding with Side Information at the Decoder},
journal = {IEEE Transactions on Information Theory},
volume = {IT-22},
pages = {1--10},
year = {1976},
}
@article{wyner1978,
author = {Wyner, A. D.},
title = {The Rate-Distortion Function for Source Coding with Side Information at the Decoder {II}},
journal = {IEEE Transactions on Information Theory},
volume = {IT-24},
pages = {341--346},
year = {1978},
}
@book{cover-thomas2006,
author = {Cover, T. M. and Thomas, J. A.},
title = {Elements of Information Theory},
edition = {2nd},
publisher = {Wiley},
year = {2006},
}
@article{zamir-berger1999,
author = {Zamir, R. and Berger, T.},
title = {On the Rate Loss of Wyner-Ziv Coding},
journal = {IEEE Transactions on Information Theory},
volume = {45},
pages = {1105--1109},
year = {1999},
}