Transformers are increasingly adopted for modeling and forecasting time-series, yet their internal mechanisms remain poorly understood from a dynamical systems perspective. In contrast to classical autoregressive and state-space models, which benefit from well-established theoretical foundations, Transformer architectures are typically treated as black boxes. This gap becomes particularly relevant as attention-based models are considered for general-purpose or zero-shot forecasting across diverse dynamical regimes. In this work, we do not propose a new forecasting model, but instead investigate the representational capabilities and limitations of single-layer Transformers when applied to dynamical data. Building on a dynamical systems perspective, we interpret causal self-attention as a linear, history-dependent recurrence and analyze how it processes temporal information. Through a series of linear and nonlinear case studies, we identify distinct operational regimes. For linear systems, we show that in the single-head attention-only setting, the convexity constraint imposed by softmax attention restricts the class of autoregressive operators that can be represented, leading to oversmoothing when the target dynamics require mixed-sign lag coefficients. For nonlinear systems under partial observability, attention instead acts as an adaptive delay-embedding mechanism, enabling effective state reconstruction when sufficient temporal context and latent dimensionality are available. These results help bridge empirical observations with classical dynamical systems theory, providing insight into when and why Transformers succeed or fail as models of dynamical systems.
Mechanistic Interpretability of Fine-Tuned Vision Transformers on Distorted Images: Decoding Attention Head Behavior for Transparent and Trustworthy AI
Krembil Research Institute, University Health Network(肯贝尔研究所,大学健康网络)
Finite State Automata Inside Transformers with Chain-of-Thought: A Mechanistic Study on State Tracking
Key Laboratory of High Confidence Software Technology (PKU), MOE, China(高性能软件技术关键实验室(PKU),教育部,中国);School of Computer Science, Peking University, China(北京大学计算机学院,中国);The University of Hong Kong(香港大学);Shanghai AI Lab(上海人工智能实验室)
Interpretable Deep Learning for Polar Mechanistic Reaction Prediction
Department of Computer Science, University of California, Irvine(计算机科学系,加州大学伊文斯顿分校);Department of Chemistry, University of California, Irvine(化学系,加州大学伊文斯顿分校)
Iteration Head: A Mechanistic Study of Chain-of-Thought
FAIR, Meta AI(FAIR,Meta人工智能公司);Datashape, INRIA(Datashape,法国国家信息与自动化研究所);Courant University and Center for Data Science, NYU(纽约大学柯朗数学科学研究所与数据科学中心);Center for Data Science, NYU(纽约大学数据科学中心);NYU(纽约大学);Courant University(柯朗大学)
Contextual Counting: A Mechanistic Study of Transformers on a Quantitative Task
New York University(纽约大学);Flatiron Institute(弗莱伦研究所);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);University of Cambridge(剑桥大学);The University of Tokyo(东京大学);University of Colorado Boulder(科罗拉多大学博尔德分校);Prescient Design, Genentech(基因泰克公司Prescient Design部门);Princeton University(普林斯顿大学)
Hierarchical Latent Structures in Data Generation Process Unify Mechanistic Phenomena across Scale
Ubiquitous Knowledge Processing Lab (UKP Lab) Department of Computer Science, Technical University of Darmstadt and National Research Center for Applied Cybersecurity ATHENE, Germany(通用知识处理实验室(UKP Lab)计算机科学系,达姆施塔特技术大学和应用网络安全国家研究中心ATHENE,德国)
Interpreting the Synchronization Gap: The Hidden Mechanism Inside Diffusion Transformers
Leinweber Institute for Theoretical Physics;Department of Physics, University of California, Berkeley, CA, 94720-7300, USA;Theoretical Physics Group, Lawrence Berkeley National Laboratory, Berkeley, CA 94720-8162, USA;Department of Radiation Oncology, University of California, San Francisco;Computational Precision Health, University of California, San Francisco;Department of Physics, University of California, Berkeley, CA 94720, USA