AI RESEARCH
Characterizing the Expressivity of Local Attention in Transformers
arXiv CS.CL
•
ArXi:2605.00768v1 Announce Type: new The transformer is the most popular neural architecture for language modeling. The cornerstone of the transformer is its global attention mechanism, which lets the model aggregate information from all preceding tokens before generating the next token. One common variant of attention is called local attention, which restricts each token to aggregating information from a bounded window of predecessors, reducing the quadratic cost of global attention to linear.