atlas

Research map / Architectures and efficiency / Attention and transformers

On the Importance of Gating: Memorization vs. In-Context Learning in State Space Models

NeurIPS 2026 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows theoretically and empirically that gating in Mamba-style SSMs biases training toward in-weights memorization over in-context retrieval (strong gating = longer plateau), while strong gating aids length generalization, and tunes the gating init in tool-calling fine-tuning.

Problem

Linear-time SSMs such as Mamba lag Transformers on in-context learning and retrieval; the common explanation is an expressivity gap, but the authors ask whether training dynamics and gating initialization cause memorization shortcuts instead.

Approach

Analyzes a simplified gated linear-attention (single-head S6-like) model with a global gating parameter lambda; shows that strong gating (small decay factor alpha) makes memorization dominate initially and delays escape from the plateau, while decay induces locality and enables length generalization. Validates the trade-off on synthetic retrieval, Horn-clause logic retrieval, and BFCL tool calling

Key results

Surprising findings

Limitations

Experimental setup

Datasets: Nemotron-CC-HQ Nemotron Agentic tool-calling split BFCL python simple

Benchmarks: BFCL python simple synthetic retrieval multi-token key-value retrieval Horn clause logical rules retrieval

Metrics: accuracy hallucination rate escape time error probability

Baselines: Transformer

Builds on: Mamba Mamba 2 Gated Linear Attention BM25

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy