Sequential Probability Assignment with Contexts: Minimax Regret, Contextual Shtarkov Sums, and Contextual Normalized Maximum Likelihood
Ziyi Liu, Idan Attias, Dan Roy
Abstract
We study the fundamental problem of sequential probability assignment, also known as online learning with logarithmic loss, with respect to an arbitrary, possibly nonparametric hypothesis class. Our goal is to obtain a complexity measure for the hypothesis class that characterizes the minimax regret and to determine a general, minimax optimal algorithm. Notably, the sequential entropy, extensively studied in the literature (Rakhlin and Sridharan, 2015, Bilodeau et al., 2020, Wu et al., 2023), was shown to not characterize minimax risk in general. Inspired by the seminal work of Shtarkov (1987) and Rakhlin, Sridharan, and Tewari (2010), we introduce a novel complexity measure, the contextual Shtarkov sum, corresponding to the Shtarkov sum after projection onto a multiary context tree, and show that the worst case log contextual Shtarkov sum equals the minimax regret. Using the contextual Shtarkov sum, we derive the minimax optimal strategy, dubbed contextual Normalized Maximum Likelihood (cNML). Our results hold for sequential experts, beyond binary labels, which are settings rarely considered in prior work. To illustrate the utility of this characterization, we provide a short proof of a new regret upper bound in terms of sequential entropy, unifying and sharpening state-of-the-art bounds by Bilodeau et al. (2020) and Wu et al. (2023).
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 27e8625c-52c3-4436-bfde-92ec1d62e164Builds on4
- Optimal Learners for Realizable Regression: PAC Learning and Online LearningIdan Attias, Steve Hanneke, Alkis Kalavasis, Amin Karbasi et al.NeurIPS 2023 · 33 citations
- Adversarial laws of large numbers and optimal regret in online classificationNoga Alon, Omri Ben-Eliezer, Yuval Dagan, Shay Moran et al.STOC 2021 · 23 citations
- Tight Bounds on Minimax Regret under Logarithmic Loss via Self-ConcordanceBlair L. Bilodeau, Dylan J. Foster, Daniel M. RoyICML 2020 · 18 citations
- Smoothed Analysis of Sequential Probability AssignmentAlankrita Bhatt, Nika Haghtalab, Abhishek ShettyNeurIPS 2023 · 11 citations
Related papers
- Precise Regret Bounds for Log-loss via a Truncated Bayesian AlgorithmChanglong Wu, Mohsen Heidari, Ananth Grama, Wojciech SzpankowskiNeurIPS 2022 · 12 citations
- Nearly Minimax Optimal Regret for Multinomial Logistic BanditJoongkyu Lee, Min-hwan OhNeurIPS 2024 · 20 citations
- Tractable Multinomial Logit Contextual Bandits with Non-Linear UtilitiesTaehyun Hwang, Dahngoon Kim, Min-hwan OhNeurIPS 2025
- Fast rates for nonparametric online learning: from realizability to learning in gamesConstantinos Daskalakis, Noah GolowichSTOC 2022 · 8 citations
- Multinomial Logit Contextual Bandits: Provable Optimality and PracticalityMin-hwan Oh, Garud IyengarAAAI 2021 · 29 citations
