Next-Token Prediction and Regret Minimization
Not on the map. Why?
Abstract (arXiv)
We consider the question of how to employ next-token prediction algorithms in adversarial online decision-making environments. Specifically, if we train a next-token prediction model on a distribution D over sequences of opponent actions, when is it the case that the induced online decision-making algorithm (by approximately best responding to the model's predictions) has low adversarial regret (i.e., when is D a low-regret distribution)? For unbounded context windows (where the prediction made by the model can depend on all the actions taken by the adversary thus far), we show that although not every distribution D is a low-regret distribution, every distribution D is exponentially close (in TV distance) to one low-regret distribution, and hence sublinear regret can always be achieved at negligible cost to the accuracy of the original next-token prediction model. In contrast to this, for bounded context windows (where the prediction made by the model can depend only on the past w actions taken by the adversary, as may be the case in modern transformer architectures), we show that there are some distributions D of opponent play that are Theta(1)-far from any low-regret distribution D' (even when w = Omega(T) and such distributions exist). Finally, we complement these results by showing that the unbounded context robustification procedure can be implemented by layers of a standard transformer architecture, and provide empirical evidence that transformer models can be efficiently trained to represent these new low-regret distributions.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 10 of its 24 references that are in the map. First posted on arXiv 30 Mar 2026.
Builds on
10 of 24 references.
References · 10
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2017DeepAR: Probabilistic Forecasting with Autoregressive Recurrent Networkscited by 1,004
- 2023Representational Strengths and Limitations of Transformerscited by 132
- 2024Transformers, parallel computation, and logarithmic depthcited by 75
- 2024Can large language models explore in-context?cited by 75
- 2023U-Calibration: Forecasting for an Unknown Agentcited by 46
- 2024Cultural Evolution of Cooperation among LLM Agentscited by 30
- 2020Optimization of Scoring Rulescited by 28
- 2024Provable Length Generalization in Sequence Prediction via Spectral Filteringcited by 3
- 2022Online Learning with Bounded Recallcited by 2
Built on by
Not cited yet.