paper-with-me

Papers

DRAGIN: Dynamic Retrieval Augmented Generation based on the Information Needs of Large Language Models

2024-03-15 · Weihang Su, Yichen Tang, Qingyao Ai, Zhijing Wu, Yiqun Liu

Dynamic retrieval augmented generation (RAG) paradigm actively decides when and what to retrieve during the text generation process of Large Language Models (LLMs). There are two key elements of this paradigm: identifying the optimal moment to activate the retrieval module (deciding when to retrieve) and crafting the appropriate query once retrieval is triggered (determining what to retrieve). However, current dynamic RAG methods fall short in both aspects. Firstly, the strategies for deciding when to retrieve often rely on static rules. Moreover, the strategies for deciding what to retrieve typically limit themselves to the LLM's most recent sentence or the last few tokens, while the LLM's real-time information needs may span across the entire context. To overcome these limitations, we introduce a new framework, DRAGIN, i.e., Dynamic Retrieval Augmented Generation based on the real-time Information Needs of LLMs. Our framework is specifically designed to make decisions on when and what to retrieve based on the LLM's real-time information needs during the text generation process. We evaluate DRAGIN along with existing methods comprehensively over 4 knowledge-intensive generation datasets. Experimental results show that DRAGIN achieves superior performance on all tasks, demonstrating the effectiveness of our method. We have open-sourced all the code, data, and models in GitHub: https://github.com/oneal2000/DRAGIN/tree/main

📄 PDF Abstract BibTeX arXiv:2403.10081

Code (1)

oneal2000/dragin 공식 구현 pytorch

Tasks

RAGRetrievalRetrieval-augmented GenerationSentenceText 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 Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head 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.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

DH-RAG: A Dynamic Historical Context-Powered Retrieval-Augmented Generation Method for Multi-Turn Dialogue

2025-02-19 · Feiyuan Zhang, Dezhi Zhu, James Ming, Yilun Jin 외

Retrieval-Augmented Generation (RAG) systems have shown substantial benefits in applications such as question answering and multi-turn dialogue \citep{lewis2020retrieval}. However, traditional RAG methods, while leveragi…

Question AnsweringRAGRetrievalRetrieval-augmented Generation

Predictive Prefetching for Retrieval-Augmented Generation

2026-05-18 · Wuyang Zhang, Shichao Pei arxiv

Retrieval-Augmented Generation (RAG) improves factual grounding in large language models but suffers from substantial latency due to synchronous retrieval. While recent work explores asynchronous retrieval, existing appr…

DAT: Dynamic Alpha Tuning for Hybrid Retrieval in Retrieval-Augmented Generation

2025-03-29 · Hsin-Ling Hsu, Jengnan Tzeng

Hybrid retrieval techniques in Retrieval-Augmented Generation (RAG) systems enhance information retrieval by combining dense and sparse (e.g., BM25-based) retrieval methods. However, existing approaches struggle with ada…

Information RetrievalLanguage ModelingLanguage ModellingLarge Language Model+3

KiRAG: Knowledge-Driven Iterative Retriever for Enhancing Retrieval-Augmented Generation

2025-02-25 · Jinyuan Fang, Zaiqiao Meng, Craig Macdonald

Iterative retrieval-augmented generation (iRAG) models offer an effective approach for multi-hop question answering (QA). However, their retrieval process faces two key challenges: (1) it can be disrupted by irrelevant d…

Multi-hop Question AnsweringQuestion AnsweringRetrievalRetrieval-augmented Generation

Dynamic Retrieval-Augmented Generation

2023-12-14 · Anton Shapkin, Denis Litvinov, Yaroslav Zharov, Egor Bogomolov 외

Current state-of-the-art large language models are effective in generating high-quality text and encapsulating a broad spectrum of world knowledge. These models, however, often hallucinate and lack locally relevant factu…

abstractive question answeringCode GenerationOpen-Domain Question AnsweringQuestion Answering+3