在上下文流映射中传播混沌
Propagation of Chaos in Contextual Flow Maps
AI总结:
本文提出了一种定量统计理论,用于在大上下文范围内研究transformers,通过采用上下文流映射(CFMs)的抽象:在一组注意力块中,动态系统在上下文度量的存在下演进一个区分的token。在此框架下,有限上下文模型近似于理想化的无限上下文系统,其中上下文度量被其底层总体取代,因此上下文长度n成为统计资源。利用动态的麦肯-瓦尔科夫结构和经典的传播混沌经典机器,我们建立了前向边界,控制有限上下文和无限上下文CFMs在深度上的偏差,并建立了后向边界,控制对应的训练轨迹在在线梯度下降迭代中的偏差。这两个边界实现了通用CFMs的最优Wasserstein速率n^{-1/d}和参数速率n^{-1/2},对于包含transformers的受限CFM类。分析基于新的欧拉共轭公式和由此产生的前向-共轭系统的稳定性估计,这两者可能具有独立兴趣。
摘要:
我们通过采用上下文流映射(CFMs)的抽象来开发一种定量统计理论,用于在大上下文范围内研究transformers:动态系统在一组注意力块中,通过上下文度量的存在演进一个区分的token。在此框架下,有限上下文模型近似于理想化的无限上下文系统,其中上下文度量被其底层总体取代,因此上下文长度n成为统计资源。利用动态的麦肯-瓦尔科夫结构和经典的传播混沌经典机器,我们建立了前向边界,控制有限上下文和无限上下文CFMs在深度上的偏差,并建立了后向边界,控制对应的训练轨迹在在线梯度下降迭代中的偏差。这两个边界实现了通用CFMs的最优Wasserstein速率n^{-1/d}和参数速率n^{-1/2},对于包含transformers的受限CFM类。分析基于新的欧拉共轭公式和由此产生的前向-共轭系统的稳定性估计,这两者可能具有独立兴趣。
英文摘要:
We develop a quantitative statistical theory of transformers in the large-context regime by adopting the abstraction of contextual flow maps (CFMs): dynamical systems that evolve a distinguished token in the presence of a contextual measure across a stack of attention blocks. Within this framework, the finite-context model approximates an idealized infinite-context system in which the contextual measure is replaced by its underlying population, so that the context length $n$ becomes a statistical resource. Exploiting the McKean--Vlasov structure of the dynamics and the classical machinery of propagation of chaos, we establish a forward bound controlling the deviation between the finite- and infinite-context CFMs uniformly along depth, and a backward bound controlling the deviation between the corresponding training trajectories uniformly across iterations of online gradient descent. Both bounds achieve the optimal Wasserstein rate $n^{-1/d}$ for general CFMs and parametric rate $n^{-1/2}$ for a restricted class of CFMs that includes transformers as a special case. The analysis rests on a new Eulerian adjoint formulation of the loss gradient and stability estimates for the resulting forward--adjoint system, both of which may be of independent interest.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。