REVIEW 4 cited by
Accelerating Inference of Retrieval-Augmented Generation via Sparse Context Selection
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
read the original abstract
Large language models (LLMs) augmented with retrieval exhibit robust performance and extensive versatility by incorporating external contexts. However, the input length grows linearly in the number of retrieved documents, causing a dramatic increase in latency. In this paper, we propose a novel paradigm named Sparse RAG, which seeks to cut computation costs through sparsity. Specifically, Sparse RAG encodes retrieved documents in parallel, which eliminates latency introduced by long-range attention of retrieved documents. Then, LLMs selectively decode the output by only attending to highly relevant caches auto-regressively, which are chosen via prompting LLMs with special control tokens. It is notable that Sparse RAG combines the assessment of each individual document and the generation of the response into a single process. The designed sparse mechanism in a RAG system can facilitate the reduction of the number of documents loaded during decoding for accelerating the inference of the RAG system. Additionally, filtering out undesirable contexts enhances the model's focus on relevant context, inherently improving its generation quality. Evaluation results of two datasets show that Sparse RAG can strike an optimal balance between generation quality and computational efficiency, demonstrating its generalizability across both short- and long-form generation tasks.
Forward citations
Cited by 4 Pith papers
-
MINTQA: A Multi-Hop Question Answering Benchmark for Evaluating LLMs on New and Tail Knowledge
MINTQA provides 28,366 multi-hop QA pairs across popular/unpopular and old/new knowledge, with sub-questions, and shows that even the best LLMs achieve only about 62% accuracy even with retrieval.
-
Provence: efficient and robust context pruning for retrieval-augmented generation
Provence prunes and reranks retrieved contexts in one pass, compressing 50-80% of the context while keeping question-answering accuracy close to the full-context baseline.
-
Accelerating Retrieval-Augmented Generation
Exact nearest neighbor search, accelerated by a near-memory CXL device called IKS, can make retrieval-augmented generation faster and more accurate end-to-end than approximate search.
-
Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inference
Retrieval-augmented generation adds significant latency, with retrieval making up roughly one-third of time-to-first-token, and the retrieval database's memory and throughput scale poorly to production sizes.
Discussion (0). Continue with ORCID to comment.