Exercises
ex-ch22-01
EasyConsider a relay channel where the relay is "useless" β i.e., is independent of . Show that the capacity equals , the capacity of the direct link without a relay.
What does the cut-set bound reduce to when carries no information about ?
Show that the multiple-access cut equals the direct-link mutual information.
Apply the cut-set bound
The cut-set bound gives . Since is independent of everything, . Also, (more inputs cannot decrease MI). So the cut-set bound is .
Achievability
Direct transmission without the relay achieves . This matches the upper bound, so .
ex-ch22-02
EasyFor a degraded relay channel , show that .
Use the chain rule for mutual information.
Apply the Markov chain condition .
Expand using chain rule
.
Apply Markov chain
By the degradedness condition, , which means is conditionally independent of given . Therefore , and .
ex-ch22-03
EasyIn block-Markov encoding with blocks, the effective rate is where is the per-block rate. How many blocks are needed so that the rate loss is at most 1%?
Solve .
Solve the inequality
We need , i.e., , so , giving .
Interpretation
With blocks, the rate loss from block-Markov encoding is only 1%. This is why the rate penalty is negligible in practice β at the cost of a latency of channel uses before the first message is decoded.
ex-ch22-04
EasyExplain why backward decoding is necessary in the DF scheme. What circular dependency does it resolve?
Consider what the destination needs to know to decode block .
The relay's codeword in block depends on , which is the unknown.
The circular dependency
To decode block , the destination needs the relay's codeword . But is the message from the previous block β exactly what we want to decode! Forward decoding would require knowing to find , creating a chicken-and-egg problem.
How backward decoding resolves it
In block , a known dummy message is sent. The destination starts there and works backwards: knowing (decoded from block ), it can determine the relay codeword and decode from block . The chain of dependencies runs from block back to block , with each step well-defined.
ex-ch22-05
EasyFor the compress-and-forward scheme, state the Wyner-Ziv constraint and explain its role. What happens if the relay-destination link is too weak to satisfy it?
The constraint involves and .
State the constraint
The Wyner-Ziv constraint is . The left side is the Wyner-Ziv compression rate (how many bits are needed to describe given that the destination has as side information). The right side is the relay-destination link capacity.
Interpretation
The constraint says the relay-destination link must be strong enough to carry the compressed description. If violated, the relay must use coarser compression (larger distortion), which reduces the quality of and hence the achievable rate. In the extreme, if the relay-destination link has zero capacity, CF reduces to direct transmission β the relay cannot help at all.
ex-ch22-06
MediumConsider a Gaussian relay channel: , , where , , and the source has power constraint . The relay has a separate noiseless link of capacity bits to the destination. Compute the DF achievable rate.
The relay can decode at rate .
The relay-destination link has capacity , so the overall DF rate is limited by the minimum.
The source-destination link adds β but in DF, the destination also uses the relay's help.
Relay decoding rate
The relay can decode the source at rate .
Cooperative rate to destination
With the relay having decoded, it can send the message over the noiseless link at rate . The destination also receives , providing additional information. In the DF scheme, the destination gets the message from two paths: direct (rate ) and via relay (rate ). The effective cooperative rate is bounded by (the MAC bound with independent inputs).
DF achievable rate
$ The first term is the source-relay bottleneck; the second is the cooperative link to the destination.
ex-ch22-07
MediumShow that for the relay channel, the cut-set bound is always at least as large as the DF achievable rate. Identify which term in the cut-set bound is replaced by a smaller quantity in the DF rate.
Compare the multiple-access cut with the relay decoding rate .
Compare term by term
The cut-set bound: . The DF rate: .
The broadcast cut term is the same in both. For the second term: because conditioning on in addition to can only increase (or maintain) the mutual information.
Conclusion
Since , the cut-set bound's second term is at least as large as DF's second term. Therefore the cut-set bound is always the DF rate. The gap arises because DF ignores the destination's direct observation when determining the relay's decoding rate β the relay must decode on its own.
ex-ch22-08
MediumIn the CF scheme, the relay compresses to with a test channel . For a Gaussian relay channel with (), what is the natural choice for the test channel, and what is the resulting compression distortion?
Think of as plus quantization noise.
Gaussian test channels are optimal for Gaussian sources.
Gaussian test channel
The natural choice is where is independent quantization noise. This gives the test channel , which is Gaussian and hence optimal for the Gaussian source .
Compression rate
The Wyner-Ziv rate (with side information ) is: where is the MMSE of estimating from . The compression distortion is optimized to balance the rate constraint against the achievable rate.
ex-ch22-09
MediumFor the compute-and-forward framework with two sources (), channel vector , and dB, find the optimal integer coefficient vector and compare with the case .
The optimal is the integer vector closest to a scaled version of .
For , the obvious choice is .
Case $\mathbf{h} = (2, 1)^T$
The channel is already integer-valued. Choosing : the effective noise is minimized because is parallel to . The rate is approximately bits.
Case $\mathbf{h} = (1.9, 1.1)^T$
The best integer approximations are or . For : the mismatch creates additional effective noise, reducing the rate. Computing explicitly: the rate drops by approximately 0.5-1 bit compared to the integer-aligned case.
Lesson
Even a small deviation of from integer values causes a noticeable rate loss in CaF. This sensitivity to channel alignment is the main practical limitation of compute-and-forward.
ex-ch22-10
MediumConsider a half-duplex relay channel where the relay listens for a fraction of the time and transmits for . During the listen phase, the relay receives ; during the transmit phase, the destination receives (the source also transmits in both phases). Using DF, express the achievable rate as a function of and find the optimal .
The relay decoding rate scales as .
The cooperative transmission rate scales as .
DF rate with duty cycle
In the listen phase ( channel uses), the relay accumulates mutual information (since during listen). In the transmit phase ( channel uses), the source-relay pair achieves . The DF rate is:
Optimize over $\alpha$
The optimal balances the two constraints: , giving The optimized rate is , the harmonic mean of the two link rates.
ex-ch22-11
MediumShow that the CF achievable rate is always at least as large as the direct-link rate .
Consider the extreme case where the relay compresses to a constant (no information forwarded).
Adding as side information cannot decrease mutual information.
Lower bound by data processing
where the first inequality follows because conditioning on additional variables () cannot decrease mutual information when carries information about through . The second holds because is independent of in the CF scheme.
Interpretation
CF never hurts: the relay's compressed observation is additional side information at the destination. Even if is nearly useless (high distortion), the destination still has its own observation . The rate is at least the direct-link rate.
ex-ch22-12
MediumFor the diamond network with Gaussian source-relay channels and Gaussian relay-destination MAC , write the cut-set bound explicitly in terms of the channel gains and powers.
Use the Gaussian capacity formula for each cut.
Broadcast cut
assuming independent equal-variance noise.
MAC cut
where (normalized noise).
Cut-set bound
$ (The two hybrid cuts are omitted here but should also be checked in general.)
ex-ch22-13
HardProve that for the reversely degraded relay channel (), the relay cannot increase capacity beyond the direct-link capacity .
Show that the cut-set bound reduces to .
The key is that is a degraded version of , so the relay's observation is less informative.
Broadcast cut
since more inputs cannot reduce MI. With reverse degradedness, contains all the information about , so: .
Multiple-access cut
. By the Markov chain : . So (since and are independent in the maximizing distribution).
Conclusion
The multiple-access cut gives . Direct transmission achieves this, so . The relay is useless because its observation is a degraded version of the destination's.
ex-ch22-14
HardDerive the CF achievable rate for the Gaussian relay channel , (independent of ) with a noiseless relay-destination link of capacity , where , , and has power . Express the rate as a function of , , , .
Use a Gaussian test channel: , .
The Wyner-Ziv constraint becomes .
Optimize over the compression distortion .
Compute $\ntn{mi}(X; \hat{Y}_r, Y)$
With : are jointly Gaussian. . The MMSE of given can be computed via the MMSE formula for jointly Gaussian vectors: So .
Wyner-Ziv constraint
. With ... More precisely: where is the squared correlation. Simplifying: ... Actually: . The constraint is .
Optimize $\Delta$
From the constraint: . The achievable rate is where , and is chosen to satisfy the constraint with equality.
ex-ch22-15
HardShow that for the degraded Gaussian relay channel with relay at the "midpoint" (source-relay distance equals relay-destination distance, with path-loss exponent 2), DF achieves a rate that scales as where is the direct-link SNR. Compare with the direct-link rate .
With path-loss exponent 2 and midpoint relay, the source-relay and relay-destination SNRs are each .
Use the DF rate formula.
Channel model
With normalized direct-link distance and relay at , the path loss is . Source-relay distance is , so source-relay SNR is (normalizing ). Similarly, relay-destination SNR is (assuming the relay has the same power ).
DF rate
.
Gain over direct
Direct: . DF with midpoint relay: . At high SNR, the gain approaches 2 bits per channel use β a 6 dB power gain from relaying.
ex-ch22-16
HardFor the two-source, single-relay compute-and-forward setup with and , derive the CaF achievable computation rate as a function of , , and , starting from the MMSE scaling approach.
The relay receives .
Scale by : .
The effective noise is .
Effective noise
.
Per-dimension variance: .
MMSE scaling
Minimize over : , giving .
Achievable rate
Substituting : . The computation rate is .
ex-ch22-17
HardConsider the diamond network where the source-relay channels are () with and the relay-destination MAC is with . Both relays use CF with Gaussian quantization. Show that the CF rate approaches the cut-set bound within a constant gap as .
The gap is at most 1 bit per relay (for Gaussian quantization at the noise level).
Cut-set bound
At high SNR, the broadcast cut scales as and the MAC cut scales as .
CF achievable rate
Each relay quantizes at the noise level: . The relay-destination rates required are per relay. As , the quantization overhead is per relay.
Gap analysis
The gap between the CF rate and the cut-set bound is bounded by a constant that depends on but not on . Specifically, quantizing at the noise level introduces at most 1 bit of rate loss per relay, giving a total gap of at most 2 bits. This constant-gap result foreshadows the noisy network coding theorem of Chapter 23.
ex-ch22-18
ChallengeDerive a partial decode-and-compress scheme for the relay channel where the relay decodes part of the source message (at rate ) and compresses the remainder of its observation. Show that this generalizes both DF and CF as special cases.
Use rate-splitting at the source: with decoded by the relay.
The relay decodes (DF part) and compresses its residual observation of (CF part).
Set to recover DF; set to recover CF.
Rate splitting
Split the source message into at rates with . Use superposition coding: .
Relay operation
The relay decodes from (requires ). Then, knowing , the relay compresses its residual observation of : form from given and , and forward the compressed version.
Destination decoding
The destination decodes using . The achievable rate region involves:
- (relay decoding of ),
- (joint destination decoding),
- (Wyner-Ziv constraint).
Special cases
Setting (no compression, relay decodes everything): recovers DF. Setting (no decoding, relay only compresses): recovers CF. The partial scheme can strictly outperform both when neither the source-relay link nor the relay-destination link dominates.
ex-ch22-19
ChallengeThe full-duplex relay assumption is unrealistic in practice. Consider a half-duplex relay that uses CF in the listen phase and DF in a second listen-then-transmit phase (a hybrid protocol). Derive the achievable rate as a function of the time-sharing parameter and compare with pure half-duplex DF and pure half-duplex CF.
In phase 1 ( uses): relay listens, destination receives.
In phase 2 ( uses): relay transmits (based on CF of phase 1 observation), destination receives from both.
The destination uses both phases for joint decoding.
Phase 1 (listen)
The relay receives and the destination receives . The relay compresses to .
Phase 2 (transmit)
The relay transmits the compression index plus any DF assistance. The destination receives from both source and relay.
Achievable rate
The hybrid rate is: subject to the Wyner-Ziv constraint that the relay-destination link in phase 2 can carry the compression bits. The full derivation involves careful joint optimization of and the compression quality.
Comparison
The hybrid protocol can strictly improve over both pure half-duplex DF and CF because it exploits the destination's observation from both phases while also using the relay's compressed observation. The gain is most pronounced at intermediate SNR where neither DF nor CF clearly dominates.
ex-ch22-20
ChallengeConsider a relay channel where the relay has limited memory β it can only store bits from its past observations. Formulate the problem and argue that: (a) When , the relay is useless. (b) When , the relay can implement full DF. (c) When , a partial-DF scheme is needed. What is the relationship between relay memory and achievable rate?
With , the relay input at time depends on nothing (it has no past observations).
With , the relay can store the entire decoded message.
Intermediate allows storing a compressed version or partial message.
Case $M = 0$
With no memory, must be a fixed symbol (independent of everything). The relay is equivalent to an additional fixed input, which cannot carry information. The capacity is for the best fixed relay input . This equals the direct-link capacity when the channel factors appropriately.
Case $M \geq n\ntn{rate}$
The relay has enough memory to store the full decoded message (which requires bits). It can implement block-Markov DF by storing and encoding in block . Full DF rate is achieved.
Intermediate $M$
The relay can store partial information about the decoded message. The achievable rate interpolates between the direct-link rate () and the full DF rate (). The relay memory acts as a "bottleneck" that limits the cooperation rate. This is analogous to the fronthaul capacity constraint in Cloud-RAN architectures (Chapter 25).