atlas

Research map / Architectures and efficiency / Attention and transformers

B'MOJO: Hybrid State Space Realizations of Foundation Models with Eidetic and Fading Memory

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes B'MOJO, a stackable hybrid SSM-attention module combining fading (SSM state) and eidetic memory selected by an innovation test, evaluated on recall tasks, language modeling up to 1.4B, and length generalization.

Problem

Existing architectures represent past data either eidetically over a finite context (Transformers) or only as fading state (SSMs); hybrids do not seamlessly modulate the two or extend eidetic span, limiting transductive inference and recall over long sequences.

Approach

Combine an SSM fading-memory state with an eidetic memory populated by an "innovation selection" test that stores tokens whose prediction error from the fading state is high, and attend over the sliding window plus these selected tokens, so eidetic span is not limited by recency.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add fading memory to the vanilla hybrid architecture (ablation)B'MOJO-F · Language modeling pre-training, all tested scalesperplexityHelped
Add eidetic memory to B'MOJO-F (ablation)B'MOJO · Language modeling pre-training, all tested scalesperplexityHelped
Add eidetic memory to BMoJo (Fading) (ablation)B'MOJO · SWDE (370M)accuracy: 15.56 -> 17.91Helped
Add eidetic memory to BMoJo (Fading) (ablation)B'MOJO · PG-19 (370M)log-ppl: 3.05 -> 3.04Helped
Add eidetic memory to BMoJo (Fading) (ablation)B'MOJO · Scrolls-QAsper (370M)accuracy: 10.29 -> 9.02Hurt
Add eidetic memory to BMoJo (Fading) (ablation)B'MOJO · Scrolls-NarraQA (370M)accuracy: 7.48 -> 5.92Hurt
Increase the number of eidetic memory tokens (ablation)B'MOJO · Multi-Query Associative RecallaccuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: MQAR synthetic Selective Copying Induction Heads Noisy MQAR Fuzzy MQAR PG-19 SWDE Scrolls-QAsper Scrolls-NarraQA LAMBADA HellaSwag PIQA

Benchmarks: MQAR Selective Copying Induction Heads Noisy MQAR Fuzzy MQAR LAMBADA HellaSwag PIQA ARC-E ARC-C WinoGrande PG-19

Metrics: accuracy log-perplexity wall-clock training time throughput

Baselines: Mistral (Full-Attention) Mamba Hybrid (Sliding Attention + SSM) GPT2 Pythia 160m

Builds on: Mamba Mistral Stochastic Realization Theory Gated Linear Attention

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy