DetoxLLM:一个带解释的去毒框架
DetoxLLM: A Framework for Detoxification with Explanations
AI总结:
本文提出端到端去毒框架 DetoxLLM,利用 ChatGPT 构建跨平台伪平行语料并训练模型,同时提供解释和不可去毒案例检测,提升跨平台性能与对抗鲁棒性。
摘要:
以往关于去毒的研究较为分散,未能覆盖真实场景中所需的去毒任务的各个方面。值得注意的是,以往工作将开发去毒模型的任务限制在仅已见的平台子集上,未探究模型在未见平台上的表现。此外,这些工作没有处理不可去毒性这一现象,即有毒文本在不改变含义的情况下无法被去毒。我们提出 DetoxLLM,这是首个全面的端到端去毒框架,旨在缓解上述局限。我们首先引入一个跨平台伪平行语料库,采用多步数据处理以及利用 ChatGPT 的生成策略。随后,我们使用该跨平台语料库训练了一组去毒模型。结果表明,我们的去毒模型优于使用人工标注平行语料库训练的 SoTA 模型。我们进一步引入解释,以提升透明度和可信度。DetoxLLM 还提供了一个独特的、专门面向去毒任务的改写检测器,以处理不可去毒的情况。通过实验分析,我们证明了跨平台语料库的有效性,以及 DetoxLLM 对对抗性毒性的鲁棒性。
英文摘要:
Prior works on detoxification are scattered in the sense that they do not cover all aspects of detoxification needed in a real-world scenario. Notably, prior works restrict the task of developing detoxification models to only a seen subset of platforms, leaving the question of how the models would perform on unseen platforms unexplored. Additionally, these works do not address non-detoxifiability, a phenomenon whereby the toxic text cannot be detoxified without altering the meaning. We propose DetoxLLM, the first comprehensive end-to-end detoxification framework, which attempts to alleviate the aforementioned limitations. We first introduce a cross-platform pseudo-parallel corpus applying multi-step data processing and generation strategies leveraging ChatGPT. We then train a suite of detoxification models with our cross-platform corpus. We show that our detoxification models outperform the SoTA model trained with human-annotated parallel corpus. We further introduce explanation to promote transparency and trustworthiness. DetoxLLM additionally offers a unique paraphrase detector especially dedicated for the detoxification task to tackle the non-detoxifiable cases. Through experimental analysis, we demonstrate the effectiveness of our cross-platform corpus and the robustness of DetoxLLM against adversarial toxicity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。