Multi-State Linear Attention with Generalized Second-Order Routing
minor signal 16
Paper proposes MERLIN (MomEnt Routing for multi-state LINear attention), which tracks the first and second moments of each segment's keys so a query can recover both the mean and variance of its alignment with each segment, instead of MSLA's mean-only aggregation. On multi-state variants of Gated DeltaNet-1.3B and Mamba-2-780M, MERLIN reports gains on RULER needle-in-a-haystack and long-context QA (+8.3% and +7.0%) and on LongBench subtasks (+13.5% and +12.0%), outperforming baselines that use 4x more memory.
Action: Track MERLIN as a candidate aggregation scheme for linear-attention long-context work; no code or API change is available to adopt yet.
Migration effort: none
Cited
Multi-State Linear Attention with Generalized Second-Order Routing arxiv-ai · community · 2026-10-27