arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.14318cs.CL
收藏

q2d:将问题转化为对话以教会模型如何搜索

q2d: Turning Questions into Dialogs to Teach Models How to Search

The Hebrew University of Jerusalem(耶路撒冷希伯来大学);Google Research(谷歌研究院)

Yonatan Bitton, Shlomi Cohen-Ganor, Ido Hakimi, Yoad Lewenberg, Roee Aharoni, Enav Weinreb

AI总结:

提出q2d自动数据生成流水线,利用PaLM将问答数据集转化为信息寻求对话,训练查询生成模型,在QReCC上达到人工数据90%-97%性能,并能生成新领域数据。

摘要:

近期语言模型在对话方面的一个令人兴奋的能力是,它们能够独立搜索相关信息来为给定的对话响应提供依据。然而,获取训练数据以教会模型如何发出搜索查询是耗时且耗费资源的。在这项工作中,我们提出了q2d:一种从问题自动生成信息寻求型对话的数据生成流水线。我们提示一个大型语言模型(PaLM)来创建问答数据集的对话版本,并使用它来改进与外部搜索API通信的查询生成模型,从而为对话响应提供依据。与以往依赖人工编写的带有搜索查询的对话的方法不同,我们的方法允许自动生成基于查询的有依据的对话,具有更好的控制性和规模性。我们的实验表明:(1)在QReCC数据集上的查询生成任务中,使用我们合成生成的数据训练的模型达到了使用人工生成数据训练的模型性能的90%至97%;(2)我们能够成功地为新领域生成训练对话模型的数据,而无需任何现有的对话数据,这已在多跳MuSiQue和Bamboogle问答数据集上得到验证;(3)我们对生成的对话进行了彻底分析,表明人类认为它们质量很高,并且难以将其与人工编写的对话区分开来。

英文摘要:

One of the exciting capabilities of recent language models for dialog is their ability to independently search for relevant information to ground a given dialog response. However, obtaining training data to teach models how to issue search queries is time and resource consuming. In this work, we propose q2d: an automatic data generation pipeline that generates information-seeking dialogs from questions. We prompt a large language model (PaLM) to create conversational versions of question answering datasets, and use it to improve query generation models that communicate with external search APIs to ground dialog responses. Unlike previous approaches which relied on human written dialogs with search queries, our method allows to automatically generate query-based grounded dialogs with better control and scale. Our experiments demonstrate that: (1) For query generation on the QReCC dataset, models trained on our synthetically-generated data achieve 90%--97% of the performance of models trained on the human-generated data; (2) We can successfully generate data for training dialog models in new domains without any existing dialog data as demonstrated on the multi-hop MuSiQue and Bamboogle QA datasets. (3) We perform a thorough analysis of the generated dialogs showing that humans find them of high quality and struggle to distinguish them from human-written dialogs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