arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.08914cs.CLcs.LG
收藏

使用大型预训练神经模型的文本去冗余

Text Detoxification using Large Pre-trained Neural Models

Skolkovo Institute of Science and Technology(斯科尔科沃科学技术学院);Mobile TeleSystems (MTS)(移动电信系统(MTS))

David Dale, Anton Voronov, Daryna Dementieva, Varvara Logacheva, Olga Kozlova, Nikita Semenov, Alexander Panchenko

摘要:

我们提出了两种新的无监督的方法来消除文本中的毒性。我们的第一种方法结合了两个最新的想法:(1)指导的生成过程与小风格条件语言模型和(2)使用释义模型来执行风格转移。我们使用一个由经过风格训练的语言模型指导的性能良好的释义器来保持文本内容并去除毒性。我们的第二种方法使用BERT将有毒单词替换为它们的非攻击性同义词。我们使该方法更加灵活,使BERT,以取代一个可变数量的单词掩码令牌。最后,我们提出了第一个大规模的比较研究的风格转移模型的毒性去除的任务。我们比较了我们的模型与一些方法的风格转移。使用无监督风格转移度量的组合以无参考的方式对模型进行评估。我们建议这两种方法产生新的SOTA结果。

英文摘要:

We present two novel unsupervised methods for eliminating toxicity in text. Our first method combines two recent ideas: (1) guidance of the generation process with small style-conditional language models and (2) use of paraphrasing models to perform style transfer. We use a well-performing paraphraser guided by style-trained language models to keep the text content and remove toxicity. Our second method uses BERT to replace toxic words with their non-offensive synonyms. We make the method more flexible by enabling BERT to replace mask tokens with a variable number of words. Finally, we present the first large-scale comparative study of style transfer models on the task of toxicity removal. We compare our models with a number of methods for style transfer. The models are evaluated in a reference-free way using a combination of unsupervised style transfer metrics. Both methods we suggest yield new SOTA results.

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

↑