Manuscript Offprint
arXiv:2610.07623Explicit Asymptotic Bounds for Sequential Calibration Beyond
Abstract
Probability forecasts are calibrated when predicted probabilities match empirical outcome frequencies: among events assigned a probability , we'd hope that the fraction of positive outcomes is close to . We study the problem of sequential forecasting of binary outcomes. The classical bound on expected cumulative -calibration error established by Foster and Vohra [FV98] stood for over two decades until Dagan et al. [DDF25] reduced the exponent by an unspecified constant. We establish a new two-phase recursive labeling strategy for the sign-preservation-with-reuse game that yields the bound for all choices of space and time. We then sharpen the reduction from upper bounds on sign preservation to calibration by modifying the equivalence of Dagan et al. to use only instances of the sign-preservation-with-reuse game. This lets us establish an explicit bound of as the first explicit exponent below for sequential calibration by combining both improvements and choosing explicit feasible parameters.
1 Introduction
Calibration is a fundamental criterion in statistical theory with well-known theoretical and empirical foundations [Daw82]. A forecaster is calibrated if its probability forecasts agree with the frequencies of observed outcomes. For example, on the days when a calibrated weather forecaster reports a 30% chance of rain, it should rain on approximately 30% of those days. Therefore, calibration is a natural desideratum for probability forecasts.
The notion of calibration has found a wide variety of applications in modern machine learning. Calibration has been used to assess the confidence of neural networks in image classification and other tasks [GPSW17, KLM19]. Calibration can also improve uncertainty estimates for numerical predictions [KFE18] and appears in algorithmic fairness criteria [PRW 17]. Calibration has led to the idea of multicalibration, which requires calibration across a specified collection of subpopulations [HJKRR18].
Sequential calibration. We study the classical sequential calibration problem. The problem describes a two-player game between a forecaster and an adversary who interact for T time steps. At each time step , the forecaster chooses a prediction and the adversary simultaneously chooses an outcome , and then both choices are revealed. Each player may randomize and use the history of past predictions and outcomes, but the adversary cannot observe the current realized prediction before choosing . The prediction represents the forecaster's probability for the outcome .
Let be the number of time steps on which the prediction is p, and let be the number of those time steps with outcome 1. The cumulative -calibration error is
Foster and Vohra [FV98] were the first to provide the classical upper bound on expected cumulative calibration error. Following their work, the question of whether the exponent 2/3 could be improved remained unresolved for more than two decades. Recently, Dagan et al. [DDF 25] broke the 2/3 barrier by proving a bound of for some absolute constant . However, their proof does not state a specific number for , and thus does not explicitly state an exponent below 2/3 for calibration error. This motivates the quantitative question: how much can the exponent 2/3 be reduced in the sequential calibration problem?
Theorem 1.1 (Main result, informal). For every horizon , there exists a randomized forecaster whose expected cumulative calibration error against any adversary is
Related work and approach. The key technical idea is to reduce calibration to a combinatorial game. Qiao and Valiant [QV21] introduced the sign-preservation game to prove lower bounds on calibration error. Dagan et al. [DDF 25] introduced the sign-preservation-with-reuse (SPR) game and established its connection to calibration upper bounds. SPR takes place on an ordered board of cells. In each round, one player, the pointer, selects an empty cell, and a second player, the labeler, places a plus or minus sign there. The labeler may remove minus signs to the left of the selected cell and plus signs to its right. The labeler and the pointer seek to minimize and maximize the number of signs remaining on the board, respectively. Dagan et al. show that given a labeling strategy that preserves signs after at most rounds on cells, there exists a forecaster with expected calibration error .
This reduction from calibration to a labeling strategy in SPR uses the minimax approach of Hart [Har25]. His proof establishes the classical bound of Foster and Vohra [FV98] by first allowing the forecaster to know the adversary's conditional probability of the next outcome, and then applying minimax to obtain a strategy without this information. Dagan et al. use SPR to improve the bound in this argument and break the 2/3 barrier. One limitation of this approach is that the minimax step does not give an efficient forecasting algorithm. Zhang [Zha26] gave a polynomial-time randomized forecaster with expected calibration error for some constant , combining the SPR forecasting procedure with a correction based on Blackwell's approachability theorem that controls the error from using surrogate conditional means. Our contribution focuses on improving the explicit upper bound on the calibration exponent.
An improved labeling strategy. We give a two-phase recursive labeling strategy, building on the recursive bias ideas of Dagan et al. [DDF 25]. The strategy first runs on the two halves of an interval until their request counts satisfy a balance condition. When the condition is satisfied, the strategy continues with an adjusted bias toward one sign type. The analysis allows us to establish separate bounds for newly placed signs and signs that survive from earlier epochs. This labeling strategy yields bounds that depend separately on the number of cells and the number of rounds.
A sharper passage to calibration. We modify the forecasting construction in the reduction of Dagan et al. [DDF 25]. We analyze this construction using the labeling bound at each partition scale. Our construction uses only SPR instances, compared with the instances used by Dagan et al. [DDF 25]. For , and , our construction obtains an expected calibration error of
The analysis of this construction sums the conditional-means contributions of the SPR instances across different space and bias scales, and then balances their total against the fluctuations of outcomes around their conditional means.
Explicit parameters. Our final calibration exponent depends on the parameters chosen for the labeling strategy. We prove that the parameters we choose satisfy certain inequalities that are sufficient to establish our upper bound for SPR. The resulting game bound is
Applying the reduction with these exponents proves Theorem 1.1.
2 Preliminaries
In this section, we formally introduce and define sequential calibration and the sign-preservation-with-reuse game. For an integer , write . Unless otherwise specified, horizons, board sizes, and round counts are integers.
2.1 Sequential calibration
Sequential calibration is a theoretical framework where the task of making reliable predictions over time is modeled as a repeated online game between a forecaster and an adversary. Fix a horizon and a finite prediction set which the forecaster chooses. At each time step , the forecaster predicts and the adversary simultaneously chooses an outcome , meaning the adversary cannot observe the current prediction before choosing . Both players may randomize and use the history of the game , but the forecaster does not know the adversary's conditional probability of choosing given that history.
For , let be the number of predictions at , and let count their positive outcomes. The cumulative -calibration error is
We wish to obtain a bound on against every adversary, where the expectation is over both players' randomness.
2.2 Sign-preservation-with-reuse game
The sign-preservation game, introduced by Qiao and Valiant [QV21], is a two-player combinatorial game used to model a simplified version of sequential calibration. In this paper, we consider the generalized version of the sign-preservation game, which Dagan et al. [DDF 25] introduce as the sign-preservation-with-reuse game. Fix integers and . There are initially empty cells, numbered 1, ..., , and two players: Player-P (the pointer) and Player-L (the labeler). Each of at most rounds proceeds as follows:
-
The pointer may terminate the game. Otherwise, it selects an empty cell .
-
The labeler may remove any subset of the minus signs to the left of j and the plus signs to the right of j.
-
The labeler places either a plus or a minus in cell j.
Sign-preservation-with-reuse differs from sign-preservation by allowing the pointer to select cells that have been emptied before. The game ends when the pointer stops, all t rounds have occurred, or no empty cell remains. The pointer and labeler seek to maximize and minimize the number of signs remaining, respectively. Both players may observe the full history of the game and randomize in their strategies.
Let denote the number of signs remaining at the end of a game of SPR with cells and rounds under optimal play. Qiao and Valiant [QV21] described strategies for the pointer in order to prove calibration lower bounds. Conversely, we and Dagan et al. [DDF 25] describe strategies for the labeler, yielding upper bounds on and calibration error.
3 Overview of Theorem 1.1
In this section, we outline the proof of Theorem 1.1, which is broken down into three main parts. Section 4 describes the new labeler strategy for the sign-preservation-with-reuse game. Section 5 describes the improved reduction from calibration to the sign-preservation-with-reuse game. Section 6 provides the specific parameters used to obtain the final calibration exponent.
3.1 Overview of Section 4
We seek the upper bound on of Theorem 4.1,
with , by choosing the parameters from an admissible tuple as in Theorem 4.2. For now, assume is a power of two. Note that simply maintaining independent labelers on the two halves does not suffice: if each labeler receives requests, summing their bounds gives
Since , (2) fails to close the induction. Instead, we must account for deletions between the two halves to obtain stronger bounds.
Our labeling strategy deletes every minus to the left of a request and every plus to its right, which affects the balance of positive and negative signs within the game. Following Dagan et al.
[DDF 25], we use recursive bias to exploit this asymmetry: we wish to show an instance with integer bias parameter b leaves at most
surviving signs of each type among those it placed, where is a constant and . We can see that by changing by one, we trade off the bounds in (3) on the two sign types. For example, decreasing by one decreases the plus bound by a factor of while increasing the minus bound by a factor of . We will show that (3) holds by induction on space and strongly on time at each fixed space.
Each epoch first runs instances in phase 1 on the two halves. Write for their request counts, denoting the number of times the heavy half and light half were requested, respectively, and for the requests in earlier epochs. By the inductive hypothesis, the two children's contributions are bounded by
Since some signs survive between epochs, treating each epoch separately gives too weak a bound. Instead, we maintain a bound for all remaining signs and a stronger bound for persistent signs. Persistent signs are pluses in the left half of an interval and minuses in the right half. Opposite-half requests cannot delete persistent signs, and once both halves have been visited in the current epoch, only persistent signs from earlier epochs can remain. At each restart, for each sign type , we bound persistent and total signs, respectively, by
where and . We distinguish three cases according to the state of the current epoch.
Case 1: phase 1, only one half has been visited. Here and . Both persistent and non-persistent signs from earlier epochs may remain, so we use the total-sign bound in (5). Adding the visited child's contribution from (4) gives
Thus, the admissibility condition makes (6) smaller than the desired bound (3).
Case 2: phase 1, both halves have been visited. Only persistent signs from earlier epochs remain, so the coefficient in (6) is replaced by , while both contributions in (4) must be counted. Since , for a fixed sum , the expression is largest when the counts are equal. Thus, while , the imbalance improves the bound, and we can continue using the two half-interval instances. If , the smaller coefficient in (5) supplies the saving even when the two half-counts are balanced. These two sources of saving explain why phase 1 continues until both and . While either phase 1 condition holds, admissibility gives, with ,
Thus, makes Equation (7) smaller than the desired bound (3).
Case 3: phase 2. When the counts become sufficiently balanced and both are large relative to the count from earlier epochs, we trigger phase 2. Suppose the trigger lies in the right half, whose count is . It deletes every minus in the left half, removing the larger child's contribution to the minus bound. The strategy then uses a full-interval continuation with bias for subsequent requests. After continuation requests, its contributions to the plus and minus bounds are, respectively,
The deleted signs provide room for the larger minus allowance in (8), while the plus bound benefits from the smaller allowance. This continuation lasts for requests in order to limit the time for which the instance has changed bias. A left-half trigger exchanges the roles of the signs.
At an epoch’s end, the deletion and bias change ensure that the persistent and total survivors satisfy (5) with the updated request count. This allows the argument to continue across restarts. The proof must also bound executions that stop before an epoch ends. Combining (6), (7), and the phase 2 contributions in (8) with the inherited bounds (5) gives, for sufficiently large t, the bound
The admissibility condition absorbs the additive term in (9) for large t, while executions with small t are handled by the constant C, proving the desired bound of (3). Summing over the two sign types at bias zero and padding the board to a power of two then gives the bound (1) of Theorem 4.1 for arbitrary board sizes.
This simpler two-phase strategy replaces the four-phase strategy of Dagan et al. [DDF 25]. Section 6 gives an admissible parameter tuple with , completing the claimed bound of (1).
3.2 Overview of Section 5
Theorem 5.1 converts the bound on the number of remaining signs in SPR into calibration error
where is derived from an admissible tuple as defined in Theorem 4.2. We modify the forecasting construction of Dagan et al. [DDF 25] and analyze it using the separate space and time bounds for SPR, rather than only using the diagonal regime . As in their minimax approach, we first allow the forecaster to observe the conditional mean of the next outcome.
For , the forecaster uses partition levels starting at . The coarsest level, , uses several bias thresholds, while each finer level, , uses just one bias threshold. At each level and bias threshold pair, we establish an even and odd instance of SPR, so that cells in one game are separated. This construction uses only SPR instances, compared to the instances used by Dagan et al. [DDF 25]. At level , each cell represents an interval of length , and a threshold index specifies the bias threshold . A plus selects the left endpoint, and a minus selects the right endpoint. Each cell in each game keeps a separate bias record at each endpoint, adding whenever that endpoint is selected for the cell. The record corresponding to the cell's current sign is its active bias, taken to be zero for an empty cell.
Bias removal. The forecaster first tries to reduce an active bias, in a process called bias removal. If the active bias is positive and lies to the left of its endpoint, predicting that endpoint gives and reduces the bias. Similarly, if the active bias is negative and lies to the right of its endpoint, predicting that endpoint gives and reduces its magnitude. Bias removal is performed only when the active bias magnitude exceeds one, so an update of magnitude at most one cannot reverse its sign.
The importance of bias removal is twofold. If bias removal is performed, then the total sum of magnitudes of bias across all cells in all games cannot increase. If bias removal is not performed, every sign that the placement request can legally delete has active bias of magnitude at most one.
Bias placement. If no removal is available, the forecaster uses the first eligible game, in increasing order of i and then j, to place bias by predicting the endpoint specified by the cell's sign. A cell is eligible when its interval contains and its active bias magnitude is below its bias threshold.
If the cell is empty, we will simulate a round of the SPR instance, where the pointer player points towards this cell in the corresponding game, and the labeler will return its sign. Let be the sign in this cell. Then, when we predict the endpoint corresponding to the chosen sign , the bias increment satisfies
Thus placement adds a small nonnegative amount of bias in the direction chosen by the labeler. If no game is eligible, the forecaster rounds to the nearest prediction point on a fixed grid.
Since depends on time , it is important to bound the number of recorded rounds in a game. To do this, we consider a reduced transcript, undoing moves whose signs are deleted by the next remaining move. Except at the smallest coarsest-level threshold, between successive queries in this transcript to the same cell in the same instance , bias in another instance must be rebuilt to its threshold, which takes time. The increment bound (11) therefore limits these transcripts' lengths, allowing the SPR guarantee to bound the surviving signs.
From bias to calibration. To relate calibration error to bias, we use the decomposition
After summing over rounds at each prediction and applying the triangle inequality, (12) bounds calibration error by a bias term from and a variance term from .
To bound the bias term, note that the bias thresholds ensure an active bias has magnitude at most , while an inactive bias has magnitude at most one. Thus, if signs remain in and cells have received placements, the total absolute stored bias in that game is at most
The first term in (13) is bounded by multiplying the number of remaining signs in each SPR instance by its bias threshold. For the second term, calling a cell in a game with fine intervals requires its parent to reach its bias threshold first. By (11), this requires many placements, limiting both the number of used cells and therefore the number of distinct predictions. The contribution to bias from the fixed grid rounding fallback is .
For the variance term, the increments have conditional mean zero. The bound on used cells gives at most distinct predictions, including those made by rounding. A martingale second-moment bound and Cauchy–Schwarz bound the expected variance term by .
Combining these bounds and summing the threshold-weighted SPR guarantees gives the calibration estimate. Setting therefore gives
By setting , we balance the first and third terms of (14) up to constant factors, which is sufficient because the second is smaller. The minimax step removes the forecaster's access to conditional means, giving (10) and completing the proof of Theorem 5.1. Its exponent depends only on , so we choose admissible parameters to maximize . The explicit choice in Section 6 then gives the claimed calibration exponent.
4 An improved labeling strategy for the sign-preservation-with-reuse game
In this section, we prove the following theorem, giving a strategy for Player-L whose guarantee depends separately on the numbers of cells and rounds.
Theorem 4.1. For every admissible parameter tuple in the sense of Theorem 4.2, there is a constant such that, for all integers and ,
We will prove Theorem 4.1 by establishing a per-sign bound for the recursive strategy in Theorem 4.3, then applying it to the root instance and padding to arbitrary board sizes.
4.1 Description of the strategy
Notation. The strategy for Player-L is given by two mutually recursive algorithms, A and B. The calls A.initialize(l, r, b) and B.initialize(l, r, b, ) create instances with the specified parameters and initialize their local state. Subsequent calls to A.label(s) or B.label(s) process a request at cell s and return its label, except that B.label(s) returns when its epoch has ended.
An instance initialized on covers cells and has bias , where , , and . For an instance of either A or B, let executionSteps( ) denote the number of calls to .label that have returned a sign in ; calls returning are not counted. An epoch of A is the sequence of requests answered by one of its instances of B. The epoch's parameter counts the number of requests answered in all earlier epochs, and signs placed in earlier epochs that still remain are called inherited signs. Note that executionSteps(A) includes requests from earlier epochs, while executionSteps(B) counts only those in that epoch.
For , let remainingSigns( ) denote the number of remaining signs of type placed in its covered cells in response to requests made to , including recursive calls. For an instance covering at least two cells, a sign is persistent if it is a plus in the left half or a minus in the right half. Notice that persistent signs survive requests in the opposite half but can still be deleted by a request in their own half. We write persistentSigns( ) for the number of such signs among those counted by remainingSigns( ).
We use the “.” notation for the local variables and routines of an instance, as in B.phase and A.label(s). We use the convention for and for , so a zero bias also returns a legal sign, and positive bias favors plus signs.
Overview of the labeling routines. For now, to simplify the recursion, let be a power of two. We initialize a root instance with , , . At each time step, after Player-P selects, or requests, an empty cell , we delete every minus to the left of and every plus to its right, and then place the sign returned by . Each instance of A covering more than one cell passes the request to its current instance currentB of B.
Algorithm 1 Labeling strategy across epochs (A)
Require: Parameters , , , , with a power of two. ([l, r] is the covered interval and b is the bias.)
1: function A.initialize(l, r, b)
2: count 0.
3: if then
4: currentB B.initialize(l, r, b, 0).
5: function A.label(s)
6: if then
7: .
8: else
9: .
10: if then
11: currentB B.initialize(l, r, b, count).
12: .
13: count count + 1.
14: return .
In phase 1, this instance passes the request to one of its two children A[0], A[1], according to whether s belongs to the left or right half of its interval. In phase 2, it instead passes the request to a new instance shiftedA of A, which covers the same interval and has bias one larger or one smaller than that of A. The recursive calls eventually reach an instance covering one cell, which returns the sign of its bias. This answer is then returned through the preceding calls to . After a prescribed number of continuation requests, B returns on the next request, and A starts a new epoch to answer that request.
Algorithm parameters. The algorithms in Algorithms 1 and 2 depend on three parameters , and . The parameter determines how balanced the two counts must be before B.phase changes to 2, and determines the number of requests answered in phase 2. The parameter scales the smaller count in the comparison with .
Summary of A (Algorithm 1). On input , A.initialize initializes an instance of B with parameters if , and sets a counter for the number of rounds, count = executionSteps(A), to zero. If , then A does not initialize a corresponding B instance and A.label(s) chooses sign(b). Otherwise, it calls currentB.label(s) to obtain a sign. If this call returns , meaning that the current instance of B has terminated, then A initializes a new instance with parameters and passes the same request to it. After obtaining a sign, A increments count and returns the sign. Thus, A maintains a sequence of instances of B, each of which answers requests until it returns or the game ends. Note that at the end of every round involving a non-leaf instance,
The variable count is the total number of requests processed so far across all epochs. At a restart, count is exactly the number of requests answered in earlier epochs, so the new epoch receives this number as .
Algorithm 2 Two-phase labeling epoch (B)
Require: Parameters , , , , an integer, with a power of two. ( is the total number of requests answered in all earlier epochs of the parent A instance.)
1: function B.initialize( , , , )
2: .
3: A[0] A.initialize( , , ).
4: A[1] A.initialize( , , ).
5: countHalf[0] 0, countHalf[1] 0, phase 1.
6: function B.label( )
7: if phase = 1 then
8: half 0 if else half 1.
9: countHalf[half] countHalf[half] + 1.
10: A[half].label( ).
11: max{countHalf[0], countHalf[1]}.
12: min{countHalf[0], countHalf[1]}.
13: if and then
14: , .
15: if then
16: if half = 0 then
17: shiftedA A.initialize( , , ).
18: else
19: shiftedA A.initialize( , , ).
20: phase 2.
21: return .
22: else if phase = 2 then
23: if then
24: return .
25: shiftedA.label( ).
26: .
27: return .
Summary of B (Algorithm 2). On input , B.initialize initializes two instances of A, denoted by A[0], A[1], covering the left and right halves of , respectively, both with bias b. It also maintains the two phase 1 request counts and denotes their minimum by and their maximum by . In phase 1, each request is answered by the child covering its cell. After obtaining this answer, B checks whether the smaller count is at least and at least , where is the larger count. When both conditions hold, a trigger occurs. It sets and enters phase 2 for L requests. If , after obtaining the triggering request's answer from the old child, it initializes shiftedA on the full interval , with bias if the trigger was in the left half, and otherwise. The next L requests, which are the continuation of B, are answered by shiftedA, after which B returns on the following request. If , it returns on the first request after entering phase 2. Note that the game may end during either phase, in which case the instance need never return .
4.2 Parameters and the labeling lemma
Analysis parameters. The exponents and describe how the number of signs remaining depends on space and time, respectively. The constant controls how changing bias affects the bounds, while and control, respectively, the numbers of persistent and total inherited signs. The constant in the bound will be chosen in the proof. We write and take to be a power of two, so that each split gives two intervals of equal size. Our goal is to choose the parameters with as small as possible.
For an instance of A with bias covering cells, the coefficient in the bound for signs of type for each of the two children of a B instance is . When phase 2 begins, the new instance of A covers cells and has bias or . Relative to for the original children, its contribution is multiplied by one of or . We collect all the inequalities needed by the analysis in the following definition, and only later give values satisfying these inequalities in Theorem 6.1.
Definition 4.2. A tuple is admissible if
and there exist real constants satisfying all of the following conditions.
Here, F is the maximum number of rounds handled by the base case for the induction on time. , are coefficients that bound inherited persistent signs and total signs, respectively. M bounds epochs in phase 1, D bounds epochs in all phases, and P, Q control persistent and total signs at the end of epochs, respectively. The tuple is admissible if:
- The constants lie in the ranges
- To close the induction for short executions, persistent signs, and total signs, we have the bounds
(18)
- If an execution stops during phase 1, the inherited signs and the two half-interval instances are bounded as follows for all positive x and y:
If it stops during the continuation in phase 2, the inherited signs and the continuing instance are bounded as follows for all positive x and y:
- If an instance is in phase 1, the inherited persistent signs and the signs from both halves are bounded. Specifically, for all nonnegative integers , , with , if or , then
If an instance has just switched into phase 2, the same bounds hold with an additional 1. Specifically, if instead , , , and either or , then
- If an instance is triggered into phase 2, then , where and for integers , and
Then the numbers of persistent pluses, persistent minutes, and total signs, respectively, are bounded by
- When a continuation finishes and an epoch ends, the numbers of persistent minutes, persistent pluses, and total signs are bounded. Specifically, for all nonnegative integers , , satisfying the count conditions of (22), set and . Whenever ,
At any point during the continuation, the persistent count of the lesser sign remains within its induction bound, so for every real ,
Lemma 4.3. Fix an admissible tuple as in Theorem 4.2. There exists a constant , depending only on this tuple, such that every instance with bias , covering a power-of-two number of cells, satisfies the following bound. For and each ,
Proof overview of Theorem 4.3. Fix any admissible tuple and constants from Theorem 4.2. Take . We prove the bound (31) in Theorem 4.3 by an outer induction on cells , where is a power of two, and an inner strong induction on requests . For an instance of with bias covering cells and having answered requests, the space hypothesis is, for ,
At the fixed space n, the time hypothesis is, for ,
Both hypotheses use the same constant and hold for all biases and sign types . Assuming both hypotheses, we fix a parent instance with bias on cells and requests, noting that the base cases and are immediate.
-
If , we show that is large enough to establish the inductive claim by Theorem 4.5. Thus, it suffices to only consider .
-
If only one half has been visited in the current epoch, the epoch is still in phase 1, and both persistent and non-persistent inherited signs may remain. We bound these with the total sign coefficient by Theorem 4.6, giving .
-
Once both halves have been visited in the current epoch, the only inherited signs that remain are persistent, so we can sharpen the bound on inherited signs to the smaller persistent sign coefficient by Theorem 4.6. If the epoch is still in phase 1, then or , so admissibility gives .
-
If the epoch has entered phase 2, we account for the triggering deletion and combine the contributions of both the child instances and the shifted bias instance from the continuation, as in Theorem 4.4. Using the inherited bounds from Theorem 4.6 gives coefficients and for pluses and minutes, respectively, when the trigger is on the right; a left-half trigger exchanges the sign types.
-
Since , all three cases give , which is sufficient since the given inequality closes the induction.
4.3 Lemmas in the proof of Theorem 4.3
We begin by bounding the number of total signs and persistent signs in a continuation instance.
Lemma 4.4. Under the inductive setup, suppose an epoch of A, with instance B and parameter , starts with at most inherited persistent signs of each type, where is the inherited persistent-sign coefficient from Theorem 4.2. Suppose B.phase = 2 is triggered by the right half. Let , be the larger and smaller counts at the trigger, and set . During phase 2, after continuation requests, we have
For a left-half trigger, swap the two sign types and exchange the factors and .
Proof. B.phase = 2 implies that both halves have been visited. In particular, the first visit to the left half deletes all right-half pluses from earlier epochs, and the first visit to the right half deletes all earlier left-half minutes. Thus, only inherited persistent signs can remain from earlier epochs.
Notice that the right count cannot be larger than the left count immediately after the phase changes. Otherwise, it was already at least the left count before this request, so the smaller count was unchanged and the larger count could only increase. Neither condition for changing the phase could therefore become true for the first time. Thus, denotes the count on the left and denotes the count on the right.
By the inductive hypothesis on space, the signs of type placed by B.A[0] and B.A[1] that remain are at most and , respectively, because both these instances cover cells. After B.phase changes to 2, neither instance receives further requests, so these contributions cannot increase.
If , then and B shiftedA has been initialized. Since the triggering request is on the right, this instance has bias and covers cells. The parent A has processed at least
requests, so the inductive hypothesis on time applies to B shiftedA. Its plus and minus counts are therefore at most
For , both contributions are zero, whether or not the continuation has been initialized.
To bound the number of minutes, note that the right request on which the phase changes deletes every minus placed by B.A[0]. It suffices to consider the minutes placed by B.A[1] , the inherited persistent minutes , and the minutes placed by B shiftedA . Summing these bounds gives the desired inequality on remainingSigns(A, -1).
To bound the number of pluses, we first bound the number of persistent pluses. It suffices to consider the pluses placed by B.A[0] , the inherited persistent pluses , and the pluses placed by B.shiftedA . Counting all pluses from the last instance also bounds its persistent pluses. Summing these bounds gives the desired inequality on persistentSigns(A, +1). To obtain the inequality on remainingSigns(A, +1), we also include the pluses placed by B.A[1] .
To induct on time, we first handle instances which have processed at most requests. The cutoff and the choice come from the inductive setup.
Lemma 4.5. Take the cutoff F from Theorem 4.2 and as in the inductive setup. Let A be an instance with bias b covering a power-of-two number n of cells, and let . Then, for each ,
Proof. Since , our choice of gives . If or the instance has returned no sign of type , the desired bound is immediate. Otherwise, we first show that
Fix a request on which the given instance returns . Write , , ..., for the successive instances whose answers are passed back to produce this , where is the given instance and covers one cell. For each , let be the instance called by that returns . Thus, obtains its answer from . Evaluate each instance's number of processed requests just after this request.
If .phase = 1 when it calls , then is one of . and . . It has the same bias as and has processed at most as many requests. Otherwise, .phase = 2 and .shiftedA, which was initialized with bias differing by one from that of when .phase changed from 1 to 2. Let , be the counts at that change, and let be the number of requests processed by . Then , whereas has processed at least requests. Thus, each bias change reduces the number of processed requests by at least a factor of two. If there are bias changes among these instances, has processed at least one request and at most requests, so .
Let be the bias of . Since each bias change is by one, . The instance returns , so . Consequently, , and
The second inequality uses . Multiplying by gives the claimed inequality.
Now, since , and for , we have . This proves the desired bound, as the total number of signs preserved cannot be more than the total number of requests processed by the instance.
Lemma 4.6. Under the inductive setup, let and be the inherited persistent- and total-sign coefficients. At the start of every epoch with parameter , the following inequalities hold for each .
Proof. At the start of the first epoch, A has placed no signs, so both bounds hold with . Suppose the bounds hold at the start of an epoch with parameter , and that the next epoch begins. Let , be the completed epoch's counts when B.phase changes from 1 to 2, and set . The epoch answers requests before returning on the next request. Thus, the next epoch has parameter , by (15), and A has answered exactly u requests before that next epoch begins. Any deletions on the request that starts the new epoch can only reduce the inherited counts. Each continuation used to bound this completed epoch has fewer than requests, so the fixed time hypothesis applies.
Suppose first that . If A has returned no sign of type , its count is zero. Otherwise, the argument in the proof of Theorem 4.5 gives . Since and , we have
The total number of signs of type placed by A that remain is at most u. This proves both bounds for the next epoch, since persistent signs are a subset of all remaining signs and .
Suppose instead that . First consider the case where the request on which B.phase changes from 1 to 2 is on the right. Applying Theorem 4.4 at and (27), (28), and (29) gives
Since and persistent Signs(A, -1) remaining Signs(A, -1), the required bounds for both sign types hold. If the trigger is on the left half instead, exchange the two sign types and the same arguments apply.
15
☐
4.4 Completing the labeling induction
It remains to combine the bounds above for an instance whose current epoch need not have ended.
Proof of Theorem 4.3. Fix an admissible parameter tuple and take F and C as chosen in the inductive setup. We induct on space (the power of two n), and strongly on time (t) for each fixed n, uniformly over all biases and histories allowed in the lemma.
For , the count is zero. For , at most one sign remains, and any returned type satisfies , so when .
Now suppose . Theorem 4.5 handles , so assume . The inductive hypothesis on space applies to both B.A[0] and B.A[1], since they cover fewer cells, and the inductive hypothesis on time applies to each B shiftedA, since it processes fewer requests. Thus, Theorems 4.4 and 4.6 apply.
Let B = A.currentB, with in phase 1. By (15), we have . There are three cases.
Case 1: only one half of B has been visited. Then B.phase = 1, and only the instance corresponding to the visited half has placed signs in this epoch. Both persistent and non-persistent signs from earlier epochs may remain. Here and . We have
The first inequality follows from Theorem 4.6 and the inductive hypothesis on space; the second follows from (19).
Case 2: both halves of B have been visited, and B.phase = 1. Only persistent signs from earlier epochs remain. Since phase 1 has not ended, or . With , we have
The first inequality follows from Theorem 4.6 and the inductive hypothesis on space; the second follows from (21).
Case 3: B.phase = 2. Let , be the counts when the phase changes from 1 to 2, and let be the continuation count, with if . Then . Since ,
so (30) applies.
Suppose the request on which the phase changes is on the right. For the plus signs, we have
The first inequality follows from Theorems 4.4 and 4.6, the second from (22), and the third from (20). For the minus signs, we have
The first inequality follows from Theorems 4.4 and 4.6; the second follows from (30). A left-half trigger exchanges the roles of the two sign types.
To finish the proof, use from (17). Combining the three cases gives
Since and , . Therefore,
where the last inequality uses (18). This completes the inner induction on time and hence the outer induction on space.
We now deduce Theorem 4.1 from Theorem 4.3 by summing the bounds for each sign type at the root and padding the board to handle arbitrary sizes.
Proof of Theorem 4.1. For a power-of-two board size, summing the bounds for each sign type in Theorem 4.3 at the root, whose bias is b = 0, gives
For arbitrary , pad the board to a power of two and request only the original cells. Thus, we may take .
5 From sign-preservation bounds to calibration
In this section, we prove the following theorem, converting separate space and time bounds for SPR into a calibration guarantee.
Theorem 5.1. Let , and . Suppose for all integers and . Then, for every horizon , there exists a randomized forecaster whose expected calibration error against any adversary satisfies
First, we establish the scale-sum estimate in Theorem 5.2. Then, we prove Theorem 5.1 by applying the SPR bound from Section 4.
5.1 Description of the strategy
Conditional means. Our strategy uses the conditional mean approach developed by Hart [Har25] and Dagan et al. [DDF 25]. Fix any adversary and let , where is the history before round . For the construction, the forecaster observes before predicting. We use deterministic labeling strategies and fixed tie-breaking rules, so the forecaster's prediction is a function of . Specifically, all loops run in increasing order, ties between grid points are resolved by choosing the smallest, and ties between cells are resolved by choosing the leftmost. After predicting, it observes and proceeds to the next round.
Notation. The forecasting strategy maintains several instances of the SPR game. Each cell represents an interval of possible conditional means, and the sign in that cell specifies an endpoint to predict: a plus selects the left endpoint, and a minus selects the right endpoint. The instances use intervals of different lengths and different thresholds for the bias accumulated at their endpoints.
For a calibration horizon , choose integers , with . The parameter specifies the coarsest partition, and is the number of partition levels. We index these levels by
At each level , a second index specifies the bias threshold . The coarsest level uses thresholds, while each finer level uses just one. Specifically, define
to represent the set of possible for each . At level , partition into equal intervals, numbered from zero. For each , group the intervals by the parity of their indices and assign one instance to each parity. The even and odd SPR instances contain only cells representing the even-numbered and odd-numbered intervals, respectively. Thus any two intervals represented in the same game are separated by an interval of the opposite parity. We write for the instance with indices and parity . The total number of SPR instances is , compared with the instances used in the construction of Dagan et al. [DDF25].
Note that an instance has cells. Then for a cell , write interval for its interval and for the prediction corresponding to the sign . Setting , these are
The final interval also includes 1. Note that all predictions lie in the fixed grid
Given a level , a threshold index , and a conditional mean , the routine cell locates the cell to which that mean belongs. It returns the unique pair whose interval contains . Specifically, , , and .
For each cell, the forecaster keeps a separate record of the bias accumulated at each of its two endpoints. We denote these records by bias for , which both start at zero. When
Algorithm 3 Calibration strategy using sign preservation
Require: Parameters , , with , and the deterministic Player-L strategies specified below.
1: ; and for .
2: Set .
3: Initialize each board to be empty.
4: Initialize bias( ) = bias( ) = 0 for all instances and all cells .
5: for do
6: Observe .
7: for do ▷ bias removal loop
8: for do
9: for do
10: .
11: if or then
12: Choose the least such .
13: .
14: Predict . ▷ predict to perform bias removal
15: bias( ) bias( ) + .
16: Observe and end round .
17: for do ▷ bias placement loop
18: for do
19: .
20: if then
21: if is empty in then
22: simulateGame( ). ▷ place/delete signs in SPR
23: in cell of .
24: Predict . ▷ predict to perform bias placement
25: bias( ) bias( ) + .
26: Observe and end round .
27: Predict a nearest point to . ▷ rounding fallback
28: Observe and end round .
a round is assigned to an endpoint, its bias is updated by adding . The value corresponding to the cell's current sign is its active bias, denoted bias( ), and the other value is inactive. When the cell is empty, set bias( ) := 0; both stored values are then inactive.
For every instance G, initialize the board of the game to be empty. Fix a deterministic optimal base labeler for each instance with space and time , as defined in Theorem 5.5. The routine simulateGame( ) supplies a sign for cell c by simulating the SPR game for instance G. When a new move is needed, it treats c as the pointer's chosen cell and applies G's labeling strategy. The forecasting loop treats that strategy as a black box. In the analysis below, we choose it by wrapping the base labeler with a reduced transcript.
Summary of the forecaster (Algorithm 3). Initially, all SPR boards are empty and all stored endpoint biases are zero. At round t, after observing the conditional mean , the forecaster first checks every interval in the bias removal loop to see if bias can be removed. Specifically, it checks whether an endpoint prediction can reduce an active bias of magnitude greater than one. Its test at is
If the test succeeds, the forecaster predicts the corresponding endpoint and is able to remove some of the active bias from that cell.
If the test fails, the algorithm finds a cell for placement in the bias placement loop by looping through partition levels , starting from the coarsest level and ending at the finest level . For each , it loops through all thresholds in . For each , it locates the cell whose interval contains and selects the first one with active bias magnitude below . If is empty, we also call the routine and record the sign it returns. If returns a plus or minus sign, we predict the left or right endpoint of the interval of cell , respectively, and update the bias of the cell. We call a prediction and bias update at a cell selected by this loop a placement at that cell, whether or not it was empty. If no such cell is selected by the bias removal or bias placement loop, we fall back to simply predicting the nearest point of (Line 27). Every prediction is followed by observing and ending the round.
5.2 The scale-sum lemma
The following lemma bounds the calibration error of the conditional-mean construction in terms of two sums of SPR guarantees. The sums correspond to the coarsest level and the finer levels, respectively. We will apply the bounds on SPR to these sums to prove Theorem 5.1.
Lemma 5.2. Define
By the end of round , the forecaster in Algorithm 3 satisfies
Proof overview of Theorem 5.2. We bound calibration error by conditional-mean bias and the fluctuations , then bound each contribution.
-
We first bound the conditional-mean bias in terms of the signs remaining in each game. An active endpoint has bias magnitude at most , while an inactive endpoint has magnitude at most one by Theorem 5.3. Thus a game with signs and used cells contributes at most , and rounding adds .
-
To bound , we undo wasted moves using the reduced transcript in Theorem 5.4. Except at the smallest coarsest-level threshold, repeated recorded queries to a cell require bias to be rebuilt elsewhere. The resulting transcript bounds give with the round budgets from Theorem 5.5. Multiplying by the thresholds and summing over both parities bounds the bias from signs by , where the last term accounts for the smallest coarsest-level threshold.
-
We next account for the terms and the number of distinct predictions. Before a fine cell can be used, its parent must receive enough placements to reach its threshold. This shows that at most fine cells are used, and there are at most distinct predictions, including rounding, by Theorem 5.6. The coarsest-level cells contribute .
-
Finally, the increments have conditional mean zero, so the prediction-wise sums have total second moment at most . Cauchy–Schwarz and the bound on give an expected contribution of at most . Adding this to the bias bound proves (34).
To deduce Theorem 5.1, we apply the SPR power bound to in Theorem 5.2, set , and choose to balance the leading bias and variance terms up to constant factors. We extend to arbitrary horizons and apply minimax to remove access to the conditional means.
5.3 Lemmas for the proof of Theorem 5.2
We first record the bias bounds and accounting identity, adapting Lemma A.1 of Dagan et al. [DDF 25] to our endpoint predictions and simulation with restored signs.
Lemma 5.3. Let . Throughout Algorithm 3, the following hold.
-
For every cell c in G, and .
-
For every cell in and sign type , if that value is active, and if that value is inactive. The magnitude of either positive or negative bias for a cell can only increase by at most per round.
-
At the end of round T,
Proof. We use the induction underlying , keeping track of the two endpoint biases separately. Initially both are zero. A removal update moves an active value of magnitude greater than one toward zero by at most one, so it preserves its sign and cannot increase its magnitude.
Before a call to simulateGame(c, G), every sign that may be deleted by c has bias of magnitude at most one, since a larger bias would have resulted in bias removal for that cell instead. Every sign deleted by this call therefore leaves behind a stored value of magnitude at most one. Since c was empty before the call, both its biases have magnitude at most one. The returned sign therefore has active magnitude at most one, and this call preserves the inactive bound.
At level i, a chosen cell's active bias has magnitude below . Notice that by predicting at the endpoint corresponding to the chosen sign , we have
Thus a placement at a cell preserves the sign of the stored value and increases its magnitude by at most , leaving it below . These observations complete the induction for items 1–2.
For item 3, each stored value is the sum of the increments assigned to its fixed endpoint, since it is never reset. Grouping these increments by prediction and applying the triangle inequality gives a bound of . Each rounding round adds at most half the grid spacing, so their total contribution is at most .
Following Dagan et al. [DDF 25, Appendix A.2], we modify each instance's labeler to remove wasted moves. If a plus is followed by a query to its left, or a minus by a query to its right, that sign is deleted immediately, so we can skip the move that placed it. We formalize this intuition in the definition of a reduced transcript.
Definition 5.4 (Reduced transcript). Given a game G, call the forecaster's board the real board and the base labeler's internal board the restored board. Save the base labeler's full state before each move, including the restored board state. Suppose for a game G, the reduced transcript shows the pointer previously selected cells , from earliest to latest, and simulateGame( ) is called in the current round. First, simulate all sign deletions that are legally allowed by the call to cell in the real board. If the transcript is nonempty and the sign placed in cell can legally be deleted by this call, delete the previous call to and restore the saved base-labeler state, including the restored board, from before that call.
While the transcript is nonempty, continue to undo the last remaining call to in reverse chronological order, from latest to earliest, while the call could legally delete the sign in cell . After these moves have been undone, if cell is occupied on the restored board, reuse its sign without querying the labeler or recording a new move; otherwise, query the labeler for a sign at and record the move. Then place the sign at cell on the real board. The recorded calls that are not deleted and remain after this process form the reduced transcript of .
Note that a reduced transcript only affects the signs present on the board, but not any of the bias values associated with a cell. Rewinding restores older signs only on the restored board, so that board contains every actual sign, with the same sign in every actually occupied cell, throughout the call. Restoring the full labeler state makes the reduced transcript a legal play of the fixed base labeler. The sign count coming from the reduced transcript thus bounds the actual sign count after each completed call.
The next lemma bounds the length of the reduced transcript in Theorem 5.4; undone moves do not contribute to its length.
Lemma 5.5. Through round , the number of recorded moves in the reduced transcript of is at most , where
Thus, the number of signs on the actual board of is at most .
Proof. Fix an instance and its reduced transcript through round T. Consider two successive recorded queries of a cell c. By definition of a reduced transcript, the move immediately after the first query must not delete the sign, and therefore lies on its preserving side, while the move that actually deletes that sign lies on its deleting side. These moves lie on opposite sides of c and occur between the two queries of c. We consider two cases depending on the value of i.
Case 1: . If , the reduced transcript has length at most because there are at most rounds played. Now consider . Whenever a move at is recorded in , . Otherwise, the bias placement loop in Algorithm 3 would have stopped at the earlier instance because the condition on Line 20 would be true. We now show that at some round between successive queries of , we have . If the sign at in changes between these queries, the conclusion is immediate because the cell must first become empty, when its active bias is zero. Otherwise, this follows because interval, and the two moves to the left and right of are only possible when ; otherwise, the condition on Line 11 of Algorithm 3 would be true and bias removal would be performed on in .
By Theorem 5.3, both stored values have magnitude at most one at that round. Thus, between successive queries of c, the stored value active at the next query must increase in magnitude from at most 1 to . Each round assigned to its endpoint can increase its magnitude by at most , so this takes at least
rounds. The first query needs as many rounds because the biases start at zero.
Case 2: . Let denote the parent of in . Similarly, whenever a move at is recorded in , . Otherwise, the bias placement loop in Algorithm 3 would have stopped at the earlier instance because the condition on Line 20 would be true. Similarly, we show that at some round between successive queries of , we have . If the sign at in changes between these queries, the conclusion is immediate because the cell must first become empty, when its active bias is zero. Otherwise, this follows because the only cell in that lies in interval is . The other cell belongs to a game of different parity. Therefore, the conditional means for the two moves lie to the left and right of the parent interval, respectively. This implies ; otherwise, the condition on Line 11 of Algorithm 3 would be true and bias removal would be performed on in .
Again, both stored values have magnitude at most one at that round. Thus, between successive queries of c, the stored value active at the next query must increase in magnitude from at most 1 to . Each round assigned to its endpoint can increase its magnitude by at most , so this takes at least
rounds. The first query needs as many rounds because the biases start at zero.
Note that between successive queries of one cell and across distinct cells, the required rounds that build bias are disjoint: cells have distinct corresponding cells in Case 1 or distinct parents in Case 2, and each round updates at most one of them. Thus, since , the above cases give the claimed bounds on .
The next lemma bounds the number of predictions used.
Lemma 5.6. Through round , the forecaster uses at most distinct prediction values.
Proof. Let count the distinct parent intervals at levels for which either the forecaster selects one of their children and predicts its endpoint, or the conditional mean lies in a child interval at level on a final rounding round. Fix such a parent at level , where . The first prediction in a child cannot be a removal round, since this would require an earlier placement at that child. When one of its children first contributes to , the forecaster has passed over the parent in the bias placement loop. Thus the test on Line 20 fails for the parent's cell in its instance with index , and its active stored bias has magnitude at least .
An endpoint’s stored bias starts at zero, and each prediction assigned to this parent’s endpoint increases its magnitude by at most . Hence reaching the threshold requires at least rounds. Each such round updates only one cell of one instance, so we can conclude
Every parent counted by at a level greater than must first have been used to predict an endpoint to build its bias, so its own parent is also counted. Starting from the coarsest partition, each counted parent adds at most one new prediction value, the common endpoint of its two children. The coarsest partition has endpoints, so there are at most distinct predictions.
5.4 Proof of Theorem 5.2
We bound calibration error by considering two separate terms. These are the stored conditional-mean bias, or the bias term, and the martingale fluctuations, or the variance term. The preceding lemmas control the bias by establishing the length of each reduced transcript and control the fluctuations by bounding the number of distinct predictions.
Proof of Theorem 5.2. For each prediction , the identity splits its cumulative calibration error into two sums. The first, from , is the bias term bounded by (35) in Theorem 5.3; the second, from the centered differences , is the variance term. The triangle inequality gives
Bounding the bias. Let be the number of cells of that received placements through round , and let be its number of signs at that time. By Theorem 5.3, an occupied cell contributes at most , and an empty used cell contributes at most two. Consequently,
At level , each parity instance has cells. For , the bias threshold is two and , so its two instances contribute bias. For each , the board inclusion above and Theorem 5.5 give in each parity instance. The terms from these instances sum to at most ; their terms contribute .
For , the threshold index is . The same inclusion and round-count bound give in each parity instance. Multiplying by the threshold and summing over these levels gives at most . The remaining terms count used intervals at levels . Each such interval is a child of a parent counted in Theorem 5.6, and each parent has at most two children. Thus the total number of these intervals is . Hence, all contributions from cells that have received placements are . This bounds the bias by .
Bounding the variance. Let
Note that the variables , are measurable with respect to the history before is drawn, and . Thus, for each , the increments of have conditional mean zero, and increments at different times have zero expected product. Consequently,
By Theorem 5.6, at most distinct prediction values are used on every run. Cauchy–Schwarz on each run, followed by Jensen’s inequality, gives
Combining the two terms proves the lemma.
5.5 Proof of Theorem 5.1
We apply the separate space and time bound to the two scale sums, then set the value of the coarsest level to balance the bias and variance terms. We conclude the proof by removing the construction's access to conditional means.
Proof of Theorem 5.1. First let the construction's horizon be . Choose
For sufficiently large , these parameters satisfy . Each SPR board at level has cells. Each instance at a level has a round budget of , since . Recall the estimate from Theorem 5.2:
We now apply the hypothesis to express the two sums and in terms of the parameters. Write and . The exponents in the two sums can then be rewritten as
The common leading term produces the factor in both bounds. The extra in the first identity is a constant. Thus, for the terms at level ,
The exponent is nonnegative for every j in this sum. Similarly, for the terms at levels ,
Here . Expanding the definitions of and and applying these bounds term by term yields
In the penultimate line, set in the first sum and in the second. Because and , both ratios and are strictly below 1; the finite sums are therefore bounded by and , respectively, independently of . Empty sums are zero. Substituting and into this estimate, and using , gives
for the forecaster that uses before predicting. Our choice of balances the first and third terms up to constant factors, since
The remaining term is smaller: , and
Rounding changes only constant factors. Thus
To generalize to an arbitrary sufficiently large horizon , take and run the construction with budget for its first rounds. The bias and variance arguments use only as an upper bound on the number of elapsed rounds, so they apply to this prefix. Since , this changes only the implied constant in the bound. For the remaining small horizons, enlarge the implied constant and use calerr( .
We must now address the fact that so far the forecaster has used before predicting, but this is not allowed in the original game setting. It remains to remove the forecaster's access to , which is unavailable in the original game. For each fixed randomized adversary, suppose that the forecaster knows the adversary's strategy. The forecaster can compute from the observed history and run the construction above, achieving the stated bound against that adversary. Thus, every randomized adversary admits a forecaster achieving the same bound. Since the fixed prediction grid is finite, this allows us to apply finite-game minimax, as in Hart [Har25] and Dagan et al. [DDF 25], to obtain one randomized forecaster with the same bound against any adversary, without knowing the adversary's strategy and without access to .
6 Explicit parameters and the main theorem
The following parameter choice completes the proof of our calibration bound. We defer the verification that these parameters satisfy the necessary inequalities of Theorem 4.2 to Section A.
Proposition 6.1. The following six-parameter tuple is admissible:
We may also choose the constants
and define , , , as in Section A.1. These values satisfy (18). Moreover, and
Proof of Theorem 1.1. Use the parameters and constant in Theorem 6.1. By Theorem 4.1, the labeling strategy guarantees uniformly over integers and that for ,
Since and , Theorem 5.1 shows that there exists a forecaster whose expected calibration error against any adversary is
by Theorem A.5, which yields the desired upper bound on calibration error. ☐
Remark 6.2. The parameters presented in Theorem 6.1 are close to the best values found in our numerical search. We minimize the calibration exponent by maximizing subject to the parameter inequalities. In Python, SciPy's scipy.optimize.differential_evolution first searches broadly for candidate parameters, penalizing parameters if they violate inequalities. We then refine the candidate and additional random starting points with scipy.optimize.minimize, using sequential least squares programming to impose the inequalities as explicit constraints. The smallest calibration exponent found is approximately 0.66294228152554, improving on our choice by only .
References
[Daw82] A. P. Dawid. The well-calibrated Bayesian. Journal of the American Statistical Association, 77(379):605–610, 1982. 1
[DDF 25] Yuval Dagan, Constantinos Daskalakis, Maxwell Fishelson, Noah Golowich, Robert Kleinberg, and Princewill Okoroafor. Breaking the barrier for sequential calibration. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing (STOC 2025), pages 2007–2018, New York, NY, USA, 2025. ACM. 1, 2, 3, 4, 5, 6, 18, 21, 22, 27
[FV98] Dean P. Foster and Rakesh V. Vohra. Asymptotic calibration. Biometrika, 85(2):379–390, 1998. 1, 2
[GPSW17] Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. On calibration of modern neural networks. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 1321–1330. PMLR, 2017. 1
[Har25] Sergiu Hart. Calibrated forecasts: The minimax proof. In M. Ali Khan, Nobusumi Sagara, and Alexander J. Zaslavski, editors, Matching, Dynamics and Games for the Allocation of Resources, volume 7 of Monographs in Mathematical Economics, pages 153–159. Springer, Singapore, 2025. 2, 18, 27
[HJKRR18] Ursula Hébert-Johnson, Michael P. Kim, Omer Reingold, and Guy N. Rothblum. Multicalibration: Calibration for the (computationally-identifiable) masses. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 1939–1948. PMLR, 2018. 1
[KFE18] Volodymyr Kuleshov, Nathan Fenner, and Stefano Ermon. Accurate uncertainties for deep learning using calibrated regression. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 2796–2804. PMLR, 2018. 1
[KLM19] Ananya Kumar, Percy Liang, and Tengyu Ma. Verified uncertainty calibration. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. 1
[PRW 17] Geoff Pleiss, Manish Raghavan, Felix Wu, Jon Kleinberg, and Kilian Q. Weinberger. On fairness and calibration. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. 1
[QV21] Mingda Qiao and Gregory Valiant. Stronger calibration lower bounds via sidestepping. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing (STOC 2021), pages 456–466, New York, NY, USA, 2021. ACM. 2, 4
[Zha26] Zihan Zhang. Efficient sequential calibration with error bound. arXiv preprint arXiv:2607.12928, 2026. 2
A Verification of the explicit parameters
This appendix proves Theorem 6.1 and verifies the resulting calibration exponent. We give explicit choices of , , , , reduce admissibility to three strict inequalities, and check them using Python with the mpmath library.
A.1 Verification of the explicit bounds
Fix , , , , , satisfying (16), but we do not yet assume admissibility for this tuple in the proof. Choose constants , , and . Set and define the phase 1 coefficient
(38)
The coefficients P, Q control persistent and total signs, respectively, at the end of phase 2 before rounding, with T as in (23):
Finally, D combines the bounds for an execution that may stop in either phase:
Ranges and bounds for unfinished epochs. We begin by establishing a weighted concavity inequality.
Lemma A.1. For every and all , , , ,
Proof. If or , the inequality follows from the monotonicity of on . Otherwise, set
Since is concave on ,
☐
The second term defining is greater than . The definition of gives . The functions defining , are positive and continuous on the nonempty compact domain , so their suprema are finite and positive. This verifies all the remaining ranges in (17). For , , the weighted concavity inequality Theorem A.1 gives
Thus (19) and (20) hold.
Phase 1 inequalities. The following lemma verifies (21) and (22) for the explicit choice of M.
Lemma A.2. For the phase 1 coefficient M in (38), (21) and (22) hold under their respective count conditions. In particular, they apply when at the end of a round and when a request changes the phase from 1 to 2, respectively.
Proof. Suppose first that or , as required in (21).
If , then and . For , the derivative of has the sign of , which is nonnegative exactly when . By continuity, the ratio is maximized on at Thus, , and by Theorem A.1,
Instead, if , then and . For , the derivative of has the sign of , which is nonnegative. By continuity, this ratio is also nondecreasing on . Thus, , and by Theorem A.1,
These two cases establish (21). Under the conditions of (22), (21) applies to . Since for all and ,
For an actual epoch, a round ending in phase 1 fails the trigger test in line 13 of Algorithm 2, so the first condition holds. At the first trigger, the requested half has a smaller count just before the request: increasing a strictly larger count cannot make either part of the trigger test become true, and increasing one of two equal counts cannot do so either. Thus the sorted counts change from to , which gives the second condition.
Phase 2 inequalities. Each expression in the maximum defining is at most , and the expression defining is at most . Multiplying by the positive denominator proves (24), (25), and (26), respectively. The next lemma verifies (27), (28), (29), and (30), conditional on the first two inequalities in (18).
Lemma A.3. Take the endpoint coefficients P, Q from (39)-(40) and suppose and . Then (27), (28), (29), and (30) hold for all counts in the domain specified in Theorem 4.2.
Proof. Fix counts satisfying the conditions in Theorem 4.2, and set and . Set , , and . The specified count conditions give and . Thus,
The second inequality follows from the definition of , the third inequality follows because implies , and the last inequality follows from the hypothesis of the lemma. The second expression defining similarly gives
Finally, the expression defining Q similarly gives
For the intermediate bound, define . For ,
since and . By continuity at zero, is nondecreasing on . The first inequality proved above gives , so for all , including the case .
The arguments above reduce all the conditions in Theorem 4.2 to the three inequalities in (18). These depend on the remaining choices of , , as well as the six parameters. The next lemma verifies these inequalities for the explicit values in Theorem 6.1.
Lemma A.4. The tuple in (36), with the auxiliary choices in (37), satisfies
Proof. We first identify the points at which the suprema defining and are attained. Recall that the trigger domain is the union of two segments:
Each expression in (39) and (40) has the form
where the coefficients are chosen as follows:
| a | b | |
|---|---|---|
| First expression for P | 1 | |
| Second expression for P | 0 | |
| Expression for Q | 1 |
Consider one row of the table. On the first segment, substituting yields, for ,
On the second segment, substituting yields, for ,
Both functions are continuous on their closed intervals and differentiable in their interiors, since their denominators are positive. Each therefore attains its maximum at an endpoint or an interior critical point. Differentiation gives
and
Because , each numerator is strictly decreasing and has a unique positive zero. If the critical point lies in the interval, the maximum occurs at the critical point; otherwise, it occurs at the nearest endpoint. The maximizing points are therefore
and
For each row of the table, the supremum over must be . This means is the maximum of the four values corresponding to the first two rows, and is the maximum of the two values corresponding to the third row.
It remains to certify
The Python program in Listing 1 verifies these bounds using mpmath 1.3.0 interval arithmetic at 80 decimal digits of precision. The code uses outward upper bounds for M, D, P, Q; the strict inequalities verified for these bounds also hold for the exact coefficients defined above.
Proof of Theorem 6.1. The parameter ranges and the identity follow directly from the exact decimals in (36) and (37). The explicit construction above verifies the remaining auxiliary ranges, the two bounds for unfinished epochs, and the three normalized endpoint bounds. Theorem A.2 verifies the two phase 1 inequalities. Theorem A.4 establishes all three inequalities in (18); the first two then allow Theorem A.3 to verify the four phase 2 inequalities. Thus every condition in Theorem 4.2 holds, proving admissibility of the six-parameter tuple. Finally, is a sufficient choice for the induction.
It remains to verify the resulting calibration exponent, which can be checked using rational arithmetic alone.
Lemma A.5. For the parameters in (36) and ,
Proof. Substituting the exact decimals into gives the displayed fraction. The strict inequality follows from
A.2 Python code
Listing 1 checks that the stated parameters satisfy all inequalities in Theorem 4.2 and computes the resulting calibration exponent.
Listing 1: Independent verification of the explicit parameters.
Run with Python and mpmath 1.3.0: python3 verify_parameters.py.
from fractions import Fraction
from mpmath import iv
iv.dps = 80
parameters = ( '0.0082540892', '0.9574603467', '1.9444858156', '0.0164237243', '0.4148723339', '0.8812155678', '0.9208553424', '9.4880928733', )
alpha, beta, lam, rho, kappa, K_p, K_t, delta = map(iv.mpf, parameters)
F = iv.mpf('1e10') p = 1/(1-beta) s = 1+kappa v = 2alpha rounding = F(-beta) inflation = 1+1/F
def clip(x, lower, upper): """Enclose min(upper, max(lower, x)) using monotonicity.""" return iv.mpf([ min(upper.a, max(lower.a, x.a)), min(upper.b, max(lower.b, x.b)), ])
def norm(x, y): """Coefficient in the weighted concavity inequality.""" return (xp+yp)**(1/p)
def endpoint_upper(a, b): """Upper bound from the two maximizing points in Lemma A.1.""" z = clip((K_p*(rho+s)/(arho**beta+b))**p, iv.mpf(0), deltarho) r = clip(((K_pdeltabeta+a)*s/(1+delta)b))**p, rho, iv.mpf(1)) f = (K_pzbeta+arhobeta+b)/(z+rho+s)beta g = ((K_p*deltabeta+a)*rbeta+b)/(1+delta)*r+s)**beta return max(f.b, g.b)
Phase 1: the two cases in the waiting-counts lemma.
x_star = clip(K_p**(-p), iv.mpf(0), 1/delta) M_tau = norm((K_p+x_star**beta)/(1+x_star)beta, 1) M_rho = norm(K_p, (1+rhobeta)/(1+rho)**beta)
Upper endpoints are exact witnesses, so non-strict checks are rigorous.
M = max(M_tau.b, M_rho.b) D_one_half = norm(K_t, 1) D_continuation = norm(M, v/lam) D = max(D_one_half.b, D_continuation.b)
The three normalized endpoint coefficients.
P_plus = endpoint_upper(0, 1+vkappa**beta/lam) P_minus = endpoint_upper(1, lamvkappa**beta) Q_total = endpoint_upper(1, 1+vkappa**beta/lam) P = max(P_plus, P_minus) Q = Q_total
Bounds after integer rounding, from the terminal-bounds lemma.
P_rounded = Pinflation+rounding Q_rounded = Qinflation+rounding D_rounded = D+rounding terminal_minus = P_minusinflation+rounding terminal_plus = P_plusinflation+rounding terminal_total = Q_total*inflation+rounding
epsilon = 1-alpha-beta epsilon_exact = 1-Fraction(parameters[0])-Fraction(parameters[1])
72 exponent = (2+epsilon)/(3+2epsilon) 73 74 75 # Parameter ranges, in the order of the admissibility definition. 76 assert alpha > 0 77 assert 0 < beta < 1 78 assert 1 < lam <= 2 79 assert 0 < rho <= 1 80 assert 0 < kappa <= 1 81 assert delta > 0 82 83 # 1. Auxiliary ranges. 84 assert F >= 1 85 assert 0 < K_p < 1 86 assert K_t > K_p 87 assert K_p <= M 88 assert M <= D 89 assert P > 0 90 assert Q > 0 91 92 # 2. Induction slack. 93 assert P_rounded < K_p 94 assert Q_rounded < K_t 95 assert D_rounded < v 96 97 # 3. Unfinished epochs: weighted concavity covers every x, y >= 0. 98 assert D_one_half.b <= D 99 assert D_continuation.b <= D 100 101 # 4. Phase 1: these two cases certify the waiting inequality. 102 # The same bounds certify the first-trigger inequality with its +1, 103 # since (x+1)beta-xbeta <= 1 for every x >= 0 and 0 < beta < 1. 104 assert M_tau.b <= M 105 assert M_rho.b <= M 106 107 # 5. Normalized endpoints: the three inequalities over all of T. 108 assert P_plus <= P 109 assert P_minus <= P 110 assert Q_total <= Q 111 112 # 6. Phase 2: the three terminal inequalities, in their stated order. 113 assert terminal_minus < K_p 114 assert terminal_plus < K_p 115 assert terminal_total < K_t 116 # The intermediate inequality follows from the terminal-minus bound 117 # and monotonicity of its deficit on 0 <= t_c <= L. 118 assert lamv >= K_p 119 120 # Reduction to calibration and the exact value of epsilon. 121 assert alpha < beta 122 assert epsilon_exact == Fraction('0.0342855641') 123 assert epsilon > 0 124 assert exponent < iv.mpf('0.662942288') 125 print('PASS: all admissibility conditions and the calibration exponent.')