Clustering-driven Memory Compression for On-device Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) often rely on user-specific memories distilled from past interactions to enable personalized generation. A common practice is to concatenate these memories with the input prompt, but this approach quickly exhausts the limited context available in on-device LLMs. Compressing memories by averaging can mitigate context growth, yet it frequently harms performance due to semantic conflicts across heterogeneous memories. In this work, we introduce a clustering-based memory compression strategy that balances context efficiency and personalization quality. Our method groups memories by similarity and merges them within clusters prior to concatenation, thereby preserving coherence while reducing redundancy. Experiments demonstrate that our approach substantially lowers the number of memory tokens while outperforming baseline strategies such as naive averaging or direct concatenation. Furthermore, for a fixed context budget, clustering-driven merging yields more compact memory representations and consistently enhances generation quality.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 28 references that are in the map. First posted on arXiv 24 Jan 2026.
Builds on
23 of 28 references.
References · 23
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023A Survey of Large Language Modelscited by 2,576
- 2024Qwen2 Technical Reportcited by 2,120
- 2025Gemma 3 Technical Reportcited by 1,824
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
- 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 634
- 2024Large Language Models: A Surveycited by 525
- 2023LaMP: When Large Language Models Meet Personalizationcited by 437
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 199
- 2023Multilingual Machine Translation with Large Language Models: Empirical Results and Analysiscited by 160
- 2025MemOS: A Memory OS for AI Systemcited by 138
- 2021A Simple Recipe for Multilingual Grammatical Error Correctioncited by 108
11 more
- 2024Personalization of Large Language Models: A Surveycited by 104
- 2024Stable LM 2 1.6B Technical Reportcited by 90
- 2023On Learning to Summarize with Large Language Models as Referencescited by 80
- 2023RewriteLM: An Instruction-Tuned Large Language Model for Text Rewritingcited by 67
- 2019On-Device Machine Learning: An Algorithms and Learning Theory Perspectivecited by 63
- 2023Distributed Inference and Fine-tuning of Large Language Models Over The Internetcited by 42
- 2025MemLoRA: Distilling Expert Adapters for On-Device Memory Systemscited by 7
- 2025HydraOpt: Navigating the Efficiency-Performance Trade-off of Adapter Mergingcited by 6
- 2025Efficient Compositional Multi-tasking for On-device Large Language Modelscited by 4
- 2025ComMer: a Framework for Compressing and Merging User Data for Personalizationcited by 3
- 2025On-device System of Compositional Multi-tasking in Large Language Modelscited by 2
Built on by
Not cited yet.