arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.08362cs.CL
收藏

基于少样本学习的对话风格迁移

Conversation Style Transfer using Few-Shot Learning

AWS AI Labs(亚马逊云科技人工智能实验室)

Shamik Roy, Raphael Shu, Nikolaos Pappas, Elman Mansimov, Yi Zhang, Saab Mansour, Dan Roth

AI总结:

本文将对话风格迁移建模为少样本学习问题,提出以无风格对话为枢轴的上下文学习方法,利用多轮上下文提升风格匹配、适当性和语义正确性,并证明其能提升下游意图分类任务的F1分数。

摘要:

传统的文本风格迁移方法侧重于句子级风格迁移,未考虑上下文信息,且风格通常用属性(如正式程度)来描述。在任务型对话等对话场景中应用风格迁移时,现有方法因上下文可能发挥重要作用且对话中的风格属性往往难以定义而受到这些局限。本文中,我们将对话风格迁移定义为一个少样本学习问题,即模型仅通过观察目标风格的少量示例对话来学习执行风格迁移。我们提出了一种新颖的上下文学习方法,以无风格对话为枢轴来解决该任务。人工评估表明,通过融入多轮上下文,与话语/句子级风格迁移相比,模型能够在匹配目标风格的同时具有更好的适当性和语义正确性。此外,我们还表明对话风格迁移也能使下游任务受益。例如,在多领域意图分类任务中,将训练数据的风格迁移以匹配测试数据的风格后,F1分数得到提升。

英文摘要:

Conventional text style transfer approaches focus on sentence-level style transfer without considering contextual information, and the style is described with attributes (e.g., formality). When applying style transfer in conversations such as task-oriented dialogues, existing approaches suffer from these limitations as context can play an important role and the style attributes are often difficult to define in conversations. In this paper, we introduce conversation style transfer as a few-shot learning problem, where the model learns to perform style transfer by observing only a few example dialogues in the target style. We propose a novel in-context learning approach to solve the task with style-free dialogues as a pivot. Human evaluation shows that by incorporating multi-turn context, the model is able to match the target style while having better appropriateness and semantic correctness compared to utterance/sentence-level style transfer. Additionally, we show that conversation style transfer can also benefit downstream tasks. For example, in multi-domain intent classification tasks, the F1 scores improve after transferring the style of training data to match the style of the test data.

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

↑