TODO: explain this diagram which I ripped of Wikipedia.

Not: what you hope to get from the newspaper. (Although…) Rather: Different types of (formally defined) entropy/information and their disambiguation. The seductive power of the logarithm and convex functions rather like it.

A proven path to publication is to find or reinvent a derived measure based on Shannon information, and apply it to something provocative-sounding. (Qualia! Stock markets! Evolution! Language! The qualia of evolving stock market languages!)

This is purely about the analytic definition given random variables. If you wish to estimate such a quantity empirically, from your experiment, that’s a different problem.

Connected also to functional equations and yes, statistical mechanics, and quantum information physics.

## Shannon Information

Vanilla information, thanks be to Claude Shannon. You have are given a discrete random process of specified parameters. How much can you compress it down to a more parsimonious process? (leaving coding theory aside for the moment.)

Given a random variable \(X\) taking values \(x \in \mathcal{X}\) from some discrete alphabet \(\mathcal{X}\), with probability mass function \(p(x)\).

\[ \begin{array}{ccc} H(X) & := & -\sum_{x \in \mathcal{X}} p(x) \log p(x) \\ & \equiv & E( \log 1/p(x) ) \end{array} \]

More generally if we have a measure \(P\) over some Borel space

\[ H(X)=-\int _{X}\log {\frac {\mathrm {d} P}{\mathrm {d} \mu }}\,dP \]

Over at the Functional equations page I note that Tom Leinster has a clever proof of the optimality of Shannon information via functional equations.

One interesting aspect of the proof is where the difficulty lies. Let \(I:\Delta_n \to \mathbb{R}^+\) be continuous functions satisfying the chain rule; we have to show that \(I\) is proportional to \(H\). All the effort and ingenuity goes into showing that \(I\) is proportional to \(H\) when restricted to the uniform distributions. In other words, the hard part is to show that there exists a constant \(c\) such that

\[ I(1/n, \ldots, 1/n) = c H(1/n, \ldots, 1/n) \]

for all \(n \geq 1\).

Venkatesan Guruswami, Atri Rudra and Madhu Sudan, Essential Coding Theory.

## K-L divergence

Because “Kullback-Leibler divergence” is a lot of syllables for something you use so often, even if usually in sentences like “unlike the K-L divergences”. Or you could call it the “relative entropy”, but that sounds like something to do with my uncle after the seventh round of Christmas drinks.

It is defined between the probability mass functions of two discrete random variables, \(X,Y\) over the same space, where those probability mass functions are given \(p(x)\) and \(q(x)\) respectively.

\[ \begin{array}{cccc} D(P \parallel Q) & := & -\sum_{x \in \mathcal{X}} p(x) \log p(x) \frac{p(x)}{q(x)} \\ & \equiv & E \log p(x) \frac{p(x)}{q(x)} \end{array} \]

More generally, if the random variables have laws, respectively \(P\) and \(Q\):

\[ {\displaystyle D_{\operatorname {KL} }(P\|Q)=\int _{\operatorname {supp} P}{\frac {\mathrm {d} P}{\mathrm {d} Q}}\log {\frac {\mathrm {d} P}{\mathrm {d} Q}}\,dQ=\int _{\operatorname {supp} P}\log {\frac {\mathrm {d} P}{\mathrm {d} Q}}\,dP,} \]

## Mutual information

The “informativeness” of one variable given another… Most simply, the K-L divergence between the product distribution and the joint distribution of two random variables. (That is, it vanishes if the two variables are independent).

Now, take \(X\) and \(Y\) with joint probability mass distribution \(p_{XY}(x,y)\) and, for clarity, marginal distributions \(p_X\) and \(p_Y\).

Then the mutual information \(I\) is given

\[ I(X; Y) = H(X) - H(X|Y) \]

Estimating this one has been giving me grief lately, so I’ll be happy when I get to this section and solve it forever. See nonparametric mutual information.

Getting an intuition of what this measure does is handy, so I’ll expound some equivalent definitions that emphasises different characteristics:

\[ \begin{array}{cccc} I(X; Y) & := & \sum_{x \in \mathcal{X}} \sum_{y \in \mathcal{Y}} p_{XY}(x, y) \log p(x, y) \frac{p_{XY}(x,y)}{p_X(x)p_Y(y)} \\ & = & D( p_{XY} \parallel p_X p_Y) \\ & = & E \log \frac{p_{XY}(x,y)}{p_X(x)p_Y(y)} \end{array} \]

