Transformer Attention
Overview
Transformer attention uses queries, keys, and values to decide which tokens should contribute information to one another, with positional encodings and masks shaping those interactions. Work seeks both to improve this basic mechanism and to reduce its costs, using approaches such as sparse, linear, kernel, and local attention, as well as efficient GPU kernels and compressed key-value caches. Researchers also add structural or domain-specific biases and study attention’s role in learning, retrieval, stability, and interpretability across language, vision, graphs, and time series. A central tension remains: methods that reduce computation or constrain interactions can improve speed and memory use, but may lose accuracy or long-range retrieval quality, and no single design is best across settings.
Latest papers 308
41 papers in the last four weeks, up 86% on the four weeks before. 0.2% of all new papers.
When and Why Grouping Attention Heads Accelerates Muon Optimization
Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention
Convergent Stochastic Training of Attention and Understanding LoRA
Training-Induced Escape from Token Clustering in a Mean-Field Formulation of Transformers
Beyond Linear Attention: Softmax Transformers Implement In-Context Reinforcement Learning
Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descent
Cubit: Token Mixer with Kernel Ridge Regression
FedFrozen: Two-Stage Federated Optimization via Attention Kernel Freezing
Understanding In-Context Learning for Nonlinear Regression with Transformers: Attention as Featurizer
CuBridge: An LLM-Based Framework for Understanding and Reconstructing High-Performance Attention Kernels
HEXST: Hexagonal Shifted-Window Transformer for Spatial Transcriptomics Gene Expression Prediction
FLUID: Continuous-Time Hyperconnected Sparse Transformer for Sink-Free Learning
Jordan-RoPE: Non-Semisimple Relative Positional Encoding via Complex Jordan Blocks
Transformers with Selective Access to Early Representations
Cascade Token Selection for Transformer Attention Acceleration
Projection-Free Transformers via Gaussian Kernel Attention
nanochat framework, we implement causal masking and sliding-window constraints by masking and renormalizing the Gaussian kernel. At depth 20, a GKA model with the parameters and the total training FLOPs of a standard attention baseline trains stably, exhibits a near-zero train-validation gap, and demonstrates competitive behavior on standard benchmarks, albeit with higher bits-per-byte (BPB) at this compute scale. Overall, GKA provides a minimal, interpretable attention mechanism with an explicit locality scale, offering a dimension in the accuracy-efficiency trade-off for Transformer design.Linear-Time Global Visual Modeling without Explicit Attention
Focus and Dilution: The Multi-stage Learning Process of Attention
Spiking Sequence Machines and Transformers
Stochastic Scaling Limits and Synchronization by Noise in Deep Transformer Models
Block-Wise Differentiable Sinkhorn Attention: Tail-Refinement Gradients with a Gap-Aware Dustbin Bridge
dustbin\_block path as the same unit-target surrogate on an augmented support, so the adjoint schedule lifts to the single-active-dustbin path used in our TPU runs; this bridge is algebraic and does not claim a general KL-unbalanced or arbitrary-capacity gap model. We provide a local surrogate-bias bound, an a posteriori bias certificate, and a projective contraction certificate for strictly positive active blocks. On synthetic masked problems, the optimized kernel matches exact autodiff of the same centered surrogate to within --. On TPU v6e-8, a four-configuration Pfam screen completes end-to-end, and a promoted balanced run sustains roughly examples per second through a three-hour budget, reaching step . Held-out Pfam test shards improve reconstruction from to and sparse CE from to relative to step , with CE logged diagnostically rather than optimized directly; target-barycenter alignment metrics do not materially improve, and a deterministic diagonal reference remains stronger on those metrics.