Code
Block Delta Memory (BDM): Sparse Recurrent Memory with Dense Execution
Summary
Block Delta Memory (BDM) is a recurrent sequence mixer that routes each token via an SDM-style product-key router to a sparse subset of small GDN2 memory banks, then updates selected banks as dense matrix states with a shared GDN2 controller (route-weighted decay/erase/write). On WikiText-103 (~15–17M, N=2048/K=64) BDM roughly matches attention on Adaptive Recall (span/overwrite/one-hop ~97–99% exact) with LM NLL near attention/SDM; H200 sweeps show decode nearly flat as capacity grows N=T, ~2× faster than SDM and within ~1.2–1.6× of GDN2. No arXiv; GitHub README+code.
- Venue
- GitHub / X (independent)
- Publisher
- GitHub / X (independent)
- Source
- github
- Access
- https://github.com/p0rc314in/bdm ; X thread https://x.com/p0rc314in/status/2103509078169600374 ; dump /workspace/curator/research/bdm-p0rc314in-2103509078169600374-20260925
- License
- unspecified for original code; SDM-extracted shell CC BY-NC 4.0 (THIRD_PARTY_NOTICES); FLA optional MIT
- Language
- en
- Purpose
- Replace attention with a sparse-routed bank of dense GDN2 memories so capacity grows while per-token work stays nearly flat
- Scale
- WikiText 8L×128 ~15–17M / ~354M tok; BabyLM 16L×512 86.34M / ~1.7B tok; N=2048 K=64 (8 banks×8); H200 sweep N=T to ~1M rows
- Domain
- recurrent memory; sequence mixers; sparse routing; Gated DeltaNet; long-context LM
- Used for
- Attention alternatives; sparse recurrent memory vs SDM/GDN2; agent memory-budget vs context-window; local unified-memory decode
- Time period
- X thread 2026-09-25T15:37:00Z; GitHub README present at catalog time; cataloged 2026-09-25
- Author type
- independent researcher
- Added
- Sep 25, 2026
- Verified
- Sep 25, 2026
- Research status
- done
From the source
- Repository
- p0rc314in/bdm
- Created
- Sep 17, 2026
- Last push
- Sep 25, 2026
- Stars
- 8
- Forks
- 0
- Main language
- Python
Tags
Topics
recurrent memory; sequence mixers; sparse routing; Gated DeltaNet; long-context LM
Research notes
- Hudson linked X 2026-09-25. Intro t.co/Qwdq3ZUFjl is VIDEO-ONLY (not paper). Primary artifact found in thread final reply t.co/cYCqCoxmBB → https://github.com/p0rc314in/bdm (README+APPENDIX+implementation/bdm|bsdm+reproduction). arXiv phrase search Block Delta Memory / ti Block Delta: 0 hits — no invented id. HF hub: no matches. Dedup clear vs BDM/Block Delta Memory/p0rc314in/2103509078169600374/github.com/p0rc314in/bdm. Related prior: SDM 2607.07386; GDN2 2605.22791 (catalog 636); MoM 2502.13685; author SDM forks residualized-sdm-routing, productkey-init-sdm, copy-on-write-sdm, elastic-sdm. Package name block-sparse-delta-memory / Python bsdm; THIRD_PARTY_NOTICES: SDM-extracted shell CC BY-NC 4.0; no blanket license on original files. Dump /workspace/curator/research/bdm-p0rc314in-2103509078169600374-20260925/. Sheets not synced. Discord empty. Cataloged 2026-09-25 18:19 ET.
Similar entries
- Paper ID Balancing: Stable Training of Extremely Sparse MoE via PID-Based Load Control
- Paper Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling
- Paper Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs
- Paper MoBA: Mixture of Block Attention for Long-Context LLMs
- Paper Block Sparse Attention with Log-Linear Complexity
- Paper LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning