{
  "id": 1060,
  "kind": "code",
  "title": "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.",
  "body": "",
  "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.",
  "url": "https://github.com/p0rc314in/bdm",
  "links": [],
  "authors": [
    "porcelain (@p0rc314in)"
  ],
  "tags": [
    "bdm",
    "block-delta-memory",
    "recurrent-memory",
    "deltanet",
    "gdn2",
    "sdm",
    "sequence-mixer",
    "sparse-routing",
    "product-key",
    "mixture-of-memories",
    "p0rc314in",
    "porcelain"
  ],
  "topics": "recurrent memory; sequence mixers; sparse routing; Gated DeltaNet; long-context LM",
  "venue": "GitHub / X (independent)",
  "publisher": "GitHub / X (independent)",
  "source": "github",
  "language": "en",
  "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",
  "published_year": 2026,
  "added_at": "2026-09-25T22:19:31.000Z",
  "verified_at": "2026-09-25T22:19:31.000Z",
  "attrs": {
    "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",
    "purpose": "Replace attention with a sparse-routed bank of dense GDN2 memories so capacity grows while per-token work stays nearly flat",
    "used_for": "Attention alternatives; sparse recurrent memory vs SDM/GDN2; agent memory-budget vs context-window; local unified-memory decode",
    "author_type": "independent researcher",
    "time_period": "X thread 2026-09-25T15:37:00Z; GitHub README present at catalog time; cataloged 2026-09-25"
  },
  "enrichment": {
    "github": {
      "forks": 0,
      "stars": 8,
      "pushed": "2026-09-25",
      "created": "2026-09-17",
      "archived": false,
      "language": "Python",
      "full_name": "p0rc314in/bdm",
      "fetched_at": "2026-10-03T14:33:49.909Z"
    }
  },
  "enriched_at": "2026-10-03T14:33:49.951Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1479",
    "needs_deep_eval": "yes",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:33:49.951Z",
  "page": "https://papers.projxon.ai/entries/1060",
  "markdown": "https://papers.projxon.ai/entries/1060.md",
  "api": "https://papers.projxon.ai/api/entries/1060",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 833,
      "kind": "paper",
      "title": "ID Balancing: Stable Training of Extremely Sparse MoE via PID-Based Load Control",
      "summary": "Addresses expert load imbalance when scaling LLMs via Mixture-of-Experts with increasingly sparse routing. ID Balancing: an Integral-Derivative load-control method built on the observation that two existing auxiliary-loss-free methods are incomplete PID controllers -- DeepSeek's loss-free method is a fixed-step integral controller and Kimi K3's Quantile Balancing is a generalized proportional controller. ID Balancing scales its integral term with load error and activates its derivative term only when imbalance worsens, giving stronger corrections for large/worsening errors and smaller updates near balance. Results (Top-10/Top-5/Top-3 routing over 768 experts): in Top-3, worst-case backbone MaxVio reduced by over 50% and training-average backbone MinVio by over 12% vs the best baselines. Scaling 18.9B -> 69.9B total params (Top-10-of-768), worst-case backbone MaxVio stays nearly unchanged, ~89.6% lower than the auxiliary-loss baseline. Maintains competitive language-modeling and downstream performance; advantages grow as sparsity increases.",
      "url": "https://arxiv.org/abs/2609.39137",
      "authors": [
        "Peng Jin",
        "Zihan Qiu",
        "Zekun Wang",
        "Bo Zheng",
        "Yang Xu",
        "Tian Xie",
        "Xiao Li",
        "Huaqing Zhang",
        "Haoran Lian",
        "Rui Men",
        "Dayiheng Liu"
      ],
      "tags": [
        "mixture-of-experts",
        "moe",
        "load-balancing",
        "pid-control",
        "sparse-routing",
        "training-stability"
      ],
      "venue": "arXiv 2026-09-30 (cs.LG)",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/833",
      "markdown": "https://papers.projxon.ai/entries/833.md",
      "api": "https://papers.projxon.ai/api/entries/833"
    },
    {
      "id": 1244,
      "kind": "paper",
      "title": "Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling",
      "summary": "Generalizes linear attention from a matrix state to a third-order tensor state: writes the triadic outer product of a key, a second key, and a value (k tensor k' tensor v) into S_t in R^{d x E x d}, and reads by contracting both key axes with two queries. An E-dimensional second key yields an E-fold state-size increase while adding only two projections (negligible parameter overhead; E=16 gives 16x capacity at 1.08x non-embedding params in MQAR tests). Compatible with data-dependent forgetting (per-slice decay gates), the delta rule applied jointly to both keys (removing the value stored under the key pair), and chunkwise-parallel training via custom CuTe kernels that tile the per-head state along the value axis (blocks of 32 columns, all E slices held in registers) so no SM holds the full tensor. Applied to Gated DeltaNet and scalar-gated linear attention, it substantially improves long-context LM and recall, outperforming alternatives that enlarge state via wider heads/values, more heads, or multiple value heads per key. A pretrained linear-attention model can be converted post hoc to its triadic form during long-context extension. Training overhead over vanilla GDN (custom kernels, H100, 1.3B, 2k-64k tokens): 9-11% (E=2), 14-15% (E=4), 28-30% (E=8); E=8 is 3% slower than a Transformer at 4k but faster beyond, reaching 5.1x faster at 64k.",
      "url": "https://arxiv.org/abs/2609.36529",
      "authors": [
        "Oliver Sieberling",
        "Bharat Runwal",
        "David Jin",
        "Ryan Chin",
        "Rameswar Panda",
        "Yoon Kim"
      ],
      "tags": [
        "triadic-linear-attention",
        "tensor-state",
        "gated-deltanet",
        "recall",
        "long-context",
        "chunkwise-parallel",
        "cute-kernels"
      ],
      "venue": "arXiv 2609.36529 (cs.LG/cs.CL), submitted 29 Sep 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1244",
      "markdown": "https://papers.projxon.ai/entries/1244.md",
      "api": "https://papers.projxon.ai/api/entries/1244"
    },
    {
      "id": 1282,
      "kind": "paper",
      "title": "Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs",
      "summary": "Recurrent-attention hybrid LMs (e.g., Qwen3.5) interleave attention and recurrent layers as two complementary memory pathways: attention supports precise recall of earlier tokens, recurrent layers consolidate disparate information over long contexts. The paper shows hybrids rely substantially more on attention than on the recurrent state — and that standard SFT improves overall performance but does not fix the imbalance: the model becomes more reliant on attention-propagated information while recurrent-pathway use stays limited. Fix: an auxiliary loss that limits attention's access to earlier context while the recurrent state propagates through the full sequence, forcing the model to retain and use information through the recurrent pathway alongside attention. Results: overall performance improves with especially strong gains on longer-context and information-aggregation tasks; QA avg +4.6%, agentic tasks avg +12.1% across multiple hybrid LMs; also generalizes to attention-only models combining different memory types (+28.6%). Core message: simply providing multiple memory pathways does not ensure their effective use — targeted supervision is needed to coordinate them.",
      "url": "https://arxiv.org/abs/2610.06750",
      "authors": [
        "Hyunji Lee",
        "Joykirat Singh",
        "Zaid Khan",
        "Justin Chih-Yao Chen",
        "Elias Stengel-Eskin",
        "Alessandro Sordoni",
        "Arman Cohan",
        "Mohit Bansal"
      ],
      "tags": [
        "memory-pathways",
        "recurrent-attention-hybrid",
        "auxiliary-loss",
        "memory-utilization",
        "long-context",
        "agentic-tasks"
      ],
      "venue": "arXiv 2610.06750 (cs.CL, cs.AI), submitted 5 Oct 2026",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1282",
      "markdown": "https://papers.projxon.ai/entries/1282.md",
      "api": "https://papers.projxon.ai/api/entries/1282"
    },
    {
      "id": 707,
      "kind": "paper",
      "title": "MoBA: Mixture of Block Attention for Long-Context LLMs",
      "summary": "Proposes Mixture of Block Attention (MoBA), which applies mixture-of-experts principles to the attention mechanism: the model learns where to attend across blocks rather than using predefined sparse patterns like sink or window attention. It claims superior long-context performance with seamless switching between full and sparse attention, and has been deployed for Kimi's long-context serving.",
      "url": "https://arxiv.org/abs/2502.13189",
      "authors": [
        "Enzhe Lu",
        "Zhejun Jiang",
        "Jingyuan Liu",
        "Yulun Du",
        "Tao Jiang",
        "Chao Hong",
        "Shaowei Liu",
        "Weiran He",
        "Enming Yuan",
        "Yuzhi Wang",
        "Zhiqi Huang",
        "Huan Yuan",
        "Suting Xu",
        "Xinran Xu",
        "Guokun Lai",
        "Yanru Chen",
        "Huabin Zheng",
        "Junjie Yan",
        "Jianlin Su",
        "Yuxin Wu",
        "Neo Y. Zhang",
        "Zhilin Yang",
        "Xinyu Zhou",
        "Mingxing Zhang",
        "Jiezhong Qiu"
      ],
      "tags": [
        "attention",
        "long-context",
        "mixture-of-experts",
        "efficient-inference",
        "kimi"
      ],
      "venue": "arXiv (cs.LG)",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 215,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/707",
      "markdown": "https://papers.projxon.ai/entries/707.md",
      "api": "https://papers.projxon.ai/api/entries/707"
    },
    {
      "id": 1086,
      "kind": "paper",
      "title": "Block Sparse Attention with Log-Linear Complexity",
      "summary": "Scaling language models to long contexts is limited by the quadratic cost of self-attention. Block sparse attention offers an efficient alternative, but selecting the retained blocks remains a bottleneck. Conventional block selection requires scoring all query-block pairs and therefore remains quadratic in sequence length. To address this issue, we propose PISA, a block-sparse attention mechanism that employs a pyramid Top-$K$ selection strategy. The main idea is to gradually narrow down the candidates across diffe…",
      "url": "https://arxiv.org/abs/2609.31093",
      "authors": [
        "Bohao Tang",
        "Zhen Qin",
        "Yuqi Pan",
        "Zheng Li",
        "Pengfei Liu"
      ],
      "tags": [
        "block-sparse-attention",
        "long-context",
        "log-linear",
        "2609.31093"
      ],
      "venue": "arXiv / cs.LG",
      "source": "arxiv",
      "license": "arXiv non-exclusive / check PDF",
      "published_year": 2026,
      "added_at": "2026-09-29T20:34:19.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1086",
      "markdown": "https://papers.projxon.ai/entries/1086.md",
      "api": "https://papers.projxon.ai/api/entries/1086"
    },
    {
      "id": 821,
      "kind": "paper",
      "title": "LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning",
      "summary": "A benchmark evaluating both the effectiveness and efficiency of long-context LM harnesses (RLMs, ReAct, mini-swe-agent-style coding agents). Existing long-context evaluations are saturated across harnesses, so the four hard tasks require strategic/efficient reasoning (multiple valid strategies with very different costs), hard retrieval (both GREP and semantic), and extensive multi-step reasoning. Example: Constraint Solving asks for every person satisfying 5 conditions scattered across documents; checking the most selective condition first narrows candidates far more cheaply than checking every condition. 5 frontier LMs x 4 agentic harnesses: best setup reaches only 68% macro-average accuracy and no single harness leads across all tasks. Clear accuracy gaps, plus >10x efficiency differences even with the same LM and similar accuracy: more compute does not always mean better accuracy. mini-swe-agent is especially strong, reaching the best performance at a cost close to direct inference. Establishes efficiency as an axis for long-context evaluation and provides a testbed for harnesses that process context strategically rather than exhaustively.",
      "url": "https://arxiv.org/abs/2609.38137",
      "authors": [
        "Quang Hieu Pham",
        "Thuy Duong Nguyen",
        "Jocelyn Qiaochu Chen",
        "Xi Ye"
      ],
      "tags": [
        "long-context",
        "harnesses",
        "agents",
        "benchmarks",
        "efficiency",
        "retrieval"
      ],
      "venue": "arXiv (2026-09-29), cs.CL; CC BY 4.0",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/821",
      "markdown": "https://papers.projxon.ai/entries/821.md",
      "api": "https://papers.projxon.ai/api/entries/821"
    }
  ]
}
