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

NAST:一种用于无监督文本风格转换的非自回归词对齐生成器

NAST: A Non-Autoregressive Generator with Word Alignment for Unsupervised Text Style Transfer

Tsinghua University(清华大学);Institute for Artificial Intelligence(人工智能研究院);State Key Lab of Intelligent Technology and Systems(智能技术与系统国家重点实验室);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心)

Fei Huang, Zikai Chen, Chen Henry Wu, Qihan Guo, Xiaoyan Zhu, Minlie Huang

摘要:

自回归模型在无监督文本风格转换中得到了广泛的应用。尽管这些模型取得了成功,但它们仍然存在内容保存问题,即它们通常会忽略源句子的一部分,并生成一些具有强烈风格的无关词。在本文中,我们提出了一个非自回归生成器的无监督文本风格转移(NAST),它从两个方面来说明这个问题。首先,我们观察到,大多数单词在转移的句子可以与源句子中的相关词对齐,所以我们显式地建模词对齐,以抑制不相关的词。其次,使用循环损失训练的现有模型在两个风格文本空间中对齐句子,这在单词级别缺乏细粒度控制。所提出的非自回归生成器专注于对齐的单词之间的连接,学习风格之间的单词级迁移。对于实验,我们将建议的生成器集成到两个基本模型,并在两个风格转换任务上对其进行评估。结果表明,NAST可以显着提高整体性能,并提供可解释的词对齐。此外,非自回归生成器在推理时实现了超过10倍的加速。我们的代码可在https://github.com/thu-coai/NAST上获得。

英文摘要:

Autoregressive models have been widely used in unsupervised text style transfer. Despite their success, these models still suffer from the content preservation problem that they usually ignore part of the source sentence and generate some irrelevant words with strong styles. In this paper, we propose a Non-Autoregressive generator for unsupervised text Style Transfer (NAST), which alleviates the problem from two aspects. First, we observe that most words in the transferred sentence can be aligned with related words in the source sentence, so we explicitly model word alignments to suppress irrelevant words. Second, existing models trained with the cycle loss align sentences in two stylistic text spaces, which lacks fine-grained control at the word level. The proposed non-autoregressive generator focuses on the connections between aligned words, which learns the word-level transfer between styles. For experiments, we integrate the proposed generator into two base models and evaluate them on two style transfer tasks. The results show that NAST can significantly improve the overall performance and provide explainable word alignments. Moreover, the non-autoregressive generator achieves over 10x speedups at inference. Our codes are available at https://github.com/thu-coai/NAST.

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

↑