{
  "id": 1311,
  "kind": "paper",
  "title": "Memory Mosaics at scale",
  "summary": "Memory Mosaics (Zhang et al., 2025) replace transformer attention blocks with networks of associative memories: each unit stores key-value pairs (keys encode the recent past, values the near future) and retrieves via Gaussian kernel regression (fuzzy, soft retrieval), using L2-normalized keys, a symmetric key/query kernel, and no explicit position encoding. Memory Mosaics v2 scales this to 10B size (llama-8B scale) trained on 1T real-world tokens, adding three modifications: adaptive kernel bandwidth scheduled with memory size, a gated time-variant key feature extractor, and a 3-level memory design (short-term, long-term, persistent). The paper evaluates across three dimensions. Memory mosaics v2 only MATCH transformers on training-knowledge storage (first dimension) but significantly outperform them on new-knowledge storage and in-context learning (second and third dimensions): on new-knowledge storage, a 1T-token MM v2 beats a 1T-token transformer by 12.3% (53.4% vs 41.1%), and an 8x-data transformer (8T tokens) still lags by 6.5% (46.9% vs 53.4%); on anonymous-label in-context learning, the 8T transformer lags by a large margin, while on easier semantic-label ICL the 8T transformer matches MM v2. The paper frames this as 'predictive disentanglement' — compositional, in-context behavior achieved in a comparatively transparent way versus transformers. Code: github.com/facebookresearch/MemoryMosaics. Paper is CC BY-NC-ND 4.0 (non-commercial, no-derivatives).",
  "body": "",
  "notes": "Discovery: @CrazyShyyt (~1.1K followers, verified) X post 2026-10-08 ~5:33 AM ET (~3.8K views, 98 likes, 86 bookmarks), a hype-framed thread ('might end the transformer era'). The user then shared the direct PDF link https://arxiv.org/pdf/2507.03285, confirming this is the paper to catalog. HONESTY CAVEATS (recorded per the catalog honesty contract): (1) the thread's 'outperformed a traditional Transformer trained on 8T tokens' claim overstates scope — the paper's 1T-vs-8T result applies ONLY to new-knowledge storage and anonymous-label ICL, not general language modeling; on training-knowledge storage MM v2 merely MATCHES transformers, and on semantic-label ICL the 8T transformer catches up; (2) the paper is NOT new — submitted 4 Jul 2025 (v1), revised 14 Jan 2026 (v3), Oral @ NeurIPS 2025 — the thread presents it as fresh 'Meta published' news; (3) 'automatic disentanglement' refers to the paper's narrower 'predictive disentanglement' framing (transparent compositional behavior), not a general solution to disentanglement; (4) like-for-like caveat: the 8T transformer baseline comparison is on the authors' chosen new-task dimensions, and transformers trained on MORE data actually degraded on anonymous-label tasks, suggesting these evals specifically stress transformer weaknesses rather than measuring general capability. Relevance to the user's LLM pretraining: a non-attention architecture claiming 8x data efficiency on new-task learning would matter enormously to his 3:1 SWA:full-attention hybrid stack, BUT the comparison that matters to him — general training-knowledge storage / language modeling — is a TIE, so this is not evidence his stack should change; the regime where MM wins (inference-time new-task learning, few-shot with anonymized labels) is the narrow landing zone. CC BY-NC-ND 4.0 license recorded.",
  "url": "https://arxiv.org/abs/2507.03285",
  "links": [],
  "authors": [
    "Jianyu Zhang",
    "Léon Bottou (NYU / FAIR",
    "Meta)"
  ],
  "tags": [],
  "topics": "associative memory, attention replacement, in-context learning, new-knowledge storage, kernel regression retrieval",
  "venue": "arXiv 2507.03285v3 (cs.AI), submitted 4 Jul 2025, revised 14 Jan 2026; Oral @ NeurIPS 2025",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2025,
  "added_at": "2026-10-08T18:34:57.204Z",
  "verified_at": "2026-10-08T18:34:57.204Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1618"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-08T18:34:57.204Z",
  "updated_at": "2026-10-08T18:34:57.204Z",
  "page": "https://papers.projxon.ai/entries/1311",
  "markdown": "https://papers.projxon.ai/entries/1311.md",
  "api": "https://papers.projxon.ai/api/entries/1311",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 564,
      "kind": "paper",
      "title": "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention",
      "summary": "Infini-attention keeps local softmax attention plus a compressive associative memory updated from the same QKV (linear or delta rule) and a learned gate β. 114× smaller memory than a 65k Memorizing Transformer; PG19 PPL 9.65 vs 11.37. A 1B model solves 1M passkey after 5k-length FT; 8B BookSum 500k SOTA Rouge overall 18.5. No official code on abs.",
      "url": "https://arxiv.org/abs/2404.07143",
      "authors": [
        "Tsendsuren Munkhdalai",
        "Manaal Faruqui",
        "Siddharth Gopal"
      ],
      "tags": [
        "infini-attention",
        "long-context",
        "compressive-memory",
        "google",
        "passkey",
        "booksum"
      ],
      "venue": "arXiv / Google",
      "source": "",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 243,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/564",
      "markdown": "https://papers.projxon.ai/entries/564.md",
      "api": "https://papers.projxon.ai/api/entries/564"
    },
    {
      "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": 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": 461,
      "kind": "paper",
      "title": "Memory Caching: RNNs with Growing Memory",
      "summary": "Memory Caching (MC) segments the sequence, caches each segment's memory state, and aggregates online plus cached memories at retrieval. Four variants: Residual Memory, Gated Residual Memory (GRM), Memory Soup, and Sparse Selective Caching (SSC). Complexity O(NL) interpolates RNN O(L) and Transformer O(L^2). Applied to Linear Attention, SWLA, DLA, and Titans. On 760M/30B-token and 1.3B/100B-token FineWeb training, MC lifts language-modeling and commonsense averages; Titans+GRM is strongest. Closes part of the recall gap vs Transformers on NIAH, in-context retrieval, LongBench, and MQAR. No official code on the abs page.",
      "url": "https://arxiv.org/abs/2602.24281",
      "authors": [
        "Ali Behrouz",
        "Zeman Li",
        "Yuan Deng",
        "Peilin Zhong",
        "Meisam Razaviyayn",
        "Vahab Mirrokni"
      ],
      "tags": [
        "memory-caching",
        "titans",
        "linear-attention",
        "rnn",
        "long-context",
        "google",
        "ssc",
        "grm"
      ],
      "venue": "arXiv / Google",
      "source": "arxiv",
      "license": "CC BY 4.0",
      "published_year": 2026,
      "added_at": "2026-08-14T16:36:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 12,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/461",
      "markdown": "https://papers.projxon.ai/entries/461.md",
      "api": "https://papers.projxon.ai/api/entries/461"
    },
    {
      "id": 1319,
      "kind": "paper",
      "title": "EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory",
      "summary": "EngramEdit turns the n-gram conditional-memory modules of architectures like DeepSeek Engram into an editable knowledge interface, decoupling factual knowledge updates from the Transformer backbone. Conditional memory uses input n-grams to look up learned embeddings; ablations show disabling it collapses factual-knowledge performance (~39% of enabled) while largely preserving in-context understanding and reasoning (~72%), so facts live in the n-gram tables while computation lives in the backbone. The core problem: different phrasings of one fact activate different n-gram embeddings, and editing shared embeddings can corrupt unrelated facts. EngramEdit's procedure: (1) generate multiple expressions of each fact to broaden n-gram coverage; (2) temporarily add a shared learnable perturbation to the memory representations of its expressions and optimize only that perturbation by backpropagating the new-fact prediction loss, yielding a target memory representation per expression (mirroring ROME-style locate-then-edit FFN targeting); (3) jointly solve for updates to the shared n-gram embeddings that match these targets across all expressions and edits, with reuse-based regularization that penalizes large updates to frequently reused (short/frequent) n-gram embeddings more strongly. Results: near-perfect editing success on CounterFact and ZsRE, revised knowledge usable across unseen expressions and in multi-hop reasoning (nearly 3x the strongest baseline's MQuAKE accuracy under chain-of-thought prompting), with unrelated knowledge and general capabilities largely preserved under extended sequential editing. Because only a small subset of n-gram embeddings changes, the edit set is a few-MB overlay that can be swapped per user, enabling continual per-user learning without touching the backbone. Limitation: edits are currently primitive [subject, relation, object] triples only. Code: https://github.com/ModalityDance/EngramEdit",
      "url": "https://arxiv.org/abs/2610.10533",
      "authors": [
        "Hongru Cai",
        "Ran Wei",
        "Wenjie Wang",
        "Chengfa Wu",
        "Ning Song",
        "Yongqi Li",
        "Wenjie Li (Hong Kong Polytechnic University",
        "Hangzhou Diagens Biotechnology",
        "University of Science and Technology of China)"
      ],
      "tags": [
        "engram-edit",
        "knowledge-editing",
        "conditional-memory",
        "n-gram-embeddings",
        "decoupled-knowledge-updates",
        "continual-learning",
        "per-user-personalization",
        "deepseek-engram",
        "longcat"
      ],
      "venue": "arXiv:2610.10533 (cs.CL), submitted 7 Oct 2026",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-09T00: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/1319",
      "markdown": "https://papers.projxon.ai/entries/1319.md",
      "api": "https://papers.projxon.ai/api/entries/1319"
    },
    {
      "id": 487,
      "kind": "paper",
      "title": "Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories",
      "summary": "Sleep replaces train/test with wake/sleep: Knowledge Seeding distills a smaller self into newly unlocked lower-frequency CMS/MoE experts (on-policy GKD plus RL imitation), then Dreaming generates SEAL-style self-edits with a random extra expert. Nested Learning Hope backbone. Class-incremental CLINC/Banking/DBpedia; long-context RULER/LongHealth/QASPER; CTNL dual-language translation; BABILong; Qwen3-8B AIME-24 79.2 vs OPSD 76.6; SQuAD incorporation above SEAL; ARC few-shot 80% vs SEAL 72.5. No official code on the abs page.",
      "url": "https://arxiv.org/abs/2606.03979",
      "authors": [
        "Ali Behrouz",
        "Farnoosh Hashemi",
        "Adel Javanmard",
        "Vahab Mirrokni"
      ],
      "tags": [
        "sleep",
        "nested-learning",
        "knowledge-seeding",
        "dreaming",
        "continual-learning",
        "google",
        "hope"
      ],
      "venue": "arXiv / Google / Cornell",
      "source": "arxiv",
      "license": "CC BY 4.0",
      "published_year": 2026,
      "added_at": "2026-08-14T17:02:26.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 3,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/487",
      "markdown": "https://papers.projxon.ai/entries/487.md",
      "api": "https://papers.projxon.ai/api/entries/487"
    }
  ]
}
