Skip to content
AI360XpertBeta

Information Theory

Information theory prices uncertainty in bits. This hub links the entropy, coding, and tradeoff pages without re-teaching them.

Bits sit at the center with spokes to the entropy family, coding limits, bottleneck compression, and rate-distortion tradeoffs, as two fair coins carry 2 joint bits
Bits sit at the center with spokes to the entropy family, coding limits, bottleneck compression, and rate-distortion tradeoffs, as two fair coins carry 2 joint bits

Why Does This Exist?

Entropy, cross-entropy, KL and mutual information each teach their own mechanism on this site. You still need one place for what none of them owns: shared units, chain rules across variables, the data-processing ceiling, and how coding, bottleneck, MDL and rate-distortion split the territory. Without it you re-derive units per page and miss the shared cap.

This page is that hub by contract. It links components and never re-teaches them. Owners: entropy for surprise averaging, cross-entropy for coding with the wrong model, KL divergence for the extra-bit price, mutual information for shared bits. The only new mechanisms here are the shared roads below.

The one idea you need first

One bit halves uncertainty. A fair coin carries 11 bit, four equiprobable symbols carry 22 bits. Nats use ln⁡\ln instead of log⁡2\log_2, so 11 nat is about 1.441.44 bits. Every formula here is a bit price, and unit slips scale every number.

Think of It Like This

A currency board, not a mint

This hub is a currency board. It fixes the exchange between bits and nats, posts member rates from the entropy, KL and MI pages, and charters only the shared roads: chain rules, processing limits and coding theorems.

Minting new coins here would duplicate members. Where it stops: boards do not lend, so quantitative claims live on member pages and this page routes.

How It Actually Works

Shared pieces owned here, each with its home page:

  • Joint and conditional entropy: H(X,Y)=H(X)+H(Y∣X)H(X,Y) = H(X) + H(Y \mid X) chains staged prediction, see joint and conditional entropy.
  • Jensen-Shannon: symmetric capped midpoint of KLs for comparing distributions, see Jensen-Shannon divergence.
  • Data processing: I(X;Z)≤I(X;Y)I(X;Z) \leq I(X;Y) on chains X→Y→ZX \to Y \to Z, post-processing cannot invent bits, see data processing inequality.
  • Bottleneck: minimise I(X;Z)−βI(Z;Y)I(X;Z) - \beta I(Z;Y) to compress while keeping label bits, see information bottleneck.
  • Source and channel coding: entropy floors compression and capacity ceilings transmission. The selection view is minimum description length and the lossy price curve is rate-distortion theory.
  • Cross-entropy and KL: H(P,Q)=H(P)+DKL(P∥Q)H(P,Q) = H(P) + D_{\mathrm{KL}}(P \parallel Q), total bill equals unavoidable plus excess, see cross-entropy.

Worked example

Two independent fair coins. Each carries H=1H = 1 bit, joint H(X,Y)=2H(X,Y) = 2 bits, conditional H(Y∣X)=1H(Y \mid X) = 1 bit, and the chain 1+1=21 + 1 = 2 checks. Correlate them so Y=XY = X always: joint drops to 11 bit, H(Y∣X)=0H(Y \mid X) = 0, and I(X;Y)=1I(X;Y) = 1. Same margins, dependence decides the totals. The arithmetic belongs to the joint page, the routing belongs here.

Watch Out For

Re-deriving units per page

Mixing bits and nats across entropy, KL and bottleneck pages scales answers 1.441.44 times silently. A 0.690.69 threshold in nats is 1.01.0 in bits, and comparing them raw misfires every gate.

Fix units at the hub: state bits or nats per formula and convert explicitly. If a number looks ln⁡2\ln 2 off, it is units.

Expecting post-processing to add information

No classifier, embedding or prompt trick beats the data-processing ceiling. Teams stack heads hoping signal appears while the hub says buy a better YY instead.

Audit upstream information before downstream architecture. If I(X;Y)I(X;Y) is capped, collect features, not layers.

The Quick Version

  • This hub routes, entropy, cross-entropy, KL and MI pages teach their mechanisms.
  • Bits halve uncertainty, nats differ by ln⁡2\ln 2, about 1.441.44 times.
  • Two fair coins total 22 bits, perfect correlation drops the joint to 11.
  • Chain, processing, bottleneck, coding, MDL and rate-distortion live on member pages.
  • State units per formula and convert explicitly.
  • Post-processing never beats its upstream information.