Lune

EMNLP Findings2024

ToxiCraft: A Novel Framework for Synthetic Generation of Harmful Information

Zheng Hui, Zhaoxiao Guo, Hang Zhao, Juanyong Duan, Congrui Huang

Abstract

In different NLP tasks, detecting harmful content is crucial for online environments, especially with the growing influence of social media. However, previous research has two main issues: 1) a lack of data in low-resource settings, and 2) inconsistent definitions and criteria for judging harmful content, requiring classification models to be robust to spurious features and diverse. We propose ToxiCraft, a novel framework for synthesizing datasets of harmful information to address these weaknesses. With only a small amount of seed data, our framework can generate a wide variety of synthetic, yet remarkably realistic, examples of toxic information. Experimentation across various datasets showcases a notable enhancement in detection model robustness and adaptability, surpassing or close to the gold labels. Dataset is available at this GitHub repository.

▲ ! This paper has instances of hateful and of- fensive language to serve as examples.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Deberta: decoding-Enhanced Bert with Disentangled Attention cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • Deberta: decoding-Enhanced Bert with Disentangled Attention cites Language Models are Few-Shot Learners
  • Privacy-R1: Privacy-Aware Multi-LLM Agent Collaboration via Reinforcement Learning cites Language Models are Few-Shot Learners
  • Generating Training Data with Language Models: Towards Zero-Shot Language Understanding cites Deberta: decoding-Enhanced Bert with Disentangled Attention
  • Generating Training Data with Language Models: Towards Zero-Shot Language Understanding cites GPT3Mix: Leveraging Large-scale Language Models for Text Augmentation
  • Generating Training Data with Language Models: Towards Zero-Shot Language Understanding cites Language Models are Few-Shot Learners
  • GPT3Mix: Leveraging Large-scale Language Models for Text Augmentation cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. A Survey on Efficient Large Language Model Training: From Data-centric PerspectivesJunyu Luo, Bohan Wu, Xiao Luo, Zhiping Xiao et al.ACL 2025 · 12 citations
  2. Value of Information: A Framework for Human-Agent CommunicationYijiang River Dong, Tiancheng Hu, Zheng Hui, Caiqi Zhang et al.ACL 2026 · 8 citations
  3. Privacy-R1: Privacy-Aware Multi-LLM Agent Collaboration via Reinforcement LearningZheng Hui, Yijiang River Dong, Sanhanat Sivapiromrat, Ehsan Shareghi et al.ACL 2026 · 4 citations
  4. Beyond Static Benchmarks: Synthesizing Harmful Content via Persona-based Simulation for Robust EvaluationHuije Lee, Jisu Shin, Hoyun Song, Changgeon Ko et al.ACL 2026

Builds on21

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
  3. Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 citations
  4. Generating Training Data with Language Models: Towards Zero-Shot Language UnderstandingYu Meng, Jiaxin Huang, Yu Zhang, Jiawei HanNeurIPS 2022 · 309 citations
  5. GPT3Mix: Leveraging Large-scale Language Models for Text AugmentationKang Min Yoo, Dongju Park, Jaewook Kang, Sang-Woo Lee et al.EMNLP Findings 2021 · 151 citations

Related papers

  1. Don't Augment, Rewrite? Assessing Abusive Language Detection with Synthetic DataCamilla Casula, Elisa Leonardelli, Sara TonelliACL Findings 2024 · 3 citations
  2. Enhancing LLM-based Hatred and Toxicity Detection with Meta-Toxic Knowledge GraphYibo Zhao, Jiapeng Zhu, Can Xu, Yao Liu et al.ACL Findings 2025 · 8 citations
  3. SynthEval: Hybrid Behavioral Testing of NLP Models with Synthetic EvaluationRaoyuan Zhao, Abdullatif Köksal, Yihong Liu, Leonie Weissweiler et al.EMNLP Findings 2024 · 2 citations
  4. ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI ConversationZi Lin, Zihan Wang, Yongqi Tong, Yangkun Wang et al.EMNLP Findings 2023 · 44 citations
  5. ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech DetectionThomas Hartvigsen, Saadia Gabriel, Hamid Palangi, Maarten Sap et al.ACL 2022
Dusk over the sea between two cliffs drawn in fine vertical lines