paper-with-me

Papers

Learning What to Remember: Adaptive Probabilistic Memory Retention for Memory-Efficient Language Models

2025-10-09 · S M Rafiuddin, Muntaha Nujat Khan arxiv

Transformer attention scales quadratically with sequence length O(n^2), limiting long-context use. We propose Adaptive Retention, a probabilistic, layer-wise token selection mechanism that learns which representations to keep under a strict global budget M. Retention is modeled with Bernoulli gates trained via a Hard-Concrete/variational relaxation and enforced with a simple top-M rule at inference, making the method differentiable and drop-in for standard encoders. Across classification, extractive QA, and long-document summarization, keeping only 30-50% of tokens preserves >= 95% of full-model performance while cutting peak memory by ~35-45% and improving throughput by up to ~1.8x. This architecture-agnostic approach delivers practical long-context efficiency without modifying base attention or task heads.

📄 PDF Abstract BibTeX arXiv:2510.08798

Code (0)

등록된 구현이 없습니다.

Tasks

Document Summarization

Similar Papers 제목 키워드 기반

Learning What to Remember: Long-term Episodic Memory Networks for Learning from Streaming Data

2018-12-11 · ICLR 2019 5 · Hyunwoo Jung, Moonsu Han, Minki Kang, Sungju Hwang

Current generation of memory-augmented neural networks has limited scalability as they cannot efficiently process data that are too large to fit in the external memory storage. One example of this is lifelong learning sc…

Lifelong learningQuestion AnsweringScheduling

AdaMem: Learning What to Remember for Personalized Long-Horizon LLM Agents

2026-06-19 · Xingyu Chen, Rui Wang, Zhaopeng Tu, Liefeng Bo arxiv

Long-term memory systems for Large Language Model (LLM) agents typically try to \emph{remember everything}, extracting memories uniformly to retain as many facts as possible. In production, however, inference cost and fi…

Recognition, recall, and retention of few-shot memories in large language models

2023-03-30 · A. Emin Orhan

The training of modern large language models (LLMs) takes place in a regime where most training examples are seen only a few times by the model during the course of training. What does a model remember about such example…

Learning What to Remember: Observability-Safe Memory Retention via Constrained Optimization for Long-Horizon Language Agents

2026-06-09 · Qingcan Kang, Liu Mingyang, Shixiong Kai, Kaichao Liang 외 arxiv

Long-horizon language agents accumulate observations, reasoning traces, and retrieved facts exceeding context windows, making memory retention a fundamental resource-allocation problem. Existing systems treat retention a…

Stochastic Optimization

Learning What to Remember: A Cognitively Grounded Multi-Factor Value Model for Agentic Memory

2026-06-11 · Zhibao Chen, Qian Cheng arxiv

Long-running LLM agents accumulate interaction histories far larger than any context window, forcing a standing decision: what to encode deeply, what to forget, and what to retrieve under a fixed memory budget. Productio…

Semantic Similarity