2025-06-03 · 专家 · 机器学习 · 自然语言处理

LLM in the Loop: Creating the PARADEHATE Dataset for Hate Speech Detoxification

本文提出了一种基于LLM的自动仇恨言论解毒方法,构建了大规模平行数据集PARADEHATE,并通过实验验证了其有效性。

更新于 2025-06-03。作者:Shuzhou Yuan、Ercong Nie、Lukas Kouba、Ashish Yashwanth Kangen、Helmut Schmid、Hinrich Schutze、Michael Farber。

中文摘要

排毒,即将有害语言重写为无毒文本的任务,随着网络中有害内容的日益普遍,变得越来越重要。然而,由于人工标注的成本和敏感性,高质量的平行数据集对于排毒,尤其是对于仇恨言论,仍然很稀缺。在这篇论文中,我们提出了一种新的LLM-in-the-loop流程,利用GPT-4o-mini进行自动排毒。我们首先通过用LLM替换人工标注员来复制ParaDetox流程,并表明LLM的表现与人工标注相当。在此基础上,我们构建了PARADEHATE,这是一个专门用于仇恨言论排毒的大型平行数据集。我们将PARADEHATE作为一个超过8K个仇恨/非仇恨文本对的基准进行发布,并评估了广泛的基础方法。实验结果表明,在风格准确度、内容保留和流畅性方面,经过PARADEHATE微调的模型如BART表现更佳,证明了LLM生成的排毒文本作为可扩展替代人工标注的有效性。

英文摘要

Detoxification, the task of rewriting harmful language into non-toxic text, has become increasingly important amid the growing prevalence of toxic content online. However, high-quality parallel datasets for detoxification, especially for hate speech, remain scarce due to the cost and sensitivity of human annotation. In this paper, we propose a novel LLM-in-the-loop pipeline leveraging GPT-4o-mini for automated detoxification. We first replicate the ParaDetox pipeline by replacing human annotators with an LLM and show that the LLM performs comparably to human annotation. Building on this, we construct PARADEHATE, a large-scale parallel dataset specifically for hatespeech detoxification. We release PARADEHATE as a benchmark of over 8K hate/non-hate text pairs and evaluate a wide range of baseline methods. Experimental results show that models such as BART, fine-tuned on PARADEHATE, achieve better performance in style accuracy, content preservation, and fluency, demonstrating the effectiveness of LLM-generated detoxification text as a scalable alternative to human annotation.

解读

一句话总结

本文提出了一种基于LLM的自动仇恨言论解毒方法,构建了大规模平行数据集PARADEHATE,并通过实验验证了其有效性。

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

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

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

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

来源

机器可读索引:llms.txt