ECoRAG: Evidentiality-guided Compression for Long Context RAG

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jeong, Yeonseok, Kim, Jinsu, Lee, Dohyeon, Hwang, Seung-won
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910991504113664
author Jeong, Yeonseok
Kim, Jinsu
Lee, Dohyeon
Hwang, Seung-won
author_facet Jeong, Yeonseok
Kim, Jinsu
Lee, Dohyeon
Hwang, Seung-won
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_05167
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ECoRAG: Evidentiality-guided Compression for Long Context RAG
Jeong, Yeonseok
Kim, Jinsu
Lee, Dohyeon
Hwang, Seung-won
Computation and Language
Artificial Intelligence
Information Retrieval
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.
title ECoRAG: Evidentiality-guided Compression for Long Context RAG
topic Computation and Language
Artificial Intelligence
Information Retrieval
url https://arxiv.org/abs/2506.05167