[论文解读] Hindsight: Posterior-guided training of retrievers for improved open-ended generation
本文提出 Hindsight,一种用于检索增强生成模型的后验引导训练方法,通过使用引导检索器在训练期间模拟‘事后回溯’式访问目标输出,从而提升开放域文本生成性能。通过在证据下界(ELBo)框架下联合优化检索器、生成器和引导检索器,该方法在 Wizard of Wikipedia 数据集上实现了检索召回率 23% 的相对提升、指代一致性 19% 的提升以及端到端响应质量 6.4% 的提升。
Many text generation systems benefit from using a retriever to retrieve passages from a textual knowledge corpus (e.g., Wikipedia) which are then provided as additional context to the generator. For open-ended generation tasks (like generating informative utterances in conversations) many varied passages may be equally relevant and we find that existing methods that jointly train the retriever and generator underperform: the retriever may not find relevant passages even amongst the top-10 and hence the generator may not learn a preference to ground its generated output in them. We propose using an additional guide retriever that is allowed to use the target output and "in hindsight" retrieve relevant passages during training. We model the guide retriever after the posterior distribution Q of passages given the input and the target output and train it jointly with the standard retriever and the generator by maximizing the evidence lower bound (ELBo) in expectation over Q. For informative conversations from the Wizard of Wikipedia dataset, with posterior-guided training, the retriever finds passages with higher relevance in the top-10 (23% relative improvement), the generator's responses are more grounded in the retrieved passage (19% relative improvement) and the end-to-end system produces better overall output (6.4% relative improvement).
研究动机与目标
- 为解决检索增强型开放域生成中弱监督的问题,即存在多个相关段落但训练数据中仅观察到其中之一。
- 通过优化联合训练检索器与生成器时使用的相关性信号,提升生成响应在检索段落中的指代一致性。
- 克服基于边缘化训练的局限性,后者未能充分利用与标签相关的段落,导致检索器召回率低且生成器指代一致性差。
- 通过建模给定输入和目标输出的段落后验分布,实现训练期间对相关段落更全面的覆盖。
- 提供一种可扩展的迭代训练框架,兼容索引更新与封闭集微调。
提出的方法
- 引入一个引导检索器,用于建模给定输入 x 和目标输出 y 的段落后验分布 Q(z|x,y),从而在训练期间实现‘事后回溯’式访问目标。
- 通过在 Q 的期望下最大化证据下界(ELBo),联合训练标准检索器 Pη(z|x)、生成器 Pθ(y|x,z) 和引导检索器 Q(z|x,y)。
- 使用 ELBo 目标:E_{z~Q} [log Pθ(y|x,z)] - D_KL(Q || Pη),该目标促使检索器匹配引导检索器的模式。
- 使用完整的检索器架构训练引导检索器,从整个语料库中检索与标签相关的段落,而不仅限于主检索器的 top-k 结果。
- 通过在更新后的检索结果上重新训练引导检索器,实现支持索引更新的迭代式封闭集训练。
- 利用引导检索器的输出提供更强的监督信号,从而同时提升检索器召回率与生成器指代一致性。
实验结果
研究问题
- RQ1后验引导训练方法是否能改善在存在多个相关段落但仅一个在训练中被观察到的一对多开放域生成任务中的检索质量?
- RQ2在训练期间使用可访问目标输出的引导检索器,是否能相比基于边缘化的训练方法,使生成响应在检索段落中具有更好的指代一致性?
- RQ3后验引导训练在多大程度上提升了端到端生成质量,特别是在事实一致性和相关性方面?
- RQ4所提出方法是否在性能上优于现有检索增强生成框架(如融合解码器或边缘化损失方法)?
- RQ5该方法在真实检索系统中,面对迭代微调与索引更新时,其可扩展性如何?
主要发现
- 与基于边缘化的训练相比,Hindsight 方法在 Wizard of Wikipedia 数据集上的检索召回率@10 实现了 23% 的相对提升。
- 生成器的响应在检索段落中的指代一致性提升了 19%,表明其与检索内容的对齐性更强。
- 端到端系统在整体响应质量上实现了 6.4% 的相对提升,该指标基于标准生成评估指标。
- 在 KILT Leaderboard 上,ELBoLoss 方法在所有指标上均优于 MarginalizedLoss,包括 F1(+1.61)、ROUGE-L(+0.85)、KILT-F1(+1.61)和 KILT-ROUGE-L(+1.45)。
- 该方法在 Wizard of Wikipedia 和 MS Marco NLGen 数据集上均提升了 top-1 和 top-5 响应质量,其中 top-5 生成的 F1 提升 0.87,Novel-F1 提升 2.25。
- 引导检索器在训练期间实现了对与标签相关段落更全面的覆盖,降低了主检索器未能检索到相关内容的失败率。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。