Search

Search papers and lessons

Relay Channel

Level 3 · 13 min read

A relay channel adds a helper node between a sender and a receiver, so the signal can travel by two routes and the achievable rate can exceed what the direct link alone allows.

On this page

  • Colour = topic mix
  • Probability
  • Discrete math
  • Calculus
  • Communications
  • Information theory
  • Signal processing
  • Sign in to see your progress

TL;DR

A relay channel has three nodes: a source, a destination, and a relay that sits between them and helps. The source can talk to the destination directly, but the signal is faint over that long path. The relay hears the source, and it passes information on to the destination over a shorter, stronger link. The destination then combines both routes.

The useful question is how fast information can move from source to destination with the relay's help. The answer can be much higher than the direct link alone, because a good relay turns a weak path into a strong one.

Where you'll see it: in cellular networks where a phone reaches a base station through a nearby device, in sensor networks where nodes hop data toward a sink, and in satellite and vehicle links where a neighbour can forward a message that is too faint to reach the destination directly.

Intuition

A friend who repeats what they hear

Suppose you need to tell someone across a noisy hall a message. You shout, but the words are lost in the crowd. Now imagine a friend standing halfway. They can hear you clearly, and they walk over and repeat the message to the listener, who is close to them and hears well. The listener now has two chances to get the message: your voice, faint and far, and your friend's voice, clear and near.

That is the relay channel. The relay is useful for two reasons. It gives the destination a second, independent copy of the message. And it moves part of the distance onto a short, strong link. Neither effect is free: the relay must hear the source correctly before it can help, and it has its own limits on how fast it can understand and repeat.

Why this is harder than it looks

With one link, the rate question has a single answer: the channel capacity: the highest rate, in bits per channel use (one transmitted symbol), at which information can be sent with vanishing errors. With a relay, the source sends a signal that the relay and the destination both receive, and the relay sends its own signal at the same time. The destination hears a mixture. The relay may send something the destination needs, or it may add interference. So the question is not just "how fast is each link?" but "how do the source and relay cooperate?"

Information theory gives a clean answer to this, and the answer is a pair of inequalities: one that limits what the relay can understand, and one that limits what the destination can understand. The achievable rate is the smaller of the two.

The math

Setup

Definition: Relay channel

A source sends a symbol X1X_1, and a relay sends a symbol X2X_2 at the same time. The relay observes a noisy version Y2Y_2 of the source's symbol. The destination observes a noisy version YY of the combined transmission. The relay's output X2X_2 may depend only on what it has already heard, and the rate is measured in bits per channel use. In this lesson the relay can send and receive at the same time (full duplex) unless stated otherwise.

For the simplest Gaussian version, each receiver sees its input through a gain and adds independent Gaussian noise. Define three signal-to-noise ratios, one per link: γsd\gamma_{sd} from source to destination, γsr\gamma_{sr} from source to relay, and γrd\gamma_{rd} from relay to destination. Each is a power ratio of the kind described in signal-to-noise ratio.

For a single real link with SNR γ\gamma, the capacity is

C(γ)=12log⁡2(1+γ)bits per use.C(\gamma) = \frac{1}{2}\log_2(1 + \gamma) \quad \text{bits per use.}

Here log⁡2\log_2 is the base-2 logarithm, and the factor 12\tfrac{1}{2} appears because a real channel carries one real dimension per use. This is the direct-link rate, and it is the baseline the relay has to beat.

Decode and forward

The first strategy is decode and forward. The relay decodes the source's message, then re-encodes it and transmits it to the destination. The rate it can support is limited by two cuts, meaning two places where information has to squeeze through:

R≤min⁡{ I(X1;Y2∣X2),  I(X1,X2;Y) }.R \le \min\Big\{\, I(X_1; Y_2 \mid X_2),\; I(X_1, X_2; Y) \,\Big\}.

Here I(⋅;⋅)I(\cdot;\cdot) is mutual information: how much knowing one variable tells you about another. The first term is the rate at which the relay can decode the source, given what it sends itself. The second term is the rate at which the destination can decode from both transmitters together. The relay cannot forward more than it understood, so the smaller term wins.

