arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.28499cs.LGcs.AIcs.GT
收藏

下一个标记预测与后悔最小化

Next-Token Prediction and Regret Minimization

Google Research(谷歌研究院);Google DeepMind(谷歌DeepMind);Microsoft Research(微软研究院)

Mehryar Mohri, Clayton Sanford, Jon Schneider, Kiran Vodrahalli, Yifan Wu

AI总结:

研究探讨如何在对抗性在线决策环境中利用下一个标记预测算法,分析分布是否为低后悔分布,证明无界上下文窗口下总能实现亚线性后悔,而有界上下文窗口则存在Θ(1)距离的分布。

摘要:

我们考虑如何在对抗性在线决策环境中使用下一个标记预测算法。具体来说,如果在对手动作序列分布$\mathcal{D}$上训练一个下一个标记预测模型,何时由此诱导的在线决策算法(通过近似最佳回应于模型预测)具有低对抗性后悔(即$\mathcal{D}$是否为低后悔分布)?对于无界上下文窗口(模型预测可依赖于对手所有先前动作),我们证明虽然并非所有分布$\mathcal{D}$都是低后悔分布,但每个分布$\mathcal{D}$都与某个低后悔分布在TV距离上指数接近,因此总能以微小代价实现亚线性后悔。相反,对于有界上下文窗口(模型预测仅依赖于对手过去$w$个动作,如现代Transformer架构),我们证明存在某些对手行为分布$\mathcal{D}$与任何低后悔分布$\mathcal{D'}$相距Θ(1)(即使$w=Ω(T)$且此类分布存在)。最后,我们补充这些结果,证明无界上下文鲁棒化过程可通过标准Transformer架构的层数实现,并提供实验证据表明Transformer模型可以高效训练以表示这些新低后悔分布。

英文摘要:

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 $\mathcal{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 $\mathcal{D}$ a \emph{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 $\mathcal{D}$ is a low-regret distribution, every distribution $\mathcal{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 $\mathcal{D}$ of opponent play that are $Θ(1)$-far from any low-regret distribution $\mathcal{D'}$ (even when $w = Ω(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