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

用 MaRCo 进行文本去毒:基于专家与反专家的可控修订

Detoxifying Text with MaRCo: Controllable Revision with Experts and Anti-Experts

Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院);Allen Institute for AI(艾伦人工智能研究所);Language Technologies Institute, Carnegie Mellon University(卡内基梅隆大学语言技术研究所)

Skyler Hallinan, Alisa Liu, Yejin Choi, Maarten Sap

AI总结:

MaRCo 结合可控生成与专家乘积,利用无毒和有毒语言模型似然识别并替换候选词,在微妙毒性去毒任务上自动指标优于基线且人类评估偏好达 2.1 倍。

摘要:

文本去毒有潜力通过改写文本以去除冒犯性含义来减轻毒性的危害,但微妙毒性仍然难以处理。我们引入 MaRCo,一种去毒算法,它利用自编码器语言模型(LMs)上的专家乘积,将可控生成与文本改写方法相结合。MaRCo 使用在无毒语言模型(专家)和有毒语言模型(反专家)下的似然来寻找要掩码并可能替换的候选词。我们在多个微妙毒性和微攻击数据集上评估了我们的方法,并表明它不仅自动指标上优于基线,而且 MaRCo 的改写结果在人类评估中被偏好 2.1 倍。它对微妙毒性实例的适用性尤其有前景,展示了一条应对日益隐蔽的在线仇恨的前进道路。

英文摘要:

Text detoxification has the potential to mitigate the harms of toxicity by rephrasing text to remove offensive meaning, but subtle toxicity remains challenging to tackle. We introduce MaRCo, a detoxification algorithm that combines controllable generation and text rewriting methods using a Product of Experts with autoencoder language models (LMs). MaRCo uses likelihoods under a non-toxic LM (expert) and a toxic LM (anti-expert) to find candidate words to mask and potentially replace. We evaluate our method on several subtle toxicity and microaggressions datasets, and show that it not only outperforms baselines on automatic metrics, but MaRCo's rewrites are preferred 2.1 $\times$ more in human evaluation. Its applicability to instances of subtle toxicity is especially promising, demonstrating a path forward for addressing increasingly elusive online hate.

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

↑