More usually we want the Conditional Mutual information.

\[I(X;Y|Z)=\int _{\mathcal {Z}}D_{\mathrm {KL} }(P_{(X,Y)|Z}\|P_{X|Z}\otimes P_{Y|Z})dP_{Z}\]

Here is Chrosopher Olah’s excellent visual explanation of it

## Kolmogorov-Sinai entropy

Schreiber says:

If \(I\) is obtained by coarse graining a continuous system \(X\) at resolution \(\epsilon\), the entropy \(HX(\epsilon)\) and entropy rate \(hX(\epsilon)\) will depend on the partitioning and in general diverge like \(\log(\epsilon)\) when \(\epsilon \to 0\). However, for the special case of a deterministic dynamical system, \(\lim_{\epsilon\to 0} hX (\epsilon) = hKS\) may exist and is then called the

Kolmogorov-Sinai entropy. (For non-Markov systems, also the limit \(k \to \infty\) needs to be taken.)

That is, it is a special case of the entropy rate for a dynamical system - Cue connection to algorithmic complexity. Also metric entropy?

## Relatives

### Rényi Information

Also, the Hartley measure.

You don’t need to use a logarithm in your information summation. Free energy, something something. (?)

The observation that many of the attractive features of information measures are simply due to the concavity of the logarithm term in the function. So, why not whack another concave function with even more handy features in there? Bam, you are now working on Rényi information. How do you feel?

### Tsallis statistics

Attempting to make information measures “non-extensive”.
“*q*-entropy”.
Seems to
have made a big splash in Brazil, but less in other countries.
Non-extensive measures are an
intriguing idea, though.
I wonder if it’s parochialism that keeps everyone off
Tsallis statistics, or a lack of demonstrated usefulness?

### Fisher information

See maximum likelihood and information criteria.

## Estimating information

Wait, you don’t know the exact parameters of your generating process *a priori*?
You need to estimate it from data.

### To Read

- John Baez’s A Characterisation of Entropy etc hsee also
- Daniel Ellerman’s Logical Entropy stuff and which he has now written up as Ellerman (2017).

## References

*Proceeding of the Second International Symposium on Information Theory*, edited by Petrovand F Caski, 199–213. Budapest: Akademiai Kiado. http://link.springer.com/chapter/10.1007/978-1-4612-1694-0_15.

*IEEE Transactions on Information Theory*47: 1701–11. https://doi.org/10.1109/18.930911.

*The European Physical Journal B - Condensed Matter and Complex Systems*63 (3): 329–39. https://doi.org/10.1140/epjb/e2008-00175-0.

*Physical Review Letters*103 (23): 238701. https://doi.org/10.1103/PhysRevLett.103.238701.

*Phys. Rev. E*81 (4): 041907. https://doi.org/10.1103/PhysRevE.81.041907.

*Physica A: Statistical and Theoretical Physics*302 (1-4): 89–99. https://doi.org/10.1016/S0378-4371(01)00444-7.

*Neural Computation*13 (11): 2409–63. https://doi.org/10.1162/089976601753195969.

*Proceedings of the Third International Joint Conference on Autonomous Agents and Multiagent Systems-Volume 3*, 4:1230–31. IEEE Computer Society. https://ti.arc.nasa.gov/m/profile/dhw/papers/7.pdf.

*Information and Randomness : An Algorithmic Perspective*. Springer.

*Inference in Hidden Markov Models*. 1st ed. 2005. Corr. 2nd printing 2007 edition. New York ; London: Springer.

*Physica D: Nonlinear Phenomena*120 (1-2): 62–81.

*Physical Review A*55 (5): 3371.

*IBM Journal of Research and Development*.

*Physical Review A*84 (1): 012311. https://doi.org/10.1103/PhysRevA.84.012311.

*IEEE Transactions on Information Theory*14: 462–67. https://doi.org/10.1109/TIT.1968.1054142.

*Behavioral Science*7 (2): 137–63. https://doi.org/10.1002/bs.3830070202.

*The Annals of Probability*17 (3): 840–65. https://doi.org/10.1214/aop/1176991250.

*Elements of Information Theory*. Wiley-Interscience.

*Physical Review Letters*99 (10): 100602. https://doi.org/10.1103/PhysRevLett.99.100602.

