English

Online Learning in the Random Order Model

Machine Learning 2025-10-06 v1 Data Structures and Algorithms

Abstract

In the random-order model for online learning, the sequence of losses is chosen upfront by an adversary and presented to the learner after a random permutation. Any random-order input is \emph{asymptotically} equivalent to a stochastic i.i.d. one, but, for finite times, it may exhibit significant {\em non-stationarity}, which can hinder the performance of stochastic learning algorithms. While algorithms for adversarial inputs naturally maintain their regret guarantees in random order, simple no-regret algorithms exist for the stochastic model that fail against random-order instances. In this paper, we propose a general template to adapt stochastic learning algorithms to the random-order model without substantially affecting their regret guarantees. This allows us to recover improved regret bounds for prediction with delays, online learning with constraints, and bandits with switching costs. Finally, we investigate online classification and prove that, in random order, learnability is characterized by the VC dimension rather than the Littlestone dimension, thus providing a further separation from the general adversarial model.

Keywords

Cite

@article{arxiv.2510.02820,
  title  = {Online Learning in the Random Order Model},
  author = {Martino Bernasconi and Andrea Celli and Riccardo Colini-Baldeschi and Federico Fusco and Stefano Leonardi and Matteo Russo},
  journal= {arXiv preprint arXiv:2510.02820},
  year   = {2025}
}
R2 v1 2026-07-01T06:14:55.332Z