Skip to main content
QUICK REVIEW

[论文解读] Language Models that Seek for Knowledge: Modular Search & Generation for Dialogue and Prompt Completion

Kurt Shuster, Mojtaba Komeili|arXiv (Cornell University)|Mar 24, 2022
Topic ModelingComputer Science被引用 20
一句话总结

本论文提出 SeeKeR,是一个模块化语言模型,按顺序执行搜索、知识提取和最终回答生成,以生成最新、事实性对话和提示完成,在知识驱动任务中优于先前模型。

ABSTRACT

Language models (LMs) have recently been shown to generate more factual responses by employing modularity (Zhou et al., 2021) in combination with retrieval (Adolphs et al., 2021). We extend the recent approach of Adolphs et al. (2021) to include internet search as a module. Our SeeKeR (Search engine->Knowledge->Response) method thus applies a single LM to three modular tasks in succession: search, generating knowledge, and generating a final response. We show that, when using SeeKeR as a dialogue model, it outperforms the state-of-the-art model BlenderBot 2 (Chen et al., 2021) on open-domain knowledge-grounded conversations for the same number of parameters, in terms of consistency, knowledge and per-turn engagingness. SeeKeR applied to topical prompt completions as a standard language model outperforms GPT2 (Radford et al., 2019) and GPT3 (Brown et al., 2020) in terms of factuality and topicality, despite GPT3 being a vastly larger model. Our code and models are made publicly available.

研究动机与目标

  • 推动需要最新且在事实方面可靠的对话和提示完成系统。
  • 提出一种将搜索、知识提取和响应生成分离的模块化体系结构。
  • 证明单个语言模型能够按序执行这三个模块以提高事实性和参与度。
  • 在开放领域对话和主题性提示完成任务中,与最先进基线进行 SeeKeR 的评估。

提出的方法

  • 介绍一个单一的 Transformer 架构,迭代地作为三个模块使用:Search、Knowledge 和 Response。
  • 将原始上下文和模块输出编码为下一个模块的输入(SeeKeR 流水线)。
  • 使用源自 Wizard of Internet、Wizard of Wikipedia、SQuAD、TriviaQA、Natural Questions、MS MARCO 和对话数据集的监督任务来训练这些模块。
  • 在语言建模和对话数据(R2C2)上进行预训练,并对对话和语言建模任务进行微调。
  • 对于对话,将 SeeKeR 与 BlenderBot 2 及基线在一致性、知识、正确性和参与度等方面的人工评估进行比较。

实验结果

研究问题

  • RQ1单个 LM 是否能够有效地执行三步模块化流水线(搜索、知识提取、最终生成)以获得对话中的最新信息?
  • RQ2与先前的开放领域对话系统相比,SeeKeR 是否在事实性、知识支撑和每轮对话的参与度方面有所提升?
  • RQ3在使用互联网搜索时,SeeKeR 是否可以扩展到主题性提示完成并在事实性和主题性方面优于大型 GPT 系列模型?
  • RQ4在将网络搜索整合到模块化生成框架中时,存在哪些权衡和失败模式?

主要发现

  • 在人工评估中,SeeKeR 在一致性、知识整合和每轮参与度方面超越最先进的开放领域对话模型(如 BlenderBot 2)。
  • 使用黄金文档或黄金知识可以提高 SeeKeR 在各项指标上的表现,带有搜索功能的变体提供强有力的事实基础。
  • 在主题性提示完成中,SeeKeR 结合互联网搜索在人工评估中比 GPT-2 与 GPT-3 更真实、主题性更强且更少幻觉,尽管规模要小得多。
  • 一个能够同时处理对话和语言建模的多任务 SeeKeR 在主题性提示和开放领域对话评估中取得强劲表现,在某些设置下幻觉率低于 GPT-3。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。