*Information Theory and Statistics: A Tutorial*. Vol. 1. Foundations and Trends in Communications and Information Theory. https://doi.org/10.1561/0100000004.

*Stochastic Processes and Their Applications*62 (1): 139–68. https://doi.org/10.1016/0304-4149(95)00090-9.

*Journal of Physics A: Mathematical and General*36: 631–41. https://doi.org/10.1088/0305-4470/36/3/303.

*Studies in History and Philosophy of Modern Physics*29 (4): 435–71. https://doi.org/10.1016/S1355-2198(98)00023-9.

*Studies in History and Philosophy of Modern Physics*30 (1): 1–40. https://doi.org/10.1016/S1355-2198(98)00026-4.

*Granger-Causality Graphs for Multivariate Time Series*. http://archiv.ub.uni-heidelberg.de/volltextserver/20749/1/beitrag.64.pdf.

*Journal of Machine Learning Research*6: 81–127.

*Advances in Complex Systems*7 (03): 329–55. https://doi.org/10.1142/S0219525904000196.

*Decision Analysis*7 (4): 378–403. https://doi.org/10.1287/deca.1100.0190.

*Proceedings of the Seventeenth Conference on Uncertainty in Artificial Intelligence*, 152–61. UAI’01. San Francisco, CA, USA: Morgan Kaufmann Publishers Inc. http://arxiv.org/abs/1301.2270.

*Nature Reviews Neuroscience*11 (2): 127. https://doi.org/10.1038/nrn2787.

*Journal of Machine Learning Research*, 277–86. http://www.jmlr.org/proceedings/papers/v38/gao15.html.

*IEEE Transactions on Information Theory*47 (6): 2443–63. https://doi.org/10.1109/18.945257.

*Information and Control*6 (1): 28–48. https://doi.org/10.1016/S0019-9958(63)90092-5.

*Physics Letters A*128 (6–7): 369–73. https://doi.org/10.1016/0375-9601(88)90193-4.

*Entropy and Information Theory*. New York: Springer-Verlag.

*Journal of Machine Learning Research*10: 1469.

*The Annals of Statistics*25 (6): 2451–92. https://doi.org/10.1214/aos/1030741081.

*Journal of Theoretical Biology*116 (3): 321–41. https://doi.org/10.1016/S0022-5193(85)80271-X.

*Statistical Physics*. Vol. 3. Brandeis University Summer Institute Lectures in Theoretical Physics.

*American Journal of Physics*33: 391–98. https://doi.org/10.1119/1.1971557.

*ACM Trans. Model. Comput. Simul.*4 (2): 213–19. https://doi.org/10.1145/175007.175019.

*Bell System Technical Journal*35 (3): 917–26.

*Uncertainty and Information: Foundations of Generalized Information Theory*. Wiley-IEEE Press.

*International Journal of Computer Mathematics*2 (1): 157–68.

*Physical Review E*69: 066138. https://doi.org/10.1103/PhysRevE.69.066138.

*J. Artif. Int. Res.*35 (1): 557–91.

*The Annals of Mathematical Statistics*22 (1): 79–86. http://www.jstor.org/stable/2236703.

*Physica D: Nonlinear Phenomena*42 (1–3): 12–37. https://doi.org/10.1016/0167-2789(90)90064-V.

*Journal of Statistical Physics*127 (1): 51–106. https://doi.org/10.1007/s10955-006-9254-0.

*The Annals of Statistics*36 (5): 2153–82. https://doi.org/10.1214/07-AOS539.

*IEEE Transactions on Information Theory*52 (10): 4394–4412. https://doi.org/10.1109/TIT.2006.881731.

*IEEE Transactions on Information Theory*37 (1): 145–51. https://doi.org/10.1109/18.61115.

*The European Physical Journal B - Condensed Matter and Complex Systems*73 (4): 605–15. https://doi.org/10.1140/epjb/e2010-00034-5.

*Physical Review E*77: 026110. https://doi.org/10.1103/PhysRevE.77.026110.

*Philosophy of Science*67 (2): 177–94. http://www.jstor.org/stable/188717.

*NIPS 2014*. http://arxiv.org/abs/1411.2045.

*Science*, 1988.

*IEEE Transactions on Information Theory*54 (3): 964–75. https://doi.org/10.1109/TIT.2007.915715.

