Transformer-XL
https://arxiv.org/abs/1901.02860
Extends context through segment-level recurrence + caching of hidden states from prior segments. Foundational long-context architecture.
At a glance
- Type
- Segment-level recurrence + cached states
- Tier
- T3
- Created
- 2019-01
- Latest release
- no-release no-release
- License
- Apache-2.0
- GitHub
- 3.7k★ +60/mo Python
- Pricing
- not applicable — research paper
- Funding
- not applicable — not commercial
Taxonomy
- storage
- kv-cache
- retrieval
- attention
- persistence
- session
- update
- evict-oldest
- unit
- kv-token
- governance
- inspectable
- conflict
- n/a
When to use
Optimised for: not applicable - research paper
Anti-fit: not applicable - research paper
Pros & cons
Pros
Defined segment-level recurrence — foundational; cited by every subsequent long-context paper.
Cons
2019 — pre-LLM era; modern architectures (rotary positional embedding, sparse attention) supersede in practice.
Claims & capabilities
Segment-level recurrence mechanism with novel positional encoding overcoming fixed-length context limitations; learns dependencies 80% longer than RNNs and 450% longer than vanilla Transformers; up to 1,800x faster evaluation; SOTA on enwik8 (0.99 bpc), text8 (1.08), WikiText-103 (18.3); generates coherent text articles thousands of tokens long; ACL 2019
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).
- 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.
- DreamerV3 T3
Hafner et al. General world-model agent. Symlog observation, KL balance, RMSNorm, Block GRU.
Related systems
Referenced by (8)
- Compressive Transformer cites — S2 isInfluential citation
- Infini-attention cites — S2 isInfluential citation
- LongMem cites — S2 isInfluential citation
- MemBART cites — S2 isInfluential citation
- Memformers (gradient memory) cites — S2 isInfluential citation
- Memoria (cognitive) cites — S2 isInfluential citation
- Memorizing Transformers cites — S2 isInfluential citation
- R2I cites — S2 isInfluential citation