mlsanityData to 7 Oct 2026

Harmonic: Hierarchical State Space Models for Efficient Long-Context Language Modeling

arXiv 2606.24650 ↗First posted 30 May 2026cs.CL cs.LGcited by 0

On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language

Abstract (arXiv)

We present Harmonic, a hierarchical state space model (SSM) for language modeling. The architecture stacks three recurrent levels at progressively slower timescales; each level receives the prediction error of the level below as input, rather than its raw hidden state. On enwiki8 with equal token budgets, Harmonic outperforms a comparable Transformer (28M params) by +1.4% at 1K tokens, +6.7% at 8K tokens, and +11.4% at 32K tokens (bpt, lower is better). It also outperforms Mamba at every tested length by 0.7--1.8%. At 64K tokens, both Mamba and Transformer run out of memory on an 80GB H100; Harmonic trains successfully, reaching 6.169 bpt. Results replicate on WikiText-103 (H-TF gap +1.7% to +7.2% across 1K--32K). At 1B parameter scale, replacing all attention layers in TinyLlama 1.1B with HarmonicBlock eliminates the RoPE positional encoding limit: the resulting Hallamonic model maintains stable loss across sequence lengths 1K--8K on two independent clean benchmarks (Lambada and fineweb-edu held-out), while TinyLlama degrades catastrophically past its 2K-token RoPE limit (gap: +9.4 bpt at seq=8K on Lambada). Compute is O(L) per forward pass vs. O(L^2) for attention. Logs: https://github.com/Omibranch/harmonic-logs.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 12 of its 14 references that are in the map. First posted on arXiv 30 May 2026.

Builds on

12 of 14 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  2. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 10

  1. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  3. 2016Pointer Sentinel Mixture Modelscited by 2,992
  4. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  5. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  6. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  7. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
  8. 2016Deep Predictive Coding Networks for Video Prediction and Unsupervised Learningcited by 203
  9. 2016Hierarchical Multiscale Recurrent Neural Networkscited by 102
  10. 2014A Clockwork RNNcited by 70

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024An Empirical Study of Mamba-based Language Models
  2. 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargement
  3. 2024The Expressive Capacity of State Space Models: A Formal Language Perspective
  4. 2024Taipan: Efficient and Expressive State Space Language Models with Selective Attention
  5. 2023Block-State Transformers
  6. 2026Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks
  7. 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
  8. 2024Longhorn: State Space Models are Amortized Online Learners