ToxiFrench: Benchmarking and Enhancing Language Models via CoT Fine-Tuning for French Toxicity Detection
Not on the map. Why?
Abstract (arXiv)
Detecting toxic content using language models is crucial yet challenging. While substantial progress has been made in English, toxicity detection in French remains underdeveloped, primarily due to the lack of culturally relevant, human-annotated, large-scale datasets. In this work, we release ToxiFrench, a dataset of 53,622 French online comments together with a balanced benchmark split for systematic evaluation. The dataset is constructed via a semi-automated annotation pipeline that reduces manual labeling to only 10% through high-confidence LLM-based pre-annotation and human verification, while ensuring statistical alignment with human-only annotation. We then benchmark a broad range of models and uncover a counterintuitive finding: Small Language Models (SLMs) often surpass larger models in robustness and generalization on this task. Motivated by this finding, we propose a novel Chain-of-Thought (CoT) fine-tuning strategy using a Dynamic Weighted Loss (DWL) that progressively emphasizes the model's final decision and significantly improves faithfulness. Our fine-tuned 4B model (Qwen3-4B) achieves state-of-the-art performance on the benchmark. It improves its balanced accuracy by 10% over its baseline and achieves better performance than GPT-4o and DeepSeek-R1 on our benchmark, while successfully retaining cross-lingual capabilities.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 27 of its 61 references that are in the map. First posted on arXiv 15 Aug 2025.
Builds on
27 of 61 references.
References · 27
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2022A Survey on In-context Learningcited by 721
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 426
- 2024Improving Alignment and Robustness with Circuit Breakerscited by 322
- 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 192
- 2022A New Generation of Perspective API: Efficient Multilingual Character-level Transformerscited by 185
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 185
- 2023From Words to Watts: Benchmarking the Energy Costs of Large Language Model Inferencecited by 170
- 2025On the Generalization of SFT: A Reinforcement Learning Perspective with Reward Rectificationcited by 127
- 2024Direct Preference Optimization with an Offsetcited by 122
15 more
- 2023Facilitating Fine-grained Detection of Chinese Toxic Language: Hierarchical Taxonomy, Resources, and Benchmarkscited by 46
- 2023You Only Prompt Once: On the Capabilities of Prompt Learning on Large Language Models to Tackle Toxic Contentcited by 39
- 2024RTP-LX: Can LLMs Evaluate Toxicity in Multilingual Scenarios?cited by 36
- 2024Preference Tuning For Toxicity Mitigation Generalizes Across Languagescited by 31
- 2024Can LLMs Recognize Toxicity? A Structured Investigation Framework and Toxicity Metriccited by 23
- 2023Moderating New Waves of Online Hate with Chain-of-Thought Reasoning in Large Language Modelscited by 18
- 2024From Representational Harms to Quality-of-Service Harms: A Case Study on Llama 2 Safety Safeguardscited by 17
- 2024Towards Building a Robust Toxicity Predictorcited by 14
- 2024HateDay: Insights from a Global Hate Speech Dataset Representative of a Day on Twittercited by 13
- 2025The dark deep side of DeepSeek: Fine-tuning attacks against the safety alignment of CoT-enabled modelscited by 12
- 2025Exploring Multimodal Challenges in Toxic Chinese Detection: Taxonomy, Benchmark, and Findingscited by 10
- 2025Lost in Pronunciation: Detecting Chinese Offensive Language Disguised by Phonetic Cloaking Replacementcited by 10
- 2024DESTEIN: Navigating Detoxification of Language Models via Universal Steering Pairs and Head-wise Activation Fusioncited by 9
- 2024FrenchToxicityPrompts: a Large Benchmark for Evaluating and Mitigating Toxicity in French Textscited by 5
- 2024On the Risk of Evidence Pollution for Malicious Social Text Detection in the Era of LLMscited by 5
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026FAD-SA-GRU: Enhancing Hate Speech Detection in Algerian Dialect Through Feature-Augmented Self-Attention GRU Networkscited by 0
- 2026New Terms, New Toxicity: Consensus-based Chinese Neologism Toxicity Detection via Search-Augmented LLMscited by 0
- 2026The Safeguard Worked. Is the LLM System Safer?cited by 0
- 2026The Safeguard Worked. Is the LLM System Safer?1 Sep 2026
- 2026FAD-SA-GRU: Enhancing Hate Speech Detection in Algerian Dialect Through Feature-Augmented Self-Attention GRU Networks13 Jul 2026
- 2026New Terms, New Toxicity: Consensus-based Chinese Neologism Toxicity Detection via Search-Augmented LLMs5 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2025Rethinking Toxicity Evaluation in Large Language Models: A Multi-Label Perspective
- 2026A Survey of Toxicity Detection and Mitigation Strategies for Multilingual Language Models
- 2026ToxiREX: A Dataset on Toxic REasoning in ConteXt
- 2025Something Just Like TRuST : Toxicity Recognition of Span and Target
- 2024From One to Many: Expanding the Scope of Toxicity Mitigation in Language Models
- 2026Measuring and Mitigating Toxicity in Large Language Models: A Comprehensive Replication Study
- 2024Realistic Evaluation of Toxicity in Large Language Models
- 2026ToxiTrace: Gradient-Aligned Training for Explainable Chinese Toxicity Detection