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

基于填充屏蔽语言模型的无监督文本风格转换

Unsupervised Text Style Transfer with Padded Masked Language Models

Google Research(谷歌研究院)

Eric Malmi, Aliaksei Severyn, Sascha Rothe

摘要:

我们提出了Masker,一种用于风格转移的无监督文本编辑方法。为了解决没有并行源-目标对可用的情况,我们为源和目标域都训练训练掩蔽的语言模型(MLM)。然后,我们找到两个模型在可能性方面最不一致的文本跨度。这使我们能够识别要删除的源标记,以转换源文本,使其与目标域的样式相匹配。删除的令牌被替换为目标MLM,并且通过使用填充的MLM变体,我们避免了必须预先确定插入令牌的数量。我们对句子融合和情感转移的实验表明,Masker在完全无监督的环境中表现出竞争力。此外,在低资源环境中,当在Masker生成的银训练数据上进行预训练时,它将监督方法的准确性提高了10个百分点以上。

英文摘要:

We propose Masker, an unsupervised text-editing method for style transfer. To tackle cases when no parallel source-target pairs are available, we train masked language models (MLMs) for both the source and the target domain. Then we find the text spans where the two models disagree the most in terms of likelihood. This allows us to identify the source tokens to delete to transform the source text to match the style of the target domain. The deleted tokens are replaced with the target MLM, and by using a padded MLM variant, we avoid having to predetermine the number of inserted tokens. Our experiments on sentence fusion and sentiment transfer demonstrate that Masker performs competitively in a fully unsupervised setting. Moreover, in low-resource settings, it improves supervised methods' accuracy by over 10 percentage points when pre-training them on silver training data generated by Masker.

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

↑