MemFold: Learning Compact Soft Memory for Long-Context Personalization via On-Policy Optimization
Not on the map. Why?
Abstract (arXiv)
An assistant that serves the same user over a long horizon has to answer from what that user has revealed: which preferences still hold, which were revised, and which constraints apply now. Retaining that information is not the same as acting on it, and the two are usually optimized as if they were. Keeping the information as text makes the reader's input grow with the retained history, while compressing it into a fixed number of latent vectors bounds the interface but is typically trained to reconstruct text or imitate reference answers, both of which are scored on sequences the reader never produced. We present MemFold, which optimizes a fixed-budget soft memory by the behavior it supports. A query-conditioned textual memory is compressed into K continuous vectors that form the reader's memory interface, and the reader is then trained on its own rollouts under two complementary signals: group-relative rewards for task outcomes, and confidence-gated on-policy distillation in which a frozen textual-memory teacher re-scores the student's sampled tokens under the textual memory. The teacher is never sampled from, so supervision stays on the student's current distribution and adds no autoregressive decoding; at inference it is removed entirely. Across three Qwen backbones, MemFold attains the highest accuracy we measure on PersonaMem-32K and PersonaMem-128K, with margins that widen at the longer history length, and transfers to PrefEval and LongMemEval without target-domain training. Ablations attribute most of the task gain to the reward term and a smaller additional gain to the teacher signal, and memory interventions show that the reader depends on the instance-specific content of its soft memory.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 50 of its 53 references that are in the map. First posted on arXiv 29 Sep 2026.
Builds on
50 of 53 references.
References · 50
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2025Qwen3 Technical Reportcited by 8,820
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 939
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
38 more
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
- 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 629
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 587
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 556
- 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 455
- 2023LaMP: When Large Language Models Meet Personalizationcited by 437
- 2023Learning to Compress Prompts with Gist Tokenscited by 390
- 2023Adapting Language Models to Compress Contextscited by 356
- 2026Reinforcement Learning via Self-Distillationcited by 332
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 237
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 199
- 2025Know Me, Respond to Me: Benchmarking LLMs for Dynamic User Profiling and Personalized Responses at Scalecited by 178
- 2025Do LLMs Recognize Your Preferences? Evaluating Personalized Preference Following in LLMscited by 148
- 2022Learning by Distilling Contextcited by 138
- 2024xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Tokencited by 125
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 109
- 2025Memp: Exploring Agent Procedural Memorycited by 103
- 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agentscited by 78
- 2024Prompt Compression for Large Language Models: A Surveycited by 67
- 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 55
- 2026From Recall to Forgetting: Benchmarking Long-Term Memory for Personalized Agentscited by 36
- 2025LaMP-QA: A Benchmark for Personalized Long-form Question Answeringcited by 31
- 2026MemoryCD: Benchmarking Long-Context User Memory of LLM Agents for Lifelong Cross-Domain Personalizationcited by 17
- 2026LatentMem: Customizing Latent Memory for Multi-Agent Systemscited by 15
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memorycited by 13
- 2026NextMem: Towards Latent Factual Memory for LLM-based Agentscited by 12
- 2026Towards Natural Personalization: Evaluating Long-Horizon Preference Following in Personalized User-LLM Interactionscited by 10
- 2026LazyMem: Retrieve Broadly, Construct Selectively for Efficient Long-Term Agent Memorycited by 5
- 2026ElasticMem: Latent Memory as a Learnable Resource for LLM Agentscited by 4
- 2026CoEvo-Mem: Co-Evolving Retrieval Policy and Memory Bank for LLM Agentscited by 4
- 2026LeanMem: Simple and Efficient Long-Term Memory for LLM Agentscited by 4
- 2026Personalize-then-Store: Benchmarking and Learning Personalized Memory for Long-horizon Agentscited by 3
- 2026When Users Don't Ask: Benchmarking Context-Driven Memory Retrieval in Conversational Agentscited by 2
- 2026Retrieval-Driven Memory Reconsolidation for Long-Term LLM Agentscited by 2
- 2026MemSIF: From Structured Interactions to Dual-Track Fact Memory for LLM Agentscited by 1
- 2026FinPerMA: A Theory-Informed, Event-Grounded Personalized-Memory Benchmark for LLM Agentscited by 1
- 2026LatentPress: Context Compression Beyond Text and Visioncited by 1
- 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inferencecited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Latent Personal Memory: Represent personal memory as dynamic soft prompts
- 2026HasMem: Hard-Origin Adaptively Softened Memory for Long-Term LLM Agents
- 2026QUMem: Personalized Memory for Query-Conditioned User-State Inference in LLM Agents
- 2026MemRetriever: Learning to Search, Reflect, and Retrieve from Long-Term Memory ↗
- 2026Structured Distillation for Personalized Agent Memory: 11x Token Reduction with Retrieval Preservation
- 2026TSUBASA: Improving Long-Horizon Personalization via Evolving Memory and Self-Learning with Context Distillation
- 2026MemMachine: A Ground-Truth-Preserving Memory System for Personalized AI Agents
- 2026AdaMem: Learning What to Remember with Adaptive Memory Policies for Personalized Agents