Forecasting and Calibration

Gabriele Farina

MIT 6.7980 · Topics in Multiagent Learning · Fall 2026

1 / 26

The important picture for today

Forecasting routeGordon-Greenwald-Marks (2008)
External-regret learner
over
External-regret learner
over
-multicalibrated
forecaster over
-regret learner
on , utilities in
Fixed point
Expected VI
Best response

Legend: Each arrow turns the algorithm in its starting box into the algorithm in its ending box using the optimization primitive written on the arrow.

2 / 26

Forecasting: What does a 70% chance of rain mean?

A forecaster reports before seeing the weather: means rain, and means no rain.

Collect the days with a 70% forecast

It should rain on about 70% of those days.

Repeat this check for every probability the forecaster uses.

The above condition is called calibration.

3 / 26

How calibration became an online learning problem

1977 · Murphy & Winkler study whether weather forecasters’ probabilities agree with observed frequencies.

1982 · Dawid develops calibration as a criterion for probability forecasts.

1985 · Oakes and Dawid show that every deterministic forecasting rule fails calibration on some outcome sequence.

1998 · Foster & Vohra construct randomized forecasts that are calibrated on every outcome sequence.

Murphy & Winkler (1977) · Dawid (1982) · Oakes (1985) · Foster & Vohra (1998).

4 / 26

More formally: Expected calibration error (ECE)

Consider a finite grid of forecasts, and

Absolute values are important

Overprediction in one forecast bucket cannot cancel underprediction in another.

5 / 26

Impossibility when Nature can use the forecast adversarially

It is impossible to control ECE against an adversarial process. After seeing , Nature makes it rain when and keeps the day dry otherwise:

Every forecast value that gets used is wrong

Forecasts below underestimate rain by more than . Forecasts at least overestimate it by at least .

What changes if Nature sees the forecast distribution, but not the forecast drawn from it?

Oakes (1985), Dawid (1985); Foster & Vohra (1998), introduction.

6 / 26

Calibration without a weather model

Foster and Vohra’s result

Using past outcomes and private randomization, a forecaster can make its long-run calibration error arbitrarily small on every outcome sequence.

The algorithm needs no atmospheric measurements or meteorological model. It also works when the process generating the outcomes changes over time.

Is this a positive or a negative result?

Foster & Vohra (1998), Asymptotic Calibration.

7 / 26

Intuition: a forecaster can “cook the books”

Simplified example: imagine that the calibration error was measured as

There exists a simple way of ensuring the above quantity . How?

8 / 26

Multicalibration protocol

1. Observe , the information available before forecasting.

2. Announce a distribution over forecasts .

3. Nature chooses the outcome .

4. Observe and update the learner.

Keep the sampled forecast private

Nature sees , but must choose before seeing the sampled forecast. The expectations below average over this draw.

Both forecasts and outcomes lie in a compact convex set . We assume the tests are bounded and measurable.

9 / 26

Write the error for a general test

A test measures the error . It gives a weight for scalar errors and a direction for vector errors:

We want

If contains whenever it contains , the bound also controls . We can include the zero test.

10 / 26

ECE is a special case of multicalibration

Ignore the context and choose a separate sign for each forecast value:

For the observed forecasts,

Choose each sign to make that bucket’s accumulated error nonnegative.

11 / 26

From forecasts to decisions

As it turns out, multicalibration has a flavor similar to -regret minimization. We will see how both can be reduced to

(regret minimization) + (a nonlinear optimization primitive)

12 / 26

Recall Φ-regret

Choose in a compact convex set and earn . Compare this with playing , for each fixed deviation .

External regret

for a fixed action .

Swap regret

On a simplex, for a column-stochastic matrix .

We want .

13 / 26

First route: Gordon-Greenwald-Marks

Forecasting routeGordon-Greenwald-Marks (2008)
External-regret learner
over
External-regret learner
over
-multicalibrated
forecaster over
-regret learner
on , utilities in
Fixed point
Expected VI
Best response

