CompAct: Compressing Retrieved Documents Actively for Question Answering

Chanwoong Yoon, Taewhoo Lee, Hyeon Hwang, Minbyul Jeong, Jaewoo Kang
7/12/2024
84 citations
cs.CL

Official code: dmis-lab/CompAct (36 stars, Python, last commit 2024-09-20).

Abstract

Retrieval-augmented generation supports language models to strengthen their factual groundings by providing external contexts. However, language models often face challenges when given extensive information, diminishing their effectiveness in solving questions.

Show full abstract

Context compression tackles this issue by filtering out irrelevant information, but current methods still struggle in realistic scenarios where crucial information cannot be captured with a single-step approach. To overcome this limitation, we introduce CompAct, a novel framework that employs an active strategy to condense extensive documents without losing key information. Our experiments demonstrate that CompAct brings significant improvements in both performance and compression rate on multi-hop question-answering benchmarks. CompAct flexibly operates as a cost-efficient plug-in module with various off-the-shelf retrievers or readers, achieving exceptionally high compression rates (47x).

View on arXivView PDF

Code Implementations(1)

dmis-lab/CompActOfficial100%

[EMNLP 2024] CompAct: Compressing Retrieved Documents Actively for Question Answering

362Python, Jupyter NotebookJul 7, 20242 years ago
compressionquestion-answering

Similar Papers

Cite this paper

@article{yoon2024compact,
  title  = {CompAct: Compressing Retrieved Documents Actively for Question Answering},
  author = {Chanwoong Yoon and Taewhoo Lee and Hyeon Hwang and Minbyul Jeong and Jaewoo Kang},
  year   = {2024},
  eprint = {2407.09014},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.09014v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.09014.svg)](https://codeofpaper.com/paper/2407.09014)

Discussion