Recurrent Memory Transformer
arXiv · 2207.06881AbstractRMT adds special memory tokens to an otherwise unchanged Transformer so information can be processed and passed recurrently between sequence segments. Its experiments show competitive language-modeling performance and gains on tasks that require longer-range processing, positioning the architecture as a general mechanism for long-term dependencies and memory-based reasoning.
Adapting Language Models to Compress Contexts
arXiv · 2305.14788AbstractAutoCompressors adapt pretrained language models to compress preceding text segments into compact summary vectors that can be reused as soft prompts. Trained with an unsupervised language-modeling objective, they extend usable context, substitute compressed vectors for demonstrations, and reduce inference cost in long-context, retrieval, and reranking settings.
Learning to Compress Prompts with Gist Tokens
arXiv · 2304.08467AbstractGisting trains language models to compress reusable prompts into a small set of gist tokens by changing the attention mask. On LLaMA and FLAN-T5, the method achieves substantial prompt compression and compute and storage savings with limited loss in output quality.
In-context Autoencoder for Context Compression in a Large Language Model
arXiv · 2307.06945AbstractICAE uses a lightweight learned module around a language model to turn long context into compact memory slots, trained through autoencoding and language-modeling objectives before instruction tuning. It reports fourfold compression with about one percent additional parameters, lowering inference latency and GPU memory cost while preserving useful context representations.
A Human-Inspired Reading Agent with Gist Memory of Very Long Contexts
arXiv · 2402.09727AbstractReadAgent divides long documents into episodes, compresses them into textual gist memories, and decides when to look up original passages for details. Across three long-document question-answering tasks, this human-inspired read, remember, and retrieve loop extends effective context and outperforms retrieval and direct long-context baselines.
MEMORYLLM: Towards Self-Updatable Large Language Models
arXiv · 2402.04624AbstractMEMORYLLM couples a Transformer with a fixed-size latent memory pool that can absorb new textual knowledge after deployment. It retains previously injected information, performs well on model-editing and long-context evaluations, and remains operationally stable across nearly one million memory updates.
G-MemLLM: Gated Latent Memory Augmentation for Long-Context Reasoning in Large Language Models
arXiv · 2602.00015AbstractG-MemLLM combines a frozen language model with a trainable latent memory bank updated through GRU-style gates. Selective preserve, update, and overwrite operations aim to reduce context rot and knowledge dilution, improving multi-hop reasoning and relational precision across model scales.
R³Mem: Bridging Memory Retention and Retrieval via Reversible Compression
ACL Anthology · 2025.findings-acl.235AbstractR³Mem compresses long histories into virtual memory tokens at multiple semantic granularities and uses a reversible architecture to reconstruct source content. Its bidirectional, cycle-consistent training targets both retention and retrieval, with strong results in long-context modeling, retrieval-augmented generation, and conversational agents.
MemGen: Weaving Generative Latent Memory for Self-Evolving Agents
arXiv · 2509.24704AbstractMemGen uses a memory trigger to decide when memory is needed and a memory weaver to generate machine-native latent token sequences from the current reasoning state. It interleaves latent recall with reasoning and reports emergent planning, procedural, and working-memory behaviors without explicit supervision.
FlashMem: Distilling Intrinsic Latent Memory via Computation Reuse
ACL Anthology · 2026.findings-acl.230AbstractFlashMem distills memory directly from transient reasoning states by reusing the backbone's internal computation instead of introducing a separate encoder. A shared-KV consolidator synthesizes memory from cached states, while an attention-entropy monitor triggers consolidation adaptively; the paper reports comparable performance with substantially lower latency.
LiveMem: Maintaining Memory State Continuity in Long-Running LLM Inference
arXiv · 2608.02515AbstractLiveMem formulates long-running inference as maintaining state continuity while bounded working context turns over. It equips a pretrained full-attention language model with a fixed-capacity recurrent memory state plus post-training and serving support that keep the state load-bearing after supporting tokens leave the active context.
MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents
arXiv · 2506.15841AbstractMEM1 trains agents with reinforcement learning to maintain a compact shared state while reasoning across long multi-turn tasks. At each turn it merges previous memory with new observations and discards irrelevant or redundant detail, enabling constant-memory operation with improved efficiency and performance over longer horizons.
Titans: Learning to Memorize at Test Time
arXiv · 2501.00663AbstractTitans introduces a neural long-term memory module that learns from historical context at test time while attention handles precise short-term dependencies. Three architectures combine these components, with reported gains over Transformers and modern recurrent models and scaling to contexts beyond two million tokens.