paper-with-me

홈 › Papers

Active Retrieval Augmented Generation

2023-05-11 · Zhengbao Jiang, Frank F. Xu, Luyu Gao, Zhiqing Sun, Qian Liu, Jane Dwivedi-Yu, Yiming Yang, Jamie Callan, Graham Neubig

Despite the remarkable ability of large language models (LMs) to comprehend and generate language, they have a tendency to hallucinate and create factually inaccurate output. Augmenting LMs by retrieving information from external knowledge resources is one promising solution. Most existing retrieval augmented LMs employ a retrieve-and-generate setup that only retrieves information once based on the input. This is limiting, however, in more general scenarios involving generation of long texts, where continually gathering information throughout generation is essential. In this work, we provide a generalized view of active retrieval augmented generation, methods that actively decide when and what to retrieve across the course of the generation. We propose Forward-Looking Active REtrieval augmented generation (FLARE), a generic method which iteratively uses a prediction of the upcoming sentence to anticipate future content, which is then utilized as a query to retrieve relevant documents to regenerate the sentence if it contains low-confidence tokens. We test FLARE along with baselines comprehensively over 4 long-form knowledge-intensive generation tasks/datasets. FLARE achieves superior or competitive performance on all tasks, demonstrating the effectiveness of our method. Code and datasets are available at https://github.com/jzbjyb/FLARE.

📄 PDF Abstract BibTeX arXiv:2305.06983

Code (2)

jzbjyb/flare 공식 구현
ruc-nlpir/flashrag pytorch

Tasks

RetrievalRetrieval-augmented GenerationSentence

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

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

Generation-Augmented Retrieval for Open-domain Question Answering

2020-09-17 · ACL 2021 5 · Yuning Mao, Pengcheng He, Xiaodong Liu, Yelong Shen 외

We propose Generation-Augmented Retrieval (GAR) for answering open-domain questions, which augments a query through text generation of heuristically discovered relevant contexts without external resources as supervision.…

Natural QuestionsOpen-Domain Question AnsweringPassage RetrievalQuestion Answering+3

Retrieval Augmented Generation and Representative Vector Summarization for large unstructured textual data in Medical Education

2023-08-01 · S. S. Manathunga, Y. A. Illangasekara

Large Language Models are increasingly being used for various tasks including content generation and as chatbots. Despite their impressive performances in general tasks, LLMs need to be aligned when applying for domain s…

Abstractive Text SummarizationHallucinationRAGRetrieval+1

RAG Without the Lag: Interactive Debugging for Retrieval-Augmented Generation Pipelines

2025-04-18 · Quentin Romero Lauro, Shreya Shankar, Sepanta Zeighami, Aditya Parameswaran

Retrieval-augmented generation (RAG) pipelines have become the de-facto approach for building AI assistants with access to external, domain-specific knowledge. Given a user query, RAG pipelines typically first retrieve (…

Language ModelingLanguage ModellingLarge Language ModelRAG+2

Enhancing Retrieval-Augmented Large Language Models with Iterative Retrieval-Generation Synergy

2023-05-24 · Zhihong Shao, Yeyun Gong, Yelong Shen, Minlie Huang 외

Large language models are powerful text processors and reasoners, but are still subject to limitations including outdated knowledge and hallucinations, which necessitates connecting them to the world. Retrieval-augmented…

Fact VerificationMulti-hop Question AnsweringQuestion AnsweringRetrieval