◄ WORLD II · THE FOLDTHE OCHO · blue builds │ the machine │ red breaks

THE MIRROR DESCENT

Gradient descent measures every step with a ruler — the straight-line, Euclidean one. Nemirovski & Yudin asked: what if the ruler fit the problem? On the probability simplex the right ruler is relative entropy, and the same descent step becomes multiplicative — each coordinate x₁ ← x₁·e−ηg₁, renormalized. No projection, and the price of dimension drops from d to log d. Down the center the pieces go in, the engine iterates, the proven geometry comes out. Blue builds; red breaks.

source Nemirovski & Yudin, Problem Complexity and Method Efficiency in Optimization (Wiley-Interscience, 1983) — the origin; no stable free scan, cited by author/title/year AMBER. Accessible modern treatment: Bubeck, arXiv:1405.4980 §4 AMBER. Rendered, not quoted.

◧ blue team · builds & defends
3

THE MODEL — one step, two rulers

A mirror descent step is not "move against the gradient." It is: move against the gradient in the dual, then map back. Pick a strictly convex mirror map ψ; the update is

∇ψ(xt+1) = ∇ψ(xt) − η·gt

Change ψ and you change the ruler:

mirror map ψ(x)∇ψthe step becomes
½‖x‖² (Euclidean)xplain GD: x − ηg
Σ x₁ log x₁ (neg-entropy)log x + 1EG: x₁·e−ηg₁ / Z

For the panel's current step, the live entropy update vs. the plain step it replaces:

5

THE LINEAGE — the ruler is the point AVAN

Mirror descent is the-gradient-descent read in a non-Euclidean geometry. The Euclidean map recovers it exactly — GD is the special case, not the general one.

On the simplex the natural ruler is the-kl-divergence: the Bregman divergence of neg-entropy is KL. That is why the update multiplies and why "stay on the simplex" is free. Its continuous kin is multiplicative weights — the same exponential update behind the-regret-matching. Each sphere is the next one's premise.

7

THE WITNESS live

The blue team's live re-check of the invariants that make the geometry sound: the entropy step is exponentiated-gradient, the iterate sums to 1, Bregman is KL, and the radius is log d. If red skips the renormalization, this badge is where it shows.

▼ the machine ▼
4

DATA IN — the ingredients in ↓

Mirror descent needs four things fed in: a convex objective f, a mirror map ψ (which fixes the ruler), a step η, and a start point. Two constructed problems on the 3-simplex, each with a closed-form optimum:

problemgradientknown optimum
quadratic ½‖x−a‖²x − ainterior a = (.5,.3,.2)
linear ⟨c,x⟩, c=(.2,.7,.5)cvertex e₁ = (1,0,0)

The start is the simplex center u = (⅓,⅓,⅓) — whose worst-case Bregman radius is exactly log d. Feed these into the panel below.

▼   feed f, ψ, η into the engine   ▼
0

▣ THE PANEL — the engine LIT

0.30
24

Entropy map: the step is multiplicative and the ruler is KL — the iterate never leaves the simplex.

stepdivergence to opt

Every iterate is computed from the mirror-descent update on the spot — the trajectory, the divergence, and the feasibility are never looked up.

▼   the engine proves the geometry   ▼
8

DATA OUT — the result out ↓

What the machine proves, live: with the entropy map the update is exactly exponentiated-gradient and the iterate stays on the simplex (non-negative, sums to 1 to 1e-12) with no projection; the Euclidean map recovers plain gradient descent exactly; the neg-entropy Bregman divergence is the KL divergence (verified to 1e-9); and the initial radius from the center is log d, not d — the geometry pays off.

The witness (left) confirms these live; the red team (right) tries to make them false.

red team · attacks & breaks ◨
1

THE ADVERSARY

WALL There is no free geometry. Mirror descent only wins when ψ matches the domain; the wrong mirror map is slower than plain GD. The log d gain is real for the simplex under the entropy map — not a universal speedup.

And it is still a first-order, sub-linear method: O(1/√t) for general non-smooth convex problems — the constant improves, the rate does not. Constant η converges only to a neighborhood in general; our two constructed problems are picked because the entropy update's fixed point is the optimum exactly (disclosed — that is why the panel reaches machine zero).

2

THE GRAVEYARD

"Mirror descent is faster than gradient descent." Cut. Same O(1/√t) rate; what shrinks is the dimension factor in the constant (d → log d on the simplex). Speed of the bound, not the order.

"Exponentiated gradient needs a projection back onto the simplex." Cut. The renormalization is the Bregman (KL) projection — closed-form division by Z, no solver.

"The mirror map is just a fancy preconditioner / diagonal rescaling." Kept, corrected. A preconditioner is one fixed linear map; ψ warps the whole space and its dual, giving a state-dependent, non-linear step (here, exponential).

6

THE TAMPER — break it

The red team's move: skip the renormalization. The exponentiated iterate x₁·e−ηg₁ is no longer divided by Z, so its mass drifts and it walks off the probability simplex — the witness (window 7) is watching the sum.

Skip the / Z and the iterate's coordinates stop summing to 1 — it leaves the simplex, the witness recomputes, disagrees, and turns red. Nothing is faked; the attack is real and it is caught.