LEWIS:Levenshtein编辑无监督文本样式转换
LEWIS: Levenshtein Editing for Unsupervised Text Style Transfer
摘要:
许多类型的文本风格转换可以通过小而精确的编辑来实现(例如,从我度过了一段可怕的时光......我有一个伟大的时间……)。我们提出了一个粗略到精细的编辑器的风格转换,转换文本使用Levenshtein编辑操作(例如插入,替换,删除)。与以前的单跨度编辑方法不同,我们的方法同时编辑源文本中的多个跨度。为了训练没有并行风格的文本对(例如+/-情感语句对),我们提出了一个无监督的数据合成过程。我们首先使用样式分类器attention将文本转换为样式无关的模板(例如,我有一个SLOT时间...),然后使用微调的预训练语言模型来填充这些模板中的槽。我们的方法优于现有的生成和编辑风格的情感(Yelp,亚马逊)和礼貌(礼貌)转移方法。特别是,多跨度编辑比单跨度编辑实现了更高的性能和更多样化的输出。此外,与以前的无监督数据合成方法相比,我们的方法产生了更高质量的并行样式对,提高了模型性能。
英文摘要:
Many types of text style transfer can be achieved with only small, precise edits (e.g. sentiment transfer from I had a terrible time... to I had a great time...). We propose a coarse-to-fine editor for style transfer that transforms text using Levenshtein edit operations (e.g. insert, replace, delete). Unlike prior single-span edit methods, our method concurrently edits multiple spans in the source text. To train without parallel style text pairs (e.g. pairs of +/- sentiment statements), we propose an unsupervised data synthesis procedure. We first convert text to style-agnostic templates using style classifier attention (e.g. I had a SLOT time...), then fill in slots in these templates using fine-tuned pretrained language models. Our method outperforms existing generation and editing style transfer methods on sentiment (Yelp, Amazon) and politeness (Polite) transfer. In particular, multi-span editing achieves higher performance and more diverse output than single-span editing. Moreover, compared to previous methods on unsupervised data synthesis, our method results in higher quality parallel style pairs and improves model performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。