[论文解读] Lift Yourself Up: Retrieval-augmented Text Generation with Self Memory
Selfmem 引入一个检索增强生成器,它通过迭代地从自身输出创建一个无界的记忆池,并使用记忆选择器为下一轮生成挑选记忆,在翻译、摘要和对话任务上取得了最先进的结果。
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.
研究动机与目标
- 通过解决固定语料库中的记忆有界性来推动检索增强生成。
- 提出 Selfmem 以生成无限的自我记忆,并使用记忆选择器为后续轮次选择最佳记忆。
- 在小模型微调和少样本大语言模型设置下,对 Selfmem 在神经机器翻译、抽象摘要和对话生成中的表现进行评估。
- 分析组件瓶颈并为未来的检索增强生成研究提供见解。
提出的方法
- 引入原-对偶视角:更好的记忆提升生成,且更好的生成可以产生更好的记忆(自我记忆)。
- 提出包含两个组件的 Selfmem:一个检索增强的生成器和一个记忆选择器。
- 使用用检索到的记忆训练的固定生成器或一个上下文学习的 LLM,并生成一个候选池,记忆选择器对其进行评分。
- 训练记忆选择器 S_theta,使候选分数与一个无模型度量 Delta 对齐(如机器翻译的 BLEU,摘要的 ROUGE)。
- 通过从生成的候选中选择来形成下一轮生成的记忆,迭代更新记忆,开启无界记忆循环。

实验结果
研究问题
- RQ1开启自我生成记忆(自我记忆)是否能提升相较于固定语料记忆的检索增强生成?
- RQ2能否用无模型 Delta 训练的记忆选择器有效地选择记忆以最大化下游生成质量?
- RQ3在小型微调模型和少样本 LLM 设置下,Selfmem 在翻译、摘要和对话任务中的表现如何?
主要发现
- Selfmem 在 JRC-Acquis 翻译数据集的四个方向上取得了最先进的结果。
- Selfmem 在 XSum 上获得 50.3 ROUGE-1,在 BigPatent 上获得 62.9 ROUGE-1,用于 abstractive summarization。
- 自我记忆在多条数据集方向上均提升了翻译质量,超越仅检索记忆的效果。
- 在少样本上下文学习中,配备自我记忆的更大规模 LLM 相比随机或 kNN 演示显示出改进的性能,尽管仍略逊于有监督基线。
- 分析确定了自我记忆的瓶颈与有利条件,以指导未来的工作。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。