Efficient Toxic Content Detection by Bootstrapping and Distilling Large Language Models
On the map: Synthetic data and self-improvement for LLMs → Safety of self-evolving systems
Abstract (arXiv)
Toxic content detection is crucial for online services to remove inappropriate content that violates community standards. To automate the detection process, prior works have proposed varieties of machine learning (ML) approaches to train Language Models (LMs) for toxic content detection. However, both their accuracy and transferability across datasets are limited. Recently, Large Language Models (LLMs) have shown promise in toxic content detection due to their superior zero-shot and few-shot in-context learning ability as well as broad transferability on ML tasks. However, efficiently designing prompts for LLMs remains challenging. Moreover, the high run-time cost of LLMs may hinder their deployments in production. To address these challenges, in this work, we propose BD-LLM, a novel and efficient approach to Bootstrapping and Distilling LLMs for toxic content detection. Specifically, we design a novel prompting method named Decision-Tree-of-Thought (DToT) to bootstrap LLMs' detection performance and extract high-quality rationales. DToT can automatically select more fine-grained context to re-prompt LLMs when their responses lack confidence. Additionally, we use the rationales extracted via DToT to fine-tune student LMs. Our experimental results on various datasets demonstrate that DToT can improve the accuracy of LLMs by up to 4.6%. Furthermore, student LMs fine-tuned with rationales extracted via DToT outperform baselines on all datasets with up to 16.9% accuracy improvement, while being more than 60x smaller than conventional LLMs. Finally, we observe that student LMs fine-tuned with rationales exhibit better cross-dataset transferability.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Placed in Safety of self-evolving systems, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 14 of its 26 references that are in the map. First posted on arXiv 13 Dec 2023.
Builds on
14 of 26 references.
References · 14
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2019Social Bias Frames: Reasoning about Social and Power Implications of Languagecited by 377
- 2022Teaching Small Language Models to Reasoncited by 279
- 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 217
- 2020HateBERT: Retraining BERT for Abusive Language Detection in Englishcited by 206
- 2022PINTO: Faithful Language Reasoning Using Prompt-Generated Rationalescited by 56
2 more
Built on by
Citing papers per year: 2024: 7; 2025: 9; 2026: 5.
21 papers.
Sort:
By area:
- 2024Step-On-Feet Tuning: Scaling Self-Alignment of LLMs via Bootstrappingcited by 14
- 2024Efficient Detection of Toxic Prompts in Large Language Modelscited by 11
- 2024DeMod: A Holistic Tool with Explainable Detection and Personalized Modification for Toxicity Censorshipcited by 6
- 2024Towards Efficient and Explainable Hate Speech Detection via Model Distillationcited by 5
- 2025Precise Parameter Localization for Textual Generation in Diffusion Modelscited by 5
- 2025Unified Game Moderation: Soft-Prompting and LLM-Assisted Label Transfer for Resource-Efficient Toxicity Detectioncited by 5
- 2024TorchOpera: A Compound AI System for LLM Safetycited by 4
- 2024Leveraging Large Language Models and Topic Modeling for Toxicity Classificationcited by 2
- 2025CLT and Edgeworth Expansion for m-out-of-n Bootstrap Estimators of The Studentized Mediancited by 2
- 2025Boosting Large Language Models for Mental Manipulation Detection via Data Augmentation and Distillationcited by 2
- 2025Algorithmic Fairness in NLP: Persona-Infused LLMs for Human-Centric Hate Speech Detectioncited by 2
- 2024Towards Transparency: Exploring LLM Trainings Datasets through Visual Topic Modeling and Semantic Framecited by 1
9 more
- 2025A Multi-Task Benchmark for Abusive Language Detection in Low-Resource Settingscited by 1
- 2025A Data-Centric Approach for Safe and Secure Large Language Models against Threatening and Toxic Contentcited by 0
- 2025Defining, Understanding, and Detecting Online Toxicity: Challenges and Machine Learning Approachescited by 0
- 2025Beyond One-Size-Fits-All: Personalized Harmful Content Detection with In-Context Learningcited by 0
- 2026Improving Implicit Hate Speech Detection via a Community-Driven Multi-Agent Frameworkcited by 0
- 2026Efficient and Adaptable Detection of Malicious LLM Prompts via Bootstrap Aggregationcited by 0
- 2026ContiGuard: A Framework for Continual Toxicity Detection Against Evolving Evasive Perturbationscited by 0
- 2026Toxicity in Twitch Chats: An LLM-Based Analysis Across Gaming Communitiescited by 0
- 2026Though Language Models Err While They Strive: Conformal Prediction for Self-Correcting Scientific Generationcited by 0
- 2026Though Language Models Err While They Strive: Conformal Prediction for Self-Correcting Scientific Generation18 Jul 2026
- 2026Toxicity in Twitch Chats: An LLM-Based Analysis Across Gaming Communities18 May 2026
- 2026ContiGuard: A Framework for Continual Toxicity Detection Against Evolving Evasive Perturbations16 Mar 2026
- 2026Efficient and Adaptable Detection of Malicious LLM Prompts via Bootstrap Aggregation8 Feb 2026
- 2026Improving Implicit Hate Speech Detection via a Community-Driven Multi-Agent Framework14 Jan 2026
- 2025Beyond One-Size-Fits-All: Personalized Harmful Content Detection with In-Context Learning29 Oct 2025
- 2025Algorithmic Fairness in NLP: Persona-Infused LLMs for Human-Centric Hate Speech Detection22 Oct 2025
- 2025Defining, Understanding, and Detecting Online Toxicity: Challenges and Machine Learning Approaches14 Sep 2025
- 2025Unified Game Moderation: Soft-Prompting and LLM-Assisted Label Transfer for Resource-Efficient Toxicity Detection1 Jun 2025
- 2025Boosting Large Language Models for Mental Manipulation Detection via Data Augmentation and Distillation21 May 2025
- 2025A Multi-Task Benchmark for Abusive Language Detection in Low-Resource Settings17 May 2025
- 2025CLT and Edgeworth Expansion for m-out-of-n Bootstrap Estimators of The Studentized Median16 May 2025
9 more
- 2025A Data-Centric Approach for Safe and Secure Large Language Models against Threatening and Toxic Content19 Apr 2025
- 2025Precise Parameter Localization for Textual Generation in Diffusion Models14 Feb 2025
- 2024Towards Efficient and Explainable Hate Speech Detection via Model Distillation18 Dec 2024
- 2024Leveraging Large Language Models and Topic Modeling for Toxicity Classification26 Nov 2024
- 2024DeMod: A Holistic Tool with Explainable Detection and Personalized Modification for Toxicity Censorship4 Nov 2024
- 2024Efficient Detection of Toxic Prompts in Large Language Models21 Aug 2024
- 2024TorchOpera: A Compound AI System for LLM Safety16 Jun 2024
- 2024Towards Transparency: Exploring LLM Trainings Datasets through Visual Topic Modeling and Semantic Frame3 Jun 2024
- 2024Step-On-Feet Tuning: Scaling Self-Alignment of LLMs via Bootstrapping12 Feb 2024
- 2024Efficient Detection of Toxic Prompts in Large Language Modelscited by 11
- 2024DeMod: A Holistic Tool with Explainable Detection and Personalized Modification for Toxicity Censorshipcited by 6
- 2024Towards Efficient and Explainable Hate Speech Detection via Model Distillationcited by 5
- 2025Unified Game Moderation: Soft-Prompting and LLM-Assisted Label Transfer for Resource-Efficient Toxicity Detectioncited by 5
- 2024Leveraging Large Language Models and Topic Modeling for Toxicity Classificationcited by 2
- 2025CLT and Edgeworth Expansion for m-out-of-n Bootstrap Estimators of The Studentized Mediancited by 2
- 2025Boosting Large Language Models for Mental Manipulation Detection via Data Augmentation and Distillationcited by 2
- 2025Algorithmic Fairness in NLP: Persona-Infused LLMs for Human-Centric Hate Speech Detectioncited by 2
- 2024Towards Transparency: Exploring LLM Trainings Datasets through Visual Topic Modeling and Semantic Framecited by 1
- 2025A Multi-Task Benchmark for Abusive Language Detection in Low-Resource Settingscited by 1
- 2025Defining, Understanding, and Detecting Online Toxicity: Challenges and Machine Learning Approachescited by 0
- 2026Improving Implicit Hate Speech Detection via a Community-Driven Multi-Agent Frameworkcited by 0
12 most cited of 14 All 14 (JSON)
- 2026Toxicity in Twitch Chats: An LLM-Based Analysis Across Gaming Communities18 May 2026
- 2026ContiGuard: A Framework for Continual Toxicity Detection Against Evolving Evasive Perturbations16 Mar 2026
- 2026Improving Implicit Hate Speech Detection via a Community-Driven Multi-Agent Framework14 Jan 2026
- 2025Algorithmic Fairness in NLP: Persona-Infused LLMs for Human-Centric Hate Speech Detection22 Oct 2025
- 2025Defining, Understanding, and Detecting Online Toxicity: Challenges and Machine Learning Approaches14 Sep 2025
- 2025Unified Game Moderation: Soft-Prompting and LLM-Assisted Label Transfer for Resource-Efficient Toxicity Detection1 Jun 2025
- 2025Boosting Large Language Models for Mental Manipulation Detection via Data Augmentation and Distillation21 May 2025
- 2025A Multi-Task Benchmark for Abusive Language Detection in Low-Resource Settings17 May 2025
- 2025CLT and Edgeworth Expansion for m-out-of-n Bootstrap Estimators of The Studentized Median16 May 2025
- 2024Towards Efficient and Explainable Hate Speech Detection via Model Distillation18 Dec 2024
- 2024Leveraging Large Language Models and Topic Modeling for Toxicity Classification26 Nov 2024
- 2024DeMod: A Holistic Tool with Explainable Detection and Personalized Modification for Toxicity Censorship4 Nov 2024
12 newest of 14 All 14 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Rethinking Toxicity Evaluation in Large Language Models: A Multi-Label Perspective
- 2025SMARTER: A Data-efficient Framework to Improve Toxicity Detection with Explanation via Self-augmenting Large Language Models
- 2025ToxiFrench: Benchmarking and Enhancing Language Models via CoT Fine-Tuning for French Toxicity Detection
- 2025Something Just Like TRuST : Toxicity Recognition of Span and Target
- 2024Large Language Models can be Strong Self-Detoxifiers
- 2025Are LLMs Enough for Hyperpartisan, Fake, Polarized and Harmful Content Detection? Evaluating In-Context Learning vs. Fine-Tuning
- 2025<think> So let's replace this phrase with insult... </think> Lessons learned from generation of toxic texts with LLMs
- 2025Evaluating Large Language Models for Detecting Antisemitism