Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey

Sourav Verma
9/20/2024
cs.CLcs.IR

No official code found. Best implementation: SrGrace/Contextual-Compression (19 stars, Apache-2.0, last commit 2024-08-21).

Abstract

Large Language Models (LLMs) showcase remarkable abilities, yet they struggle with limitations such as hallucinations, outdated knowledge, opacity, and inexplicable reasoning. To address these challenges, Retrieval-Augmented Generation (RAG) has proven to be a viable solution, leveraging external databases to improve the consistency and coherence of generated content, especially valuable for complex, knowledge-rich tasks, and facilitates continuous improvement by leveraging domain-specific insights. By combining the intrinsic knowledge of LLMs with the vast, dynamic repositories of external databases, RAG achieves a synergistic effect. However, RAG is not without its limitations, including a limited context window, irrelevant information, and the high processing overhead for extensive contextual data. In this comprehensive work, we explore the evolution of Contextual Compression paradigms, providing an in-depth examination of the field. Finally, we outline the current challenges and suggest potential research and development directions, paving the way for future advancements in this area.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Contextual compression for RAG based applications.

191Python, Jupyter NotebookMay 31, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{verma2024contextual,
  title  = {Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey},
  author = {Sourav Verma},
  year   = {2024},
  eprint = {2409.13385},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.13385v2}
}

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/2409.13385.svg)](https://codeofpaper.com/paper/2409.13385)

Discussion