Learning Safely Without Knowing the World:COMPASS-Hedge
Organizations: Department of Economics, University of Wisconsin–Madison · Department of Finance, University of Wisconsin–Madison · Department of Computer Sciences, University of Wisconsin–Madison
Abstract
Online learning algorithms often face a fundamental trilemma: balancing regret guarantees between adversarial and stochastic settings and providing baseline safety against a fixed comparator. While existing methods excel in one or two of these regimes, they typically fail to unify all three without sacrificing optimal rates or requiring oracle access to problem-dependent parameters. In this work, we bridge this gap by introducing COMPASS-Hedge. To the best of our knowledge, our algorithm is the first full-information anytime method to simultaneously achieve, up to logarithmic factors: i) minimax-optimal regret in adversarial environments; ii) instance-optimal, gap-dependent regret in stochastic environments; and iii) regret relative to a designated baseline policy. Crucially, COMPASS-Hedge is parameter-free and requires no prior knowledge of the environment's nature or the magnitude of the stochastic suboptimality gaps. Our approach hinges on a novel integration of adaptive pseudo-regret scaling and phase-based aggression, coupled with a comparator-aware mixing strategy. To the best of our knowledge, this provides the first "best-of-three-world" guarantee in the full-information setting, establishing that baseline safety does not have to come at the cost of worst-case robustness or stochastic efficiency.
Figures & tables
| Representative works | Minimax | Stochastic | Baseline |
| Even-Dar et al. [ 21 ] ; Müller et al. [ 43 ] | ✓ | ✗ | ✓ |
| Müller et al. [ 43 ] , App. B.3 | ✗ | ✗ | ✓ |
| Mourtada–Gaïffas [ 42 ] | ✓ | ✓ | ✗ |
| COMPASS-Hedge (ours) | ✓ | ✓ | ✓ |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Online Learning
Online learning studies algorithms that update predictions or decisions from sequential feedback while controlling cumulative error or regret.
See all 132 papersOptimistic Policy Learning under Pessimistic Adversaries with Regret and Violation Guarantees
RHC-UCRL), a model-based algorithm that maintains optimism over both agent and adversary policies, explicitly separating epistemic from aleatoric uncertainty. RHC-UCRL achieves sub-linear regret and constraint violation guarantees.