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

StyleFlow:通过规范化流来解开潜在表示,用于无监督文本样式传输

StyleFlow: Disentangle Latent Representations via Normalizing Flow for Unsupervised Text Style Transfer

National University of Defense Technology(国防科技大学)

Kangchen Zhu, Zhiliang Tian, Ruifeng Luo, Xiaoguang Mao

摘要:

语篇风格转换的目的是在保持句子内容的同时改变句子的风格。由于缺乏平行语料库,最近的工作主要集中在无监督的方法,通常使用循环构造来训练模型。由于循环构造通过将转换后的句子重建回原始风格句子来提高模型的风格转换能力,因此在无监督的文本风格转换任务中会导致内容丢失。在本文中,我们提出了一种新的基于解纠缠的风格传输模型StyleFlow,以提高内容保存。与传统的编码器-解码器方案不同,StyleFlow不仅可以进行前向处理以获得输出,还可以通过输出推断输入。我们设计了一个注意力感知的耦合层来理清句子的内容表示和风格表示。此外,本文还提出了一种基于归一化流的数据增强方法来提高模型的鲁棒性。实验结果表明,我们的模型有效地保留了内容,并在大多数指标上达到了最先进的性能。

英文摘要:

Text style transfer aims to alter the style of a sentence while preserving its content. Due to the lack of parallel corpora, most recent work focuses on unsupervised methods and often uses cycle construction to train models. Since cycle construction helps to improve the style transfer ability of the model by rebuilding transferred sentences back to original-style sentences, it brings about a content loss in unsupervised text style transfer tasks. In this paper, we propose a novel disentanglement-based style transfer model StyleFlow to enhance content preservation. Instead of the typical encoder-decoder scheme, StyleFlow can not only conduct the forward process to obtain the output, but also infer to the input through the output. We design an attention-aware coupling layers to disentangle the content representations and the style representations of a sentence. Besides, we propose a data augmentation method based on Normalizing Flow to improve the robustness of the model. Experiment results demonstrate that our model preserves content effectively and achieves the state-of-the-art performance on the most metrics.

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

↑