Redundancy (information theory)

From HandWiki
Revision as of 15:47, 6 February 2024 by TextAI2 (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In information theory, redundancy measures the fractional difference between the entropy H(X) of an ensemble X, and its maximum possible value [math]\displaystyle{ \log(|\mathcal{A}_X|) }[/math].[1][2] Informally, it is the amount of wasted "space" used to transmit certain data. Data compression is a way to reduce or eliminate unwanted redundancy, while forward error correction is a way of adding desired redundancy for purposes of error detection and correction when communicating over a noisy channel of limited capacity.

Quantitative definition

In describing the redundancy of raw data, the rate of a source of information is the average entropy per symbol. For memoryless sources, this is merely the entropy of each symbol, while, in the most general case of a stochastic process, it is

[math]\displaystyle{ r = \lim_{n \to \infty} \frac{1}{n} H(M_1, M_2, \dots M_n), }[/math]

in the limit, as n goes to infinity, of the joint entropy of the first n symbols divided by n. It is common in information theory to speak of the "rate" or "entropy" of a language. This is appropriate, for example, when the source of information is English prose. The rate of a memoryless source is simply [math]\displaystyle{ H(M) }[/math], since by definition there is no interdependence of the successive messages of a memoryless source.[citation needed]

The absolute rate of a language or source is simply

[math]\displaystyle{ R = \log |\mathbb M| ,\, }[/math]

the logarithm of the cardinality of the message space, or alphabet. (This formula is sometimes called the Hartley function.) This is the maximum possible rate of information that can be transmitted with that alphabet. (The logarithm should be taken to a base appropriate for the unit of measurement in use.) The absolute rate is equal to the actual rate if the source is memoryless and has a uniform distribution.

The absolute redundancy can then be defined as

[math]\displaystyle{ D = R - r ,\, }[/math]

the difference between the absolute rate and the rate.

The quantity [math]\displaystyle{ \frac D R }[/math] is called the relative redundancy and gives the maximum possible data compression ratio, when expressed as the percentage by which a file size can be decreased. (When expressed as a ratio of original file size to compressed file size, the quantity [math]\displaystyle{ R : r }[/math] gives the maximum compression ratio that can be achieved.) Complementary to the concept of relative redundancy is efficiency, defined as [math]\displaystyle{ \frac r R , }[/math] so that [math]\displaystyle{ \frac r R + \frac D R = 1 }[/math]. A memoryless source with a uniform distribution has zero redundancy (and thus 100% efficiency), and cannot be compressed.

Other notions

A measure of redundancy between two variables is the mutual information or a normalized variant. A measure of redundancy among many variables is given by the total correlation.

Redundancy of compressed data refers to the difference between the expected compressed data length of [math]\displaystyle{ n }[/math] messages [math]\displaystyle{ L(M^n) \,\! }[/math] (or expected data rate [math]\displaystyle{ L(M^n)/n \,\! }[/math]) and the entropy [math]\displaystyle{ nr \,\! }[/math] (or entropy rate [math]\displaystyle{ r \,\! }[/math]). (Here we assume the data is ergodic and stationary, e.g., a memoryless source.) Although the rate difference [math]\displaystyle{ L(M^n)/n-r \,\! }[/math] can be arbitrarily small as [math]\displaystyle{ n \,\! }[/math] increased, the actual difference [math]\displaystyle{ L(M^n)-nr \,\! }[/math], cannot, although it can be theoretically upper-bounded by 1 in the case of finite-entropy memoryless sources.

Redundancy in an information-theoretic contexts can also refer to the information that is redundant between two mutual informations. For example, given three variables [math]\displaystyle{ X_1 }[/math], [math]\displaystyle{ X_2 }[/math], and [math]\displaystyle{ Y }[/math], it is known that the joint mutual information can be less than the sum of the marginal mutual informations: [math]\displaystyle{ I(X_1,X_2 ; Y) \lt I(X_1;Y) + I(X_2;Y) }[/math]. In this case, at least some of the information about [math]\displaystyle{ Y }[/math] disclosed by [math]\displaystyle{ X_1 }[/math] or [math]\displaystyle{ X_2 }[/math] is the same. This formulation of redundancy is complementary to the notion of synergy, which occurs when the joint mutual information is greater than the sum of the marginals, indicating the presence of information that is only disclosed by the joint state and not any simpler collection of sources.[3][4]

Group redundancy

The above pairwise redundancy measure can be generalized to a set of n variables.

[math]\displaystyle{ Redundancy = I(X_1,X_2,...,X_n ; Y) - \left( I(X_1;Y) + I(X_2;Y) + ... I(X_n;Y) \right) }[/math]. [5] As the pair-wise measure above, if this value is negative, one says the set of variables is redundant.


See also

References

  1. Here it is assumed [math]\displaystyle{ {\mathcal A}_X }[/math] are the sets on which the probability distributions are defined.
  2. MacKay, David J.C. (2003). "2.4 Definition of entropy and related functions". Information Theory, Inference, and Learning Algorithms. Cambridge University Press. p. 33. ISBN 0-521-64298-1. http://www.inference.phy.cam.ac.uk/mackay/itila/book.html. "The redundancy measures the fractional difference between H(X) and its maximum possible value, [math]\displaystyle{ |\log(|{\mathcal A}_X|) }[/math]" 
  3. Williams, Paul L.; Beer, Randall D. (2010). "Nonnegative Decomposition of Multivariate Information". arXiv:1004.2515 [cs.IT].
  4. Gutknecht, A. J.; Wibral, M.; Makkeh, A. (2021). "Bits and pieces: Understanding information decomposition from part-whole relationships and formal logic". Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 477 (2251). doi:10.1098/rspa.2021.0110. PMID 35197799. Bibcode2021RSPSA.47710110G. 
  5. Chechik, Gal; Globerson, Amir; Anderson, M.; Young, E.; Nelken, Israel; Tishby, Naftali (2001). "Group Redundancy Measures Reveal Redundancy Reduction in the Auditory Pathway". Advances in Neural Information Processing Systems (MIT Press) 14. https://proceedings.neurips.cc/paper/2001/hash/05a5cf06982ba7892ed2a6d38fe832d6-Abstract.html.