# A Geometric Theory for Nonequilibrium Transformer Dynamics

非平衡Transformerダイナミクスのための幾何学的理論

Aythami Bethencourt de León, Darryl D. Holm · arXiv · 2026年11月7日

- **課題** 標準的なsoftmaxアテンションは、現在のスコアから重みを即座に計算します。一方でこの論文は、アテンションの重みを独自の発展則を持つ動的変数として扱います。
- **手法** アテンションの自由エネルギーを定義し、行ごとのFisher–Rao勾配流でアテンションを発展させます。ロジット変数で線形化して解を求め、トークン表現のハミルトニアン・ダイナミクスと結合します。
- **結果** 固定された表現では、softmaxが自由エネルギーの唯一の最小化解であり、すべての正の軌道がその平衡に収束します。時間変化する表現では、対数オッズの追従誤差に上界が与えられ、結合モデルはエネルギー散逸則と大域的な適切性を持ちます。

## アテンション重みを時間とともに発展させる問題

標準的なTransformerのアテンションは、現在のトークン表現から点数を計算し、softmaxで重みをすぐに得ます。この論文では、アテンションの重みそのものを動的変数として扱います。表現が変わるとき、重みは過去の点数を記憶しており、現在のsoftmaxとずれることがあります。研究の範囲は、モデルパラメータを固定し、アテンション行列とトークン表現が同時に変化する場合です。この設定で、アテンションがどのようにsoftmaxの平衡に集まるか、そして表現のハミルトニアン・ダイナミクスとどう結合されるかが問いです。

## 自由エネルギーとFisher–Rao勾配流

論文では、各行が確率ベクトルであるアテンション行列Aに対して、自由エネルギーF(A;X)を定義します。このエネルギーは、期待されるアテンション点数の負の値と、τ倍した負のエントロピー項からなります。エントロピー項は、集中したアテンションを抑える正則化の役割を果たします。点数Xを固定して各行の最小化問題を解くと、唯一の最小化解がsoftmax行列であることが示されます。さらに、自由エネルギーと最小値の差は、行ごとの相対エントロピーD\_KLの重み付き和で表されます。アテンションの行の進化は、Fisher–Rao計量におけるこの自由エネルギーの勾配流として定義されます。その成分形は、点数と行の期待値の差、および対数項として書かれます。

したがって、アテンションはsoftmaxの平衡に向かって緩和するレプリケーター型の方程式として記述されます。

## ロジット変数への線形化と解の構造

Fisher–Rao流は、ロジット変数に移すと線形の常微分方程式になります。対数オッズ座標は確率単体を大域的に表すため、論文はこれを使い、行ごとのsoftmaxで復元されるロジット行列Uについての方程式を導きます。この方程式の解は、初期の対数アテンションの指数減衰項と、過去の点数S(X(r))の指数重み付き積分として書かれます。その結果、アテンションは指数的にフィルタリングされた点数のsoftmaxとして解釈でき、メモリ時間は1/(γτ)です。

## 追従誤差と収束条件

表現が時間とともに変化するとき、論文は現在のsoftmax目標A\*(X(t))と実際のアテンションとの対数オッズの追従誤差Eを解析します。誤差は、初期誤差の指数減衰項と、目標の対数オッズの時間変化率の積分によって上から抑えられます。変化率の上限Lが与えられると、κ=γτについてL/κ付近に抑えられます。この結果は、表現の変化が遅いほど追従が正確になるという条件付きの結論です。目標の対数オッズが極限を持てば、アテンションは固定行列に収束します。固定された特徴Xでは、すべての正のアテンション軌道がsoftmaxの平衡に収束し、対数比の誤差はe^(-γτt)で減少します。

## ハミルトニアン結合とエネルギー散逸

表現Xと運動量Pを正準ハミルトニアン・ダイナミクスで発展させ、アテンションAは同じハミルトニアンに対するFisher–Rao勾配流で発展させる結合モデルが提示されています。ハミルトニアンは運動エネルギーとアテンションの自由エネルギーの和です。この結合では、ハミルトニアンの時間微分が-γに勾配ノルムの二乗を掛けた値以下に抑えられ、エネルギー散逸則が成り立ちます。論文はさらに、値の写像を反映する2つの代替ハミルトニアンも提示しており、3つのシステムすべてが正のパラメータの条件のもとで大域的な存在と一意性を得ます。この結果は証明された数学的性質であり、実際の学習性能を測定した結果ではありません。

## 適用範囲と残された問い

この結果は、モデルパラメータが固定され、事前に与えられた、または結合された表現経路を仮定しています。追加の特徴ポテンシャルを入れた拡張では、大域的な存在には増大または強制性の仮定が必要です。長時間有界性と収束は、著者らが追加の解析が必要だと述べている部分です。また、論文は数値実験を今後の課題として挙げており、この論文の範囲では、実際の言語モデル学習での性能測定は示されていません。

## 論文情報

