B'MOJO: Hybrid State Space Realizations of Foundation Models with Eidetic and Fading Memory
Not on the map. Why?
Abstract (arXiv)
We describe a family of architectures to support transductive inference by allowing memory to grow to a finite but a-priori unknown bound while making efficient use of finite resources for inference. Current architectures use such resources to represent data either eidetically over a finite span ("context" in Transformers), or fading over an infinite span (in State Space Models, or SSMs). Recent hybrid architectures have combined eidetic and fading memory, but with limitations that do not allow the designer or the learning process to seamlessly modulate the two, nor to extend the eidetic memory span. We leverage ideas from Stochastic Realization Theory to develop a class of models called B'MOJO to seamlessly combine eidetic and fading memory within an elementary composable module. The overall architecture can be used to implement models that can access short-term eidetic memory "in-context," permanent structural memory "in-weights," fading memory "in-state," and long-term eidetic memory "in-storage" by natively incorporating retrieval from an asynchronously updated memory. We show that Transformers, existing SSMs such as Mamba, and hybrid architectures such as Jamba are special cases of B'MOJO and describe a basic implementation, to be open sourced, that can be stacked and scaled efficiently in hardware. We test B'MOJO on transductive inference tasks, such as associative recall, where it outperforms existing SSMs and Hybrid models; as a baseline, we test ordinary language modeling where B'MOJO achieves perplexity comparable to similarly-sized Transformers and SSMs up to 1.4B parameters, while being up to 10% faster to train. Finally, we show that B'MOJO's ability to modulate eidetic and fading memory results in better inference on longer sequences tested up to 32K tokens, four-fold the length of the longest sequences seen during training.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 32 of its 58 references that are in the map. First posted on arXiv 8 Jul 2024.
Builds on
32 of 58 references.
References · 32
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Mistral 7Bcited by 3,065
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2022In-context Learning and Induction Headscited by 930
20 more
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2024xLSTM: Extended Long Short-Term Memorycited by 320
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 197
- 2024Multi-Modal Hallucination Control by Visual Information Groundingcited by 196
- 2022SCROLLS: Standardized CompaRison Over Long Language Sequencescited by 170
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
- 2022Liquid Structural State-Space Modelscited by 134
- 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 57
- 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
- 2023Block-State Transformerscited by 24
- 2021A novel Deep Neural Network architecture for non-linear system identificationcited by 7
- 2023Train/Test-Time Adaptation with Retrievalcited by 7
- 2022On the Learnability of Physical Concepts: Can a Neural Network Understand What's Real?cited by 5
- 2022Stacked Residuals of Dynamic Layers for Time Series Anomaly Detectioncited by 3
Built on by
Citing papers per year: 2024: 5; 2025: 16; 2026: 5.
26 papers.
Sort:
By area:
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 69
- 2024Marconi: Prefix Caching for the Era of Hybrid LLMscited by 29
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selectioncited by 17
- 2025TempoPFN: Synthetic Pre-training of Linear RNNs for Zero-shot Time Series Forecastingcited by 16
- 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compressioncited by 12
- 2025Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformerscited by 12
- 2024Expansion Span: Combining Fading Memory and Retrieval in Hybrid State Space Modelscited by 11
- 2025LoLA: Low-Rank Linear Attention With Sparse Cachingcited by 10
- 2025AI Agents as Universal Task Solverscited by 9
- 2025Gated KalmaNet: A Fading Memory Layer Through Test-Time Ridge Regressioncited by 9
14 more
- 2025STree: Speculative Tree Decoding for Hybrid State-Space Modelscited by 8
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attentioncited by 5
- 2025PICASO: Permutation-Invariant Context Composition with State Space Modelscited by 4
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architecturescited by 3
- 2026Learning When to Attend: Conditional Memory Access for Long-Context LLMscited by 3
- 2024Long-context Protein Language Modeling Using Bidirectional Mamba with Shared Projection Layerscited by 1
- 2025Context-Selective State Space Models: Feedback is All You Needcited by 1
- 2025FlashEVA: Accelerating LLM inference via Efficient Attentioncited by 1
- 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoningcited by 1
- 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillationcited by 1
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Designcited by 1
- 2025Geometric SSM: LTI State Space Models for Selective Taskscited by 0
- 2025Maximally-Informative Retrieval for State Space Model Generationcited by 0
- 2026Trading Complexity for Expressivity Through Structured Generalized Linear Token Mixingcited by 0
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Design2 Sep 2026
- 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillation15 Jun 2026
- 2026Trading Complexity for Expressivity Through Structured Generalized Linear Token Mixing29 May 2026
- 2026Learning When to Attend: Conditional Memory Access for Long-Context LLMs18 Mar 2026
- 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoning10 Mar 2026
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selection23 Dec 2025
- 2025Gated KalmaNet: A Fading Memory Layer Through Test-Time Ridge Regression26 Nov 2025
- 2025FlashEVA: Accelerating LLM inference via Efficient Attention1 Nov 2025
- 2025TempoPFN: Synthetic Pre-training of Linear RNNs for Zero-shot Time Series Forecasting29 Oct 2025
- 2025Context-Selective State Space Models: Feedback is All You Need15 Oct 2025
- 2025AI Agents as Universal Task Solvers14 Oct 2025
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures6 Oct 2025
14 more
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attention1 Jul 2025
- 2025Maximally-Informative Retrieval for State Space Model Generation13 Jun 2025
- 2025Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformers31 May 2025
- 2025LoLA: Low-Rank Linear Attention With Sparse Caching29 May 2025
- 2025Geometric SSM: LTI State Space Models for Selective Tasks23 May 2025
- 2025STree: Speculative Tree Decoding for Hybrid State-Space Models20 May 2025
- 2025PICASO: Permutation-Invariant Context Composition with State Space Models24 Feb 2025
- 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compression21 Feb 2025
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products14 Feb 2025
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024Expansion Span: Combining Fading Memory and Retrieval in Hybrid State Space Models17 Dec 2024
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rule9 Dec 2024
- 2024Marconi: Prefix Caching for the Era of Hybrid LLMs28 Nov 2024
- 2024Long-context Protein Language Modeling Using Bidirectional Mamba with Shared Projection Layers29 Oct 2024
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoningcited by 1
- 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoning10 Mar 2026
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 69
- 2024Marconi: Prefix Caching for the Era of Hybrid LLMscited by 29
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selectioncited by 17
- 2025TempoPFN: Synthetic Pre-training of Linear RNNs for Zero-shot Time Series Forecastingcited by 16
- 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compressioncited by 12
- 2025Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformerscited by 12
- 2024Expansion Span: Combining Fading Memory and Retrieval in Hybrid State Space Modelscited by 11
- 2025LoLA: Low-Rank Linear Attention With Sparse Cachingcited by 10
- 2025AI Agents as Universal Task Solverscited by 9
- 2025Gated KalmaNet: A Fading Memory Layer Through Test-Time Ridge Regressioncited by 9
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attentioncited by 5
12 most cited of 19 All 19 (JSON)
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Design2 Sep 2026
- 2026Trading Complexity for Expressivity Through Structured Generalized Linear Token Mixing29 May 2026
- 2026Learning When to Attend: Conditional Memory Access for Long-Context LLMs18 Mar 2026
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selection23 Dec 2025
- 2025Gated KalmaNet: A Fading Memory Layer Through Test-Time Ridge Regression26 Nov 2025
- 2025FlashEVA: Accelerating LLM inference via Efficient Attention1 Nov 2025
- 2025TempoPFN: Synthetic Pre-training of Linear RNNs for Zero-shot Time Series Forecasting29 Oct 2025
- 2025AI Agents as Universal Task Solvers14 Oct 2025
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures6 Oct 2025
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attention1 Jul 2025
- 2025Maximally-Informative Retrieval for State Space Model Generation13 Jun 2025
- 2025Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformers31 May 2025
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Reuse, Don't Recompute: Efficient Large Reasoning Model Inference via Memory Orchestration
- 2025A Comparative Analysis of Contextual Representation Flow in State-Space and Transformer Architectures
- 2026Expressivity-Efficiency Tradeoffs for Hybrid Sequence Models
- 2026Thinking Outside the Box: Retention and Transmission of Information in Sliding-Window KV Inference
- 2026The Impossibility Triangle of Long-Context Modeling
- 2025LISM: Long-range Integrative State space Models via Input-Latent State Interactions
- 2025Pretraining with hierarchical memories: separating long-tail and common knowledge
- 2025Mechanistic evaluation of Transformers and state space models