Explore the research collection
5 entries · Follow this search
- Paper
EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory
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
- Paper
Continual Graph Memory for Mathematical Research Agents
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.
- Paper
Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data
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.
- Paper
Elastic Weight Consolidation (EWC): Nuts and Bolts
A short report that derives the Elastic Weight Consolidation loss introduced in Overcoming catastrophic forgetting in neural networks. Frames EWC as a quadratic penalty on parameter drift, weighted by a Fisher-information diagonal that marks weights important to previous tasks. Assumes the reader already knows continual-learning terms; no new algorithm or large-scale experiments on the abs. Discord posted the PDF of arXiv 2105.04093.
- Paper
Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories
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.