arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.16295physics.comp-phcond-mat.dis-nncond-mat.stat-mechcs.LGstat.ML
收藏

通过 Transformers 实现平均场模型的通用近似

Universal Approximation of Mean-Field Models via Transformers

Shiba Biswal, Karthik Elamvazhuthi, Rishi Sonthalia

AI总结:

本文研究了使用 transformers 近似相互作用粒子系统的平均场动力学,通过实验验证其在多种模型上的有效性,并从数学理论上证明了近似误差与训练粒子数量相关的一致有界性。

摘要:

本文研究了使用 transformers 来近似表现出集体行为的相互作用粒子系统的平均场动力学。此类系统在物理学、生物学和工程学中建模各种现象时具有基础性作用,包括观点形成、生物网络和群体机器人学。这些系统的关键特征在于粒子是不可区分的,从而导致了置换等变动力学。首先,我们通过实验证明,transformers 非常适合近似各种平均场模型,包括用于群集和铣削的 Cucker-Smale 模型,以及用于训练两层神经网络的平均场系统。我们通过数学理论验证了我们的数值实验。具体而言,我们证明了,如果有限维 transformer 能够有效近似控制粒子系统的有限维向量场,那么 \u201c期望 transformer\u201d 与无限维平均场向量场之间的 $L_2$ 距离,可以由训练期间观察到的粒子数量的函数一致有界。利用这一结果,我们确立了真实平均场动力学与使用 transformer 获得的动力学之间距离的理论界限。

英文摘要:

This paper investigates the use of transformers to approximate the mean-field dynamics of interacting particle systems exhibiting collective behavior. Such systems are fundamental in modeling phenomena across physics, biology, and engineering, including opinion formation, biological networks, and swarm robotics. The key characteristic of these systems is that the particles are indistinguishable, leading to permutation-equivariant dynamics. First, we empirically demonstrate that transformers are well-suited for approximating a variety of mean field models, including the Cucker-Smale model for flocking and milling, and the mean-field system for training two-layer neural networks. We validate our numerical experiments via mathematical theory. Specifically, we prove that if a finite-dimensional transformer effectively approximates the finite-dimensional vector field governing the particle system, then the $L_2$ distance between the \textit{expected transformer} and the infinite-dimensional mean-field vector field can be uniformly bounded by a function of the number of particles observed during training. Leveraging this result, we establish theoretical bounds on the distance between the true mean-field dynamics and those obtained using the transformer.

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

↑