Recurrent Memory Transformer (RMT)
https://arxiv.org/abs/2207.06881
Bulatov / Kuratov / Burtsev. Adds memory tokens passed between segments — no architectural change to the Transformer.
At a glance
- Type
- Segment-level recurrence + memory tokens
- Tier
- T3
- Created
- 2022-06
- Latest release
- no releases
- License
- Unlicensed
- GitHub
- 779★ Jupyter Notebook
- Pricing
- not applicable — research paper
- Funding
- not applicable — not commercial
Taxonomy
- storage
- kv-cache
- retrieval
- attention
- persistence
- session
- update
- overwrite
- unit
- kv-token
- governance
- n/a
- conflict
- n/a
When to use
Optimised for: not applicable - research paper
Anti-fit: not applicable - research paper
Pros & cons
Pros
Defined recurrent memory tokens in transformer attention — foundational for segment-recurrent architectures.
Cons
Training instability at scale; superseded for production by attention-window techniques.
Claims & capabilities
Scaling variant (arxiv 2304.11062) handles up to 2M-token sequences with high retrieval accuracy. On par with Transformer-XL for small memory; outperforms it for long-sequence tasks.
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.
Related systems
Referenced by (3)
- BABILong cites — S2 isInfluential citation
- Titans (Google) cites — S2 isInfluential citation
- TransformerFAM cites — S2 isInfluential citation