K/DA: Automated Data Generation Pipeline for Detoxifying Implicitly Offensive Language in Korean
About
Language detoxification involves removing toxicity from offensive language. While a neutral-toxic paired dataset provides a straightforward approach for training detoxification models, creating such datasets presents several challenges: i) the need for human annotation to build paired data, and ii) the rapid evolution of offensive terms, rendering static datasets quickly outdated. To tackle these challenges, we introduce an automated paired data generation pipeline, called K/DA. This pipeline is designed to generate offensive language with implicit offensiveness and trend-aligned slang, making the resulting dataset suitable for detoxification model training. We demonstrate that the dataset generated by K/DA exhibits high pair consistency and greater implicit offensiveness compared to existing Korean datasets, and also demonstrates applicability to other languages. Furthermore, it enables effective training of a high-performing detoxification model with simple instruction fine-tuning.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Language Detoxification | Ours (test) | Overall Offensiveness Score1.145 | 5 | |
| Language Detoxification | KOLD (test) | Overall Offensiveness Score1.606 | 5 | |
| Language Detoxification | BEEP (test) | Overall Offensiveness1.58 | 5 | |
| Human Evaluation | K/DA and K-OMG (50 random samples) | Overall Offensiveness Score4.196 | 2 | |
| Detoxification Dataset Quality Evaluation | K/DA Ours En 500 neutral-toxic pairs Current Paper | Overall Quality Score2.717 | 1 | |
| Toxic-neutral pair quality evaluation | K/DA | Overall Score2.719 | 1 | |
| Detoxification Dataset Quality Evaluation | ParaDetox 500 neutral-toxic pairs | -- | 1 | |
| Detoxification Dataset Quality Evaluation | ToxiGen 500 neutral-toxic pairs | -- | 1 | |
| Toxic-neutral pair quality evaluation | K-OMG | -- | 1 | |
| Toxic-neutral pair quality evaluation | BEEP | -- | 1 |