Search papers, labs, and topics across Lattice.
This paper introduces AraDetox, a comprehensive dataset designed for detoxifying harmful language in Arabic, featuring 10,500 harmful social media posts and 84,000 detoxified rewrites across multiple dialects. The study employs advanced language models, GPT-5 and Gemini 2.5 Flash, to generate detoxified outputs while ensuring high semantic similarity and stylistic alignment with reference dialects. Results indicate that effective detoxification can be achieved through meaning-preserving reformulation, providing a valuable resource for future research in Arabic NLP and safe text generation.
Detoxifying Arabic text is not just about removing harmful content鈥攊t's about preserving meaning and dialectal nuance, and AraDetox shows how to do it effectively.
Arabic harmful-language detection has received considerable attention, yet Arabic text detoxification remains underexplored. We introduce AraDetox, a multi-dialect Arabic detoxification dataset comprising 10,500 harmful social-media posts and 84,000 detoxified rewrites generated using GPT-5 and Gemini 2.5 Flash across Modern Standard Arabic, Gulf, Levantine, and Egyptian Arabic. The generated outputs were assessed through human evaluation and automatic analyses of lexical change, semantic preservation, sentiment, and dialectal style. Results show that detoxification is primarily a meaning-preserving rewriting task: substantial lexical and structural reformulation is accompanied by consistently high semantic similarity. Human evaluation confirms successful harmful-language removal while largely preserving the original meaning. Dialectal analyses further indicate that the generated variants exhibit measurable stylistic alignment with reference Arabic dialect corpora. Comparison with existing resources highlights two complementary approaches to detoxification: minimal-edit lexical substitution and meaning-preserving reformulation. Our findings demonstrate that large-scale Arabic detoxification resources can be constructed through LLM-assisted generation and human verification. The dataset is publicly available at https://github.com/ArabicNLP-UK/AraDetox to support future research on Arabic detoxification, safe text generation, and multi-dialect Arabic NLP.