ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detection
Authors: Thomas Hartvigsen, Saadia Gabriel, Hamid Palangi, Maarten Sap, Dipankar Ray, Ece Kamar
AI-generated Key Points
- Toxic language detection systems struggle to identify toxic text targeting minority groups due to spurious correlations.
- ToxiGen is a large-scale machine-generated dataset consisting of 274k toxic and benign statements about 13 minority groups.
- ToxiGen is generated using a demonstration-based prompting framework and an adversarial classifier-in-the-loop decoding method.
- Human evaluation shows that annotators cannot distinguish between machine-generated text and human-written language.
- 94.5% of toxic examples in ToxiGen are labeled as hate speech by human annotators.
- Finetuning a toxicity classifier on ToxiGen data significantly improves its performance on human-written data.
- Experiments with three publicly available datasets demonstrate the improvement achieved through finetuning on ToxiGen data.
- ToxiGen is presented as a valuable resource for combating machine-generated toxicity and advancing hate speech detection systems.
- The study highlights the potential benefits of incorporating machine-generated data into training models for accurate identification of toxic language.
Abstract: Toxic language detection systems often falsely flag text that contains minority group mentions as toxic, as those groups are often the targets of online hate. Such over-reliance on spurious correlations also causes systems to struggle with detecting implicitly toxic language. To help mitigate these issues, we create ToxiGen, a new large-scale and machine-generated dataset of 274k toxic and benign statements about 13 minority groups. We develop a demonstration-based prompting framework and an adversarial classifier-in-the-loop decoding method to generate subtly toxic and benign text with a massive pretrained language model. Controlling machine generation in this way allows ToxiGen to cover implicitly toxic text at a larger scale, and about more demographic groups, than previous resources of human-written text. We conduct a human evaluation on a challenging subset of ToxiGen and find that annotators struggle to distinguish machine-generated text from human-written language. We also find that 94.5% of toxic examples are labeled as hate speech by human annotators. Using three publicly-available datasets, we show that finetuning a toxicity classifier on our data improves its performance on human-written data substantially. We also demonstrate that ToxiGen can be used to fight machine-generated toxicity as finetuning improves the classifier significantly on our evaluation subset.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm compares the title and abstract of this paper with all the papers of the same arXiv category that we have summarized, and finds the closest ones. You can rerun it from time to time: the results improve as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.