Ask the learner for , play , then return the utility

Gordon, Greenwald & Marks (2008). This version uses exact fixed points. We assume an efficient fixed-point oracle.

14 / 26

The fixed point makes the two regrets equal

Forecasting routeGordon-Greenwald-Marks (2008)
External-regret learner
over
External-regret learner
over
-multicalibrated
forecaster over
-regret learner
on , utilities in
Fixed point
Expected VI
Best response

Fix any comparator . The external regret against it is

15 / 26

Learn calibrated forecasts

Forecasting routeGordon-Greenwald-Marks (2008)
External-regret learner
over
External-regret learner
over
-multicalibrated
forecaster over
-regret learner
on , utilities in
Fixed point
Expected VI
Best response
Choose forecasts that control the current test

The no-regret learner suggests which test to pay attention to. We then try to “neutralize” it.

16 / 26

Expected variational inequalities

Given , find a distribution over satisfying

The bound must hold for every u

The operator may be discontinuous. A distribution over forecasts can satisfy the bound.

We assume an EVI solver. Its cost and accuracy depend on the domain and how we can access .

17 / 26

An algorithm for multicalibration

Run an external-regret learner on (or its convex hull).

1. Observe and ask the learner for .

2. Solve an -EVI for ; output .

3. Observe and send the linear utility below to the learner.

The EVI bounds the score of today’s test

The EVI inequality applies to the realized .

Farina & Perdomo (2026).

18 / 26

Calibration is bounded by external regret

Forecasting routeGordon-Greenwald-Marks (2008)
External-regret learner
over
External-regret learner
over
-multicalibrated
forecaster over
-regret learner
on , utilities in
Fixed point
Expected VI
Best response

Fix . Add and subtract the learner’s scores:

Apply in each round.

19 / 26

From multicalibration to Φ-regret

Forecasting routeGordon-Greenwald-Marks (2008)
External-regret learner
over
External-regret learner
over
-multicalibrated
forecaster over
-regret learner
on , utilities in
Fixed point
Expected VI
Best response
If the prediction is good...

... we might as well best respond to the prediction.

20 / 26

Best respond to the forecast

Forecast the next utility vector . Choose a best response:

Draw

Play

Observe

The forecasts determine the action distribution

Let be the distribution of for . Use a fixed rule to break ties.

Announce before Nature chooses , and keep the sampled action hidden. Taking the mean action can change regret for nonlinear deviations.

21 / 26

Which multicalibration tests to use?

For each , the test is the change it makes to our chosen action:

With context-dependent deviations, use .

22 / 26

Bound Φ-regret by calibration error

Forecasting routeGordon-Greenwald-Marks (2008)
External-regret learner
over
External-regret learner
over
-multicalibrated
forecaster over
-regret learner
on , utilities in
Fixed point
Expected VI
Best response

(Last step because )

Since is a best response and , the forecast term is nonpositive.

23 / 26

Combine the two forecasting reductions

Forecasting routeGordon-Greenwald-Marks (2008)
External-regret learner
over
External-regret learner
over
-multicalibrated
forecaster over
-regret learner
on , utilities in
Fixed point
Expected VI
Best response
24 / 26

Two routes from external regret

IngredientGordon-Greenwald-MarksForecasting route
Learn overValid deviations Tests
Optimization stepFixed point of EVI for
PlayThe fixed point Best response
Regret boundExact identityUpper bound + EVI error
Forecasting route is more permissive

No geometry of endomorphisms needs to be taken into account.

25 / 26

Summary

Forecasting routeGordon-Greenwald-Marks (2008)
External-regret learner
over
External-regret learner
over
-multicalibrated
forecaster over
-regret learner
on , utilities in
Fixed point
Expected VI
Best response
26 / 26
Calibration and Gordon's reductionPDF

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.