mlsanityData to 14 Oct 2026

AdaMem: Adaptive Memory Token Allocation for Soft Compression in Retrieval-Augmented Generation

arXiv 2609.22100 ↗First posted 12 Aug 2026cs.CL cs.IR cs.LGcited by 0

On the map: Retrieval-augmented generation → Generation and context integration

Abstract (arXiv)

Retrieval-augmented generation (RAG) improves language models with retrieved evidence, but processing many long passages is costly and can introduce distracting information. Soft compression addresses this challenge by encoding passages as compact sequences of continuous memory embeddings before generation. However, existing methods typically assign each retained passage an identical number of memory embeddings, irrespective of its query-specific relevance. To address this, we propose AdaMem, a relevance-guided soft-compression framework that maps learned passage-relevance estimates to a query-dependent allocation of a fixed memory-token budget. A shared query-conditioned compressor produces both continuous passage memories and relevance scores in a single pass; a deterministic allocation rule assigns more memory tokens to higher-scoring passages and can omit low-scoring ones. Across six open-domain QA benchmarks, AdaMem consistently outperforms OSCAR (the closely matched soft-compression baseline that uses uniform allocation) as well as other soft-compression methods at matched memory budgets. Under standard 16× compression, AdaMem improves sub-string match by up to 3.2 points (5.5%) over uniform allocation baseline, with an average relative gain of 3.4%; under aggressive 64× compression the average relative gain grows to 14.6%, with a maximum of 9.8 points (19.7%) on PopQA. AdaMem matches the answer quality of the uncompressed at up to 4× lower inference latency than full context baseline. AdaMem retains an efficiency profile comparable to the uniform-compression baseline, while achieving up to 4× lower inference latency than full-context inference. Thus, relevance-guided memory allocation is particularly effective when retrieval pools are large and the available memory budget is tight.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 12 of its 24 references that are in the map. First posted on arXiv 12 Aug 2026.

Builds on

12 of 24 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentation6 Oct

Other references · 11

  1. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  3. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  4. 2016Sequence-Level Knowledge Distillationcited by 801
  5. 2019Passage Re-ranking with BERTcited by 645
  6. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
  7. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
  8. 2023Learning to Compress Prompts with Gist Tokenscited by 390
  9. 2023Adapting Language Models to Compress Contextscited by 356
  10. 2022ASQA: Factoid Questions Meet Long-Form Answerscited by 234
  11. 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacitycited by 28

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025OSCAR: Online Soft Compression And Reranking
  2. 2025Enhancing RAG Efficiency with Adaptive Context Compression
  3. 2026Rethinking Soft Compression in Retrieval-Augmented Generation: A Query-Conditioned Selector Perspective
  4. 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG
  5. 2025SARA: Selective and Adaptive Retrieval-augmented Generation with Context Compression
  6. 2025ACoRN: Noise-Robust Abstractive Compression in Retrieval-Augmented Language Models
  7. 2025Less Is More: Elevating RAG via Performance-Driven Context Compression
  8. 2026EnComp: Lightweight Encoder-Only Context Compression for Retrieval-Augmented Question Answering