Engineering:Channel capacity

From HandWiki
Short description: Information-theoretical limit on transmission rate in a communication channel

Channel capacity, in electrical engineering, computer science, and information theory, is the theoretical maximum rate at which information can be reliably transmitted over a communication channel.

Following the terms of the noisy-channel coding theorem, the channel capacity of a given channel is the highest information rate (in units of information per unit time) that can be achieved with arbitrarily small error probability.[1][2]

Information theory, developed by Claude E. Shannon in 1948, defines the notion of channel capacity and provides a mathematical model by which it may be computed. The key result states that the capacity of the channel, as defined above, is given by the maximum of the mutual information between the input and output of the channel, where the maximization is with respect to the input distribution.[3]

The notion of channel capacity has been central to the development of modern wireline and wireless communication systems, with the advent of novel error correction coding mechanisms that have resulted in achieving performance very close to the limits promised by channel capacity.

Formal definition

The basic mathematical model for a communication system is the following:

[math]\displaystyle{ \xrightarrow[\text{Message}]{W} \begin{array}{|c|}\hline \text{Encoder} \\ f_n \\ \hline\end{array} \xrightarrow[\mathrm{Encoded \atop sequence}]{X^n} \begin{array}{|c|}\hline \text{Channel} \\ p(y|x) \\ \hline\end{array} \xrightarrow[\mathrm{Received \atop sequence}]{Y^n} \begin{array}{|c|}\hline \text{Decoder} \\ g_n \\ \hline\end{array} \xrightarrow[\mathrm{Estimated \atop message}]{\hat W} }[/math]


  • [math]\displaystyle{ W }[/math] is the message to be transmitted;
  • [math]\displaystyle{ X }[/math] is the channel input symbol ([math]\displaystyle{ X^n }[/math] is a sequence of [math]\displaystyle{ n }[/math] symbols) taken in an alphabet [math]\displaystyle{ \mathcal{X} }[/math];
  • [math]\displaystyle{ Y }[/math] is the channel output symbol ([math]\displaystyle{ Y^n }[/math] is a sequence of [math]\displaystyle{ n }[/math] symbols) taken in an alphabet [math]\displaystyle{ \mathcal{Y} }[/math];
  • [math]\displaystyle{ \hat{W} }[/math] is the estimate of the transmitted message;
  • [math]\displaystyle{ f_n }[/math] is the encoding function for a block of length [math]\displaystyle{ n }[/math];
  • [math]\displaystyle{ p(y|x) = p_{Y|X}(y|x) }[/math] is the noisy channel, which is modeled by a conditional probability distribution; and,
  • [math]\displaystyle{ g_n }[/math] is the decoding function for a block of length [math]\displaystyle{ n }[/math].

Let [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] be modeled as random variables. Furthermore, let [math]\displaystyle{ p_{Y|X}(y|x) }[/math] be the conditional probability distribution function of [math]\displaystyle{ Y }[/math] given [math]\displaystyle{ X }[/math], which is an inherent fixed property of the communication channel. Then the choice of the marginal distribution [math]\displaystyle{ p_X(x) }[/math] completely determines the joint distribution [math]\displaystyle{ p_{X,Y}(x,y) }[/math] due to the identity

[math]\displaystyle{ \ p_{X,Y}(x,y)=p_{Y|X}(y|x)\,p_X(x) }[/math]

which, in turn, induces a mutual information [math]\displaystyle{ I(X;Y) }[/math]. The channel capacity is defined as

[math]\displaystyle{ \ C = \sup_{p_X(x)} I(X;Y)\, }[/math]

where the supremum is taken over all possible choices of [math]\displaystyle{ p_X(x) }[/math].

Additivity of channel capacity