In the Gaussian case, let ρ\rho between 0 and 1 measure how much of the relay's signal repeats the source's signal (ρ=0\rho = 0 means independent, ρ=1\rho = 1 means identical). Then

RDF=max⁡ρ min⁡{12log⁡2(1+(1−ρ2) γsr), 12log⁡2(1+γsd+γrd+2ργsdγrd)}.R_{\text{DF}} = \max_{\rho}\ \min\left\{ \tfrac{1}{2}\log_2\big(1 + (1-\rho^2)\,\gamma_{sr}\big),\ \tfrac{1}{2}\log_2\big(1 + \gamma_{sd} + \gamma_{rd} + 2\rho\sqrt{\gamma_{sd}\gamma_{rd}}\big) \right\}.

The first entry is what the relay can still learn from the source: the part of the source signal the relay already shares with its own transmission is not new to it. The second is what the destination gets from the two transmissions, whose amplitudes add coherently when they repeat the same thing. Raising ρ\rho helps the destination and hurts the relay, so the best ρ\rho balances the two. If the destination's term is already at least as large at ρ=0\rho = 0, then ρ=0\rho = 0 is best and

RDF=min⁡{12log⁡2(1+γsr),  12log⁡2(1+γsd+γrd)}.R_{\text{DF}} = \min\left\{ \tfrac{1}{2}\log_2(1 + \gamma_{sr}),\; \tfrac{1}{2}\log_2(1 + \gamma_{sd} + \gamma_{rd}) \right\}.

The examples below are all of this kind. The relay is a bottleneck if its own link from the source is weak, and the destination is a bottleneck if the combined signal is weak. Decode and forward can be worse than the direct link when the source-to-relay link is poor, so the source should simply use the better of the two.

Amplify and forward

The second strategy is amplify and forward. The relay does not decode. It scales what it heard and retransmits it, noise and all. That is far simpler, because the relay needs no decoder, but the noise it forwards is not removed. The usual version is half duplex: in the first time slot the source transmits and the relay and destination listen, and in the second slot the relay forwards its scaled copy. The destination adds the two observations, and the standard analysis gives an effective SNR of

γAF=γsd+γsr γrdγsr+γrd+1,\gamma_{\text{AF}} = \gamma_{sd} + \frac{\gamma_{sr}\, \gamma_{rd}}{\gamma_{sr} + \gamma_{rd} + 1},

and the rate is RAF=14log⁡2(1+γAF)R_{\text{AF}} = \tfrac{1}{4}\log_2(1 + \gamma_{\text{AF}}) bits per channel use: one half is the real-channel factor from before, and the other half is because the message takes two time slots. The "+1" in the denominator is the noise power at the relay, normalised to 1. When the relay's links are very strong, the fraction tends to the smaller of γsr\gamma_{sr} and γrd\gamma_{rd}, so the relay path can contribute about as much as its weaker link allows.

051015200123direct SNRrate (bits per use)
  • direct link only
  • decode and forward, relay links SNR 40
With both relay links at SNR 40, decode and forward is capped by the source-to-relay link at about 2.68 bits per use, whatever the direct SNR in this range. At direct SNR 1 it is more than five times the direct rate; the direct link only overtakes it near SNR 40.

The shape of the answer

Put the two strategies side by side. Decode and forward is best when the relay's link to the source is good enough to decode reliably. Amplify and forward is attractive when the relay must stay simple, because it never has to be right about a symbol, but it forwards noise and uses two time slots. When the relay is poor, the source can ignore it and use the direct link, so the sensible rate is the larger of the relay scheme and the direct capacity.

Worked examples

Example
Example 1: a tiny relay network

