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

基于多粒度风格规约和属性一致性奖励的可控对话生成

Controllable Dialogue Generation with Disentangled Multi-grained Style Specification and Attribute Consistency Reward

University of Macau(澳门大学);Baidu Inc(百度公司);Xiamen University(厦门大学)

Zhe Hu, Zhiwei Cao, Hou Pong Chan, Jiachen Liu, Xinyan Xiao, Jinsong Su, Hua Wu

摘要:

可控文本生成是一个吸引人但具有挑战性的任务,它允许用户指定生成的输出的特定属性。在本文中,我们提出了一个可控的对话生成模型,引导响应生成多属性约束下。具体来说,我们定义和分类的常用控制属性为全球和本地的,具有不同的粒度响应生成的影响。然后,我们显着扩展了传统的seq2seq框架,引入了一种新的两阶段解码器,首先使用多粒度的风格规范层施加的风格约束,并确定字级控制状态的响应的基础上的属性,然后采用响应生成层生成最终的响应保持语义相关的上下文和保真度的属性。此外,我们训练我们的模型与属性一致性奖励,以促进响应控制与明确的监督信号。在两个数据集上的大量实验和深入分析表明,我们的模型在响应质量、内容多样性和可控性方面可以显著优于竞争基线。

英文摘要:

Controllable text generation is an appealing but challenging task, which allows users to specify particular attributes of the generated outputs. In this paper, we propose a controllable dialogue generation model to steer response generation under multi-attribute constraints. Specifically, we define and categorize the commonly used control attributes into global and local ones, which possess different granularities of effects on response generation. Then, we significantly extend the conventional seq2seq framework by introducing a novel two-stage decoder, which first uses a multi-grained style specification layer to impose the stylistic constraints and determine word-level control states of responses based on the attributes, and then employs a response generation layer to generate final responses maintaining both semantic relevancy to the contexts and fidelity to the attributes. Furthermore, we train our model with an attribute consistency reward to promote response control with explicit supervision signals. Extensive experiments and in-depth analyses on two datasets indicate that our model can significantly outperform competitive baselines in terms of response quality, content diversity and controllability.

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

↑