LongMem

https://arxiv.org/abs/2306.07174

Trainable SideNet module selectively retrieves relevant cached key-value pairs from memory banks during decoding.

Research code · Verified 2026-10-28 · fresh as of 2026-10-28 · 28 cited facts, 0 with a third-party source · 1 recorded change · Suggest a correction

At a glance

Tier
T4
Created
2023-06 vendor fix
Latest release
no-release no-release vendor fix
License
Apache-2.0 repo fix
GitHub
826★ Python repo fix
Pricing
not applicable — research paper fix
Funding
not applicable — not commercial fix
Freshness
2026-10-28 fix
Layer
agent-infra repo fix
Licensing
open-source repo fix

Memory taxonomy

storage
kv-cache
retrieval
similarity
persistence
long-term
update
append-only
unit
kv-token
governance
opaque
conflict
n/a

When to use

Optimised for: not applicable - research paper

Anti-fit: not applicable - research paper

Pros & cons

Pros

Long-term memory module for transformer LMs.

Cons

Preprint; memory module pretraining cost.

Claims & capabilities

Frozen backbone LLM + adaptive residual side-network as memory retriever/reader; ~65K token memory bank. Headline: 40.5% identification accuracy on ChapterBreak vs. GPT-3 28% with 313x fewer parameters; -1.38 to -1.62 perplexity on PG-22; baselines: Memorizing Transformer (MemTRM) and reproduced GPT-2 (407M Alibi); primary datasets: ChapterBreak, PG-22, ArXiv papers, plus ICL on SST-2/MR/Subj/SST-5/MPQA.

Technical surface

API surface
not applicable — research paper
Backend storage
not applicable — research paper
Deployment
not applicable — research paper
Embedding model
not applicable — research paper
Multi-tenancy
not applicable — research paper
MCP
not applicable — research paper, no deployed product
A2A
not applicable — research paper, no deployed product
OpenTelemetry
not applicable — research paper, no deployed product

Similar systems

Other recent method papers — theorized, no distinct product in the catalog, ranked by inbound references.

  • Compressive Transformer T3

    Maintains recent states in full resolution while compressing older memories with learned compression functions. DeepMind.

  • MemGPT v2 / agent-tools T3

    Already in catalog as the foundational MemGPT paper. Note: Letta is the productionised successor (cross-listed).

  • Transformer-XL T3

    Extends context through segment-level recurrence + caching of hidden states from prior segments. Foundational long-context architecture.

  • Generative Agents T3

    Park et al. — landmark agent-simulation paper. Reflection + memory stream + retrieval enable believable agent behavior.

  • MemoryBank T3

    Enhances LLMs with long-term memory. Early influential paper.

  • Reflexion T3

    Language agents with verbal reinforcement learning.

Sources (27 cited facts, 0 third-party)

Each fact links to the page it came from; the badge says who published it (how to read sources).

What changed

Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)

  1. 2026-10-22
    • Lifecycle first recorded as “research-complete”
    #195

Related systems

References (1)