ECoRAG: Evidentiality-guided Compression for Long Context RAG
By: Yeonseok Jeong , Jinsu Kim , Dohyeon Lee and more
Potential Business Impact:
Helps computers answer questions better and faster.
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.
Similar Papers
Enhancing RAG Efficiency with Adaptive Context Compression
Computation and Language
Makes AI answer questions faster and smarter.
Efficient Dynamic Clustering-Based Document Compression for Retrieval-Augmented-Generation
Computation and Language
Makes AI answers more accurate by cleaning up information.
CORE-RAG: Lossless Compression for Retrieval-Augmented LLMs via Reinforcement Learning
Computation and Language
Makes AI answers smarter by shrinking information.