atlas

Research map / Optimization / Implicit bias and generalization

Trained Mamba Emulates Online Gradient Descent in In-Context Linear Regression

NeurIPS 2025 · Optimization › Implicit bias and generalization · approach: In-context learning as gradient descent · 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.

Analyzes gradient-descent training dynamics of a one-layer S6 Mamba on in-context linear regression, proving exponential convergence and an O(1/N) loss bound, and showing Mamba implements a variant of online gradient descent.

Problem

Theoretical understanding of how Mamba learns in-context, using the canonical linear regression ICL task, is limited; training dynamics from random initialization are unknown.

Approach

Trains a one-layer selective SSM (S6) with Gaussian-initialized input/output projections by gradient descent, showing hidden-state recurrence acts as online gradient descent on the context with exponential convergence via vector-coupled dynamics, negative feedback convergence, and fine-grained induction.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add the input-dependent selection mechanism to S4 (ablation)S4 state-space model · In-context linear regressionICL capabilityHelped

Limitations

Experimental setup

Datasets: synthetic Gaussian linear regression prompts

Benchmarks: synthetic linear regression

Metrics: cosine similarity between hidden state and w test loss vs. N compared to theoretical bound

Baselines: Transformer ICL analyses S4

Builds on: Mamba S4 Transformer in-context learning gradient descent emulation

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