Modus_X: Constant-State Language Modeling with Associative Memory and Selective Recurrence

We introduce Modus_X, a novel attention-free causal sequence architecture that integrates two complementary sequence modeling paradigms: selective state-space models (SSMs) for capturing fast, local sequential dynamics, and a content-addressed associative matrix memory using delta-rule updates for long-range associative recall. Unlike traditional Transformers, Modus_X does not employ attention mechanisms or key-value (KV) caches, resulting in O(L) training complexity and O(1) constant inference memory footprint with respect to sequence length. To evaluate the architecture under controlled conditions, we train Modus_X, Transformer, and Mamba-family baselines on the FineWeb-Edu dataset. Our experiments demonstrate that Modus_X achieves superior perplexity compared to the audited Mamba recurrent baseline, while an internal parameter-matched Mamba control suggests that the gain is architectural rather than merely parameter-count driven. Against the Transformer, we use the 40k checkpoint as a reference baseline rather than a strict compute-matched comparison: the Transformer remains lower at 40k, while Modus_X continues to improve through 80k and narrows the short-context language-modeling gap while preserving constant recurrent state. Crucially, synthetic associative recall stress tests indicate the intended qualitative separation: vector-state recurrence suffers interference as the number of independent key-value bindings grows, while the Modus_X matrix stream is designed for content-addressed lookup and overwrite. Modus_X is therefore not yet a Transformer replacement on every metric, but it is a strong attention-free, constant-state contender and a promising second path for long-context modeling.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-24
DOI
https://doi.org/10.5281/zenodo.20834344
Primary Topic
Topic Modeling
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Modus_X: Constant-State Language Modeling with Associative Memory and Selective Recurrence

Sanyam Chaudhary
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

Modus_X: Constant-State Language Modeling with Associative Memory and Selective Recurrence

Sanyam Chaudhary
preprint en

Abstract

We introduce Modus_X, a novel attention-free causal sequence architecture that integrates two complementary sequence modeling paradigms: selective state-space models (SSMs) for capturing fast, local sequential dynamics, and a content-addressed associative matrix memory using delta-rule updates for long-range associative recall. Unlike traditional Transformers, Modus_X does not employ attention mechanisms or key-value (KV) caches, resulting in O(L) training complexity and O(1) constant inference memory footprint with respect to sequence length. To evaluate the architecture under controlled conditions, we train Modus_X, Transformer, and Mamba-family baselines on the FineWeb-Edu dataset. Our experiments demonstrate that Modus_X achieves superior perplexity compared to the audited Mamba recurrent baseline, while an internal parameter-matched Mamba control suggests that the gain is architectural rather than merely parameter-count driven. Against the Transformer, we use the 40k checkpoint as a reference baseline rather than a strict compute-matched comparison: the Transformer remains lower at 40k, while Modus_X continues to improve through 80k and narrows the short-context language-modeling gap while preserving constant recurrent state. Crucially, synthetic associative recall stress tests indicate the intended qualitative separation: vector-state recurrence suffers interference as the number of independent key-value bindings grows, while the Modus_X matrix stream is designed for content-addressed lookup and overwrite. Modus_X is therefore not yet a Transformer replacement on every metric, but it is a strong attention-free, constant-state contender and a promising second path for long-context modeling.

Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.