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 YnY^n, which is correlated with the relay's observation YrnY_r^n. The compression can exploit this correlation, requiring fewer bits to describe YrY_r than if the destination had no side information.

Definition:

Compress-and-Forward Strategy

In compress-and-forward, the relay performs the following operations:

  1. Quantize: compress its observation YrnY_r^n to a quantized version Y^rn\hat{Y}_r^n using a Wyner-Ziv codebook, exploiting the correlation between YrY_r and YY (the destination's observation serves as decoder side information).
  2. Bin: map the quantized sequence to a bin index using Wyner-Ziv binning.
  3. Forward: encode the bin index and transmit it to the destination over the relay-destination link.

The destination uses its own observation YnY^n together with the bin index to reconstruct Y^rn\hat{Y}_r^n, then jointly decodes the source message from (Yn,Y^rn)(Y^n, \hat{Y}_r^n).

,

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 p(y,yr∣x,xr)p(y, y_r | x, x_r), the following rate is achievable using compress-and-forward: RCF=max⁑p(x)p(xr)p(y^r∣yr,xr)I(X;Y^r,Y∣Xr)R_{\text{CF}} = \max_{p(x) p(x_r) p(\hat{y}_r | y_r, x_r)} I(X; \hat{Y}_r, Y \mid X_r) subject to the constraint I(Yr;Y^r∣Y,Xr)≀I(Xr;Y).I(Y_r; \hat{Y}_r \mid Y, X_r) \leq I(X_r; Y).

Here Y^r\hat{Y}_r is the compressed version of the relay's observation YrY_r. The constraint ensures the destination can decode the compression index sent by the relay.

The achievable rate I(X;Y^r,Y∣Xr)I(X; \hat{Y}_r, Y | X_r) is the mutual information between the source and the combined observation at the destination (its own YY plus the relay's compressed Y^r\hat{Y}_r). The constraint I(Yr;Y^r∣Y,Xr)≀I(Xr;Y)I(Y_r; \hat{Y}_r | Y, X_r) \leq I(X_r; Y) 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 Y^r\hat{Y}_r to within the Wyner-Ziv rate (given YY as side information).

Intuitively, what happens is a trade-off: finer compression (smaller distortion) gives the destination more information about YrY_r and hence a higher rate I(X;Y^r,Y∣Xr)I(X; \hat{Y}_r, Y | X_r), but requires more bits to describe, potentially violating the relay-destination link constraint.

,

Example: When CF Outperforms DF

Consider a relay channel where the source-relay link has capacity I(X;Yr∣Xr)=0.3I(X; Y_r | X_r) = 0.3 bits (weak relay link) but the relay-destination link has capacity I(Xr;Y)=2I(X_r; Y) = 2 bits (strong relay-destination link). The direct link gives I(X;Y)=0.5I(X; Y) = 0.5 bits. Suppose that with CF and optimal compression, I(X;Y^r,Y∣Xr)=0.7I(X; \hat{Y}_r, Y | X_r) = 0.7 bits and I(Yr;Y^r∣Y,Xr)=1.5I(Y_r; \hat{Y}_r | Y, X_r) = 1.5 bits. Compare DF and CF.

Common Mistake: Source and Relay Inputs Are Independent in Standard CF

Mistake:

Trying to optimize RCFR_{\text{CF}} over joint distributions p(x,xr)p(x, x_r) as in decode-and-forward.

Correction:

In the standard CF scheme, the source and relay inputs are independent: p(x,xr)=p(x)p(xr)p(x, x_r) = p(x) p(x_r). 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
0
5
15

Compress-and-Forward Signal Flow

Animated walkthrough of compress-and-forward: the relay receives a noisy observation, compresses it via Wyner-Ziv coding, and forwards the compressed version to the destination, which jointly decodes using both its own observation and the relay's compressed signal.

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 YrY_r; 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.