NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Mixture-of-Top-k Attention: Efficient Attention as Scalable Fast Weights

Qishuai Wen, Zhiyuan Huang, meng xianghan, Wei He, Chun-Guang Li

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Linear Attention Memory Mechanisms · Type: new method · Keywords: efficient attention, fast weights, vision tasks, token pruning, Mixture-of-Top-k Attention

Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Mixture Architectures

Summary

Mixture-of-Top-k Attention (MiTA) introduces a flexible, scalable attention mechanism that uses landmark queries to gather top-k key-value pairs as query-aware and deformable experts while compressing the N-width fast-weight MLP, improving efficiency and enabling emergent token pruning.

Explained to a 5-year-old

Imagine a brain that looks at many words at once, but it gets tired when there are too many. This new idea helps the brain focus only on the most important words by using a few special markers. It splits the work into small groups that can change depending on what you are looking for. It also makes the brain’s memory smaller so it can work faster. This lets the brain understand long stories without getting overwhelmed.

Explained to a 5-year-old, longer

Transformers are computer programs that read many words at the same time. They use a special attention mechanism that compares each word to every other word. When there are many words, this comparison becomes slow and uses a lot of memory. The new idea makes this comparison faster by using a few special markers to pick the most useful words. It groups words into flexible teams that can change based on what the program is looking for. The program also compresses the memory of the attention mechanism, making it smaller. This helps the program handle long texts without slowing down. It also discovers that it can automatically ignore less important words. The program works well on picture-related tasks, like understanding images. It is easier to use than before, and it can be applied to many different problems. Overall, it makes the brain-like computer smarter and more efficient.

For a technical reader

The paper re-examines self-attention as a fast-weight MLP and shows that scaling it to long sequences is costly. It proposes a taxonomy that classifies efficient attention methods by how they route tokens and compress the model. The proposed method uses a small set of landmark queries to select top-k key-value pairs, creating query-aware and deformable experts while sharing a narrower expert for the rest. This design improves both flexibility and scalability, leading to faster inference and lower memory usage on vision tasks. Experiments also reveal emergent token-pruning and easy transfer from standard attention.

Problem

Scaling self-attention to very long sequences is challenging because the fast-weight representation grows with sequence length, making it computationally prohibitive. Existing efficient attention methods either use rigid routing or limited compression, restricting flexibility or scalability.

Method

The approach employs landmark queries to select top-k key-value pairs, forming query-aware and deformable experts, and compresses the original fast-weight MLP into a narrower shared expert. This design combines routing flexibility with compression to improve efficiency for long sequences.

Results

The approach shows superior effectiveness and efficiency on vision tasks and exhibits emergent token-pruning and easy generalization from standard attention.

Contributions

The paper presents a unifying taxonomy of efficient attention, introduces a flexible deformable expert routing scheme, and proposes a compressed fast-weight architecture that improves scalability and flexibility.

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