礼貌迁移:一种标记和生成方法
Politeness Transfer: A Tag and Generate Approach
摘要:
本文介绍了一个新的礼貌迁移任务,即把不礼貌的句子转换成礼貌的句子,同时保留意义。我们还提供了一个超过1.39个自动标记为礼貌的实例的数据集,以鼓励对这个新任务进行基准评估。我们设计了一个标签,并生成管道,识别风格属性,并随后生成一个句子的目标风格,同时保留大部分的源内容。对于礼貌以及其他五个传输任务,我们的模型在内容保存的自动度量方面优于最先进的方法,在风格传输准确性方面具有可比或更好的性能。此外,我们的模型超越了现有的方法对人类的评价语法,意义保存和转移的准确性在所有六个风格转移任务。数据和代码位于https://github.com/tag-and-generate。
英文摘要:
This paper introduces a new task of politeness transfer which involves converting non-polite sentences to polite sentences while preserving the meaning. We also provide a dataset of more than 1.39 instances automatically labeled for politeness to encourage benchmark evaluations on this new task. We design a tag and generate pipeline that identifies stylistic attributes and subsequently generates a sentence in the target style while preserving most of the source content. For politeness as well as five other transfer tasks, our model outperforms the state-of-the-art methods on automatic metrics for content preservation, with a comparable or better performance on style transfer accuracy. Additionally, our model surpasses existing methods on human evaluations for grammaticality, meaning preservation and transfer accuracy across all the six style transfer tasks. The data and code is located at https://github.com/tag-and-generate.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。