paper-with-me

Papers

Revisiting Transformer Layer Parameterization Through Causal Energy Minimization

2026-05-08 · Jin Xu, Camille Couturier, Victor Rühle, Saravan Rajmohan, James Hensman arxiv

Transformer blocks typically combine multi-head attention (MHA) for token mixing with gated MLPs for token-wise feature transformation, yet many choices in their parameterization remain largely empirical. We introduce Causal Energy Minimization (CEM), a framework that recasts Transformer layers as optimization steps on conditional energy functions while explicitly accounting for layer parameterization. Extending prior energy-based interpretations of attention, CEM shows that weight-tied MHA can be derived as a gradient update on an interaction energy, and that a gated MLP with shared up/down projections can be viewed through an element-wise energy. This perspective identifies a design space for Transformer layers that includes within-layer weight sharing, diagonal-plus-low-rank interactions, lightweight preconditioners, and recursive updates. We evaluate CEM-derived layers in language-modeling experiments at the moderate hundred-million-parameter scale. Despite their constrained parameterizations, these layers train stably and can match corresponding Transformer baselines. Overall, our results suggest that CEM provides a useful lens for understanding Transformer layer parameterization, connecting Transformer architectures to energy-based models and motivating further exploration of energy-guided layer designs.

📄 PDF Abstract BibTeX arXiv:2605.07588

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers

2024-07-13 · Sukjun Hwang, Aakash Lahoti, Tri Dao, Albert Gu

A wide array of sequence models are built on a framework modeled after Transformers, comprising alternating sequence mixer and channel mixer layers. This paper studies a unifying matrix mixer view of sequence mixers that…

MambaState Space Models

Infinite Limits of Multi-head Transformer Dynamics

2024-05-24 · Blake Bordelon, Hamza Tahir Chaudhry, Cengiz Pehlevan

In this work, we analyze various scaling limits of the training dynamics of transformer models in the feature learning regime. We identify the set of parameterizations that admit well-defined infinite width and depth lim…

Asymptotic Study of In-context Learning with Random Transformers through Equivalent Models

2025-09-18 · Samet Demir, Zafer Dogan arxiv

We study the in-context learning (ICL) capabilities of pretrained Transformers in the setting of nonlinear regression. Specifically, we focus on a random Transformer with a nonlinear MLP head where the first layer is ran…

Re-Parameterization of Lightweight Transformer for On-Device Speech Emotion Recognition

2024-11-14 · Zixing Zhang, Zhongren Dong, Weixiang Xu, Jing Han

With the increasing implementation of machine learning models on edge or Internet-of-Things (IoT) devices, deploying advanced models on resource-constrained IoT devices remains challenging. Transformer models, a currentl…

Emotion RecognitionModel CompressionSpeech Emotion Recognition

$\boldsymbolμ\mathbf{P^2}$: Effective Sharpness Aware Minimization Requires Layerwise Perturbation Scaling

2024-10-31 · Moritz Haas, Jin Xu, Volkan Cevher, Leena Chennuru Vankadara

Sharpness Aware Minimization (SAM) enhances performance across various neural architectures and datasets. As models are continually scaled up to improve performance, a rigorous understanding of SAM's scaling behaviour is…