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

ECoRAG: Evidentiality-guided Compression for Long Context RAG

About

Large Language Models (LLMs) have shown remarkable performance in Open-Domain Question Answering (ODQA) by leveraging external documents through Retrieval-Augmented Generation (RAG). To reduce RAG overhead, from longer context, context compression is necessary. However, prior compression methods do not focus on filtering out non-evidential information, which limit the performance in LLM-based RAG. We thus propose Evidentiality-guided RAG, or ECoRAG framework. ECoRAG improves LLM performance by compressing retrieved documents based on evidentiality, ensuring whether answer generation is supported by the correct evidence. As an additional step, ECoRAG reflects whether the compressed content provides sufficient evidence, and if not, retrieves more until sufficient. Experiments show that ECoRAG improves LLM performance on ODQA tasks, outperforming existing compression methods. Furthermore, ECoRAG is highly cost-efficient, as it not only reduces latency but also minimizes token usage by retaining only the necessary information to generate the correct answer. Code is available at https://github.com/ldilab/ECoRAG.

Yeonseok Jeong, Jinsu Kim, Dohyeon Lee, Seung-won Hwang• 2025

Related benchmarks

TaskDatasetResultRank
Multi-hop Question AnsweringHotpotQA
F1 Score45.13
221
Question AnsweringNQ (test)
EM Accuracy36.48
66
Long-context Question AnsweringLongBench (test)
HotpotQA52.29
59
End-to-end Open-Domain Question AnsweringNQ (test)
Exact Match (EM)39.2
50
Open-domain Question AnsweringWQ (test)
EM33.71
37
Open-domain Question AnsweringNQ (test)
EM44.38
22
Open-domain Question AnsweringTQA (test)
EM66.45
11
Efficiency EvaluationNQ (test)
Inference Time (h)4.23
5
Showing 8 of 8 rows

Other info

Code

Follow for update