Difference between revisions of "Jointly typical sequences"
Adrian Vidal (talk | contribs) |
Adrian Vidal (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | In this article, we discuss an extension of typical sets to jointly distributed random variables. | |
==Definition== | ==Definition== | ||
Line 64: | Line 64: | ||
For larger <math>n</math>, the number of profiles increases and concentrates the total probability weight near the underlying joint distribution <math>p(X,Y)</math>. | For larger <math>n</math>, the number of profiles increases and concentrates the total probability weight near the underlying joint distribution <math>p(X,Y)</math>. | ||
+ | |||
+ | == Important Properties == | ||
+ | Fix <math>\epsilon > 0</math> can let <math>A_{\epsilon}^{(n)}</math> be the typical set of pairs of <math>n</math>-sequences <math>X^n</math> and <math>Y^n</math>. | ||
+ | |||
+ | * The probability of that an <math>n</math>-sequence drawn i.i.d using <math>p(X,Y)</math> is <math>\epsilon</math>-typical approaches 1 for sufficiently large n. | ||
+ | * The number of elements in <math>A^{(n)}_{\epsilon}</math> is at most <math>2^{n(H(X,Y) + \epsilon}</math>. | ||
+ | * If <math>\tilde{X}^n</math> and <math>\tilde{Y}^n</math> are independent but with the marginal probabilities <math>p(x^n)</math> and <math>p(y^n)</math>, then for sufficiently large <math>n</math>, <math>(1 - \epsilon) 2^{-n(I(X;Y) + 3 \epsilon)}\le \mathbb{P}((\tilde{X}^n, \tilde{Y}^n) \in A_{\epsilon}^{(n)}) \le 2^{-n(I(X;Y) - 3\epsilon)}</math> | ||
+ | |||
+ | The first two properties are direct extensions of the typical set property for a single random variable <math>X</math>. Here, we simply replaced <math>X</math> by <math>(X,Y)</math>. | ||
+ | |||
+ | The third property is more meaningful in the context of data transmission and is in fact used in the proof of Shannon's channel coding theorem. We can interpret <math>Y^n</math> as the channel output corresponding to the channel input <math>X^n</math>. In most practical channels, <math>X^n</math> and <math>Y^n</math> are not independent. Under the lens of data transmission, <math>\tilde{X}^n</math> can be interpreted as a codeword that does not correspond to the received codeword <math>Y^n</math>, i.e., it is a potential erroneous codeword. The bounds in the third property tells us that the "cleaner" a channel is (high <math>I(X;Y)</math>), the less likely we are to make the mistake that <math>\tilde{X}^n</math> was used to transmit <math>Y^n</math>. With a clean channel, essentially we are saying that the transmitted and received codewords are "entangled," and the degree of entanglement gets stronger if we use longer blocklengths. |
Latest revision as of 22:27, 27 April 2021
In this article, we discuss an extension of typical sets to jointly distributed random variables.
Definition
Let be an -sequence of pairs drawn from the set . For a fixed , is said to be jointly typical with respect to random variables and if the three conditions below are all satisfied:
From the definition, we see that the notion of joint typicality is stronger than the previous formulation. If we only needed the sequence of pairs for , we could simply invoke the Asymptotic Equipartition Property with the random variable replaced by . The first two properties further constrain the component sequences and beyond the earlier requirement of AEP. Altogether, these three properties guarantee us that sufficiently long sequences behave near their true joint and marginal distributions with very high probability.
Example: binary symmetric channel
For our example, we consider the sequence of input-output pairs of a binary symmetric channel (BSC). A BSC takes in inputs from the input alphabet and produces outputs which also belong to the same alphabet . If we write the joint distribution as , we can generate the pairs by first generating a value using , and then drawing a value using the conditional distribution . For the BSC, if and if , where is called the crossover probability.
In our calculation, the input is assumed to be distributed such that , and the crossover probability is set to . The typicality threshold is set at . From and , we obtain the following joint distribution:
3/10 | 1/30 | |
1/15 | 3/5 |
The table below shows the probability of producing a jointly typical sequence as the blocklength increases.
50 | 0 |
100 | 0.003050 |
500 | 0.155243 |
1000 | 0.317690 |
5000 | 0.703099 |
10000 | 0.818271 |
50000 | 0.982649 |
To produce the values in the table, we enumerate the relatively frequencies of pairs that will result in a typical sequence for a fixed . In our example, you can think of this a "profile" consisting of four numbers, , where is the number of pairs in the sequence for . At , there is only one such profile: . Using the multinomial theorem, we can calculate the probability of this profile as
For larger , the number of profiles increases and concentrates the total probability weight near the underlying joint distribution .
Important Properties
Fix can let be the typical set of pairs of -sequences and .
- The probability of that an -sequence drawn i.i.d using is -typical approaches 1 for sufficiently large n.
- The number of elements in is at most .
- If and are independent but with the marginal probabilities and , then for sufficiently large ,
The first two properties are direct extensions of the typical set property for a single random variable . Here, we simply replaced by .
The third property is more meaningful in the context of data transmission and is in fact used in the proof of Shannon's channel coding theorem. We can interpret as the channel output corresponding to the channel input . In most practical channels, and are not independent. Under the lens of data transmission, can be interpreted as a codeword that does not correspond to the received codeword , i.e., it is a potential erroneous codeword. The bounds in the third property tells us that the "cleaner" a channel is (high ), the less likely we are to make the mistake that was used to transmit . With a clean channel, essentially we are saying that the transmitted and received codewords are "entangled," and the degree of entanglement gets stronger if we use longer blocklengths.