Active Retrieval Augmented Generation
Jiang, Zhengbao, Xu, Frank F., Gao, Luyu, Sun, Zhiqing, Liu, Qian, Dwivedi-Yu, Jane, Yang, Yiming, Callan, Jamie, Neubig, Graham
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Oct-21-2023
- Country:
- Oceania > Australia (0.05)
- South America > Chile
- North America
- Cuba (0.04)
- United States
- Alabama (0.04)
- Virginia (0.04)
- Oregon (0.04)
- Maryland (0.04)
- North Carolina (0.04)
- Alaska > Juneau City and Borough
- Juneau (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- California > Los Angeles County
- Los Angeles (0.14)
- Pennsylvania > Allegheny County
- Pittsburgh (0.04)
- Dominican Republic > Distrito Nacional
- Santo Domingo (0.04)
- Canada > British Columbia
- Europe
- Ireland (0.04)
- North Macedonia (0.04)
- Germany (0.04)
- United Kingdom > England
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Italy > Tuscany
- Florence (0.04)
- Asia
- Vietnam (0.04)
- Pakistan (0.04)
- India (0.04)
- Singapore (0.04)
- China > Hong Kong (0.04)
- Middle East
- Jordan (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Republic of Türkiye > Ankara Province
- Ankara (0.04)
- Africa
- Ghana (0.04)
- Ethiopia > Addis Ababa
- Addis Ababa (0.04)
- Genre:
- Research Report (0.70)
- Industry:
- Government (1.00)
- Media > Film (0.96)
- Education (0.67)
- Leisure & Entertainment > Games
- Computer Games (0.70)
- Technology: