Skip to main content
QUICK REVIEW

[Paper Review] Dissecting Linear Recurrent Models: How Different Gating Strategies Drive Selectivity and Generalization

Younes Bouhadjar, Maxime Fabre|arXiv (Cornell University)|Jan 18, 2026
Topic ModelingComputer Science0 citations
TL;DR

The paper introduces SelectivBench, a lightweight synthetic benchmark to dissect linear recurrent memory (LRM) models, revealing how gating, fast forgetting, and channel mixing affect selectivity and generalization, with comparisons across multiple LRM variants and Transformers.

ABSTRACT

Linear recurrent neural networks have emerged as efficient alternatives to the original Transformer's softmax attention mechanism, thanks to their highly parallelizable training and constant memory and computation requirements at inference. Iterative refinements of these models have introduced an increasing number of architectural mechanisms, leading to increased complexity and computational costs. Nevertheless, systematic direct comparisons among these models remain limited. Existing benchmark tasks are either too simplistic to reveal substantial differences or excessively resource-intensive for experimentation. In this work, we propose a refined taxonomy of linear recurrent models and introduce SelectivBench, a set of lightweight and customizable synthetic benchmark tasks for systematically evaluating sequence models. SelectivBench specifically evaluates selectivity in sequence models at small to medium scale, such as the capacity to focus on relevant inputs while ignoring context-based distractors. It employs rule-based grammars to generate sequences with adjustable complexity, incorporating irregular gaps that intentionally violate transition rules. Evaluations of linear recurrent models on SelectivBench reveal performance patterns consistent with results from large-scale language tasks. Our analysis clarifies the roles of essential architectural features: gating and rapid forgetting mechanisms facilitate recall, in-state channel mixing is unnecessary for selectivity, but critical for generalization, and softmax attention remains dominant due to its memory capacity scaling with sequence length. Our benchmark enables targeted, efficient exploration of linear recurrent models and provides a controlled setting for studying behaviors observed in large-scale evaluations. Code is available at https://github.com/symseqbench/selectivbench

Motivation & Objective

  • Define a refined taxonomy of linear recurrent memory (LRM) models.
  • Introduce SelectivBench to systematically assess selectivity and generalization on synthetic tasks.
  • Evaluate how architectural features (gating, forgetting, channel mixing) influence performance across tasks.
  • Compare LRMs with Transformer baselines on controlled synthetic grammars to understand memory and distractor handling.

Proposed method

  • Formalize LRMs with element-wise state updates and data-dependent gates (A_t, B_t, C_t).
  • Introduce complementary gating and input/readout gating to study coordinated write/read behavior.
  • Extend SymSeqBench with SelectivBench tasks that insert gaps/noise and non-grammatical tokens to probe selectivity.
  • Use artificial grammar sequences with controllable topological entropy (TE) to vary task difficulty.
  • Evaluate models on tasks measuring memorization, noise rejection, context-aware selectivity, and length generalization.
  • Provide a cross-model comparison including DeltaNet, GLA, Mamba, Mamba2, gated Delta variants, and Transformers.

Experimental results

Research questions

  • RQ1How do different gating strategies (including complementary gating) in LRMs affect selectivity and memory recall?
  • RQ2What is the role of channel mixing in LRMs for handling distractors and generalization across sequence lengths?
  • RQ3Can synthetic SelectivBench tasks reveal performance trends that mirror large-scale language tasks across LRMs and Transformers?
  • RQ4How do LRMs compare to Transformers on memory-intensive tasks with noise and non-grammatical gaps?
  • RQ5To what extent do gating and fast forgetting mechanisms contribute to robustness to gaps and length generalization?

Key findings

  • Gating and fast forgetting mechanisms aid recall in LRMs across tasks.
  • In-state channel mixing is not necessary for selectivity but is critical for generalization.
  • Softmax attention remains superior for long-memory tasks requiring extended context.
  • LRMs with complementary gating (e.g., Mamba/Mamba2 variants) outperform others on selectivity tasks with distractors.
  • Gated DeltaNet and Gated DeltaProduct show strong generalization to longer gaps, indicating channel-mixing helps memory robustness.
  • Transformers perform well on some tasks but struggle with extrapolation to longer gaps, highlighting a generalization gap with very long contexts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.