L05: Learning in games

Algorithms

Gabriele Farina

MIT 6.7980 · Topics in Multiagent Learning · Fall 2026

1 / 42

How do we construct a regret minimizer?

Two philosophies

1. Prioritize high-regret actions

Quite natural: use the past to inform what to do next.

FTL · RM · MWU · (Generally: FTRL)

2. Improve locally

Take a local improvement (gradient) step.

OGD · MWU · (Generally: OMD)

↑ We start here

2 / 42

Let’s track regrets

At every time , the instantaneous regret accumulated against each action is

In vector form:

Hence, the vector of regrets against each action is

3 / 42

Follow-the-leader

Idea #1: Pick the action with highest regret

4 / 42

Follow-the-leader

Play the action we most wish we had used in the past.

All mass on the action with highest regret

Equivalently, maximize cumulative utility:

What could go wrong?

5 / 42

Follow-the-leader

The leader can always be one round behind: could be in general)

Intuitive issue: the algorithm “jumps too much”. It is “not smooth”...

6 / 42

Not all hope is lost!

Interesting result: If both players in a two-player zero-sum game use FTL, we obtain fictitious play.

Julia Robinson (1951)

In every finite two-player zero-sum game, the average strategies approach the set of Nash equilibria.

(An iterative method of solving a game, 1950.)

Convergence can be very slow. But this shows that if everyone is learning, FTL has sublinear regret...

7 / 42

Fictitious play in a zero-sum game

Current play keeps switching; averages approach Nash

Each player best responds to the opponent’s average strategy so far.

8 / 42

How do we prove the no-regret property?

Two approaches

1. Against arbitrary adversaries

Seek to prove that the property holds no matter what the environment does

Pros: no need to think about the world, robust
Cons: higher bar, more conservative/pessimistic

↑ Online learning approach

2. Within a more benign environment

If everyone is learning, the dynamics are somewhat smooth. Full adversarialness is not unleashed

Pros: better results are possible (eg, fictitious play)
Cons: analysis is harder, makes assumptions about the environment

9 / 42

Regret matching

Idea #2: Pick actions proportional* to their regret

* Wait a second: regret can be negative. So let’s first threshold at zero...

10 / 42

Regret matching

Second simplest idea: allocate mass proportional to regret

Use the positive part: .

Play in proportion to positive regret

If all regrets are nonpositive, use any distribution.

11 / 42

The geometry of regret matching

12 / 42

The general case: regrets can be negative

Now drop the assumption. Track the squared norm of the positive part:

1. Orthogonality: .

2. Inequality + Pythagoras:

Hence,

Right-hand side scales linearly in , which implies regret bounded by ...

13 / 42

Regret matching: regret bound

Assuming at all times ,

Hence

Great news! Sublinear regret with no stepsize to tune

Against any sequence of bounded utility vectors. No stepsize to tune!

Trivia: Poker breakthroughs used (variants) of this

14 / 42

Multiplicative weights update

Idea #3: Avoid instability by smoothing the maximum

15 / 42

Smoothing follow-the-leader

The stepsize controls sensitivity

Small stepsizes temper the influence of past scores. Large stepsizes approach the hard leader.

16 / 42

MWU: regret bound

Hence, by setting ,

Compared to RM: Logarithmic dependence on the number of actions, but one hyperparameter ()

17 / 42

Continuous-time MWU

Softmax is the gradient of log-sum-exp

Infinitesimal updates stay on one level set
Discrete time: the same potential, plus discretization error
18 / 42

How do we construct a regret minimizer?

Two philosophies

1. Prioritize high-regret actions

Quite natural: use the past to inform what to do next.

FTL · RM · MWU · (Generally: FTRL)

2. Improve locally

Take a local improvement (gradient) step.

OGD · MWU · (Generally: OMD)

↑ We continue here

19 / 42

Online projected gradient ascent

The second philosophy: take a utility-gradient step (and project back)

Projected gradient ascent:

where

20 / 42

OGD: regret bound

where . Proof idea: again a telescopic argument (we will see it in the next slide).

On the simplex
21 / 42

The OGD proof

1. Observation: due to nonexpansiveness of projection, for all :

2. Now, the term on the right-hand side satisfies

3. Rearranging:

4. Sum over time. The distances telescope.

⇒ OGD regret bound

where

22 / 42

The guarantees

(Assuming )

AlgorithmStepsizeRegret bound
FTL— on our sequence
RMNone ✨
MWU
OGD
23 / 42

Beyond normal-form games

The big guns: FTRL and OMD

24 / 42

Two philosophies, two frameworks

