arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.08136cs.LGstat.ML
收藏

使用 Transformer 对线性动力系统进行上下文学习:近似界与深度分离

In-Context Learning of Linear Dynamical Systems with Transformers: Approximation Bounds and Depth-Separation

School of Mathematics University of Minnesota, Twin Cities(数学系 明尼苏达大学 Twin Cities分校)

Frank Cole, Yuxuan Zhao, Yulong Lu, Tianhao Zhang

AI总结:

本文从近似理论角度分析 transformer 对含噪线性动力系统的上下文学习,证明对数深度多层模型可逼近最小二乘估计,而单层线性 transformer 存在非衰减误差下界并体现深度分离及 IID/非 IID 差异。

摘要:

本文研究了 transformer 在表示一族含噪线性动力系统时,其上下文学习能力的近似理论方面。我们的第一个理论结果针对在各任务间统一定义的 $L^2$ 测试损失,建立了多层 transformer 近似误差的上界。该结果表明,具有对数深度的 transformer 能够取得与最小二乘估计量相当的误差界。相比之下,我们的第二个结果针对一类单层线性 transformer 的近似误差建立了一个不衰减的下界,这表明 transformer 在动力系统的上下文学习中存在深度分离现象。此外,第二个结果还揭示了单层线性 transformer 在从 IID 数据与非 IID 数据学习时,其近似能力的关键区别。

英文摘要:

This paper investigates approximation-theoretic aspects of the in-context learning capability of the transformers in representing a family of noisy linear dynamical systems. Our first theoretical result establishes an upper bound on the approximation error of multi-layer transformers with respect to an $L^2$-testing loss uniformly defined across tasks. This result demonstrates that transformers with logarithmic depth can achieve error bounds comparable with those of the least-squares estimator. In contrast, our second result establishes a non-diminishing lower bound on the approximation error for a class of single-layer linear transformers, which suggests a depth-separation phenomenon for transformers in the in-context learning of dynamical systems. Moreover, this second result uncovers a critical distinction in the approximation power of single-layer linear transformers when learning from IID versus non-IID data.

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

↑