Efficient Fixed-Time Regret with Two Experts
- 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, . 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 rounds with two experts . At each round , the adversary reveals a loss vector . Before observing , the algorithm chooses a distribution (assigning probabilities to each expert), then suffers the expected loss , and observes . The core metric is regret: Define the cumulative losses and the gap . In the restricted binary adversary case , the regret admits the decomposition (Proposition 2.3), where is the probability assigned to the lagging expert at time and , 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 . The presented algorithm guarantees, for arbitrary losses in and any ,
This matches Cover's 1967 lower bound in the binary loss case up to additive and demonstrates asymptotic optimality as . In comparison, classical Multiplicative Weights Update (MWU) achieves , which is suboptimal by a factor of approximately relative to the optimal constant (Greenstreet et al., 2022). The result holds regardless of adversary adaptivity or loss distribution within .
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 :
satisfies the backward heat equation: and . The actual algorithm computes, on each round:
- The current gap .
- Sets .
- Picks the lagging expert with probability ; the leader otherwise.
- Observes 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 time per round, with evaluated using and basic arithmetic, yielding overall total runtime. There is no need for 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 and bounded using a discrete Itô formula (Theorem 5.1) for grid functions. The main analytic steps are:
- Application of discrete Itô to along the sequence of gap states.
- The dominant term corresponds directly to the regret sum via .
- Bounds on the terminal and initial values , , and discretization errors via careful estimation of -decaying terms.
The methodology extends to unrestricted losses in by exploiting the Lipschitz property and ensuring the discretization error remains . Proposition 2.3 formalizes the key regret-gap relationship in the two-expert case (Greenstreet et al., 2022).
5. Comparison with Prior and Related Approaches
The original algorithm by Cover (1967) achieved for binary costs using dynamic programming with preprocessing or per-round costs scaling in . MWU yields , which is not optimal for two experts. The present algorithm uniquely achieves the minimax optimal rate for real-valued losses and 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 , where is the total variation distance between the expert distributions. An alternative KL-divergence-based (OSMD) algorithm provides regret bounds of , with the number of actions. Lower bounds show that 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 with matching lower bound up to constants.
- OSMD-style algorithms leveraging KL divergence achieve .
- For sufficiently large , all algorithms must satisfy , with the squared Hellinger distance, and (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 , 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).