paper-with-me

홈 › Papers

Flowing Through Layers: A Continuous Dynamical Systems Perspective on Transformers

2025-02-08 · Jacob Fein-Ashley

We show that the standard discrete update rule of transformer layers can be naturally interpreted as a forward Euler discretization of a continuous dynamical system. Our Transformer Flow Approximation Theorem demonstrates that, under standard Lipschitz continuity assumptions, token representations converge uniformly to the unique solution of an ODE as the number of layers grows. Moreover, if the underlying mapping satisfies a one-sided Lipschitz condition with a negative constant, the resulting dynamics are contractive, causing perturbations to decay exponentially across layers. Beyond clarifying the empirical stability and expressivity of transformer models, these insights link transformer updates to a broader iterative reasoning framework, suggesting new avenues for accelerated convergence and architectural innovations inspired by dynamical systems theory.

📄 PDF Abstract BibTeX arXiv:2502.05656

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…

Similar Papers 제목 키워드 기반

Systematic construction of continuous-time neural networks for linear dynamical systems

2024-03-24 · Chinmay Datar, Adwait Datar, Felix Dietrich, Wil Schilders

Discovering a suitable neural network architecture for modeling complex dynamical systems poses a formidable challenge, often involving extensive trial and error and navigation through a high-dimensional hyper-parameter …

Setting up and modelling of overflowing fed-batch cultures of Bacillus subtilis for the production and continuous removal of lipopeptides

2020-09-18 · J. S Guez, S. Chenikher, J. Ph Cassar, P. Jacques

This work is related to the setup of overflowing exponential fed-batch cultures (O-EFBC) derived from carbon limited EFBC dedicated to the production of mycosubtilin, an antifungal lipopeptide belonging to the iturin fam…

Continuous-in-Depth Neural Networks

2020-08-05 · Alejandro F. Queiruga, N. Benjamin Erichson, Dane Taylor, Michael W. Mahoney

Recent work has attempted to interpret residual networks (ResNets) as one step of a forward Euler discretization of an ordinary differential equation, focusing mainly on syntactic algebraic similarities between the two s…

Numerical Integration

Game-theoretical control with continuous action sets

2014-12-01 · Steven Perkins, Panayotis Mertikopoulos, David S. Leslie

Motivated by the recent applications of game-theoretical learning techniques to the design of distributed control systems, we study a class of control problems that can be formulated as potential games with continuous ac…

Reinforcement Learning

Animating Pictures with Eulerian Motion Fields

2020-11-30 · CVPR 2021 1 · Aleksander Holynski, Brian Curless, Steven M. Seitz, Richard Szeliski

In this paper, we demonstrate a fully automatic method for converting a still image into a realistic animated looping video. We target scenes with continuous fluid motion, such as flowing water and billowing smoke. Our m…

Image-to-Image TranslationTranslation