Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Rethinking Soft Compression in Retrieval-Augmented Generation: A Query-Conditioned Selector Perspective

About

Retrieval-Augmented Generation (RAG) effectively grounds Large Language Models (LLMs) with external knowledge and is widely applied to Web-related tasks. However, its scalability is hindered by excessive context length and redundant retrievals. Recent research on soft context compression aims to address this by encoding long documents into compact embeddings, yet they often underperform non-compressed RAG due to their reliance on auto-encoder-like full-compression that forces the encoder to compress all document information regardless of relevance to the input query. In this work, we conduct an analysis on this paradigm and reveal two fundamental limitations: (I) Infeasibility, full-compression conflicts with the LLM's downstream generation behavior; and (II) Non-necessity: full-compression is unnecessary and dilutes task-relevant information density. Motivated by these insights, we introduce SeleCom, a selector-based soft compression framework for RAG that redefines the encoder's role as query-conditioned information selector. The selector is decoder-only and is trained with a massive, diverse and difficulty-graded synthetic QA dataset with curriculum learning. Extensive experiments show that SeleCom significantly outperforms existing soft compression approaches and achieves competitive or superior performance to non-compression baselines, while reducing computation and latency by 33.8%~84.6%.

Yunhao Liu, Zian Jia, Xinyu Gao, Kanjun Xu, Yun Xiong• 2026

Related benchmarks

TaskDatasetResultRank
Multi-hop Question AnsweringHotpotQA
EM61.13
18
Question AnsweringTriviaQA
EM37.74
18
Question AnsweringNatural Questions
EM44.27
18
Fact VerificationFactKG
Accuracy67.44
17
Question AnsweringPopQA
EM33.32
17
Inference EfficiencyHotpotQA
Time to Last Token (ms)496
12
Inference EfficiencyNatural Questions (NQ)
TIL (ms)535
12
Showing 7 of 7 rows

Other info

Follow for update