*Neural Computation*15 (6): 1191–1253. https://doi.org/10.1162/089976603321780272.

*Transactions of the American Mathematical Society*112 (1): 55–66. https://doi.org/10.1090/S0002-9947-1964-0161372-1.

*Complexity*, August, n/a–. https://doi.org/10.1002/cplx.21584.

*Scientific American*194 (2): 77–86. https://doi.org/10.1038/scientificamerican0256-77.

*Journal of Theoretical Biology*205: 147–59. https://doi.org/10.1006/jtbi.2000.2053.

*2011 49th Annual Allerton Conference on Communication, Control, and Computing (Allerton)*, 958–65. https://doi.org/10.1109/Allerton.2011.6120270.

*Foundations and Trends in Communications and Information Theory*, December. http://arxiv.org/abs/1212.4663.

*Information and Complexity in Statistical Modeling*. Information Science and Statistics. New York: Springer. http://www.springer.com/mathematics/probability/book/978-0-387-36610-4.

*Physica D: Nonlinear Phenomena*125 (3-4): 285–94. https://doi.org/10.1016/S0167-2789(98)00269-3.

*IEEE Transactions on Information Theory*56 (3): 1430–35. https://doi.org/10.1109/TIT.2009.2039169.

*Physical Review Letters*85 (2): 461–64.

*Neural Computation*27 (10): 2097–2106. https://doi.org/10.1162/NECO_a_00775.

*Statistical Mechanics: Entropy, Order Parameters, and Complexity*. Oxford University Press, USA.

*Advances in Complex Systems*05 (01): 91–95. https://doi.org/10.1142/S0219525902000481.

*Physical Review E*73 (3). https://doi.org/10.1103/PhysRevE.73.036104.

*The Bell Syst Tech J*27: 379–423.

*Statistica Sinica*7: 375–94.

*IEEE Transactions on Information Theory*44 (6): 2079–93. https://doi.org/10.1109/18.720532.

*Journal of Political Economy*93 (3): 599–609. http://www.jstor.org/stable/1832011.

*Proceedings of the National Academy of Sciences of the United States of America*102: 18297–302. https://doi.org/10.1073/pnas.0507432102.

*Neural Computation*18 (8): 1739–89. https://doi.org/10.1162/neco.2006.18.8.1739.

*Journal of Theoretical Biology*252: 185–97. https://doi.org/10.1016/j.jtbi.2008.02.010.

*Journal of Theoretical Biology*252: 198–212. https://doi.org/10.1016/j.jtbi.2008.02.008.

*Journal of Theoretical Biology*252: 198–212. https://doi.org/10.1016/j.jtbi.2008.02.008.

*American Economic Review*92: 434–59. https://doi.org/10.1257/00028280260136200.

*Phys. Rev. Lett.*80 (1): 197–200. https://doi.org/10.1103/PhysRevLett.80.197.

*Learning in Graphical Models*, 261–97. Cambridge, Mass.: MIT Press.

*PERCEPTION-ACTION CYCLE*, 601–36. Springer.

*IEEE Transactions on Information Theory*50 (12): 3265–90. https://doi.org/10.1109/TIT.2004.838346.

*IEEE Transactions on Information Theory*56 (7): 3438–54. https://doi.org/10.1109/TIT.2010.2048491.

*IEEE Transactions on Information Theory*52 (10): 4617–26. https://doi.org/10.1109/TIT.2006.881729.

*IEEE Transactions on Information Theory*58 (8): 4969–92. https://doi.org/10.1109/TIT.2012.2201335.

*IEEE Transactions on Information Theory*59 (3): 1271–87. https://doi.org/10.1109/TIT.2012.2227677.

*Complex Engineered Systems*, 262–90. Understanding Complex Systems. Springer Berlin Heidelberg. http://arxiv.org/abs/cond-mat/0402508.

*The Complex Networks of Economic Interactions*, 293–306. Lecture Notes in Economics and Mathematical Systems 567. Springer. http://ti.arc.nasa.gov/m/profile/dhw/papers/6.pdf.

*EPL (Europhysics Letters)*49: 708. https://doi.org/10.1209/epl/i2000-00208-x.

*Advances In Neural Information Processing Systems*. http://arxiv.org/abs/1705.07809.

*Neural Computation*26 (11): 2570–93. https://doi.org/10.1162/NECO_a_00646.