arXiv:2511.00907v3 cs.LG

Attention as Intrinsic Optimizers: Forward Inference through the Energy Principle

Ruifeng Ren, Sheng Ouyang, Huayi Tang, Yong Liu

제출 2026-12-04

원문 초록

Attention-based Transformers have demonstrated remarkable success across a wide range of tasks and have become the backbone of modern large language models (LLMs). However, a comprehensive understanding of attention mechanisms and how their underlying principles can guide architectural design remains an open research question. In this paper, we revisit the principle of energy as a lens to understand attention-based models. We present a unified energy-based framework which is composed of three key components: the local energy $E_i$, the global energy $F$, and the employed optimization algorithms. The forward inference of attention models can be interpreted as an implicit optimization process over the global energy. We show that different attention forms including linear attention, gated linear attention and standard softmax attention can be induced by choosing their corresponding recipes within this framework. Building on this framework, we propose energy-based modifications of attention structures. Inspired by classical gradient descent (GD) algorithms, we extend the original attention formulation based on standard GD to the momentum-based GD, Nesterov Accelerated Gradient (NAG), and Newton's method, each inducing a corresponding new attention structure. Our experiments provide preliminary support for the potential of the energy-based framework for designing attention structures.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2511.00907v3제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.