Compress-and-Forward
When the Relay Cannot Decode
Decode-and-forward requires the relay to fully decode the source message, which limits the rate to the source-relay link capacity. But what if the source-relay link is weak? The relay still receives a noisy observation of the source signal, and this observation is correlated with the destination's received signal. Even if the relay cannot decode the message, it can compress its observation and forward the compressed version to the destination, providing useful side information.
This is compress-and-forward (CF), and the key insight is that the relay uses Wyner-Ziv coding β lossy compression with decoder side information β because the destination already has its own observation , which is correlated with the relay's observation . The compression can exploit this correlation, requiring fewer bits to describe than if the destination had no side information.
Definition: Compress-and-Forward Strategy
Compress-and-Forward Strategy
In compress-and-forward, the relay performs the following operations:
- Quantize: compress its observation to a quantized version using a Wyner-Ziv codebook, exploiting the correlation between and (the destination's observation serves as decoder side information).
- Bin: map the quantized sequence to a bin index using Wyner-Ziv binning.
- Forward: encode the bin index and transmit it to the destination over the relay-destination link.
The destination uses its own observation together with the bin index to reconstruct , then jointly decodes the source message from .
Compress-and-Forward
A relay strategy where the relay compresses its channel observation using Wyner-Ziv coding (exploiting decoder side information) and forwards the compressed description to the destination, rather than attempting to decode the source message.
Related: Wyner-Ziv Coding
Wyner-Ziv Coding
Lossy source coding with decoder side information. The encoder compresses a source without access to the side information available at the decoder, achieving a rate equal to the conditional rate-distortion function.
Related: Compress-and-Forward
Theorem: Compress-and-Forward Achievable Rate
For the discrete memoryless relay channel , the following rate is achievable using compress-and-forward: subject to the constraint
Here is the compressed version of the relay's observation . The constraint ensures the destination can decode the compression index sent by the relay.
The achievable rate is the mutual information between the source and the combined observation at the destination (its own plus the relay's compressed ). The constraint balances the compression rate against the relay-to-destination link capacity: the relay can only forward as many bits as the relay-destination link supports, and these bits must suffice to describe to within the Wyner-Ziv rate (given as side information).
Intuitively, what happens is a trade-off: finer compression (smaller distortion) gives the destination more information about and hence a higher rate , but requires more bits to describe, potentially violating the relay-destination link constraint.
Codebook generation
Fix , , and .
- Generate i.i.d. source codewords .
- Generate i.i.d. relay codewords , .
- For each relay codeword , generate compression codewords , each i.i.d. .
- Partition the compression codewords into bins of size .
Relay operation
In block , the relay receives and finds a compression codeword jointly typical with . This succeeds if . The relay then transmits the bin index of in the next block using codeword .
Destination decoding
The destination knows (from the previous block's relay transmission). It searches the bin for the unique jointly typical with . This succeeds if , i.e., . Rearranging: .
Having recovered , the destination jointly decodes from , succeeding if .
Rate constraint
The relay must be able to transmit the bin index: (the relay-destination link capacity). Combining with : This is the Wyner-Ziv constraint. The achievable rate is .
Example: When CF Outperforms DF
Consider a relay channel where the source-relay link has capacity bits (weak relay link) but the relay-destination link has capacity bits (strong relay-destination link). The direct link gives bits. Suppose that with CF and optimal compression, bits and bits. Compare DF and CF.
DF rate
. Since the relay must decode, the rate is at most bits β the weak source-relay link is the bottleneck.
CF rate
Check the Wyner-Ziv constraint: . Satisfied. The CF rate is bits.
Comparison
CF achieves bits vs. DF's bits β more than double the rate. CF wins because it does not require the relay to decode: even a noisy observation is useful as compressed side information. The strong relay-destination link allows the relay to forward a fine-grained compressed description.
Common Mistake: Source and Relay Inputs Are Independent in Standard CF
Mistake:
Trying to optimize over joint distributions as in decode-and-forward.
Correction:
In the standard CF scheme, the source and relay inputs are independent: . This is because the relay does not decode the source message, so it cannot coordinate its transmission with the source's current codeword. The relay's codeword carries only the compression index from the previous block. (More advanced schemes like "partial decode-and-compress" allow dependent inputs.)
CF Compression-Rate Tradeoff
Explore how the compression quality at the relay affects the CF achievable rate. Finer compression provides better side information but requires more bits on the relay-destination link.
Parameters
Compress-and-Forward Signal Flow
CF as 'Hash-and-Forward'
An alternative viewpoint, due to Ahlswede and Han, interprets compress-and-forward as "hash-and-forward": the relay sends a hash (random bin index) of its observation sequence. The destination, having its own correlated observation, can use the hash to disambiguate among the possible relay observations that fall in the same bin. This viewpoint emphasizes that the relay need not produce an explicit reconstruction of ; it only needs to send enough information for the destination to jointly decode with its own observation. This perspective generalizes more naturally to networks with multiple relays.
Key Takeaway
Compress-and-forward does not require the relay to decode the source message β it only compresses its observation using Wyner-Ziv coding and forwards the compressed version. CF is superior to DF when the source-relay link is weak but the relay-destination link is strong, because even noisy side information helps the destination.