arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.13594cs.CLcs.AI
收藏

用于程序性问答的图引导问答生成

Graph Guided Question Answer Generation for Procedural Question-Answering

Samsung AI Center, Cambridge(三星AI中心剑桥分部);Samsung AI Center, Toronto(三星AI中心多伦多分部)

Hai X. Pham, Isma Hadji, Xinnuo Xu, Ziedune Degutyte, Jay Rainey, Evangelos Kazakos, Afsaneh Fazly, Georgios Tzimiropoulos, Brais Martinez

AI总结:

本文提出一种图引导的程序性文本问答自动生成方法,将流程步骤与整体流程表示为图并以节点为条件生成可控、高语义覆盖的训练数据,从而训练出可在移动设备运行且性能超过GPT3和ChatGPT的小型任务特定QA模型。

摘要:

在本文中,我们聚焦于任务特定的问答(QA)。为此,我们提出了一种生成详尽且高质量训练数据的方法,使我们能够训练紧凑的(例如可在移动设备上运行)、任务特定的QA模型,并使其具备与GPT变体相竞争的能力。关键的技术推动因素是一种新颖的从程序性文本中自动生成问答的机制,该机制能够摄取大量文本指令,并生成详尽的领域内QA训练数据。尽管当前的QA数据生成方法能够产生格式良好且多样化的数据,但其非穷尽的特性对于训练QA模型而言并非最优。相比之下,我们利用程序性文本高度结构化的特点,将流程中的每个步骤以及整体流程表示为图。随后,我们以图节点为条件,以穷尽且可控的方式自动生成问答对。对我们方法的综合评估表明:1)使用我们数据训练的小型模型在目标QA任务上取得了优异性能,尽管其规模小了几个数量级,却甚至超过了GPT3和ChatGPT。2)语义覆盖度是下游QA性能的关键指标。至关重要的是,虽然大型语言模型擅长句法多样性,但这并不必然带来最终QA模型性能的提升。相比之下,我们方法所提供的更高语义覆盖度对QA性能至关重要。

英文摘要:

In this paper, we focus on task-specific question answering (QA). To this end, we introduce a method for generating exhaustive and high-quality training data, which allows us to train compact (e.g., run on a mobile device), task-specific QA models that are competitive against GPT variants. The key technological enabler is a novel mechanism for automatic question-answer generation from procedural text which can ingest large amounts of textual instructions and produce exhaustive in-domain QA training data. While current QA data generation methods can produce well-formed and varied data, their non-exhaustive nature is sub-optimal for training a QA model. In contrast, we leverage the highly structured aspect of procedural text and represent each step and the overall flow of the procedure as graphs. We then condition on graph nodes to automatically generate QA pairs in an exhaustive and controllable manner. Comprehensive evaluations of our method show that: 1) small models trained with our data achieve excellent performance on the target QA task, even exceeding that of GPT3 and ChatGPT despite being several orders of magnitude smaller. 2) semantic coverage is the key indicator for downstream QA performance. Crucially, while large language models excel at syntactic diversity, this does not necessarily result in improvements on the end QA model. In contrast, the higher semantic coverage provided by our method is critical for QA performance.

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

↑