Papers
Topics
Authors
Recent
Search
2000 character limit reached

Efficient Fixed-Time Regret with Two Experts

Updated 20 March 2026
  • The paper develops an algorithm that achieves the optimal fixed-time regret bound of √(T/(2π)) + O(1), outperforming classical MWU methods.
  • It implements a discretization of the backward heat equation via stochastic calculus, ensuring O(1) time per round with efficient evaluation of smooth functions.
  • The analysis unifies probability, stochastic calculus, and information theory to derive sharp, nonasymptotic bounds and validate performance against established lower bounds.

Efficient and optimal fixed-time regret with two experts addresses the foundational online learning problem of prediction with expert advice under a finite horizon and a fixed, small number of experts—most notably, n=2n=2. For this classical setting, the objective is to develop algorithms that guarantee the smallest possible fixed-time regret compared to the best expert in hindsight, with stringent computational efficiency and sharp, nonasymptotic bounds. This topic unifies insights from probability, stochastic calculus, and information theory, culminating in algorithms that optimally balance statistical performance and computational requirements (Greenstreet et al., 2022, Eldowa et al., 2023).

1. Model Specification: Two-Expert Online Learning

The formal setup consists of TNT \in \mathbb{N} rounds with two experts (i=1,2)(i=1,2). At each round t{1,,T}t \in \{1,\ldots,T\}, the adversary reveals a loss vector t[0,1]2\ell_t \in [0,1]^2. Before observing t\ell_t, the algorithm chooses a distribution xtΔ2x_t \in \Delta_2 (assigning probabilities xt(1),xt(2)x_t(1), x_t(2) to each expert), then suffers the expected loss xttx_t \cdot \ell_t, and observes t\ell_t. The core metric is regret: RT:=t=1Txttmini{1,2}t=1Tt(i)R_T := \sum_{t=1}^T x_t \cdot \ell_t - \min_{i \in \{1,2\}} \sum_{t=1}^T \ell_t(i) Define the cumulative losses Lt(i):=s=1ts(i)L_t(i) := \sum_{s=1}^t \ell_s(i) and the gap gt:=Lt(1)Lt(2)g_t := |L_t(1) - L_t(2)|. In the restricted binary adversary case (t{(1,0),(0,1)})(\ell_t \in \{(1,0), (0,1)\}), the regret admits the decomposition RT=t=1Tpt(gtgt1)R_T = \sum_{t=1}^T p_t \cdot (g_t - g_{t-1}) (Proposition 2.3), where ptp_t is the probability assigned to the lagging expert at time tt and g0=0g_0=0, with ties broken evenly (Greenstreet et al., 2022).

2. Optimal Fixed-Time Regret: Main Theorem and Bounds

Efficiently minimizing regret in the fixed-time regime requires surpassing the performance of general-purpose algorithms tailored for large nn. The presented algorithm guarantees, for arbitrary losses in [0,1][0,1] and any TT,

RTT2π+1.24R_T \leq \sqrt{\frac{T}{2\pi}} + 1.24

This matches Cover's 1967 lower bound in the binary loss case up to additive O(1)O(1) and demonstrates asymptotic optimality as TT \to \infty. In comparison, classical Multiplicative Weights Update (MWU) achieves RT(T/2)ln20.707TR_T \leq \sqrt{(T/2)\ln 2} \approx 0.707\sqrt{T}, which is suboptimal by a factor of approximately 20%20\% relative to the optimal constant 1/2π0.3989\sqrt{1/2\pi} \approx 0.3989 (Greenstreet et al., 2022). The result holds regardless of adversary adaptivity or loss distribution within [0,1][0,1].

3. Algorithmic Structure and Stochastic Calculus Methods

The algorithm is constructed as a discretization of a solution to the backward heat equation via stochastic (Itô) calculus. Two key smooth functions are defined over (t,g)[0,T]×R(t,g) \in [0,T] \times \mathbb{R}:

  • Q(t,g)=12erfc(g/2(Tt))Q(t,g) = \frac{1}{2} \operatorname{erfc}\left( g/ \sqrt{2(T-t)} \right)
  • R(t,g)=0gQ(t,x)dx120tgQ(s,0)dsR(t,g) = \int_0^g Q(t,x) dx - \frac{1}{2} \int_0^t \partial_g Q(s,0) ds

RR satisfies the backward heat equation: tR+12ggR=0\partial_t R + \frac{1}{2} \partial_{gg}R = 0 and gR=Q\partial_g R = Q. The actual algorithm computes, on each round:

  1. The current gap g=Lt1(1)Lt1(2)g = |L_{t-1}(1) - L_{t-1}(2)|.
  2. Sets p=Q(t,g)p = Q(t, g).
  3. Picks the lagging expert with probability pp; the leader otherwise.
  4. Observes t\ell_t and updates losses.

Pseudocode for the method is:

