Learning What to Remember: Adaptive Probabilistic Memory Retention for Memory-Efficient Language Models
Not on the map. Why?
Abstract (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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 37 of its 46 references that are in the map. First posted on arXiv 9 Oct 2025.
Builds on
37 of 46 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023Mistral 7Bcited by 3,065
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2021Convex optimizationcited by 2,479
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
25 more
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2022Token Merging: Your ViT But Fastercited by 995
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
- 2020Efficient Transformers: A Surveycited by 784
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
- 2023The Falcon Series of Open Language Modelscited by 526
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 479
- 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 477
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2024Benchmarking Retrieval-Augmented Generation for Medicinecited by 326
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
- 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
- 2022Memorizing Transformerscited by 219
- 2019On the Use of ArXiv as a Datasetcited by 101
- 2023Zero-TPrune: Zero-Shot Token Pruning through Leveraging of the Attention Graph in Pre-Trained Transformerscited by 61
- 2023Compressed Context Memory For Online Language Model Interactioncited by 42
- 2024Selective Attention Improves Transformercited by 26
- 2023GLIMMER: generalized late-interaction memory rerankercited by 7
- 2023Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer Inferencecited by 6
- 2023Infor-Coef: Information Bottleneck-based Dynamic Token Downsampling for Compact and Efficient language modelcited by 2
- 2023MEMORY-VQ: Compression for Tractable Internet-Scale Memorycited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.