Metraipolis › archive › dc_1f55ccee5f8b
AdaMem: Adaptive Memory Token Allocation for Soft Compression in Retrieval-Augmented Generation — arXiv:2609.22100
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.22100
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T06:48:48.523Z
- SHA-256 of the archived text
1d3e2ac045e97f222e22aed6097ddba892bfbb388d1ec896b028c6a274596c4b- Stable URL of this page
https://metraipolis.com/documento/dc_1f55ccee5f8b
How to cite
AdaMem: Adaptive Memory Token Allocation for Soft Compression in Retrieval-Augmented Generation — arXiv:2609.22100 — arXiv (en), https://arxiv.org/abs/2609.22100 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1f55ccee5f8b (Metraipolis archive dc_1f55ccee5f8b, sha256 1d3e2ac045e97f222e22aed6097ddba892bfbb388d1ec896b028c6a274596c4b)
BibTeX
@misc{dc1f55ccee5f8b,
title = {AdaMem: Adaptive Memory Token Allocation for Soft Compression in Retrieval-Augmented Generation — arXiv:2609.22100},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.22100},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1f55ccee5f8b; sha256 1d3e2ac045e97f222e22aed6097ddba892bfbb388d1ec896b028c6a274596c4b},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.22100. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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$\times$ 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$\times$ 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$\times$ lower inference latency than full context baseline. AdaMem retains an efficiency profile comparable to the uniform-compression baseline, while achieving up to $4\times$ 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. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-22 in cs.CL). Categorie arXiv: Computation and Language (cs.CL) ; Information Retrieval (cs.IR); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.22100 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-09T06:48:44.822Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).