ECoRAG: Evidentiality-guided Compression for Long Context RAG
Abstract
ECoRAG framework enhances LLM performance in ODQA by compressing retrieved documents based on evidentiality, reducing latency and token usage.
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.
Community
ECoRAG compresses retrieved documents into LLM-preferred evidence by iteratively adding top-ranked sentences until the context suffices, boosting QA accuracy while reducing token usage and latency.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- ACoRN: Noise-Robust Abstractive Compression in Retrieval-Augmented Language Models (2025)
- CAFE: Retrieval Head-based Coarse-to-Fine Information Seeking to Enhance Multi-Document QA Capability (2025)
- Augmenting LLM Reasoning with Dynamic Notes Writing for Complex QA (2025)
- Hierarchical Document Refinement for Long-context Retrieval-augmented Generation (2025)
- Sentinel: Attention Probing of Proxy Models for LLM Context Compression with an Understanding Perspective (2025)
- MacRAG: Compress, Slice, and Scale-up for Multi-Scale Adaptive Context RAG (2025)
- Stronger Baselines for Retrieval-Augmented Generation with Long-Context Language Models (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper