Lift Yourself Up: Retrieval-augmented Text Generation with Self Memory
Authors:
Preprint
Abstract
With direct access to human-written reference as memory, retrieval-augmented generation has achieved much progress in a wide range of text generation tasks. Since better memory would typically prompt better generation~(we define this as primal problem). The traditional approach for memory retrieval involves selecting memory that exhibits the highest similarity to the input. However, this method is constrained by the quality of the fixed corpus from which memory is retrieved. In this paper, by exploring the duality of the primal problem: better generation also prompts better memory, we propose a novel framework, selfmem, which addresses this limitation by iteratively employing a retrieval-augmented generator to create an unbounded memory pool and using a memory selector to choose one output as memory for the subsequent generation round. This enables the model to leverage its own output, referred to as self-memory, for improved generation. We evaluate the effectiveness of selfmem on three distinct text generation tasks: neural machine translation, abstractive text summarization, and dialogue generation, under two generation paradigms: fine-tuned small model and few-shot LLM. Our approach achieves state-of-the-art results in four directions in JRC-Acquis, XSum (50.3 ROUGE-1), and BigPatent (62.9 ROUGE-1), demonstrating the potential of self-memory in enhancing retrieval-augmented generation models. Furthermore, we conduct thorough analyses of each component in the selfmem framework to identify bottlenecks and provide insights for future research.Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- Prompting PaLM for Translation: Assessing Strategies and Performance2023
- Training Language Models with Memory Augmentation2022
- Towards Efficient Dialogue Pre-training with Transferable and Interpretable Latent Structure2022
- There Are a Thousand Hamlets in a Thousand People’s Eyes: Enhancing Knowledge-grounded Dialogue with Personal Memory2022
- DialogVED: A Pre-trained Latent Variable Encoder-Decoder Model for Dialog Response Generation2022
- Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training Data2022
- Conversations Are Not Flat: Modeling the Dynamic Information Flow across Dialogue Utterances2021
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension2020
- The Probabilistic Relevance Framework: BM25 and BeyondFoundations and Trends® in Information Retrieval, 2009
- Discriminative Reranking for Natural Language ParsingComputational Linguistics, 2005