SMARTER: A Data-efficient Framework to Improve Toxicity Detection with Explanation via Self-augmenting Large Language Models
Huy Nghiem, Advik Sachdeva, Hal Daumé
TL;DR
SMARTER tackles toxicity detection with explanations in a data-efficient framework. It combines Stage 1 self-augmentation and preference-alignment (DPO/KTO) on few-shot data with Stage 2 cross-model refinement to align explanations across LLMs. Evaluations on HateXplain, Latent Hate, and Implicit Hate using Llama-3.1-8B-Instruct and COT-T5-XL show up to 13.5% macro-F1 gains with far less training data than full-data baselines, while maintaining explainability. The approach demonstrates scalable, explainable content moderation in low-resource settings, though benefits depend on model architecture and require human oversight to manage biases and quality of explanations.
Abstract
WARNING: This paper contains examples of offensive materials. To address the proliferation of toxic content on social media, we introduce SMARTER, we introduce SMARTER, a data-efficient two-stage framework for explainable content moderation using Large Language Models (LLMs). In Stage 1, we leverage LLMs' own outputs to generate synthetic explanations for both correct and incorrect labels, enabling alignment via preference optimization with minimal human supervision. In Stage 2, we refine explanation quality through cross-model training, allowing weaker models to align stylistically and semantically with stronger ones. Experiments on three benchmark tasks -- HateXplain, Latent Hate, and Implicit Hate -- demonstrate that SMARTER enables LLMs to achieve up to a 13.5% macro-F1 improvement over standard few-shot baselines while using only a fraction of the full training data. Our framework offers a scalable strategy for low-resource settings by harnessing LLMs' self-improving capabilities for both classification and explanation.
