SynthDetoxM:现代大语言模型是少样本并行去毒化数据标注器
SynthDetoxM: Modern LLMs are Few-Shot Parallel Detoxification Data Annotators
AI总结:
本文提出SynthDetoxM多语言并行去毒化数据集,利用九个开源大语言模型在少样本设置下生成16,000个高质量句子对,实验证明其训练效果优于人工标注数据集和所有被评估的大语言模型。
摘要:
现有的多语言文本去毒化方法受到多语言并行数据集稀缺的制约。在这项工作中,我们引入了一个用于生成多语言并行去毒化数据的流程。我们还引入了SynthDetoxM,这是一个人工收集并合成生成的多语言并行文本去毒化数据集,包含德语、法语、西班牙语和俄语的16,000个高质量去毒化句子对。数据来源于不同的毒性评估数据集,然后由九个现代开源大语言模型在少样本设置下进行改写。我们的实验表明,在合成数据集上训练的模型性能优于在人工标注的MultiParaDetox数据集上训练的模型,即使在数据有限的情况下也是如此。在SynthDetoxM上训练的模型在少样本设置下优于所有被评估的大语言模型。我们发布了数据集和代码,以助力多语言文本去毒化的进一步研究。
英文摘要:
Existing approaches to multilingual text detoxification are hampered by the scarcity of parallel multilingual datasets. In this work, we introduce a pipeline for the generation of multilingual parallel detoxification data. We also introduce SynthDetoxM, a manually collected and synthetically generated multilingual parallel text detoxification dataset comprising 16,000 high-quality detoxification sentence pairs across German, French, Spanish and Russian. The data was sourced from different toxicity evaluation datasets and then rewritten with nine modern open-source LLMs in few-shot setting. Our experiments demonstrate that models trained on the produced synthetic datasets have superior performance to those trained on the human-annotated MultiParaDetox dataset even in data limited setting. Models trained on SynthDetoxM outperform all evaluated LLMs in few-shot setting. We release our dataset and code to help further research in multilingual text detoxification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。