Closing the Loop with Fixed-Point Self-Attention
Abstract
In a standard transformer, each layer computes attention once: queries examine keys, select values, and move on. But attention is a function of representation, and representation is a function of attention. We close this loop. Fixed-Point Self-Attention (FPSA) computes its attention pattern by iterating the query/key/value process to convergence. Values are derived from the layer input and held fixed; queries and keys are recomputed from an evolving output state at each step, converging when representations reach equilibrium, . FPSA is a drop-in replacement for multi-head attention that adds zero parameters and adapts depth on its own: easy tokens stabilize in – iterations, hard tokens refine over or more, with memory cost regardless of the number of iterations. It lifts BERT-Base and ELECTRA-Base on GLUE and SQuAD v2.0, improves ViT-B/16 accuracy by up to 20%, and delivers matching gains on vision-language tasks, all without adding a single parameter. Unlike looped transformers that iterate entire layers, FPSA iterates only the attention step, so overhead is modest: a median of – steps per layer adds roughly GFLOPs and – wall-clock time over BERT-Base. On multi-step reasoning benchmarks (GSM8K, BBH, LogiQA), FPSA's adaptive computation yields clear gains, letting the model refine longer when the input demands it.
Related papers
See more related submissions when the market opens.