English

Selective State-Space Adaptation and Retrieval for Language Model Reasoning

Computation and Language 2026-07-21 v1

Abstract

Low-rank adaptation introduces a static learned update applied identically to every input. The update provides task-level adaptation but does not explicitly represent token-level or instance-level state variation. A family of adapters is proposed that introduces selective state-space recurrence at two complementary granularities. At the token level, \textbf{MaLoRA} (Mamba-modulated low-rank adaptation) makes the adapter's scaling factor a dynamic input-dependent function with recurrent state across tokens, in contrast to the stateless modulators of prior work. At the context level, \textbf{MaRA} (Mamba Retrieval Adapter) tracks cross-segment state and selects the segments most relevant to the query, before the modulated language model generates its answer. Across three frozen backbones (Qwen-2.5-7B, Llama-3.1-8B, Gemma-2-9B) and two reasoning benchmarks (MuSiQue, 2WikiMultihopQA), the family improves reasoning accuracy on every cell of the 3×23{\times}2 grid, by +6.8+6.8 F1 (+10.5%+10.5\% relative) on average and up to +9.3+9.3 F1 (+18.2%+18.2\% relative) on the hardest cell over the LoRA baseline, and the token-level gains carry to RULER QA-2 under length stress.

Cite

@article{arxiv.2607.19326,
  title  = {Selective State-Space Adaptation and Retrieval for Language Model Reasoning},
  author = {Atahan Dokme and Larry Heck},
  journal= {arXiv preprint arXiv:2607.19326},
  year   = {2026}
}
R2 v1 2026-07-22T20:50:18.458Z