Selective State-Space Adaptation and Retrieval for Language Model Reasoning
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 acr...
Description / Details
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 grid, by F1 ( relative) on average and up to F1 ( relative) on the hardest cell over the LoRA baseline, and the token-level gains carry to RULER QA-2 under length stress.
Source: arXiv:2607.19326v1 - http://arxiv.org/abs/2607.19326v1 PDF: https://arxiv.org/pdf/2607.19326v1 Original Link: http://arxiv.org/abs/2607.19326v1
Please sign in to join the discussion.
No comments yet. Be the first to share your thoughts!
Jul 22, 2026
Computational Linguistics
NLP
0