paper-with-me

Papers

Accelerating Retrieval-Augmented Generation

2024-12-14 · Derrick Quinn, Mohammad Nouri, Neel Patel, John Salihu, Alireza Salemi, Sukhan Lee, Hamed Zamani, Mohammad Alian

An evolving solution to address hallucination and enhance accuracy in large language models (LLMs) is Retrieval-Augmented Generation (RAG), which involves augmenting LLMs with information retrieved from an external knowledge source, such as the web. This paper profiles several RAG execution pipelines and demystifies the complex interplay between their retrieval and generation phases. We demonstrate that while exact retrieval schemes are expensive, they can reduce inference time compared to approximate retrieval variants because an exact retrieval model can send a smaller but more accurate list of documents to the generative model while maintaining the same end-to-end accuracy. This observation motivates the acceleration of the exact nearest neighbor search for RAG. In this work, we design Intelligent Knowledge Store (IKS), a type-2 CXL device that implements a scale-out near-memory acceleration architecture with a novel cache-coherent interface between the host CPU and near-memory accelerators. IKS offers 13.4-27.9x faster exact nearest neighbor search over a 512GB vector database compared with executing the search on Intel Sapphire Rapids CPUs. This higher search performance translates to 1.7-26.3x lower end-to-end inference time for representative RAG applications. IKS is inherently a memory expander; its internal DRAM can be disaggregated and used for other applications running on the server to prevent DRAM, which is the most expensive component in today's servers, from being stranded.

📄 PDF Abstract BibTeX arXiv:2412.15246

Code (0)

등록된 구현이 없습니다.

Tasks

CPUHallucinationRAGRetrievalRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Adam 설명 없음
Weight Decay 설명 없음
Multi-Head Attention 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
WordPiece 설명 없음

Similar Papers 제목 키워드 기반

Unlocking Multi-View Insights in Knowledge-Dense Retrieval-Augmented Generation

2024-04-19 · Guanhua Chen, Wenhan Yu, Lei Sha

While Retrieval-Augmented Generation (RAG) plays a crucial role in the application of Large Language Models (LLMs), existing retrieval methods in knowledge-dense domains like law and medicine still suffer from a lack of …

RAGRetrievalRetrieval-augmented Generation

Accelerating Inference of Retrieval-Augmented Generation via Sparse Context Selection

2024-05-25 · Yun Zhu, Jia-Chen Gu, Caitlin Sikora, Ho Ko 외

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…

Computational EfficiencyRAGRetrievalRetrieval-augmented Generation

Streamlining Industrial Contract Management with Retrieval-Augmented LLMs

2025-11-18 · Kristi Topollai, Tolga Dimlioglu, Anna Choromanska, Simon Odie 외 arxiv

Contract management involves reviewing and negotiating provisions, individual clauses that define rights, obligations, and terms of agreement. During this process, revisions to provisions are proposed and iteratively ref…

Synthetic Data Generation

FastV-RAG: Towards Fast and Fine-Grained Video QA with Retrieval-Augmented Generation

2026-01-04 · Gen Li, Peiyu Liu arxiv

Vision-Language Models (VLMs) excel at visual reasoning but still struggle with integrating external knowledge. Retrieval-Augmented Generation (RAG) is a promising solution, but current methods remain inefficient and oft…

Visual ReasoningEntity Alignment

Long-Context Inference with Retrieval-Augmented Speculative Decoding

2025-02-27 · Guanzheng Chen, Qilong Feng, Jinjie Ni, Xin Li 외

The emergence of long-context large language models (LLMs) offers a promising alternative to traditional retrieval-augmented generation (RAG) for processing extensive documents. However, the computational overhead of lon…

Computational EfficiencyRAGRetrievalRetrieval-augmented Generation+1