Pick a concrete input and say what the equation should give before you read the math.
Foundation reference
Bregman Divergence & Mirror Descent
A Bregman divergence D_Φ(p, q) measures how far a strictly convex, differentiable function Φ, evaluated at p, lies above its tangent plane at q. Mirror descent uses this divergence in place of squared Euclidean distance, so choosing Φ chooses the geometry of the update. On the probability simplex, entropic mirror descent has an error bound that grows only like √(ln n) with dimension n, which can beat projected gradient descent by a factor of order √(n / ln n) (Beck & Teboulle, 2003).
Study guide
Where to start
Gradient descent is mirror descent with the squared Euclidean distance; what changes when that distance is replaced by the KL divergence on the probability simplex?
How to study this pagePredict · Check · Generalize · Continue
Work through the math, then read the cited papers for the original argument.
Identify the part of the idea that survives a change of notation or model, so you can recognize it in another paper or system.
Use the prerequisites and related concepts at the end of the page to fill the next gap.
Why It Matters for Modern Models
- A Bregman divergence D_Φ(p, q) measures how far a strictly convex, differentiable function Φ, evaluated at p, lies above its tangent plane at q. Mirror descent uses this divergence in place of squared Euclidean distance, so choosing Φ chooses the geometry of the update. On the probability simplex, entropic mirror descent has an error bound that grows only like √(ln n) with dimension n, which can beat projected gradient descent by a factor of order √(n / ln n) (Beck & Teboulle, 2003).
- The exponentiated-gradient and multiplicative-weights algorithms of online learning are mirror descent with the negative entropy (Cesa-Bianchi & Lugosi, 2006).
- It connects to natural gradient through exponential families: with log-partition function A, the KL divergence between two members is the Bregman divergence of A, and the Fisher matrix is the Hessian ∇²A. Raskutti & Mukherjee (2015) show that mirror descent with this potential is natural gradient descent in the dual (mean) parameters.
Questions to Think About
- Why is a mirror-descent step the same as mapping the point to the coordinates ∇Φ(x), taking an ordinary gradient step there, and mapping back with the inverse of ∇Φ?
- Why does the negative entropy Φ(p) = Σᵢ pᵢ log pᵢ generate the KL divergence as its Bregman divergence on the probability simplex?
Core Math
Let be a strictly convex, differentiable function. The Bregman divergence it generates measures how far lies above the tangent plane of at (Bregman, 1967):
It is zero only when , but in general it is not symmetric and does not satisfy the triangle inequality.
Mirror descent replaces the squared Euclidean distance in a gradient step with a Bregman divergence (Beck & Teboulle, 2003):
Without constraints, setting the gradient to zero shows that this is an ordinary gradient step in the "mirror" coordinates : .
Special cases:
- gives , and mirror descent is gradient descent.
- (the negative entropy) gives the KL divergence on the probability simplex, and mirror descent becomes the exponentiated-gradient update .