Two philosophies

1. Prioritize high-regrethistorical-utility actions

Quite natural: use the past to inform what to do next.

2. Improve locally

Take a local improvement (gradient) step.

Convex strategy sets, concave utilities. Use .

25 / 42

Both algorithms work in a tunable geometry

Tune FTRL and OMD to the strategy set

Choose a strongly convex regularizer , also called a distance-generating function.

Strongly curved upward

For twice-differentiable , in Euclidean geometry:

A safe choice is always the squared Euclidean norm, though it might not be the optimal choice depending on the geometry of the strategy set...

Negative entropy on the simplex

26 / 42

Follow-the-regularized-leader

Stabilize the leader with regularization

Balance cumulative utility against a fixed regularizer.

Small Regularization dominates.
No movement (stay at minimizer of ).

Large Cumulative utility dominates.
Too much movement ( follow-the-leader).

27 / 42

MWU = FTRL with Entropy

What is the solution to the optimization problem?

Use Lagrange multipliers on the plane of the simplex (ignore nonnegativity constraints):

which is MWU.

28 / 42

FTRL: Regret Bound

FTRL guarantees

Where

Hence, assuming

29 / 42

Online mirror descent

Choose a geometry for each local step

Balance the latest utility feedback against moving from the current strategy.

where

Small Movement penalty dominates.
Stay near .

Large Latest feedback dominates.
Maximize the current linear utility.

30 / 42

Negative entropy and its tangent

Bregman divergence is the height above the tangent
31 / 42

The geometry chooses the algorithm

Regularizer DivergenceAlgorithm
MWU
FTRL and OMD
OGD
OMD
MWU and OGD are instances of general principles

Entropy gives MWU. Euclidean mirror descent gives OGD; quadratic FTRL can differ under constraints.

32 / 42

OMD: Regret Bound

OMD guarantees

Where

Hence, assuming

33 / 42

FTRL and OMD can overlap

For example: OMD with negative entropy

gives rise to

And hence

Unrolling gives the same update as entropic FTRL:

34 / 42

Appendix

Faster rates & Iterate convergence

35 / 42

Optimism: add a momentum term

Nonstationary need not mean adversarial

Use the latest gradient to anticipate the next one.

In reflected OMD, replace the feedback by

In zero-sum self-play, this can damp cycling: a negative-momentum effect.

Optimistic FTRL / OMD in zero-sum self-play

with suitable variants and a sufficiently small fixed stepsize.

36 / 42

Optimism in both frameworks

Add a momentum correction. Set .

FTRL: count the latest gradient once more
Reflected OMD: add the change in gradients

The frameworks can differ under constraints. Further variants: Supplementary S04.

37 / 42

Faster regret in general games

Method / settingEach player’s regretCCE error
Optimistic FTRL / OMD
Syrgkanis et al. (2015)
Optimistic MWU · normal-form games
Daskalakis, Fishelson, Golowich (2021)
Specialized optimistic FTRL · convex games
Farina et al. (2022) · lifted space, log regularizer

Cautious optimism: — Soleymani, Piliouras & Farina (2025).
Constant regret (2026, normal-form): Liu et al.; Abbadi et al.; Soleymani & Piliouras.

Fast regret gives fast convergence of empirical play

. What about the last iterate?

38 / 42

Optimistic learning dynamics

39 / 42

Optimistic MWU can converge slowly

Ordinary MWU can cycle. Does optimism always fix the problem?

An equilibrium close to the boundary

Optimistic MWU can retain an overwhelming preference for an action and overshoot the equilibrium.

Cai, Farina, Grand-Clément, Kroer, Lee, Luo, Zheng (2024).

40 / 42

OMWU: trajectory and equilibrium gap

41 / 42

The limit of optimistic MWU

No uniform last-iterate convergence rate

For fixed-stepsize OMWU, no function of action counts and time alone gives a vanishing bound for every bounded-payoff game.

Already impossible uniformly over games with payoffs in .

Convergence in a fixed game is still possible

The rate must depend on the game. Optimistic OGD, by contrast, has a uniform last-iterate guarantee.

Cai et al., Fast Last-Iterate Convergence of Learning in Games Requires Forgetful Algorithms.

42 / 42
Learning in games: AlgorithmsPDF

Presentation controls

← / →Main lecture topics (after staged reveals)↑ / ↓Move directly between the topic and its detailsSpaceReveal, then follow every slide in orderO / EscapeTwo-dimensional slide overviewFFullscreenBBlank the screen

Dark arrows are available; faint arrows are unavailable. Hover an arrow to see its action.