Take a direct SNR γsd=3\gamma_{sd} = 3, a source-to-relay SNR γsr=15\gamma_{sr} = 15, and a relay-to-destination SNR γrd=12\gamma_{rd} = 12.

  1. Direct link: C=12log⁡2(1+3)=12log⁡24=1C = \tfrac{1}{2}\log_2(1 + 3) = \tfrac{1}{2}\log_2 4 = 1 bit per use.
  2. Relay can decode: 12log⁡2(1+15)=12log⁡216=2\tfrac{1}{2}\log_2(1 + 15) = \tfrac{1}{2}\log_2 16 = 2 bits per use.
  3. Destination with both transmitters, independent signals (ρ=0\rho = 0): 12log⁡2(1+3+12)=12log⁡216=2\tfrac{1}{2}\log_2(1 + 3 + 12) = \tfrac{1}{2}\log_2 16 = 2 bits per use.
  4. Decode and forward takes the smaller of 2 and 2, so RDF=2R_{\text{DF}} = 2 bits per use. Raising ρ\rho would lower the first term below 2 (it becomes 12log⁡2(1+15(1−ρ2))\tfrac{1}{2}\log_2(1 + 15(1-\rho^2))), so ρ=0\rho = 0 is best.

Interpretation: the relay doubles the rate here, from 1 to 2 bits per use, and both cuts are tight at 2. Neither link is the lone bottleneck.

Example
Example 2: the standard symmetric case

Now take all three SNRs equal: γsd=γsr=γrd=3\gamma_{sd} = \gamma_{sr} = \gamma_{rd} = 3.

  1. Direct link: 12log⁡24=1\tfrac{1}{2}\log_2 4 = 1 bit per use.
  2. Relay can decode: 12log⁡24=1\tfrac{1}{2}\log_2 4 = 1 bit per use.
  3. Destination with both (ρ=0\rho = 0): 12log⁡2(1+3+3)=12log⁡27≈1.404\tfrac{1}{2}\log_2(1 + 3 + 3) = \tfrac{1}{2}\log_2 7 \approx 1.404 bits per use.
  4. Decode and forward: min⁡{1,1.404}=1\min\{1, 1.404\} = 1 bit per use.

Interpretation: the relay gives no gain over the direct link. The relay itself can only decode at rate 1 (and any ρ>0\rho \gt 0 makes that term smaller), so the destination never receives more than the relay understood. The lesson is that a relay helps only when its own link is good, and the relay's decoding rate is the first thing to check.

Example
Example 3: a realistic relay near the source

A phone reaches a base station through a nearby device. Suppose the direct path is faint, γsd=1\gamma_{sd} = 1, while both relay links are strong, γsr=γrd=40\gamma_{sr} = \gamma_{rd} = 40.

  1. Direct link: 12log⁡22=0.5\tfrac{1}{2}\log_2 2 = 0.5 bits per use.
  2. Decode and forward, relay can decode: 12log⁡241≈2.679\tfrac{1}{2}\log_2 41 \approx 2.679 bits per use.
  3. Decode and forward, destination: 12log⁡2(1+1+40)=12log⁡242≈2.696\tfrac{1}{2}\log_2(1 + 1 + 40) = \tfrac{1}{2}\log_2 42 \approx 2.696 bits per use.
  4. Decode and forward takes the smaller: RDF≈2.68R_{\text{DF}} \approx 2.68 bits per use.
  5. Amplify and forward: γAF=1+40⋅4040+40+1=1+19.75=20.75\gamma_{\text{AF}} = 1 + \dfrac{40 \cdot 40}{40 + 40 + 1} = 1 + 19.75 = 20.75, so the rate is 14log⁡221.75≈1.11\tfrac{1}{4}\log_2 21.75 \approx 1.11 bits per use.

Interpretation: the relay turns a link of about half a bit per use into roughly 1.1 bits (amplify and forward, half duplex) or 2.7 bits (decode and forward, full duplex). Decoding is better here because the relay's links are strong enough to decode reliably, and because amplify and forward forwards the relay's noise and spends two time slots per message. The two numbers are not a like-for-like comparison, since one relay talks and listens at once and the other does not.

Tradeoffs and failure modes

