arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.15608cs.LGcs.SYeess.SY
收藏

基于最优控制的变换器式推理

Transformer-like Inference from Optimal Control

Coordinated Science Laboratory(协调科学实验室);Electrical and Computer Engineering University of Illinois Urbana-Champaign(电气与计算机工程大学伊利诺伊大学厄巴纳-香槟分校);Mechanical Science and Engineering University of Illinois Urbana-Champaign(机械科学与工程大学伊利诺伊大学厄巴纳-香槟分校)

Aditya Kudre, Heng-Sheng Chang, Prashant G. Mehta

AI总结:

本文从最优控制理论出发,推导出解决预测问题的推理架构,揭示了变换器层操作的起源,并通过非线性离散过程模型和线性高斯模型进行实验验证。

摘要:

本文从最优控制理论出发,推导出解决预测问题的推理架构,揭示了变换器层操作的起源,并通过非线性离散过程模型和线性高斯模型进行实验验证。

英文摘要:

Decoder-only transformers compute the conditional probability of the next token from a sequence of past observations. This paper derives, from first principles, inference architectures that solve the same prediction problem - and in doing so, recovers transformer-like layer operations as a consequence of optimal control theory. The framework is developed for two model classes: a nonlinear model of discrete-valued processes, directly motivated by the transformer, and a linear Gaussian model as a tractable baseline. For both model classes, the prediction objective is reformulated as an optimal control problem whose solution yields an explicit inference algorithm, the dual filter, with a layer structure that mirrors the layer structure of a decoder-only transformer. Numerical experiments provide a comparison of the optimal control to attention weights from a trained transformer. These experiments reveal that when the embedding dimension is insufficient, the transformer implicitly exploits non-Markovian structure.

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

↑