Data-Driven Regret Balancing for Online Model Selection in Bandits

Aldo Pacchiano, Christoph Dann, Claudio Gentile · DOI

Introduction

In sequential decision-making problems like multi-armed bandits (MAB) or reinforcement learning, practitioners often face a "model selection" challenge: choosing the best algorithm or hyperparameter configuration (base learner) for an unknown environment. Traditional approaches often rely on regret balancing, which attempts to equalize the potential regret across different base learners. However, these methods typically require pre-calculated, pessimistic theoretical regret bounds.

This paper introduces two novel algorithms, D$^3$RB (Doubling Data-Driven Regret Balancing) and ED$^2$RB (Estimating Data-Driven Regret Balancing), which eliminate the need for prior knowledge. Instead of relying on worst-case theory, they dynamically estimate the realized regret of each learner, allowing them to capitalize on "lucky" runs and significantly outperform traditional baselines.

The Problem with Pessimistic Bounds

Existing model selection techniques suffer from two primary drawbacks. First, theoretical bounds are often overly conservative, leading to slow adaptation. Second, they focus on expected performance, ignoring the high variance inherent in individual runs. In practice, a "risky" algorithm might occasionally converge much faster than its average-case performance suggests. Traditional methods miss these highly favorable real-world realizations because they are anchored to pessimistic expected-case bounds.

Methodology: Data-Driven Estimation

The proposed algorithms maintain a "balancing potential" for each base learner and select the one with the lowest potential at each step. The core innovation lies in how they estimate regret coefficients from data:

  1. D$^3$RB: Employs a misspecification test. It compares the average reward of the active learner against the best-performing learner in the pool. If the gap exceeds the current estimated bound, the bound is doubled.
  2. ED$^2$RB: Directly and continuously estimates the regret coefficient based on the maximum reward difference observed between learners, using a clipping function to maintain stability.
Tracking regret coefficients and cumulative regret over rounds.

As shown in the figure above, these data-driven coefficients (orange and green lines) effectively track the actual regret scale (blue line), allowing the meta-learner to adapt its strategy in real-time without manual tuning.

Key Insight: Exploiting Realized Regret

A fundamental contribution of this work is the shift from expected to realized regret. By running multiple instances of base learners, the meta-learner can identify and "ride" the most successful realizations. Surprisingly, this means a good meta-learner can achieve a lower expected regret than the expected regret of the best base learner on its own.

Comparison of expected regret and realized regrets. The right panel highlights the significant variance in individual learner runs that the model selection algorithm can exploit.

As illustrated in the figure above, while the expected regret of base learners might be high, individual realizations (thin lines) can be much lower. The model selection algorithm (dashed green line) effectively tracks these better-than-average outcomes, effectively treating variance as a feature rather than a bug.

Empirical Results and Theoretical Guarantees

The authors evaluated D$^3$RB and ED$^2$RB across various benchmarks, including MAB, linear bandits, and contextual linear bandits.

  • Theoretical Strength: The authors prove that both algorithms achieve a regret bound of $\tilde{O}((d_T^\star)^2 \sqrt{T})$, where $d_T^\star$ is the realized regret coefficient. This matches the form of prior data-independent bounds but replaces loose theoretical guesses with tighter, actual realized rates.
  • Performance Dominance: In a "self-selection" task—choosing among 10 identical greedy algorithms—D$^3$RB achieved a cumulative regret of 431, compared to over 5000 for baselines like Corral and standard Regret Balancing. This demonstrates its ability to identify and exploit the "luckiest" base learner initialization.

Conclusion

Data-driven regret balancing represents a significant step forward in online model selection. By moving away from pessimistic theoretical priors and focusing on realized performance, D$^3$RB and ED$^2$RB offer a more adaptive and efficient framework for bandit problems. While currently limited to stochastic settings, extending these principles to adversarial environments remains a promising direction for future research.

Summary updated

BibTeX
@inproceedings{pacchiano2024data,
  author = {Aldo Pacchiano and Christoph Dann and Claudio Gentile},
  title = {{Data-Driven Regret Balancing for Online Model Selection in Bandits}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
}
Figure