The I-Projection, Pythagorean Identity, and Iterative Proportional Fitting (Blahut-Arimoto)
Anchor (Master): Csiszar & Körner 2011 Information Theory §3.1-3.4; Csiszar 1975 I-Divergence Geometry of Probability Distributions; Blahut 1972 Computation of Channel Capacity and Rate-Distortion Functions
Intuition Beginner
You have two probability distributions. Call one the "target" and the other a "candidate" . The KL divergence measures how different is from . Now suppose you want to find the distribution that is closest to (in the KL sense) but belongs to a constrained set. For example, might need to match certain marginal distributions.
This is the I-projection: project onto a set of distributions by finding the member of the set that minimises . Think of it as finding the closest point to inside a fenced region, where "closest" means least KL divergence.
A beautiful property of I-projection is the Pythagorean identity. If is the I-projection of onto a convex set , then for any :
This looks like the Pythagorean theorem: the squared distance from to decomposes into the distance from to the projection plus the distance from to . The I-projection splits the divergence into orthogonal components.
The Blahut-Arimoto algorithm uses this geometry to compute channel capacity. It alternates between two steps: (1) find the best output distribution given the current input distribution, and (2) find the best input distribution given the current output distribution. Each step is an I-projection, and the Pythagorean identity guarantees that the mutual information increases monotonically. The algorithm converges to the capacity-achieving input distribution.
Visual Beginner
| Concept | Analogy | Mathematical object |
|---|---|---|
| KL divergence | Squared Euclidean distance | Measure of dissimilarity |
| I-projection | Orthogonal projection onto a set | |
| Pythagorean identity | ||
| Blahut-Arimoto | Alternating projection (von Neumann) | Iterative I-projections converge to capacity |
Figure: a Venn-diagram-style picture. A point sits outside a convex set . The I-projection is the closest point in to (under KL divergence). For any other point , the three points form a right triangle: is the hypotenuse, is one leg (inside ), and is the other leg (the projection direction).
Worked example Beginner
A binary symmetric channel flips each bit with probability 0.1. What input distribution maximises the mutual information?
By symmetry, the uniform input should be optimal. The Blahut-Arimoto algorithm confirms this. Starting from any input distribution, it alternates:
Step A. Given input , compute the output by mixing over all inputs with their channel transition probabilities.
Step B. Update the input: where measures the information that sending symbol provides about the output.
Starting from , :
The output distribution is , . After one iteration, the algorithm pushes toward uniform. After a few iterations, , and the mutual information converges to bits/use.
Check your understanding Beginner
Formal definition Intermediate+
Let be a convex set of probability distributions on a finite alphabet , and let be a distribution on with full support.
Definition (I-projection). The I-projection of onto is:
Since is strictly convex in (for fixed with full support) and is convex, exists and is unique.
Theorem (Pythagorean identity for I-projection). If is a linear family (a set of distributions satisfying linear constraints of the form ), then for any :
Proof. Since is defined by linear constraints, the optimal satisfies the KKT conditions. The Lagrangian is:
Setting the derivative to zero gives , i.e., has the exponential family form .
For any :
Since both and satisfy the same linear constraints, for all . Therefore:
This gives . The remaining term equals by direct computation: , and using with the linear constraints gives the result.
The Blahut-Arimoto algorithm
Definition (Blahut-Arimoto for channel capacity). For a discrete memoryless channel , the Blahut-Arimoto algorithm computes:
by iterating:
- Output update:
- Input update:
where .
The capacity estimate at step is , and monotonically.
Connection to iterative proximal methods
The Blahut-Arimoto algorithm can be viewed as an alternating proximal step in the geometry of KL divergence 44.06.01. Each update minimises:
which is a proximal iteration with KL divergence as the Bregman distance. This connects to mirror descent and other first-order methods in convex optimisation.
Key theorem with proof Intermediate+
Theorem (Blahut-Arimoto convergence). The Blahut-Arimoto algorithm converges to the channel capacity from any initial distribution with full support. The iterates satisfy:
Proof. Define the double maximisation:
The inner maximisation over (for fixed ) is achieved by . The outer maximisation over (for fixed ) is achieved by .
Each step of Blahut-Arimoto performs one of these maximisations, so the objective increases monotonically. By the alternating maximisation lemma (a consequence of convexity), the iterates converge to the global maximum.
Bridge. The I-projection and Pythagorean identity build toward the iterative algorithms in 44.06.01 where proximal methods and mirror descent use the same Bregman-divergence structure; this appears again in 46.02.05 where the rate-distortion function is computed by the dual Blahut-Arimoto algorithm; the foundational reason the Pythagorean identity holds is the linear constraint structure of the projection set, which is dual to the exponential family form of the optimal distribution; the central insight is that alternating I-projections converge monotonically, and putting these together gives a unified computational framework for all information-theoretic optimisation problems.
Exercises Intermediate+
Lean formalization Intermediate+
Mathlib has no formalisation of I-projection, the Pythagorean identity for KL divergence, or the Blahut-Arimoto algorithm. The KL divergence is not defined as a functional on distributions in Mathlib. The optimisation over conditional distributions required for the algorithm is beyond Mathlib's current capabilities. The convergence proof requires the alternating maximisation lemma, which is a result in convex optimisation not present in Mathlib. The exponential family form of the I-projection requires solving the KKT conditions for constrained optimisation over probability distributions, which Mathlib's optimisation library does not support. This unit ships without a lean_module.
Advanced results Master
The information geometry of I-projection
Imre Csiszar's 1975 paper established that the space of probability distributions equipped with KL divergence has a differential-geometric structure. The I-projection is the analogue of orthogonal projection in this geometry. The tangent space at a distribution consists of score functions with , and the KL divergence induces a Riemannian metric given by the Fisher information matrix .
The Pythagorean identity is a manifestation of the flatness of the exponential family manifold. Linear families (defined by moment constraints) and exponential families (defined by exponential tilting) are dual flat submanifolds in this geometry. The I-projection onto a linear family is the unique point where the exponential family "orthogonal" to the linear family intersects it.
Iterative proportional fitting (IPF)
The iterative proportional fitting procedure, also known as the RAS algorithm or matrix scaling, is a special case of alternating I-projections. Given a target matrix of row and column marginals, IPF alternates between scaling rows to match row marginals and scaling columns to match column marginals. Each scaling step is an I-projection onto the set of matrices with the given marginal.
IPF converges by the same alternating projection principle as Blahut-Arimoto. The convergence rate depends on the condition number of the marginal constraints. The algorithm is used in contingency table analysis, transportation planning, and the calibration of input-output matrices in economics.
The alternating minimisation lemma
The general principle underlying both Blahut-Arimoto and IPF is the alternating minimisation lemma: if is convex in each argument separately and the feasible sets are convex, then the sequence generated by alternating minimisation converges to a stationary point. For the specific structure of KL divergence, the stationary point is the global optimum.
The connection to proximal methods 44.06.01 is that each step of Blahut-Arimoto can be written as:
which is a mirror descent update with step size and KL divergence as the Bregman distance. The convergence rate is for the capacity estimate, matching the rate of other first-order methods.
Synthesis. The I-projection and Pythagorean identity form the geometric backbone of information theory; the central insight is that KL divergence induces a flat geometry on the probability simplex, and putting these together we see that Blahut-Arimoto, IPF, and mirror descent are all instances of alternating I-projections in this geometry; this builds toward the computation of channel capacity 46.03.01 and rate-distortion 46.02.05 where these algorithms are deployed; the foundational reason for convergence is the convexity of KL divergence in its first argument combined with the linear structure of the constraint sets, and this generalises to any Bregman-divergence-based alternating optimisation.
Full proof set Master
Proposition (Existence and uniqueness of I-projection). For a convex set of distributions and a distribution with full support, the I-projection exists and is unique.
Proof. The function is strictly convex on the simplex (since its Hessian is the Fisher information, which is positive definite). The feasible set is convex by assumption. A strictly convex function on a convex set has at most one minimiser.
For existence, consider a minimising sequence with . Since is a subset of the compact simplex, a subsequence converges to some . By continuity of in (for fixed with full support), . By strict convexity, is unique.
Proposition (Dual Blahut-Arimoto for rate-distortion). The rate-distortion function can be computed by an alternating minimisation: initialise , then iterate and . The sequence converges to where is the Lagrange multiplier corresponding to .
Proof. The Lagrangian formulation gives . For fixed , the inner minimisation is over , which decomposes into independent problems for each :
Setting the derivative to zero gives . Given , the optimal is (the marginal). Alternating these two steps converges by the alternating minimisation lemma.
Connections Master
46.04.01— Hypothesis testing uses KL divergence as the error exponent; the I-projection of the null onto the alternative's typical set determines the optimal test.46.01.02— KL divergence and mutual information are the basic quantities that the I-projection minimises.46.03.01— Channel capacity is computed by Blahut-Arimoto; the capacity-achieving distribution is the fixed point of the I-projection iteration.44.06.01— Proximal and subgradient methods are the optimisation-theoretic counterparts of Blahut-Arimoto; mirror descent with KL divergence is equivalent.46.02.05— The rate-distortion function is computed by the dual Blahut-Arimoto algorithm; the same I-projection geometry governs both.
Historical & philosophical context Master
Imre Csiszar introduced the I-projection in his 1975 paper "I-Divergence Geometry of Probability Distributions and Identification Problems" (Periodica Mathematica Hungarica 6(2-3):149-161). Csiszar recognised that the KL divergence endows the probability simplex with a differential-geometric structure, and the I-projection plays the role of orthogonal projection in this geometry. The Pythagorean identity is the information-geometric analogue of the Euclidean Pythagorean theorem.
Richard Blahut and Suguru Arimoto independently discovered the alternating maximisation algorithm for channel capacity in 1972. Blahut's paper ("Computation of Channel Capacity and Rate-Distortion Functions," IEEE Trans. IT 18(4):460-473) presented the algorithm in full generality for both channel capacity and rate-distortion. Arimoto's paper ("An Algorithm for Computing the Capacity of Arbitrary Discrete Memoryless Channels," IEEE Trans. IT 18(1):14-20) focused on channel capacity and proved the monotonic convergence property.
The iterative proportional fitting procedure predates both: it was introduced by Deming and Stephan in 1940 ("On a Least Squares Adjustment of a Sampled Frequency Table When the Expected Marginal Totals Are Known," Annals of Mathematical Statistics 11(4):427-444) for contingency table adjustment. The connection to I-projection and KL divergence was made by Csiszar in 1975, who showed that IPF is alternating I-projection onto marginal constraint sets.
The information geometry perspective was developed by Amari and Nagaoka in their 2000 book Methods of Information Geometry (AMS/Oxford), which established the dual flat structure of the exponential family manifold and unified the geometric treatment of I-projection, Pythagorean identities, and alternating projections.
Bibliography Master
@article{csiszar1975,
author = {Csisz{\'a}r, I.},
title = {I-Divergence Geometry of Probability Distributions and Identification Problems},
journal = {Periodica Mathematica Hungarica},
volume = {6},
number = {2-3},
pages = {149--161},
year = {1975},
}
@article{blahut1972,
author = {Blahut, R. E.},
title = {Computation of Channel Capacity and Rate-Distortion Functions},
journal = {IEEE Transactions on Information Theory},
volume = {18},
number = {4},
pages = {460--473},
year = {1972},
}
@article{arimoto1972,
author = {Arimoto, S.},
title = {An Algorithm for Computing the Capacity of Arbitrary Discrete Memoryless Channels},
journal = {IEEE Transactions on Information Theory},
volume = {18},
number = {1},
pages = {14--20},
year = {1972},
}
@article{deming-stephan1940,
author = {Deming, W. E. and Stephan, F. F.},
title = {On a Least Squares Adjustment of a Sampled Frequency Table When the Expected Marginal Totals Are Known},
journal = {Annals of Mathematical Statistics},
volume = {11},
number = {4},
pages = {427--444},
year = {1940},
}
@book{amari-nagaoka2000,
author = {Amari, S. and Nagaoka, H.},
title = {Methods of Information Geometry},
publisher = {AMS/Oxford University Press},
year = {2000},
}
@book{cover-thomas2006,
author = {Cover, T. M. and Thomas, J. A.},
title = {Elements of Information Theory},
edition = {2nd},
publisher = {Wiley},
year = {2006},
}