mlsanityData to 7 Oct 2026

Inexact calculus of variations on the hyperspherical tangent bundle with connections to the attention mechanism

arXiv 2507.15431 ↗First posted 21 Jul 2025cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We offer a theoretical mathematical background through Lagrangian optimization on the unit hyperspherical manifold and its tangential structure. Our methods can be categorized as inexact since our methods are projection-based and since we will perturb the functional optimization with epsilon-type quantities. We draw connections to the attention mechanism and the Transformer since it exists as a flow map in the tangent fiber for each token along the high-dimensional unit sphere. Our motivation for this work is primarily twofold: we study the attention mechanism under its flow map and its relations to traditional calculus of variations and Lagrangian optimization; and we study a range of calculus of variations on the unit hypersphere that appeal to a broader mathematical lens in approximating, variational contexts.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 4 of its 26 references that are in the map. First posted on arXiv 21 Jul 2025.

Builds on

4 of 26 references.

References · 4

  1. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  2. 2023A mathematical perspective on Transformerscited by 160
  3. 2019The Affine Geometric Heat Flow and Motion Planning for Dynamic Systemscited by 1
  4. 2024Existence of optimal pairs for optimal control problems with states constrained to Riemannian manifoldscited by 1

Built on by

Not cited yet.