ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detection

AI-generated keywords: Toxic language detection ToxiGen Machine-generated data Human evaluation Hate speech

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.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Thomas Hartvigsen, Saadia Gabriel, Hamid Palangi, Maarten Sap, Dipankar Ray, Ece Kamar

License: CC BY 4.0

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.

Submitted to arXiv on 17 Mar. 2022

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2203.09509v1

Toxic language detection systems often struggle to accurately identify toxic text that targets minority groups due to spurious correlations. To address this challenge, the authors introduce ToxiGen - a large-scale machine-generated dataset consisting of 274k toxic and benign statements about 13 minority groups. This dataset is generated using a demonstration-based prompting framework and an adversarial classifier-in-the-loop decoding method. A human evaluation is conducted on a challenging subset of the dataset which reveals that annotators are unable to distinguish between machine-generated text and human-written language. Additionally, 94.5% of toxic examples are labeled as hate speech by human annotators. Finetuning a toxicity classifier on ToxiGen data enhances its performance significantly when applied to human-written data with experiments using three publicly available datasets demonstrating this improvement. This study presents ToxiGen as a valuable resource for combating machine-generated toxicity and advancing hate speech detection systems. The findings highlight the potential benefits of incorporating machine-generated data into training models to improve their performance in identifying toxic language accurately.
Created on 03 Oct. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while 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.