mlsanityData to 14 Oct 2026

Efficient Models for the Detection of Hate, Abuse and Profanity

arXiv 2402.05624 ↗First posted 8 Feb 2024cs.CL cs.AI cs.HCcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) are the cornerstone for many Natural Language Processing (NLP) tasks like sentiment analysis, document classification, named entity recognition, question answering, summarization, etc. LLMs are often trained on data which originates from the web. This data is prone to having content with Hate, Abuse and Profanity (HAP). For a detailed definition of HAP, please refer to the Appendix. Due to the LLMs being exposed to HAP content during training, the models learn it and may then generate hateful or profane content. For example, when the open-source RoBERTa model (specifically, the RoBERTA base model) from the HuggingFace (HF) Transformers library is prompted to replace the mask token in `I do not know that Persian people are that MASK` it returns the word `stupid` with the highest score. This is unacceptable in civil discourse.The detection of Hate, Abuse and Profanity in text is a vital component of creating civil and unbiased LLMs, which is needed not only for English, but for all languages. In this article, we briefly describe the creation of HAP detectors and various ways of using them to make models civil and acceptable in the output they generate.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 33 references that are in the map. First posted on arXiv 8 Feb 2024.

Builds on

15 of 33 references.

References · 15

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  7. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
  8. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  9. 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 527
  10. 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 270
  11. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 245
  12. 2020HateBERT: Retraining BERT for Abusive Language Detection in Englishcited by 207
3 more
  1. 2020Directions in Abusive Language Training Data: Garbage In, Garbage Outcited by 140
  2. 2020Deep Learning Models for Multilingual Hate Speech Detectioncited by 49
  3. 2023Muted: Multilingual Targeted Offensive Speech Identification and Visualizationcited by 4

Built on by

Not cited yet.