arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.06122cs.CLcs.LG
收藏

GTA:用于保持语言模型性能的门控毒性规避

GTA: Gated Toxicity Avoidance for LM Performance Preservation

Ajou University(亚洲大学)

Heegyu Kim, Hyunsouk Cho

AI总结:

针对现有可控文本生成方法在降毒时损害主题一致性、语法和困惑度的问题,本文提出可适配任意 CTG 方法的门控毒性规避 GTA,在多数据集上实现相当降毒效果并保持生成性能。

摘要:

注意:本文包含可能引起不适的冒犯性词语。GPT-4 等生成式语言模型的快速发展,已在各类 NLP 生成任务中展现出卓越结果。然而,由于其可能生成与种族或性别相关的冒犯性词语,人们提出了多种可控文本生成(Controllable Text Generation,CTG)方法,以减少有害词语的出现。但是,现有 CTG 方法在降低毒性的同时,也会对语言模型生成性能的若干方面产生负面影响,包括主题一致性、语法和困惑度。本文探讨了以往方法的局限性,并以一种简单的门控毒性规避(Gated Toxicity Avoidance,GTA)形式提出了一种新的解决方案,该方法可应用于任何 CTG 方法。我们还通过在多个数据集上与最先进的 CTG 方法进行比较,评估了所提出 GTA 的有效性。研究结果表明,门控毒性规避能够高效实现与原始 CTG 方法相当的毒性降低水平,同时保持语言模型的生成性能。

英文摘要:

Caution: This paper includes offensive words that could potentially cause unpleasantness. The fast-paced evolution of generative language models such as GPT-4 has demonstrated outstanding results in various NLP generation tasks. However, due to the potential generation of offensive words related to race or gender, various Controllable Text Generation (CTG) methods have been proposed to mitigate the occurrence of harmful words. However, existing CTG methods not only reduce toxicity but also negatively impact several aspects of the language model's generation performance, including topic consistency, grammar, and perplexity. This paper explores the limitations of previous methods and introduces a novel solution in the form of a simple Gated Toxicity Avoidance (GTA) that can be applied to any CTG method. We also evaluate the effectiveness of the proposed GTA by comparing it with state-of-the-art CTG methods across various datasets. Our findings reveal that gated toxicity avoidance efficiently achieves comparable levels of toxicity reduction to the original CTG methods while preserving the generation performance of the language model.

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

↑