Closing the Loop with Fixed-Point Self-Attention
Mrinal Mathur, Barak Pearlmutter, Sergey Plis
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Efficient Attention Mechanisms · Type: new method · Keywords: self-attention, fixed-point iteration, adaptive computation, transformer efficiency, parameter-free models
Areas: LLM Reasoning › Efficient Reasoning › Sparse Attention; Model Architectures & Sequence Modeling › Language Model Architectures › Efficient Attention
Summary
Fixed-Point Self-Attention (FPSA) iteratively refines attention patterns to convergence, enabling adaptive computation without adding parameters.
Explained to a 5-year-old
In a computer brain called a transformer, each part looks at words or pictures once and moves on. But the way it looks depends on what it sees, and what it sees depends on how it looks. The new idea makes the brain look again and again at the same part, but only at the looking step, not the whole brain. It keeps the memory of what to look for the same, so it doesn't need any new tiny pieces of information. This helps the brain do better on puzzles and pictures without using more computer power.
Explained to a 5-year-old, longer
A transformer is a kind of computer program that tries to understand words or pictures. It does this by paying attention to parts of the input, like looking at a few spots at a time. In the usual way, it looks only once and then moves on to the next step. But the way it looks changes the picture it sees, and the picture it sees changes how it looks. This creates a loop where each part depends on the other, but the program never lets them settle. The new idea is to let the program keep looking again and again until the picture it sees stops changing. It does this by recomputing the way it looks from the current picture, while keeping the things it uses for looking the same. The program repeats this process a few times for easy inputs, and more times for harder ones. Because it only repeats the looking step, it does not need to add any new tiny pieces of information. This makes the program smarter on tasks like answering questions, solving math problems, and recognizing images. It also helps the program get better at understanding both words and pictures together. All of this is done without adding any new parameters, so the program stays the same size while becoming more capable.
For a technical reader
The method iteratively updates queries and keys based on an evolving hidden state while keeping values fixed, converging when the state stabilizes. This fixed-point iteration replaces standard multi-head attention with a parameter-free, adaptive computation that can take more steps for difficult inputs. It yields performance gains on language, vision, and reasoning benchmarks with modest overhead.
Problem
Standard transformer layers compute attention only once, treating queries, keys, and values as static, even though attention depends on the representations it produces. This disconnect prevents the model from refining its attention adaptively based on evolving representations.
Method
The approach iteratively recomputes queries and keys from an evolving output state while holding values constant, repeating until the representations reach equilibrium.
Results
The approach improves BERT-Base and ELECTRA-Base on GLUE and SQuAD v2.0, raises ViT-B/16 accuracy by up to 20%, and yields gains on vision-language tasks, while also providing clear improvements on multi-step reasoning benchmarks such as GSM8K, BBH, and LogiQA.
Contributions
The paper introduces a parameter-free, adaptive attention mechanism that iteratively refines queries and keys to convergence, enabling depth adaptation without extra parameters and improving performance across language, vision, and reasoning tasks.
Limitations and assumptions
The method adds a modest computational overhead, roughly 1.6× GFLOPs and 1.3-1.4× wall-clock time over baseline BERT.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction