mlsanityData to 7 Oct 2026

Digital Guardians: Can GPT-4, Perspective API, and Moderation API reliably detect hate speech in reader comments of German online newspapers?

arXiv 2501.01256 ↗First posted 2 Jan 2025cs.CL cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

In recent years, toxic content and hate speech have become widespread phenomena on the internet. Moderators of online newspapers and forums are now required, partly due to legal regulations, to carefully review and, if necessary, delete reader comments. This is a labor-intensive process. Some providers of large language models already offer solutions for automated hate speech detection or the identification of toxic content. These include GPT-4o from OpenAI, Jigsaw's (Google) Perspective API, and OpenAI's Moderation API. Based on the selected German test dataset HOCON34k, which was specifically created for developing tools to detect hate speech in reader comments of online newspapers, these solutions are compared with each other and against the HOCON34k baseline. The test dataset contains 1,592 annotated text samples. For GPT-4o, three different promptings are used, employing a Zero-Shot, One-Shot, and Few-Shot approach. The results of the experiments demonstrate that GPT-4o outperforms both the Perspective API and the Moderation API, and exceeds the HOCON34k baseline by approximately 5 percentage points, as measured by a combined metric of MCC and F2-score.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 16 of its 35 references that are in the map. First posted on arXiv 2 Jan 2025.

Builds on

16 of 35 references.

References · 16

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2020Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlationcited by 420
  5. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
  6. 2022A New Generation of Perspective API: Efficient Multilingual Character-level Transformerscited by 181
  7. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 158
  8. 2020German's Next Language Modelcited by 144
  9. 2017Deceiving Google's Perspective API Built for Detecting Toxic Commentscited by 99
  10. 2021Detecting Hate Speech with GPT-3cited by 55
  11. 2023"HOT" ChatGPT: The promise of ChatGPT in detecting and discriminating hateful, offensive, and toxic comments on social mediacited by 45
  12. 2021A systematic review of Hate Speech automatic detection using Natural Language Processingcited by 26
4 more
  1. 2024An Investigation of Large Language Models for Real-World Hate Speech Detectioncited by 20
  2. 2023Toxic Bias: Perspective API Misreads German as More Toxiccited by 19
  3. 2024Close to Human-Level Agreement: Tracing Journeys of Violent Speech in Incel Posts with GPT-4-Enhanced Annotationscited by 7
  4. 2024A Comprehensive Study on NLP Data Augmentation for Hate Speech Detection: Legacy Methods, BERT, and LLMscited by 7

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.