# A Geometric Theory for Nonequilibrium Transformer Dynamics

비평형 트랜스포머 동역학을 위한 기하학적 이론

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 기울기 흐름으로 진화시키는 결합 모델이 제시됩니다. 해밀토니안은 운동에너지와 어텐션 자유에너지의 합입니다. 이 결합에서 해밀토니안의 시간 미분은 -γ 곱하기 기울기 노름의 제곱 이하로 제한되어 에너지 소산 법칙이 성립합니다. 논문은 값 사상을 반영하는 두 가지 대안 해밀토니안도 제시하며, 세 시스템 모두 양의 매개변수 조건에서 전역 존재성과 유일성을 얻습니다. 이 결과는 증명된 수학적 성질이며 실제 학습 성능을 측정한 결과가 아닙니다.

## 적용 범위와 남은 질문

이 결과는 고정된 모델 파라미터와 미리 주어지거나 결합된 표현 경로를 가정합니다. 추가 특징 퍼텐셜을 넣은 확장에서 전역 존재성은 성장 또는 강제성 가정이 필요하며, 장시간 유계성과 수렴은 저자들이 추가 분석이 필요하다고 밝힌 부분입니다. 또한 논문은 수치 실험을 향후 과제로 제시하며, 이 원문 범위에서는 실제 언어 모델 학습에서의 성능 측정이 제시되지 않습니다.

## 논문 정보

- **저자**: 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)

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/terms/4a7673b6518d-softmax)
- [Hamiltonian](https://refivu.com/terms/ee6769c10a43-hamiltonian)
- [relative entropy](https://refivu.com/terms/d1c2bcf98a2a-relative-entropy)
- [replicator equation](https://refivu.com/terms/044664a282a7-replicator-equation)

## 다른 논문 해설

- [Compact Quantum Channel Attention for Static ASL Recognition: A Controlled Study with Parameter-Matched Baselines](https://refivu.com/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/papers/61e988b7-108b-4f4d-bcd1-725017bea80d-transferring-local-rib-responses-to-new-component-geometries.md)
- [Atik: A Shared-Mesh Transformer Accelerator for RISC-V](https://refivu.com/papers/8e41a1ae-214c-4b24-81d4-122fcf26c4cd-atik-a-shared-mesh-transformer-accelerator-for-risc.md)
- [Transformer-FSQ: Discrete Latents for Extreme KV-Cache Compression](https://refivu.com/papers/2bf6bae4-9cf0-4410-be66-f6384a0a3929-transformer-fsq-discrete-latents-for-extreme-kv-cache.md)
- [ImageNet Classification with Deep Convolutional Neural Networks](https://refivu.com/papers/29bd195c-62ba-4850-a19b-8047984af37c-imagenet-classification-with-deep-convolutional-neural.md)
- [CLiS: Plug-and-Play Attention Acceleration for Video Diffusion on TPUs via Certified Stabilization](https://refivu.com/papers/acd251a1-254b-4b45-9f41-4eca9101265b-clis-plug-and-play-attention-acceleration-for-video.md)
- [Same Contacts, Different Rooms:Meeting Format Shapes LLM Group Influence Beyond Pairwise Contact Counts](https://refivu.com/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/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/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/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/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/papers/807d2607-3889-4bb6-9eba-22f640b823b3-learning-when-to-think-adaptive-internal-computation-for.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/d5ec0a14-d5d7-46ed-8683-dd996047aaba-a-geometric-theory-for-nonequilibrium-transformer-dynamics)
