SchemaMem: Schema-Indexed Recurrent Memory for Delayed State Retrieval
Sungwoo Goo, Hwi-yeol Yun, Sangkeun Jung
Key points
From the paper's conclusion- Introducing SchemaMem, an attention-based recurrent memory architecture combining chunk-local attention with a persistent, schema-indexed phase state.
- SchemaMem has higher mean written-value retention at four times the maximum training delay than both baselines in a controlled address--value task.
- SchemaMem requires substantially more optimization steps than the baselines.
Abstract
Attention provides direct access to past representations, but retaining an ever-growing history is costly. Recurrent models bound persistent state, yet must preserve selected information while processing subsequent inputs. We introduce SchemaMem, an attention-based recurrent memory architecture combining chunk-local attention with a persistent, schema-indexed phase state. Learned schema embeddings provide a shared representational reference for reading and writing. Reads use the current state, whereas writes use the layer input and static schema embeddings, excluding direct feedback from that layer's own state. Chunk-boundary commits aggregate bounded phase increments through forward computation. The same parameters also support full-history attention training before and during recurrent training. We studied selective updates, preservation, and delayed retrieval in a controlled address--value task, comparing three-layer models with approximately matched parameter counts and persistent-state dimensions. Across nine address/value settings and three training seeds, SchemaMem has higher mean written-value retention at four times the maximum training delay than both baselines, which are trained toward a higher in-range accuracy target. Updated-value recovery favors SchemaMem in all nine settings against Mamba-3 and seven against Gated DeltaNet. Defaults consistently favor Gated DeltaNet over SchemaMem at that delay, and SchemaMem requires substantially more optimization steps. These results identify a promising retention--optimization trade-off in schema-indexed recurrence.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Introducing SchemaMem, an attention-based recurrent memory architecture combining chunk-local attention with a persistent, schema-indexed phase state.
- SchemaMem has higher mean written-value retention at four times the maximum training delay than both baselines in a controlled address--value task.
- SchemaMem requires substantially more optimization steps than the baselines.
Readers' thoughts
No reader thoughts yet.
Related papers
- SDG: State-Dependent Gating at Chunk Boundaries for Linear AttentionarXiv · 2026
- State Space Attention: Learning Context-Dependent Memory RetentionarXiv · 2026
- The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging TrendsarXiv · 2026
- MARCH: Scaling Recurrent Memory with Content-Routed State AnchorsarXiv · 2026
- Time Delay System for Sequence ModelingarXiv · 2026
- Learning What to Remember: Long-horizon Counterfactual Memory OptimizationarXiv · 2026