arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.14440cs.CL
收藏

通过少样本响应生成与排序实现对话系统对话行为的可控生成

Controllable Generation of Dialogue Acts for Dialogue Systems via Few-Shot Response Generation and Ranking

University of California Santa Cruz(加州大学圣克鲁兹分校)

Angela Ramirez, Karik Agarwal, Juraj Juraska, Utkarsh Garg, Marilyn A. Walker

AI总结:

本研究提出一种新颖的少样本过生成与排序方法,通过八种提示风格和六种自动排序函数,在四种LLMs和三个领域上实现了对话行为的可控生成,其对话行为准确性与语义准确性优于少样本微调。

摘要:

对话系统需要生成能以高语义保真度实现多种类型对话行为的响应。过去,对话的自然语言生成器(NLGs)是在大型平行语料库上训练的,这些语料库将特定领域的对话行为及其语义属性映射为输出话语。最近的工作表明,预训练语言模型(LLMs)为基于提示的学习的可控NLG提供了新的可能性。在此,我们开发了一种新颖的少样本过生成与排序方法,实现了对话行为的可控生成。我们比较了八种少样本提示风格,其中包括一种使用文本风格迁移方法从文本伪参考生成的新颖方法。我们开发了六种自动排序函数,用于在生成时识别具有正确对话行为和高语义准确性的输出。我们在三个领域和四种LLMs上测试了我们的方法。据我们所知,这是第一项在对话NLG中同时使用对话行为和属性准确性自动对输出进行排序的工作。为了完整性,我们将结果与使用每个对话行为5到100个实例训练的微调少样本模型进行了比较。结果表明,几种提示设置实现了完美的对话行为准确性和近乎完美的语义准确性(99.81%),并且表现优于少样本微调。

英文摘要:

Dialogue systems need to produce responses that realize multiple types of dialogue acts (DAs) with high semantic fidelity. In the past, natural language generators (NLGs) for dialogue were trained on large parallel corpora that map from a domain-specific DA and its semantic attributes to an output utterance. Recent work shows that pretrained language models (LLMs) offer new possibilities for controllable NLG using prompt-based learning. Here we develop a novel few-shot overgenerate-and-rank approach that achieves the controlled generation of DAs. We compare eight few-shot prompt styles that include a novel method of generating from textual pseudo-references using a textual style transfer approach. We develop six automatic ranking functions that identify outputs with both the correct DA and high semantic accuracy at generation time. We test our approach on three domains and four LLMs. To our knowledge, this is the first work on NLG for dialogue that automatically ranks outputs using both DA and attribute accuracy. For completeness, we compare our results to fine-tuned few-shot models trained with 5 to 100 instances per DA. Our results show that several prompt settings achieve perfect DA accuracy, and near perfect semantic accuracy (99.81%) and perform better than few-shot fine-tuning.

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

↑