SympFormer: Accelerated attention blocks via Inertial Dynamics on Density Manifolds

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Stein, Viktor, Li, Wuchen, Steidl, Gabriele
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914402126528512
author Stein, Viktor
Li, Wuchen
Steidl, Gabriele
author_facet Stein, Viktor
Li, Wuchen
Steidl, Gabriele
contents Transformers owe much of their empirical success in natural language processing to the self-attention blocks. Recent perspectives interpret attention blocks as interacting particle systems, whose mean-field limits correspond to gradient flows of interaction energy functionals on probability density spaces equipped with Wasserstein-$2$-type metrics. We extend this viewpoint by introducing accelerated attention blocks derived from inertial Nesterov-type dynamics on density spaces. In our proposed architecture, tokens carry both spatial (feature) and velocity variables. The time discretization and the approximation of accelerated density dynamics yield Hamiltonian momentum attention blocks, which constitute the proposed accelerated attention architectures. In particular, for linear self-attention, we show that the attention blocks approximate a Stein variational gradient flow, using a bilinear kernel, of a potential energy. In this setting, we prove that elliptically contoured probability distributions are preserved by the accelerated attention blocks. We present implementable particle-based algorithms and demonstrate that the proposed accelerated attention blocks converge faster than the classical attention blocks while preserving the number of oracle calls.
format Preprint
id arxiv_https___arxiv_org_abs_2603_16535
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SympFormer: Accelerated attention blocks via Inertial Dynamics on Density Manifolds
Stein, Viktor
Li, Wuchen
Steidl, Gabriele
Machine Learning
Optimization and Control
Primary 49Q22, Secondary 37N40, 35Q68, 65P10, 68T07
Transformers owe much of their empirical success in natural language processing to the self-attention blocks. Recent perspectives interpret attention blocks as interacting particle systems, whose mean-field limits correspond to gradient flows of interaction energy functionals on probability density spaces equipped with Wasserstein-$2$-type metrics. We extend this viewpoint by introducing accelerated attention blocks derived from inertial Nesterov-type dynamics on density spaces. In our proposed architecture, tokens carry both spatial (feature) and velocity variables. The time discretization and the approximation of accelerated density dynamics yield Hamiltonian momentum attention blocks, which constitute the proposed accelerated attention architectures. In particular, for linear self-attention, we show that the attention blocks approximate a Stein variational gradient flow, using a bilinear kernel, of a potential energy. In this setting, we prove that elliptically contoured probability distributions are preserved by the accelerated attention blocks. We present implementable particle-based algorithms and demonstrate that the proposed accelerated attention blocks converge faster than the classical attention blocks while preserving the number of oracle calls.
title SympFormer: Accelerated attention blocks via Inertial Dynamics on Density Manifolds
topic Machine Learning
Optimization and Control
Primary 49Q22, Secondary 37N40, 35Q68, 65P10, 68T07
url https://arxiv.org/abs/2603.16535