paper-with-me

Papers

Accelerating Adaptive Retrieval Augmented Generation via Instruction-Driven Representation Reduction of Retrieval Overlaps

2025-05-19 · Jie Ou, Jinyu Guo, Shuaihong Jiang, Zhaokun Wang, Libo Qin, Shunyu Yao, Wenhong Tian

Retrieval-augmented generation (RAG) has emerged as a pivotal method for expanding the knowledge of large language models. To handle complex queries more effectively, researchers developed Adaptive-RAG (A-RAG) to enhance the generated quality through multiple interactions with external knowledge bases. Despite its effectiveness, A-RAG exacerbates the pre-existing efficiency challenges inherent in RAG, which are attributable to its reliance on multiple iterations of generation. Existing A-RAG approaches process all retrieved contents from scratch. However, they ignore the situation where there is a significant overlap in the content of the retrieval results across rounds. The overlapping content is redundantly represented, which leads to a large proportion of repeated computations, thus affecting the overall efficiency. To address this issue, this paper introduces a model-agnostic approach that can be generally applied to A-RAG methods, which is dedicated to reducing the redundant representation process caused by the overlapping of retrieval results. Specifically, we use cache access and parallel generation to speed up the prefilling and decoding stages respectively. Additionally, we also propose an instruction-driven module to further guide the model to more effectively attend to each part of the content in a more suitable way for LLMs. Experiments show that our approach achieves 2.79 and 2.33 times significant acceleration on average for prefilling and decoding respectively while maintaining equal generation quality.

📄 PDF Abstract BibTeX arXiv:2505.12731

Code (0)

등록된 구현이 없습니다.

Tasks

RAGRetrievalRetrieval-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 &…
Attention 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
WordPiece 설명 없음
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression

2024-08-28 · Haowen Hou, Fei Ma, Binwen Bai, Xinxin Zhu 외

Large Language Models (LLMs) have garnered widespread attention due to their remarkable performance across various tasks. However, to mitigate the issue of hallucinations, LLMs often incorporate retrieval-augmented pipel…

Windsock is Dancing: Adaptive Multimodal Retrieval-Augmented Generation

2025-10-26 · Shu Zhao, Tianyi Shen, Nilesh Ahuja, Omesh Tickoo 외 arxiv

Multimodal Retrieval-Augmented Generation (MRAG) has emerged as a promising method to generate factual and up-to-date responses of Multimodal Large Language Models (MLLMs) by incorporating non-parametric knowledge from e…

Knowledge and Aptitude Augmented Generation: Adaptive Multi-Turn Interaction in LLM Systems

2024-07-15 · n/a 2024 7 · Shauryadeep Chaudhuri

Artificial intelligence (AI) systems have significantly advanced in handling knowledge-intensive tasks. However, a persistent gap remains between AI interactions and human behavior due to the static nature of most AI mod…

RAGRetrievalRetrieval-augmented Generation

Superposition Prompting: Improving and Accelerating Retrieval-Augmented Generation

2024-04-10 · Thomas Merth, Qichen Fu, Mohammad Rastegari, Mahyar Najibi

Despite the successes of large language models (LLMs), they exhibit significant drawbacks, particularly when processing long contexts. Their inference cost scales quadratically with respect to sequence length, making it …

Question AnsweringRAGRetrievalRetrieval-augmented Generation

Unified Active Retrieval for Retrieval Augmented Generation

2024-06-18 · Qinyuan Cheng, Xiaonan Li, ShiMin Li, Qin Zhu 외

In Retrieval-Augmented Generation (RAG), retrieval is not always helpful and applying it to every instruction is sub-optimal. Therefore, determining whether to retrieve is crucial for RAG, which is usually referred to as…

RAGRetrievalRetrieval-augmented Generation