ResearchResearch paperLarge Language Models1 source · Oct 14, 2026

Training Dynamics of Transformers on Unbounded Inputs: Attention Learning Can Lag Output Layer Learning

We show that this fails for a shallow transformer trained to recognize a star-free language from unbounded-length input.

Key points

  • The success of transformers is attributed to several factors, including their capacity to express formal languages over variable-length inputs, and ability of the attention mechanism to focus on relevant input features.
  • A natural extension of the theory of one-step gradient feature learning in feedforward networks suggests that one could first learn the attention weights with a single gradient step, and then train the output layer.
  • We prove that the transformer can be trained to recognize the language with a three-phase gradient descent: the output layer is updated first, followed by an attention update, and the output layer is fine-tuned in the third phase.
  • We empirically show that "attention learning lagging output layer learning" is beneficial in other language recognition, regression, and in-context learning tasks as well.

Sources (1)

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 14, 2026mistralai/Timestral-209M
  2. Oct 14, 2026Eye, Robot: Learning Expressive Gaze Dynamics via a VLM-Guided Transformer-VAE
  3. Oct 14, 2026DAGFormer: Global Topology Prediction for Transformer Cross-Layer Connections
  4. Oct 13, 2026PairIT: Autoregressive Transformers for Low-Data Molecule Optimization
  5. Oct 13, 2026Dog-Breed Text-to-image Flow Matching from Pretraining to Fine-Tuning on 4 Consumer GPUs
  6. Oct 13, 2026Graph Metanetworks for Transformer Based Language Models

Related