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

基于上下文学习的可控对话模拟

Controllable Dialogue Simulation with In-Context Learning

University of California, Santa Barbara(加州大学圣巴巴拉分校);University of Waterloo(滑铁卢大学);Vector Institute(向量研究所)

Zekun Li, Wenhu Chen, Shiyang Li, Hong Wang, Jing Qian, Xifeng Yan

AI总结:

本文提出基于大语言模型上下文学习的 Dialogic,可自动选择示例并提示 GPT-3 可控生成带标注对话,在低资源 MultiWOZ 设置中以 85 个种子对话取得优于等量人工数据的训练效果。

摘要:

构建对话系统需要大量带标注的对话语料。这类数据集通常通过众包创建,成本高昂且耗时。本文提出 Dialogic,这是一种基于大语言模型上下文学习的新型对话模拟方法,用于自动化数据集创建。仅需少量带标注对话作为种子,Dialogic 会自动选择上下文示例作为演示,并提示 GPT-3 以可控方式生成新对话及标注。我们的方法能够以最少甚至零人工参与和零参数更新,快速扩展小规模对话数据,因此相比众包更具成本效益且更节省时间。在 MultiWOZ 数据集上的实验结果表明,在具有挑战性的低资源场景下,仅用 85 个对话作为种子时,使用模拟对话训练模型所获得的性能甚至优于使用相同数量的人工生成对话。当有足够数据可用时,我们的方法仍可作为一种有效的数据增强方法。人工评估结果还表明,我们模拟的对话在流畅度和标注准确性方面接近人类水平。代码和数据可在 https://github.com/Leezekun/dialogic 获取。

英文摘要:

Building dialogue systems requires a large corpus of annotated dialogues. Such datasets are usually created via crowdsourcing, which is expensive and time-consuming. In this paper, we propose \textsc{Dialogic}, a novel dialogue simulation method based on large language model in-context learning to automate dataset creation. Seeded with a few annotated dialogues, \textsc{Dialogic} automatically selects in-context examples for demonstration and prompts GPT-3 to generate new dialogues and annotations in a controllable way. Our method can rapidly expand a small set of dialogue data with minimum or zero \textit{human involvement} and \textit{parameter update} and is thus much more cost-efficient and time-saving than crowdsourcing. Experimental results on the MultiWOZ dataset demonstrate that training a model on the simulated dialogues leads to even better performance than using the same amount of human-generated dialogues under the challenging low-resource settings, with as few as 85 dialogues as a seed. When enough data is available, our method can still serve as an effective data augmentation method. Human evaluation results also show that our simulated dialogues have near-human fluency and annotation accuracy. The code and data are available at \textbf{\url{https://github.com/Leezekun/dialogic}}.

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

↑