Muir: Linear Attention with Targeted State Control

Paper / preprint Hugging Face Daily Papers · Reported findings, not independently verified by us.

The Muir model improves the performance of linear attention while matching Gated DeltaNet-2 (GDN-2) throughput in the reported tests, according to a new paper. The findings matter for developing language models that handle long contexts: for a 1.34-billion-parameter model, the authors report strong retrieval results on very long inputs.

Linear attention stores prior context in a fixed-size state. Muir changes how that state is updated and read: it combines erase and write operations in a low-rank projection, allocating capacity according to their differing sensitivity. An additional matched-filter-style weighting is intended to keep especially large state rows from dominating the output. Parameters saved by this approach are put into a wider feed-forward network.

Across models ranging from 166 million to 1.34 billion parameters, the paper reports perplexity 1.8 to 2.0 percent lower than GDN-2 and 2.5 to 3.6 percent lower than a Transformer. It also reports up to a 1.9-point gain in commonsense accuracy and better retrieval than GDN-2. For the largest model, the authors extrapolated from a training length of 4,000 tokens to streams of 10 million tokens without reported perplexity drift.

The authors also describe a parallel update method intended to avoid numerical instability with large training chunks. The results concern the tested model sizes and tasks; the supplied text gives no further dataset details or evidence of use beyond the tests. The original source provides the fuller technical description and results: Hugging Face Daily Papers: Muir.

🇬🇧 https://huggingface.co/papers/2611.08376

Leave a Comment

The weekly brief: selected developments, projects and videos