Muir: Linear Attention with Sensitivity-Allocated Gating and Matched-Filter Readout
Tushaar Gangavarapu, Gil Tabak, Clemens JS Schaefer
University of Texas at Austin · Google
Published November 5, 2026 · on the feed November 6, 2026 · ▲ 13 · arXiv 2611.08376
The abstract
Linear attention compresses context into a fixed-size key-value state for linear-time training and constant-memory inference. Gated delta-rule models decay this state and erase its prediction for an incoming key before writing a new value; Gated DeltaNet-2 (GDN-2) generalizes this with channel-wise decay and decoupled, full-rank erase and write gates. However, we show that state updates are far less sensitive to erasure than to writes: key activation and unit normalization concentrate key energy onto a sparse subset of channels, whereas value writes scale all channels, so the erase gate can be parameterized at lower rank. Furthermore, slow-decaying state rows accumulate much larger norms than fast rows, dominating unweighted readout and forcing stronger write-time erasure to suppress interference. Guided by this analysis, we introduce Muir, which fuses all gates into a sensitivity-allocated low-rank projection, re-weights state rows with a matched-filter readout gate, and reinvests the saved parameters in a wider feed-forward network. Because standard chunkwise algorithms become numerically unstable at the large chunk sizes needed to saturate wide matrix units, we design a parallel update for stable, efficient training. Across 166M-1.34B parameters, Muir lowers perplexity by 1.8-2.0% over GDN-2 and 2.5-3.6% over Transformer, raises commonsense accuracy by up to 1.9 points, and improves extractive recall over GDN-2. At 1.34B, Muir outperforms both baselines on multi-hop and multi-needle recall, extrapolates 2,560x from its 4K training length to 10M-token streams without perplexity drift, and maintains near-100% passkey retrieval to 1M tokens with static readout. Muir achieves these gains while matching GDN-2 throughput, reaching its 100B-token validation loss 1.2x faster, and training 2.7x faster than Transformer at 32K.
The Brief
2:45A short podcast summary of the paper. Written and voiced by AI.
Transcript
Muir. Linear Attention with Sensitivity-Allocated Gating and Matched-Filter Readout. By Tushaar Gangavarapu and two others, from the University of Texas at Austin and Google. Published on the fifth of November.
Linear attention squeezes context into a key-value state of fixed size, which buys linear-time training and inference in constant memory. Gated delta-rule models manage that state in three moves: they decay it, erase what it currently predicts for an incoming key, and write a new value. Gated DeltaNet-2, or GDN-2, generalizes this with channel-wise decay and with erase and write gates that are decoupled and full rank.
The authors find two imbalances in that arrangement. First, the state is far less sensitive to erasure than to writing. Key activation and unit normalization concentrate a key's energy on a sparse subset of channels, while a value write scales every channel, so the erase gate does not need full rank. Second, state rows that decay slowly build up much larger norms than rows that decay quickly. Those rows dominate a readout that treats every row equally, which forces the model into stronger erasure at write time just to keep interference down.
Muir answers each imbalance directly. All the gates are fused into a single low-rank projection whose capacity is allocated by sensitivity. A matched-filter readout gate re-weights state rows when the state is read, so the loud slow rows no longer drown out the rest. The parameters saved by the low-rank gating are reinvested in a wider feed-forward network.
There is also a training obstacle. Saturating wide matrix units calls for large chunk sizes, and at those sizes the standard chunkwise algorithms become numerically unstable. The authors design a parallel update that keeps training both stable and efficient at that scale.
Models span one hundred sixty-six million to one point three four billion parameters. Across that range, Muir lowers perplexity relative to GDN-2 by between one point eight and two percent, and relative to a Transformer by between two point five and three point six percent. Commonsense accuracy rises by as much as one point nine points, and extractive recall improves over GDN-2.
At the largest size, Muir beats both baselines on multi-hop and multi-needle recall. Trained at a length of four thousand tokens, it extrapolates to streams of ten million tokens, a factor of two thousand five hundred and sixty, with no drift in perplexity. With static readout, passkey retrieval stays near one hundred percent out to one million tokens.
None of this costs speed. Throughput matches GDN-2. Muir reaches its validation loss at one hundred billion tokens one point two times faster, and at a context of thirty-two thousand tokens it trains two point seven times faster than a Transformer.
Muir's gains rest on measuring where a gated state is actually sensitive and spending parameters only there. Erasure gets less capacity, readout learns which rows to trust, and the budget that frees up goes into a wider feed-forward network.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free