Channel capacity is additive over independent channels.[4] It means that using two independent channels in a combined manner provides the same theoretical capacity as using them independently. More formally, let [math]\displaystyle{ p_{1} }[/math] and [math]\displaystyle{ p_{2} }[/math] be two independent channels modelled as above; [math]\displaystyle{ p_{1} }[/math] having an input alphabet [math]\displaystyle{ \mathcal{X}_{1} }[/math] and an output alphabet [math]\displaystyle{ \mathcal{Y}_{1} }[/math]. Idem for [math]\displaystyle{ p_{2} }[/math]. We define the product channel [math]\displaystyle{ p_{1}\times p_2 }[/math] as [math]\displaystyle{ \forall (x_{1}, x_{2}) \in (\mathcal{X}_{1}, \mathcal{X}_{2}),\;(y_{1}, y_{2}) \in (\mathcal{Y}_{1}, \mathcal{Y}_{2}),\; (p_{1}\times p_{2})((y_{1}, y_{2}) | (x_{1},x_{2}))=p_{1}(y_{1}|x_{1})p_{2}(y_{2}|x_{2}) }[/math]

This theorem states: [math]\displaystyle{ C(p_{1}\times p_{2}) = C(p_{1}) + C(p_{2}) }[/math]

Shannon capacity of a graph

Main page: Shannon capacity of a graph

If G is an undirected graph, it can be used to define a communications channel in which the symbols are the graph vertices, and two codewords may be confused with each other if their symbols in each position are equal or adjacent. The computational complexity of finding the Shannon capacity of such a channel remains open, but it can be upper bounded by another important graph invariant, the Lovász number.[5]

Noisy-channel coding theorem

The noisy-channel coding theorem states that for any error probability ε > 0 and for any transmission rate R less than the channel capacity C, there is an encoding and decoding scheme transmitting data at rate R whose error probability is less than ε, for a sufficiently large block length. Also, for any rate greater than the channel capacity, the probability of error at the receiver goes to 0.5 as the block length goes to infinity.

Example application

An application of the channel capacity concept to an additive white Gaussian noise (AWGN) channel with B Hz bandwidth and signal-to-noise ratio S/N is the Shannon–Hartley theorem:

[math]\displaystyle{ C = B \log_2 \left( 1+\frac{S}{N} \right)\ }[/math]

C is measured in bits per second if the logarithm is taken in base 2, or nats per second if the natural logarithm is used, assuming B is in hertz; the signal and noise powers S and N are expressed in a linear power unit (like watts or volts2). Since S/N figures are often cited in dB, a conversion may be needed. For example, a signal-to-noise ratio of 30 dB corresponds to a linear power ratio of [math]\displaystyle{ 10^{30/10} = 10^3 = 1000 }[/math].

Channel capacity estimation

To determine the channel capacity, it is necessary to find the capacity-achieving distribution [math]\displaystyle{ p_X(x) }[/math] and evaluate the mutual information [math]\displaystyle{ I(X;Y) }[/math]. Research has mostly focused on studying additive noise channels under certain power constraints and noise distributions, as analytical methods are not feasible in the majority of other scenarios. Hence, alternative approaches such as, investigation on the input support,[6] relaxations[7] and capacity bounds,[8] have been proposed in the literature.

The capacity of a discrete memoryless channel can be computed using the Blahut-Arimoto algorithm.

Deep learning can be used to estimate the channel capacity. In fact, the channel capacity and the capacity-achieving distribution of any discrete-time continuous memoryless vector channel can be obtained using CORTICAL,[9] a cooperative framework inspired by generative adversarial networks. CORTICAL consists of two cooperative networks: a generator with the objective of learning to sample from the capacity-achieving input distribution, and a discriminator with the objective to learn to distinguish between paired and unpaired channel input-output samples and estimates [math]\displaystyle{ I(X;Y) }[/math].

Channel capacity in wireless communications

This section[10] focuses on the single-antenna, point-to-point scenario. For channel capacity in systems with multiple antennas, see the article on MIMO.

Bandlimited AWGN channel

Main page: Shannon–Hartley theorem
AWGN channel capacity with the power-limited regime and bandwidth-limited regime indicated. Here, [math]\displaystyle{ \frac{\bar{P}}{N_0}=1 }[/math]; B and C can be scaled proportionally for other values.

If the average received power is [math]\displaystyle{ \bar{P} }[/math] [W], the total bandwidth is [math]\displaystyle{ W }[/math] in Hertz, and the noise power spectral density is [math]\displaystyle{ N_0 }[/math] [W/Hz], the AWGN channel capacity is

[math]\displaystyle{ C_{\text{AWGN}}=W\log_2\left(1+\frac{\bar{P}}{N_0 W}\right) }[/math] [bits/s],

