{
  "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",
  "body": "",
  "notes": "Discovery chain: Teortaxes (@teortaxesTex, ~77.3K followers, verified, DeepSeek-focused account) X post 2026-10-08 ~8:37 PM ET (~1.9K views, 39 likes, 22 bookmarks): 'n-gram blocks in models like DeepSeek V4.1 Flash (experiments are on LongCat) can be edited, with a cheaply derived overlay a few MBs in size, introducing new declarative facts. Primitive (only [subject, relation, object] triples) but continual learning per-user is possible.' The post's two screenshots are the paper's title/abstract page and Figure 1 + Sec. 1-2 pages. Relevance: directly in the user's LLM post-training wheelhouse — cheap per-user model editing / continual learning via small n-gram-table overlays is personalization without full fine-tuning. Caveat: the paper's experiments concern DeepSeek-Engram-style conditional-memory architectures (the tweet cites LongCat, which uses n-gram hash-table embeddings per its llama.cpp port notes); the few-MB overlay claim is the tweet's characterization of the edited embedding subset, not a number stated in the paper text reviewed.",
  "url": "https://arxiv.org/abs/2610.10533",
  "links": [],
  "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"
  ],
  "topics": "",
  "venue": "arXiv:2610.10533 (cs.CL), submitted 7 Oct 2026",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-09T00:00:00.000Z",
  "verified_at": "2026-10-09T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1626"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-09T01:52:04.550Z",
  "updated_at": "2026-10-09T01:52:04.550Z",
  "page": "https://papers.projxon.ai/entries/1319",
  "markdown": "https://papers.projxon.ai/entries/1319.md",
  "api": "https://papers.projxon.ai/api/entries/1319",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 540,
      "kind": "paper",
      "title": "Continual Learning via Sparse Memory Finetuning",
      "summary": "Replaces one mid-stack FFN with a 1M-slot memory layer (k=32, 4 heads) and finetunes only the top-t slots that are highly accessed on the current batch relative to DCLM pretraining (TF-IDF). On a 1.3B model, TriviaQA 1K fact stream: NaturalQuestions F1 drops 11% vs 89% full finetuning and 71% LoRA at matched target learning; document-stream SimpleQA shows the same Pareto pattern. Naive memory FT and TF-only ranking forget more. No official code on abs.",
      "url": "https://arxiv.org/abs/2510.15103",
      "authors": [
        "Jessy Lin",
        "Luke Zettlemoyer",
        "Gargi Ghosh",
        "Wen-Tau Yih",
        "Aram Markosyan",
        "Vincent-Pierre Berges",
        "Barlas Oğuz"
      ],
      "tags": [
        "sparse-memory-finetuning",
        "continual-learning",
        "catastrophic-forgetting",
        "memory-layers",
        "lora",
        "tf-idf",
        "fair",
        "meta"
      ],
      "venue": "arXiv / Meta FAIR / UC Berkeley",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 21,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/540",
      "markdown": "https://papers.projxon.ai/entries/540.md",
      "api": "https://papers.projxon.ai/api/entries/540"
    },
    {
      "id": 1264,
      "kind": "paper",
      "title": "Continual Graph Memory for Mathematical Research Agents",
      "summary": "Ansatz, a mathematical research agent built around Continual Graph Memory — a graph-based, evolvable, cross-problem memory system for long-horizon proof search. Motivation: solving frontier math problems may need massive parallel agents running for long periods, generating enormous volumes of intermediate proof results that must be organized and reused. Components: a unified graph memory representing all intermediate exploration results (facts, plans, counterexamples) with edges for their relationships; dependency-aware retrieval for targeted local context; an evidence-sensitive curator that updates the research frontier and distills lessons from prior attempts; scoped recall that surfaces earlier statements and negative findings for local re-proving rather than uncritical reuse. Experiments across all ten 'First Proof Second Batch' research tasks plus four component studies: Ansatz reports closure on all ten tasks and sustains/resumes long-horizon mathematical search. Beyond that, it autonomously solved the Jamison caterpillar conjecture and Erdos Problems 289, 348, and 488 with no human intervention, and made partial progress on several other open problems.",
      "url": "https://arxiv.org/abs/2610.02945",
      "authors": [
        "Junyi Zhang",
        "Jinxi Yu",
        "Eric Hanchen Jiang",
        "Jiachen Lu",
        "Zhi Zhang",
        "Xinjie He",
        "Hyunsik Chae",
        "Ethan Ji",
        "Alexander K Taylor",
        "Vigyan Sahai",
        "Yiwen Kou",
        "Kai-Wei Chang",
        "Raghu Meka",
        "Nanyun Peng",
        "Amit Sahai",
        "Terence Tao",
        "Wei Wang"
      ],
      "tags": [
        "math-agents",
        "graph-memory",
        "proof-search",
        "terence-tao",
        "ucla",
        "ansatz",
        "continual-learning"
      ],
      "venue": "arXiv 2610.02945 [cs.AI], submitted 2 Oct 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-05T00: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/1264",
      "markdown": "https://papers.projxon.ai/entries/1264.md",
      "api": "https://papers.projxon.ai/api/entries/1264"
    },
    {
      "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"
    },
    {
      "id": 724,
      "kind": "paper",
      "title": "Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data",
      "summary": "Infinite-Parameter LLMs' (Hu, Clarke, Zhang, Hernández-Lobato, Cambridge) proposes an architecture where effective model weights are generated from live session data by a compact hypernetwork producing low-rank modulations of a frozen base, with a Bayesian belief updated online. Stored parameters stay fixed while compilable weights are effectively unbounded — a structural alternative to keeping all runtime knowledge in the prompt.",
      "url": "https://arxiv.org/abs/2609.18842",
      "authors": [
        "Jinli Hu",
        "Ross M. Clarke",
        "Yichuan Zhang",
        "José Miguel Hernández-Lobato"
      ],
      "tags": [
        "hypernetwork",
        "continual-learning",
        "architecture",
        "in-context-learning"
      ],
      "venue": "arXiv:2609.18842",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00: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/724",
      "markdown": "https://papers.projxon.ai/entries/724.md",
      "api": "https://papers.projxon.ai/api/entries/724"
    },
    {
      "id": 469,
      "kind": "paper",
      "title": "Can a Language Model Learn Facts Continually in Its Weights?",
      "summary": "Writes invented facts into Qwen3-4B (8B replication of the entailment gap) via LoRA/full FT and context distillation, then follows them through 20–100 later writes with five held-out question types against a fact-in-prompt ceiling. Training-data breadth, not the objective label, creates usable knowledge: diverse restatements cut the recitation-to-use gap from 27.4 to 5.4 points without showing conclusions. After 20 sequential writes, bare-statement facts retain 1% vs 46% for study facts (plateau ~25–28% by 100 study writes). Forgotten facts keep 57–67% of their log-prob lift, so access fails rather than storage; incoming writes cause interference. A frozen original-model teacher preserves capability; no tested intervention keeps earlier facts reachable. Context remains the reliable channel for composition and survival.",
      "url": "https://arxiv.org/abs/2607.11020",
      "authors": [
        "Charles O'Neill"
      ],
      "tags": [
        "continual-learning",
        "knowledge-writing",
        "qwen3",
        "lora",
        "context-distillation",
        "forgetting",
        "baseten",
        "cortex"
      ],
      "venue": "arXiv / Baseten",
      "source": "arxiv",
      "license": "CC BY 4.0",
      "published_year": 2026,
      "added_at": "2026-08-14T16:40:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/469",
      "markdown": "https://papers.projxon.ai/entries/469.md",
      "api": "https://papers.projxon.ai/api/entries/469"
    },
    {
      "id": 1269,
      "kind": "code",
      "title": "Agent Memory Repo (Cognition) — open spec for persistent agent memory",
      "summary": "Cognition open-sources its agent memory format as an open standard, usable with any agent (announced alongside Devin's 'Dreaming' feature, where Devin builds a persistent memory graph of how a user likes to work across sessions). The format is a git repo of Markdown: every session clones the latest memory, searches or follows links, updates entries as the agent learns (no human in the loop), and pushes after every edit. MEMORY.md is the entry point loaded at the start of every session; entries are one-line bullets with open [key: value] metadata (recommended: source link to the session where it was learned, added date); [[path]] cross-links connect files; history and versioning come from git. 'Dreaming' is a dedicated periodic agent with two jobs: add new memory (spot patterns across sessions) and clean up (merge duplicates, drop outdated entries, resolve contradictions). Composability: memories are folders — a session can clone several repos at once (personal + team + swarm folders), each keeping its own ownership/permissions/history, and the agent tracks who said what. Agent swarms coordinate via message-board folders (findings.md, questions.md) with git rejecting conflicting pushes, forcing the agent to reconcile both versions. Worked examples: four parallel agents diagnosing a 1-in-100 slow request by sharing measurements through the repo, and a saved SQL query reused across sessions. Open to contributions: https://github.com/AgentMemoryRepo/agentmemoryrepo. Notably complementary/contrastable with the pending proactivity items on agent memory: the two-tier Memorystore/AlloyDB blueprint (SQL-native vector + BM25 hybrid retrieval, compaction) and the 'docs, not memory' RAG-skeptic argument. Directly relevant to the user's unnamed AI agent app.",
      "url": "https://cognition.com/agent-memory-repo",
      "authors": [
        "Cognition (Walden Yan)"
      ],
      "tags": [
        "agent-memory",
        "cognition",
        "devin",
        "dreaming",
        "persistent-memory",
        "git",
        "markdown"
      ],
      "venue": "Open standard announcement, 5 Oct 2026 (cognition.com/agent-memory-repo)",
      "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/1269",
      "markdown": "https://papers.projxon.ai/entries/1269.md",
      "api": "https://papers.projxon.ai/api/entries/1269"
    }
  ]
}
