EdgeChains icon indicating copy to clipboard operation
EdgeChains copied to clipboard

FLARE - Active Retrieval Augmented Generation

Open sandys opened this issue 2 years ago • 2 comments

When deciding what to retrieve, we argue that it is important to consider what LMs intend to generate in the future, as the goal of active retrieval is to benefit future generations. Therefore, we propose anticipating the future by generating a temporary next sentence, using it as a query to retrieve relevant documents, and then regenerating the next sentence conditioning on the retrieved documents. Combining the two aspects, we propose ForwardLooking Active REtrieval augmented generation (FLARE), as illustrated in Figure 1. FLARE iteratively generates a temporary next sentence, use it as the query to retrieve relevant documents if it contains low-probability tokens and regenerate the next sentence until reaches the end

https://arxiv.org/pdf/2305.06983.pdf

sandys avatar May 20 '23 12:05 sandys

Hey, I am GSSOC'23 Contributor, I want to try to implement this. Would you please assign it to me?

hkcs1206 avatar May 21 '23 21:05 hkcs1206

https://amatriain.net/blog/prompt201#flare

sandys avatar Aug 07 '23 11:08 sandys