where [math]\displaystyle{ \frac{\bar{P}}{N_0 W} }[/math] is the received signal-to-noise ratio (SNR). This result is known as the Shannon–Hartley theorem.[11]

When the SNR is large (SNR ≫ 0 dB), the capacity [math]\displaystyle{ C\approx W\log_2 \frac{\bar{P}}{N_0 W} }[/math] is logarithmic in power and approximately linear in bandwidth. This is called the bandwidth-limited regime.

When the SNR is small (SNR ≪ 0 dB), the capacity [math]\displaystyle{ C\approx \frac{\bar{P}}{N_0 \ln 2} }[/math] is linear in power but insensitive to bandwidth. This is called the power-limited regime.

The bandwidth-limited regime and power-limited regime are illustrated in the figure.

Frequency-selective AWGN channel

The capacity of the frequency-selective channel is given by so-called water filling power allocation,

[math]\displaystyle{ C_{N_c}=\sum_{n=0}^{N_c-1} \log_2 \left(1+\frac{P_n^* |\bar{h}_n|^2}{N_0} \right), }[/math]

where [math]\displaystyle{ P_n^*=\max \left\{ \left(\frac{1}{\lambda}-\frac{N_0}{|\bar{h}_n|^2} \right),0 \right\} }[/math] and [math]\displaystyle{ |\bar{h}_n|^2 }[/math] is the gain of subchannel [math]\displaystyle{ n }[/math], with [math]\displaystyle{ \lambda }[/math] chosen to meet the power constraint.

Slow-fading channel

In a slow-fading channel, where the coherence time is greater than the latency requirement, there is no definite capacity as the maximum rate of reliable communications supported by the channel, [math]\displaystyle{ \log_2 (1+|h|^2 SNR) }[/math], depends on the random channel gain [math]\displaystyle{ |h|^2 }[/math], which is unknown to the transmitter. If the transmitter encodes data at rate [math]\displaystyle{ R }[/math] [bits/s/Hz], there is a non-zero probability that the decoding error probability cannot be made arbitrarily small,

[math]\displaystyle{ p_{out}=\mathbb{P}(\log(1+|h|^2 SNR)\lt R) }[/math],

in which case the system is said to be in outage. With a non-zero probability that the channel is in deep fade, the capacity of the slow-fading channel in strict sense is zero. However, it is possible to determine the largest value of [math]\displaystyle{ R }[/math] such that the outage probability [math]\displaystyle{ p_{out} }[/math] is less than [math]\displaystyle{ \epsilon }[/math]. This value is known as the [math]\displaystyle{ \epsilon }[/math]-outage capacity.

Fast-fading channel

In a fast-fading channel, where the latency requirement is greater than the coherence time and the codeword length spans many coherence periods, one can average over many independent channel fades by coding over a large number of coherence time intervals. Thus, it is possible to achieve a reliable rate of communication of [math]\displaystyle{ \mathbb{E}(\log_2 (1+|h|^2 SNR)) }[/math] [bits/s/Hz] and it is meaningful to speak of this value as the capacity of the fast-fading channel.

Feedback Capacity

Feedback capacity is the greatest rate at which information can be reliably transmitted, per unit time, over a point-to-point communication channel in which the receiver feeds back the channel outputs to the transmitter. Information-theoretic analysis of communication systems that incorporate feedback is more complicated and challenging than without feedback. Possibly, this was the reason C.E. Shannon chose feedback as the subject of the first Shannon Lecture, delivered at the 1973 IEEE International Symposium on Information Theory in Ashkelon, Israel.

The feedback capacity is characterized by the maximum of the directed information between the channel inputs and the channel outputs, where the maximization is with respect to the causal conditioning of the input given the output. The directed information was coined by James Massey[12] in 1990, who showed that its an upper bound on feedback capacity. For memoryless channels, Shannon showed[13] that feedback does not increase the capacity, and the feedback capacity coincides with the channel capacity characterized by the mutual information between the input and the output. The feedback capacity is known as a closed-form expression only for several examples such as: the Trapdoor channel,[14] Ising channel,[15][16] the binary erasure channel with a no-consecutive-ones input constraint, NOST channels.

The basic mathematical model for a communication system is the following:

Communication with feedback

Here is the formal definition of each element (where the only difference with respect to the nonfeedback capacity is the encoder definition):

  • [math]\displaystyle{ W }[/math] is the message to be transmitted, taken in an alphabet [math]\displaystyle{ \mathcal{W} }[/math];
  • [math]\displaystyle{ X }[/math] is the channel input symbol ([math]\displaystyle{ X^n }[/math] is a sequence of [math]\displaystyle{ n }[/math] symbols) taken in an alphabet [math]\displaystyle{ \mathcal{X} }[/math];
  • [math]\displaystyle{ Y }[/math] is the channel output symbol ([math]\displaystyle{ Y^n }[/math] is a sequence of [math]\displaystyle{ n }[/math] symbols) taken in an alphabet [math]\displaystyle{ \mathcal{Y} }[/math];
  • [math]\displaystyle{ \hat{W} }[/math] is the estimate of the transmitted message;
  • [math]\displaystyle{ f_i: \mathcal{W} \times \mathcal{Y}^{i-1} \to \mathcal{X} }[/math] is the encoding function at time [math]\displaystyle{ i }[/math], for a block of length [math]\displaystyle{ n }[/math];
  • [math]\displaystyle{ p(y_i|x^i,y^{i-1}) = p_{Y_i|X^i,Y^{i-1}}(y_i|x^i,y^{i-1}) }[/math] is the noisy channel at time [math]\displaystyle{ i }[/math], which is modeled by a conditional probability distribution; and,
  • [math]\displaystyle{ \hat{w}: \mathcal{Y}^n \to \mathcal{W} }[/math] is the decoding function for a block of length [math]\displaystyle{ n }[/math].

That is, for each time [math]\displaystyle{ i }[/math] there exists a feedback of the previous output [math]\displaystyle{ Y_{i-1} }[/math] such that the encoder has access to all previous outputs [math]\displaystyle{ Y^{i-1} }[/math]. An [math]\displaystyle{ (2^{nR},n) }[/math] code is a pair of encoding and decoding mappings with [math]\displaystyle{ \mathcal{W}=[1,2,\dots, 2^{nR}] }[/math], and [math]\displaystyle{ W }[/math] is uniformly distributed. A rate [math]\displaystyle{ R }[/math] is said to be achievable if there exists a sequence of codes [math]\displaystyle{ (2^{nR},n) }[/math] such that the average probability of error: [math]\displaystyle{ P_e^{(n)}\triangleq \Pr (\hat{W}\neq W) }[/math] tends to zero as [math]\displaystyle{ n\to \infty }[/math].

The feedback capacity is denoted by [math]\displaystyle{ C_{\text{feedback}} }[/math], and is defined as the supremum over all achievable rates.

Main results on feedback capacity

Let [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] be modeled as random variables. The causal conditioning [math]\displaystyle{ P(y^n||x^n) \triangleq \prod_{i=1}^n P(y_i|y^{i-1},x^{i}) }[/math] describes the given channel. The choice of the causally conditional distribution [math]\displaystyle{ P(x^n||y^{n-1}) \triangleq \prod_{i=1}^n P(x_i|x^{i-1},y^{i-1}) }[/math] determines the joint distribution [math]\displaystyle{ p_{X^n,Y^n}(x^n,y^n) }[/math] due to the chain rule for causal conditioning[17] [math]\displaystyle{ P(y^n, x^n) = P(y^n||x^n) P(x^n||y^{n-1}) }[/math] which, in turn, induces a directed information [math]\displaystyle{ I(X^N \rightarrow Y^N)=\mathbf E\left[ \log \frac{P(Y^N||X^N)}{P(Y^N)} \right] }[/math].

The feedback capacity is given by

[math]\displaystyle{ \ C_{\text{feedback}} = \lim_{n \to \infty} \frac{1}{n} \sup_{P_{X^n||Y^{n-1}}} I(X^n \to Y^n)\, }[/math],

where the supremum is taken over all possible choices of [math]\displaystyle{ P_{X^n||Y^{n-1}}(x^n||y^{n-1}) }[/math].

Gaussian feedback capacity

When the Gaussian noise is colored, the channel has memory. Consider for instance the simple case on an autoregressive model noise process [math]\displaystyle{ z_i = z_{i-1}+w_i }[/math] where [math]\displaystyle{ w_i\sim N(0,1) }[/math] is an i.i.d. process.

Solution techniques

The feedback capacity is difficult to solve in the general case. There are some techniques that are related to control theory and Markov decision processes if the channel is discrete.

See also

Advanced Communication Topics

  • MIMO
  • Cooperative diversity

External links


  1. Saleem Bhatti. "Channel capacity". Lecture notes for M.Sc. Data Communication Networks and Distributed Systems D51 -- Basic Communications and Networks. 
  2. Jim Lesurf. "Signals look like noise!". Information and Measurement, 2nd ed.. 
  3. Thomas M. Cover, Joy A. Thomas (2006). Elements of Information Theory. John Wiley & Sons, New York. ISBN 9781118585771. 
  4. Cover, Thomas M.; Thomas, Joy A. (2006). "Chapter 7: Channel Capacity". Elements of Information Theory (Second ed.). Wiley-Interscience. pp. 206–207. ISBN 978-0-471-24195-9. 
  5. Lovász, László (1979), "On the Shannon Capacity of a Graph", IEEE Transactions on Information Theory IT-25 (1): 1–7, doi:10.1109/tit.1979.1055985 .
  6. Smith, Joel G. (1971). "The information capacity of amplitude- and variance-constrained sclar gaussian channels" (in en). Information and Control 18 (3): 203–219. doi:10.1016/S0019-9958(71)90346-9. 
  7. Huang, J.; Meyn, S.P. (2005). "Characterization and Computation of Optimal Distributions for Channel Coding" (in en). IEEE Transactions on Information Theory 51 (7): 2336–2351. doi:10.1109/TIT.2005.850108. ISSN 0018-9448. 
  8. McKellips, A.L. (2004). "Simple tight bounds on capacity for the peak-limited discrete-time channel". International Symposium on Information Theory (IEEE): 348–348. doi:10.1109/ISIT.2004.1365385. ISBN 978-0-7803-8280-0. 
  9. Letizia, Nunzio A.; Tonello, Andrea M.; Poor, H. Vincent (2023). "Cooperative Channel Capacity Learning". IEEE Communications Letters 27 (8): 1984–1988. doi:10.1109/LCOMM.2023.3282307. ISSN 1089-7798. 
  10. David Tse, Pramod Viswanath (2005), Fundamentals of Wireless Communication, Cambridge University Press, UK, ISBN 9780521845274, 
  11. The Handbook of Electrical Engineering. Research & Education Association. 1996. p. D-149. ISBN 9780878919819. 
  12. Massey, James (Nov 1990). "Causality, Feedback and Directed Information". Proc. 1990 Int. Symp. On Information Theory and Its Applications (ISITA-90), Waikiki, HI.: 303–305. 
  13. Shannon, C. (September 1956). "The zero error capacity of a noisy channel". IEEE Transactions on Information Theory 2 (3): 8–19. doi:10.1109/TIT.1956.1056798. 
  14. Permuter, Haim; Cuff, Paul; Van Roy, Benjamin; Weissman, Tsachy (July 2008). "Capacity of the trapdoor channel with feedback". IEEE Trans. Inf. Theory 54 (7): 3150–3165. doi:10.1109/TIT.2008.924681. 
  15. Elishco, Ohad; Permuter, Haim (September 2014). "Capacity and Coding for the Ising Channel With Feedback". IEEE Transactions on Information Theory 60 (9): 5138–5149. doi:10.1109/TIT.2014.2331951. 
  16. Aharoni, Ziv; Sabag, Oron; Permuter, Haim H. (September 2022). "Feedback Capacity of Ising Channels With Large Alphabet via Reinforcement Learning". IEEE Transactions on Information Theory 68 (9): 5637–5656. doi:10.1109/TIT.2022.3168729. 
  17. Permuter, Haim Henry; Weissman, Tsachy; Goldsmith, Andrea J. (February 2009). "Finite State Channels With Time-Invariant Deterministic Feedback". IEEE Transactions on Information Theory 55 (2): 644–662. doi:10.1109/TIT.2008.2009849.