                                   High-Dimensional Prediction for Sequential Decision Making

ing the adversary, i.e., with ŝt = st . Therefore, simulating
the reverse playthrough of this game, with the adversary                                                                   X
going first and the learner copying, can give us a random-                      RegT (AMsMwC , eσ∗ ,i∗ ,j ∗ ) =                    ⟨ℓouter
                                                                                                                                     t     , wt − eσ∗ ,i∗ ,j ∗ ⟩
ized saddle-point strategy s̄t for the learner: namely, the                                                               t∈[T ]
                                                                                  X
empirical distribution of the learner’s simulated plays. This                 =                        ⃗ jt (ŝt )·(st,i −ŝt,i )
                                                                                       wt,(σ,i,j) · σ· E
will suffice so long as the adversary plays to optimize the                     T,σ,i,j
variable st using any no-regret OLO algorithm. Therefore,                                T
by simulating sufficiently many rounds of this “no-regret
                                                                                         X
                                                                                 + σ∗          ⃗ jt∗ (ŝt )·(ŝt,i∗ −st,i∗ )
                                                                                               E
adversary vs. copycat learner” game, we can get as close as                              t=1
we want to the value of the game.
                                                                              Rearranging and taking a max over σ ∗ , we get for all i∗ , j ∗ :
Now we are ready to present our general Algorithm 1. For
the first step, it instantiates the Chen et al. (2021) MsMwC                   T
                                                                               X
                                                                                     ⃗ jt∗ (ŝt )·(ŝt,i∗ −st,i∗ )
                                                                                     E
algorithm for 2dn experts corresponding to signs σ = ±1,
coordinates i ∈ [d] and events j ∈ [n], to enable bias                         t=1

bounds that depend on each event’s incidence count. For                       ≤ max    RegT (AMsMwC , eσ∗,i∗,j ∗)
                                                                                σ ∗ ∈±1
the second step, it uses any no-regret OLO algorithm AS                          X
                                                                              +                       ⃗ jt (ŝt )·(ŝt,i −st,i )
                                                                                      wt,(σ,i,j) · σ· E
                                     √ S; this could be OGD
that can optimize over the state space
or any other general-purpose O( T )-regret algorithm.                            T,σ,i,j
                                                                                           r             X  T
                                                                                                         ⃗ j∗ +
                                                                              = O log(dnT )+ log(dnT )nT E        ut (ŝt , st ),
Algorithm 1 Unbiased Prediction
                                                                                                                                              t=1
                                  ⃗ 0 (·) ≡ 0n , and AMsMwC .
  Initialize ŝ0 = 0d , s0 = 0d , E
  for t = 1 . . . T do                                                        where ut is as defined above, and the regret bound
     Get context xt ∈ X , and define E               ⃗ t , ·).
                                          ⃗ t (·) := E(x                      follows from Theorem 2.3 since the total squared
     Get new weights     wt by updating AMsMwC with losses:                                                         PT  outer 2
                                                                             loss of each expert (σ, i, j) is:          t=1 ℓt,(σ,i,j) =
      outer          ⃗  t−1
     ℓt−1 ← σ · Ej (ŝt−1 ) · (st−1,i − ŝt−1,i )                               P                        
                                                                                    T    ⃗t             2           ⃗ j )).
                                                               σ,i,j          O     t=1 (Ej (xt , ŝt ))    = O(nT (E
     Initialize a new instance of AS and any stent
                                                 0     ∈ S.
     for τ = 1 . . . t2 do                                                    Step 2: By definition of regret for AS , we have for any t:
        Get simulated prediction stent
                                  τ    by updating AS with:                                         X
                                                                               Regt2 (AS ) = max         ⟨ℓinner
                                                                                                           τ     , stent
                                                                                                                    τ    − s⟩
                                                          !                                            s∈S
                       X X                                                                                    τ ∈[t2 ]
         inner                               ⃗ t   tent
                                                        
        ℓτ −1 ←            σ     wt,(σ,i,j) ·Ej s       τ −1
                                                                                            X X
                                                                                                                             ⃗ jt stent   · stent
                                                                                                                                                     
                     σ=±1     j∈[n]                               i∈[d]
                                                                                = max                       wt,(σ,i,j) · σ · E     τ         τ,i − si
                                                                                     s∈S
                                                                                           τ ∈[t2 ] σ,i,j
    end for                                                                     = max
                                                                                            X
                                                                                                      ut stent , s = t2 · max E [ut (ŝt , s)] .
                                                                                                                  
                                                                                                         τ
    Set s̄t ← Unif {stent
                        0   , stent
                               1    , . . . , stent
                                               t2 } .
                                                                                     s∈S                                       s∈S ŝt ∼s̄t
                                                                                           τ ∈[t2 ]
    Predict ŝt ∼ s̄t .
    Observe true state st .
                                                                                                                                           
                                                                              The last line uses s̄t ← Unif {stent
                                                                                                                0  , stent
                                                                                                                      1    , . . . , stent
                                                                                                                                      t2 } .
  end for                                                                                                                √
                                                                              Thus, husing that AS i has regret O( T ), we have
                                                                                          PT                    PT −2
Theorem 2.4 (Bias of Algorithm√     1). For any time horizon                       E       t=1 ut (ŝt , st ) ≤   t=1 t    Regt2 (AS ) =
                                                                              ŝt ∼s̄t ∀t
T , and instantiated with any O( T )-regret OLO method                             PT −1
AS over domain S, Algorithm 1 produces (randomized)                           O( t=1 t ) = O(log T ): a lower-order term. Taking the
predictions (s̄t )t∈[T ] whose realizations (ŝt )t∈[T ] achieve              expectation of the Step 1 bound thus gives the result.
the desired bias bounds for all i ∈ [d] and Ej , j ∈ [n]:
                                                                            2.2. Efficient O(T 2/3 ) Online Multicalibration: Sketch
                                     p
 BiasT (E, i) ≤ O log(d|E|T ) + nT (E) log(d|E|T ) .                          We now sketch a simple application illustrating that our high-
                                                                              dimensional prediction methodology can be useful even
Proof. Step 1: We instantiate AMsMwC for 2dn experts,                         for single-dimensional forecasting. This application also
corresponding to signs σ = ±1, coordinates i ∈ [d] and                                       p of our per-event bias bounds
                                                                              showcases the utility                         √       scaling
events j ∈ [n]. Let the weights of MsMwC be (wt )t≥1 ,                        optimally as O( nT (E)) rather than as O( T ).
and denote our loss vectors for MsMwC by (ℓouter  t )t≥1 , as
defined in Algorithm 1. Denote experts’ basis vectors by                      Online Multicalibration In this setting (Gupta et al.,
eσ,i,j . For every σ ∗ = ±1, i∗ ∈ [d], j ∗ ∈ [n]:                             2022; Hébert-Johnson et al., 2018), a learner, in each round

                                                                          5