- **著者**: Aythami Bethencourt de León, Darryl D. Holm
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月7日
- **登録日**: 2026年11月10日
- **更新日**: 2026年11月7日
- **バージョン**: v1
- **arXiv**: 2611.10691
- **カテゴリ**: cs.LG · math-ph · math.PR · nlin.AO · stat.ML
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.10691v1) · [PDF ↗](https://arxiv.org/pdf/2611.10691v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

We develop a variational and geometric theory based on statistical physics for the joint evolution of Transformer attention and token representations at fixed model parameters. To this end, we introduce a free energy for the attention and model the evolution of the attention weights by its Fisher--Rao gradient flow. At fixed token representations, we prove that the softmax matrix is the unique free-energy minimiser and that every positive attention trajectory converges to it. For prescribed time-dependent representations, we show that the attention dynamics becomes linear after a change to logit variables. This result yields tracking bounds relative to the instantaneous softmax and sufficient conditions for attention to converge to a fixed matrix. Hamiltonian dynamics for the representations and their momenta are then coupled to the attention relaxation driven by the same energy. This coupling results in an energy-dissipation law. We also develop two alternative Hamiltonians incorporating the attention value map. We prove global well-posedness of the attention flow and all three coupled systems.

## この論文を引用

Aythami Bethencourt de León, Darryl D. Holm (2026). A Geometric Theory for Nonequilibrium Transformer Dynamics. arXiv:2611.10691v1. https://arxiv.org/abs/2611.10691v1

**BibTeX**

```
@misc{len2026geometric,
  title = {{A Geometric Theory for Nonequilibrium Transformer Dynamics}},
  author = {Aythami Bethencourt de León and Darryl D. Holm},
  year = {2026},
  eprint = {2611.10691},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.10691v1}
}
```

## この論文の用語

- [Softmax](https://refivu.com/ja/terms/4a7673b6518d-softmax)
- [Hamiltonian](https://refivu.com/ja/terms/ee6769c10a43-hamiltonian)
- [relative entropy](https://refivu.com/ja/terms/d1c2bcf98a2a-relative-entropy)

## ほかの論文解説

- [Compact Quantum Channel Attention for Static ASL Recognition: A Controlled Study with Parameter-Matched Baselines](https://refivu.com/ja/papers/5eab6da0-85b9-4065-beed-ebc60755dbaf-compact-quantum-channel-attention-for-static-asl-recognition.md)
- [Transferring local rib responses to new component geometries in sheet forming with a graph-based Transformer](https://refivu.com/ja/papers/61e988b7-108b-4f4d-bcd1-725017bea80d-transferring-local-rib-responses-to-new-component-geometries.md)
- [Transformer-FSQ: Discrete Latents for Extreme KV-Cache Compression](https://refivu.com/ja/papers/2bf6bae4-9cf0-4410-be66-f6384a0a3929-transformer-fsq-discrete-latents-for-extreme-kv-cache.md)
- [Two-Stream Convolutional Networks for Action Recognition in Videos](https://refivu.com/ja/papers/d621dee0-0b2a-45a8-b152-6260b98f0db4-two-stream-convolutional-networks-for-action-recognition-in.md)
- [Glow: Generative Flow with Invertible 1x1 Convolutions](https://refivu.com/ja/papers/fb9c5b80-a221-4385-8910-2ae4413b604b-glow-generative-flow-with-invertible-1x1-convolutions.md)
- [Density estimation using Real NVP](https://refivu.com/ja/papers/6e98cc2c-51ae-4105-a052-60a312be9b3d-density-estimation-using-real-nvp.md)
- [Same Contacts, Different Rooms:Meeting Format Shapes LLM Group Influence Beyond Pairwise Contact Counts](https://refivu.com/ja/papers/44bb6582-331e-4190-a4d5-2af78e6b5479-same-contacts-different-rooms-meeting-format-shapes-llm.md)
- [Towards Identity-Preserving LLM Agents under Model Transition](https://refivu.com/ja/papers/b44b339a-9afb-45f5-89c9-15f7e9873065-towards-identity-preserving-llm-agents-under-model.md)
- [Pixels over Symbols: Sensory Realism Improves Behavioral Alignment in Models of Cognition](https://refivu.com/ja/papers/f163388c-619b-4473-b0c2-357e1b91ea25-pixels-over-symbols-sensory-realism-improves-behavioral.md)
- [EEGFaceSem: An EEG Benchmark with Paired Generative Latents for Semantic Visual Modeling](https://refivu.com/ja/papers/2aadaf44-0cb9-4af9-888a-8e1119ccf6ab-eegfacesem-an-eeg-benchmark-with-paired-generative-latents.md)
- [Zero-Shot VLA Adaptation with Retrieved Guidance](https://refivu.com/ja/papers/894f2a6d-97d2-480d-b98e-bc5ad3922b30-zero-shot-vla-adaptation-with-retrieved-guidance.md)
- [Learning When to Think: Adaptive Internal Computation for Reinforcement Learning](https://refivu.com/ja/papers/807d2607-3889-4bb6-9eba-22f640b823b3-learning-when-to-think-adaptive-internal-computation-for.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/d5ec0a14-d5d7-46ed-8683-dd996047aaba-a-geometric-theory-for-nonequilibrium-transformer-dynamics)
