Back to directory

User as Engram: Internalizing Per-User Memory as Local Parametric Edits

A research paper and accompanying code that stores a user's facts as a few rows in a content-addressed edit to a language model's parameters, instead of a separate retrieval index or per-user LoRA.

User as Engram: Internalizing Per-User Memory as Local Parametric Edits

This repository accompanies the paper "User as Engram: Internalizing Per-User Memory as Local Parametric Edits." It splits personal memory into content, a user's specific facts, and reasoning skill, turning facts into answers, storing per-user content as surgical edits to a hash-keyed memory table in an Engram model while a single shared adapter handles reasoning for every user.

Compared with a per-user LoRA on a reference model, the authors report substantially higher indirect-reasoning accuracy at matched direct recall, far less disruption to unrelated text, and a fraction of the storage per user.

The repository is self-contained: it includes the paper's source, the training and evaluation harness, experiment scripts, a per-user-LoRA baseline for comparison, synthetic per-user datasets, and an interactive site built with React and Vite.

More in Agent memory

See all 450
  • A long technical guide to AI agent memory: why stateless LLMs need it, the different memory architectures from vector stores to knowledge graphs, and how Cognee implements one as an open-source memory layer.

  • A local, file-based long-term memory layer for a personal AI that never summarizes conversations, keeping every line with a timestamp and searching by time first and words second, rather than retrieving only similar-seeming chunks.

  • NEOTH

    deepwiki.com

    A local-first personal AI daemon in Rust with five memory tiers, consent-gated tools, a WASM plugin sandbox, multi-provider model routing and signed audit logs, aimed at people who want both a daily assistant and a serious coding helper.