Naju: A Native Discrete State-Space Model with Independent Retention and Writing for Long-Sequence Memory
Abstract
Long-sequence memory tracking places two opposing demands on a recurrent state: near-lossless retention of stored bindings over long horizons, and active overwriting of stale ones. In our diagnostic suite, the strongest efficient baselines tend to solve only one side well. Continuous-time-parameterized state-space models (SSMs) such as Mamba obtain their discrete recurrence by zero-order-hold discretization of a continuous-time system; we argue that this detour is unnecessary for memory tracking and parameterize the discrete transition directly. Naju (Native Adaptive Junction Unit) factorizes the recurrent update, schematically , into an explicit discrete pole (a learned forget gate ), an independent write gain , and input-dependent write/read maps. Since the sigmoid pole satisfies , each frozen local coordinate is Schur-stable by construction, and the full time-varying recurrence satisfies a fading-memory/BIBO bound under uniform boundedness assumptions, with no stability regularizer. We formalize the key structural limitation of coupled designs: any non-expansive complementary single-gate recurrence ties the effective retention and write gain through , so near-complete retention forces weak writing; decoupling from removes this constraint. Empirically, Naju is the only evaluated model that remains strong on both retention and overwriting at 4x the training length. Beyond the diagnostic suite, we evaluate Naju on WikiText-103 language modeling, Long Range Arena, and multi-query associative recall. Across these settings, Naju consistently combines strong long-range memory with competitive or superior performance, outperforming the Mamba baselines in the principal comparisons while remaining competitive with the Transformer and preserving linear-time, linear-memory scaling.
Create a lesson
Related papers
When Does Memory Help? A Cost-Aware Evaluation of Long-Term Memory in Tool-Using LLM Agents
Shared title terminologycs.AIShweta Mishra, Shashank Mishra
PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
Shared title terminologycs.AIAlexis Fox, Junlin Wang, Paul Rosu et al.
TASK Memory: Beyond Text-Only Memory with Activation Steering and Knowledge Editing against Memory Hallucination
Shared title terminologycs.AIJinkun Zhao, Wenjun Wu
HoMe: Toward Practical Harness Optimization of Memory Systems for AI Assistants
Shared title terminologycs.AIYifei Xu, Li Yu, Zhaoyang Liu et al.
Do We Really Need an LLM for Weight-Space Programming? A Deterministic Forward-Only Paradigm and Its Capability Boundaries
Shared title terminologycs.AILin Yao
Procedure Inference as Memory: Learning Recruiter Decision Procedures from OKF-Structured Episodes in Multi-Session Hiring Assistants
Shared title terminologycs.AIPraveen Kumar Bodigutla, Yizhi Zhang, Sai Vivek Kanaparthy et al.