# Muir: Linear Attention with Sensitivity-Allocated Gating and Matched-Filter Readout

DevFeed: [Muir: Linear Attention with Sensitivity-Allocated Gating and Matched-Filter Readout](<https://devfeed.tech/articles/muir-linear-attention-with-sensitivity-allocated-gating-and-matched-filter-readout-120738.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08376>)

Author: Tushaar Gangavarapu, Gil Tabak, Clemens JS Schaefer

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Transformer](<https://devfeed.tech/topics/transformer.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [attention](<https://devfeed.tech/tags/attention.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [faster](<https://devfeed.tech/tags/faster.md>), [gate](<https://devfeed.tech/tags/gate.md>), [linear](<https://devfeed.tech/tags/linear.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [passkey](<https://devfeed.tech/tags/passkey.md>), [perplexity](<https://devfeed.tech/tags/perplexity.md>), [projection](<https://devfeed.tech/tags/projection.md>), [rank](<https://devfeed.tech/tags/rank.md>), [recall](<https://devfeed.tech/tags/recall.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [stable](<https://devfeed.tech/tags/stable.md>), [state](<https://devfeed.tech/tags/state.md>), [streams](<https://devfeed.tech/tags/streams.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [token](<https://devfeed.tech/tags/token.md>), [training](<https://devfeed.tech/tags/training.md>), [transformer](<https://devfeed.tech/tags/transformer.md>)

## AI overview

Muir reduces Gated DeltaNet-2's parameter use by assigning lower rank to erasure gates, since key energy is concentrated in fewer channels than value writes. It also applies a matched-filter gate to reweight state rows, addressing the dominance of high-norm, slow-decaying rows in readout. The saved parameters fund a wider feed-forward network; a parallel update supports stable training at large chunk sizes. Across 166M-1.34B parameters, the abstract reports 1.8-2.0% lower perplexity than GDN-2 and 2.5-3.6% lower than Transformer, with matching GDN-2 throughput and 2.7x faster Transformer training at 32K. At 1.34B, it reports long-context retrieval gains, including near-100% passkey retrieval to 1M tokens and extrapolation from 4K training to 10M-token streams without perplexity drift.

## Source excerpt

arXiv:2611.08376v1 Announce Type: new 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.