2025-09-11 · 进阶 · 机器学习 · 自然语言处理

<think> So let's replace this phrase with insult... </think> Lessons learned from generation of toxic texts with LLMs

该论文探讨了使用大型语言模型(LLM)生成合成有毒文本作为文本解毒模型训练数据的可行性,发现LLM生成的数据在词汇多样性方面存在显著不足,导致解毒模型性能下降。

更新于 2025-10-24。作者:Sergey Pletenev、Daniil Moskovskiy、Alexander Panchenko。

中文摘要

现代大型语言模型(LLMs)在生成合成数据方面表现出色。然而,它们在文本净化等敏感领域的性能并未得到科学界的充分关注。本文探讨了利用LLM生成的合成毒数据作为训练净化模型的替代方案的可能性。我们使用Llama 3和Qwen激活补丁模型,从ParaDetox和SST-2数据集生成中性文本的合成毒对应数据。我们的实验表明,在合成数据上微调的模型在性能上始终劣于在人类数据上训练的模型,在联合指标上的性能下降高达30%。根本原因被确定为关键的词汇多样性差距:LLMs使用小而重复的侮辱性词汇来生成毒数据,这未能捕捉到人类毒性的细微差别和多样性。这些发现凸显了当前LLMs在这一领域的局限性,并强调了多样化的、由人类标注的数据对于构建鲁棒的净化系统持续的重要性。

英文摘要

Modern Large Language Models (LLMs) are excellent at generating synthetic data. However, their performance in sensitive domains such as text detoxification has not received proper attention from the scientific community. This paper explores the possibility of using LLM-generated synthetic toxic data as an alternative to human-generated data for training models for detoxification. Using Llama 3 and Qwen activation-patched models, we generated synthetic toxic counterparts for neutral texts from ParaDetox and SST-2 datasets. Our experiments show that models fine-tuned on synthetic data consistently perform worse than those trained on human data, with a drop in performance of up to 30% in joint metrics. The root cause is identified as a critical lexical diversity gap: LLMs generate toxic content using a small, repetitive vocabulary of insults that fails to capture the nuances and variety of human toxicity. These findings highlight the limitations of current LLMs in this domain and emphasize the continued importance of diverse, human-annotated data for building robust detoxification systems.

解读

一句话总结

该论文探讨了使用大型语言模型(LLM)生成合成有毒文本作为文本解毒模型训练数据的可行性,发现LLM生成的数据在词汇多样性方面存在显著不足,导致解毒模型性能下降。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt