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

EXIT: Context-Aware Extractive Compression for Enhancing Retrieval-Augmented Generation

About

We introduce EXIT, an extractive context compression framework that enhances both the effectiveness and efficiency of retrieval-augmented generation (RAG) in question answering (QA). Current RAG systems often struggle when retrieval models fail to rank the most relevant documents, leading to the inclusion of more context at the expense of latency and accuracy. While abstractive compression methods can drastically reduce token counts, their token-by-token generation process significantly increases end-to-end latency. Conversely, existing extractive methods reduce latency but rely on independent, non-adaptive sentence selection, failing to fully utilize contextual information. EXIT addresses these limitations by classifying sentences from retrieved documents - while preserving their contextual dependencies - enabling parallelizable, context-aware extraction that adapts to query complexity and retrieval quality. Our evaluations on both single-hop and multi-hop QA tasks show that EXIT consistently surpasses existing compression methods and even uncompressed baselines in QA accuracy, while also delivering substantial reductions in inference time and token count. By improving both effectiveness and efficiency, EXIT provides a promising direction for developing scalable, high-quality QA solutions in RAG pipelines. Our code is available at https://github.com/ThisIsHwang/EXIT

Taeho Hwang, Sukmin Cho, Soyeong Jeong, Hoyun Song, SeungYoon Han, Jong C. Park• 2024

Related benchmarks

TaskDatasetResultRank
Multi-hop Question Answering2WikiMQA
F1 Score45.04
154
Question AnsweringHotpotQA
F151.1
114
Question AnsweringHotpotQA
EM45.55
79
Question Answering2Wiki
F130.1
75
Question Answering2WikiMultihopQA
EM36.5
73
Question AnsweringTriviaQA (TQA)
EM71
56
Question AnsweringNaturalQuestions
EM43.88
39
Question AnsweringNarrativeQA
F124.17
36
Question AnsweringNQ (Natural Questions)
EM42.5
28
Question AnsweringAVG
EM47.5
28
Showing 10 of 24 rows

Other info

Code

Follow for update