SynthDetoxM: Modern LLMs are Few-Shot Parallel Detoxification Data Annotators

Daniil Moskovskiy, Nikita Sushko, Sergey Pletenev, Elena Tutubalina, Alexander Panchenko
2/10/2025
cs.CL

No official code found. Best implementation: s-nlp/synthdetoxm (1 star, MIT, last commit 2025-05-05).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

s-nlp/synthdetoxmCommunity73%
MIT

Official implementation of NAACL 2025 Main Conference Paper "Modern LLMs are Few-Shot Parallel Detoxification Data Annotators"

10Shell, PythonFeb 4, 20251 years agoMIT

Similar Papers

Cite this paper

@article{moskovskiy2025synthdetoxm,
  title  = {SynthDetoxM: Modern LLMs are Few-Shot Parallel Detoxification Data Annotators},
  author = {Daniil Moskovskiy and Nikita Sushko and Sergey Pletenev and Elena Tutubalina and Alexander Panchenko},
  year   = {2025},
  eprint = {2502.06394},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.06394v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.06394.svg)](https://codeofpaper.com/paper/2502.06394)

Discussion