SituationProblemBetter choice
Relay's source link is weakRelay cannot decode, so decode and forward stallsAmplify and forward, or a direct link with more power
Relay is cheap and must stay simpleA decoder costs power and delayAmplify and forward
Relay links are strong and the rate mattersAmplify and forward forwards noiseDecode and forward
Relay and source share a channelTheir transmissions interfere at the destinationSchedule them apart, or use coordinated coding
Relay has no reliable knowledge of the channelPower and phase cannot be alignedSimpler protocols, or estimate the channel first

The main failure mode is treating the relay as free. It spends power, time and sometimes bandwidth, and it adds a second transmitter that can collide with the first. Another is assuming a relay always helps. The formulas say it cannot reduce the rate in theory, but a badly timed or badly powered relay can waste resources and lower the throughput that matters in practice.

Alternatives include multi-hop routing, where each hop decodes and passes data on, and cooperative schemes where several devices act as relays together. The relay channel is the simplest model that captures what cooperation can buy.

History

Information theorists studied channels with more than two terminals in the early 1970s. Edward van der Meulen introduced the three-terminal relay channel in 1971 and asked what rates are achievable with a helper in the middle. The first precise achievable rates came later, in 1979, when Thomas Cover and Abbas El Gamal gave the decode-and-forward and compress-and-forward bounds that are still the reference points.

The idea caught on in wireless engineering in the early 2000s. In cellular and ad hoc networks, a device near a faint link can forward data for a neighbour, and this cooperative diversity made relays practical. The information-theoretic bounds gave engineers a target: how much a relay could add in principle, and which strategy to choose.

Recap

A relay channel adds a helper between a source and a destination. Decode and forward is limited by the relay's own decoding rate and by the destination's combined rate. Amplify and forward is simpler and forwards noise. Both are measured against the direct link's capacity. From here, the natural next step is multiple access, where several transmitters share one receiver, and fading channels, where the relay's links vary over time.

Check yourself

QuestionA direct link has SNR 7, and a relay can decode at rate 1.5 bits per use. Is decode and forward limited by the relay or by the destination, if the destination's combined rate is 2.5 bits per use?Show answer

The decode-and-forward rate is the minimum of the relay's decoding rate and the destination's combined rate, so it is min⁡{1.5,2.5}=1.5\min\{1.5, 2.5\} = 1.5 bits per use. The relay is the bottleneck, because it cannot forward more than it understood. Improving the destination's link would not help until the relay's link improves.

QuestionCompute the direct capacity for SNR 15, using C=12log⁡2(1+γ)C = \tfrac{1}{2}\log_2(1 + \gamma).Show answer

C=12log⁡2(1+15)=12log⁡216=12⋅4=2C = \tfrac{1}{2}\log_2(1 + 15) = \tfrac{1}{2}\log_2 16 = \tfrac{1}{2} \cdot 4 = 2 bits per use.

QuestionWhy does the relay's decoding rate appear as a limit in decode and forward?Show answer

The relay can only forward what it has understood. If it decodes at a rate of RR bits per use, it cannot send the destination more than RR bits per use of the source's message, no matter how strong its own link to the destination is. The destination's cut bounds what it can receive, but the relay's cut bounds what there is to receive.

QuestionIn amplify and forward, why does the relay's noise reduce the benefit compared with decoding?Show answer

The relay scales and retransmits what it heard, including the noise on it. The destination therefore receives a noisy copy of a noisy signal. Decoding removes that noise by forcing the relay to output a clean codeword, which is why decode and forward can reach a higher rate when the relay's links are strong.

QuestionA relay sits between a source and a destination. Both relay links have SNR 100, and the direct SNR is 0. What is the amplify-and-forward rate, and what does it say about the relay?Show answer

With γsd=0\gamma_{sd} = 0, γAF=100⋅100100+100+1=10000201≈49.75\gamma_{\text{AF}} = \dfrac{100 \cdot 100}{100 + 100 + 1} = \dfrac{10000}{201} \approx 49.75, so the rate is 14log⁡250.75≈1.42\tfrac{1}{4}\log_2 50.75 \approx 1.42 bits per use. The relay alone carries the whole message at a useful rate, which shows that a strong pair of relay links can replace a missing direct link.

Sources