arXiv:2609.22100v1 cs.CL

AdaMem: 검색-증강 생성의 소프트 압축을 위한 적응형 메모리 토큰 할당

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

Artem Sakhno, Grigorii Davydenko, Omar Zoloev, Julia Belikova, Andrey Savchenko, Maksim Makarenko

제출 2026-09-22

한국어 초록

검색-증강 생성(RAG)은 검색된 근거로 언어 모델을 개선하지만, 긴 문단을 여러 개 처리하는 데는 비용이 많이 들고 주의를 분산시키는 정보가 유입될 수 있다. 소프트 압축(soft compression)은 생성 전에 문단을 연속적인 메모리 임베딩의 압축된 시퀀스로 인코딩하여 이 문제를 해결한다. 그러나 기존 방법은 대체로 질의별 관련성과 무관하게 유지되는 각 문단에 동일한 수의 메모리 임베딩을 할당한다. 이를 해결하기 위해 본 논문에서는 학습된 문단 관련성 추정치를 고정된 메모리 토큰 예산의 질의 의존적 할당으로 매핑하는 관련성 기반 소프트 압축 프레임워크 AdaMem을 제안한다. 질의에 조건화된 공유 압축기가 한 번의 패스로 연속적인 문단 메모리와 관련성 점수를 함께 생성하며, 결정론적 할당 규칙은 점수가 높은 문단에 더 많은 메모리 토큰을 할당하고 점수가 낮은 문단은 제외할 수 있다. 여섯 개의 오픈 도메인 QA 벤치마크에서 AdaMem은 동일한 메모리 예산 조건에서 균등 할당을 사용하는 긴밀히 대응되는 소프트 압축 기준선인 OSCAR는 물론 다른 소프트 압축 방법들보다 일관되게 우수한 성능을 보인다. 표준 16$\times$ 압축에서 AdaMem은 균등 할당 기준선 대비 부분 문자열 일치(sub-string match)를 최대 3.2점(5.5%) 향상시키며 평균 상대 향상률은 3.4%이다. 공격적인 64$\times$ 압축에서는 평균 상대 향상률이 14.6%로 커지고, PopQA에서 최대 9.8점(19.7%)의 향상을 보인다. AdaMem은 전체 컨텍스트 기준선보다 최대 4$\times$ 낮은 추론 지연 시간으로 비압축 방식과 동등한 답변 품질을 달성한다. AdaMem은 균등 압축 기준선과 비슷한 효율성 프로파일을 유지하면서, 전체 컨텍스트 추론보다 최대 $4\times$ 낮은 추론 지연 시간을 달성한다. 따라서 관련성 기반 메모리 할당은 검색 풀이 크고 사용 가능한 메모리 예산이 빠듯할 때 특히 효과적이다.

원문 초록

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.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2609.22100v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.