1
2
3
4
5
6
7
8
9
initialize L0(1)=L0(2)=0
for t=1 to T:
    g = abs(L[t-1][1] - L[t-1][2])
    if g > 0:
        p = Q(t, g)
    else:
        p = 0.5
    choose expert i (lagging) with probability p, else leader
    observe ℓ_t, update L

This approach achieves O(1)O(1) time per round, with QQ evaluated using erfc\operatorname{erfc} and basic arithmetic, yielding overall O(T)O(T) total runtime. There is no need for O(T2)O(T^2) preprocessing as in Cover's 1967 dynamic programming approach (Greenstreet et al., 2022).

4. Analytical Foundations and Regret Decomposition

The regret guarantees follow from a detailed analysis leveraging discrete and continuous versions of Itô's formula. For the restricted-binary adversary, the regret is recast as pt(gtgt1)\sum p_t (g_t - g_{t-1}) and bounded using a discrete Itô formula (Theorem 5.1) for grid functions. The main analytic steps are:

  • Application of discrete Itô to R(t,gt)R(t, g_t) along the sequence of gap states.
  • The dominant term corresponds directly to the regret sum via pt=gR(t,gt1)p_t = \partial_g R(t,g_{t-1}).
  • Bounds on the terminal and initial values R(T1,gT1)T/(2π)R(T-1, g_{T-1}) \leq \sqrt{T/(2\pi)}, R(0,0)=0R(0,0) = 0, and discretization errors O(1)O(1) via careful estimation of (Tt)3/2(T-t)^{-3/2}-decaying terms.

The methodology extends to unrestricted losses in [0,1][0,1] by exploiting the Lipschitz property and ensuring the discretization error remains O(1)O(1). Proposition 2.3 formalizes the key regret-gap relationship in the two-expert case (Greenstreet et al., 2022).

The original algorithm by Cover (1967) achieved RTT/(2π)+1/2R_T \leq \sqrt{T/(2\pi)} + 1/2 for binary costs using dynamic programming with O(T2)O(T^2) preprocessing or per-round costs scaling in TT. MWU yields RT(T/2)ln2R_T \leq \sqrt{(T/2)\ln 2}, which is not optimal for two experts. The present algorithm uniquely achieves the minimax optimal rate RTT/(2π)+O(1)R_T \leq \sqrt{T/(2\pi)} + O(1) for real-valued losses and O(1)O(1) computational complexity per round (Greenstreet et al., 2022).

Extending to bandits with expert advice and fixed, known policies, the EXP4 algorithm specialized to two experts achieves RT=O(TTV(p,q))R_T = O(\sqrt{T\,TV(p,q)}), where TV(p,q)TV(p, q) is the total variation distance between the expert distributions. An alternative KL-divergence-based (OSMD) algorithm provides regret bounds of O(TKDKL(pq))O(\sqrt{T K D_{KL}(p \| q)}), with KK the number of actions. Lower bounds show that Ω(TDKL(pq))\Omega(\sqrt{T D_{KL}(p\|q)}) is unimprovable in the fixed-time regime up to constants (Eldowa et al., 2023).

6. Information-Theoretic Perspectives and Lower Bounds

In the fixed two-expert setting, regret bounds are tightly controlled by information-theoretic distances between policies. Specifically:

  • EXP4 achieves RT=O(TTV(p,q))R_T = O(\sqrt{T\,TV(p, q)}) with matching lower bound Ω(TV(p,q)T)\Omega(TV(p,q)\sqrt{T}) up to constants.
  • OSMD-style algorithms leveraging KL divergence achieve RT=O(TKDKL(pq))R_T = O(\sqrt{T K D_{KL}(p\|q)}).
  • For sufficiently large TT, all algorithms must satisfy RTcH2(p,q)TR_T \geq c\sqrt{H^2(p,q)T}, with H2H^2 the squared Hellinger distance, and H2(p,q)DKL(pq)H^2(p,q) \leq D_{KL}(p\|q) (Eldowa et al., 2023).

These results demonstrate the minimax-optimality of the presented methods, characterizing the precise fixed-time regret tradeoffs as a function of expert similarity.

7. Technical Conditions and Scope

All results assume losses in [0,1][0,1], guaranteeing validity of exponential update schemes and Pinsker-type inequalities. For the adversarial setup, every action must have nonzero probability under at least one expert to permit unbiased importance-weighted estimation. For the OSMD approach, existence of an interior point in the convex hull of the expert distributions ensures well-defined KL-projections.

A plausible implication is that these algorithms, by optimally leveraging statistical structure and computational efficiency, form a natural benchmark for regret minimization with a small number of experts and fixed horizon, unifying classical, stochastic, and information-theoretic regimes (Greenstreet et al., 2022, Eldowa et al., 2023).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Efficient and Optimal Fixed-Time Regret with Two Experts.