mlsanityData to 7 Oct 2026

Leveraging Large Language Models and Topic Modeling for Toxicity Classification

arXiv 2411.17876 ↗First posted 26 Nov 2024cs.CL cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Content moderation and toxicity classification represent critical tasks with significant social implications. However, studies have shown that major classification models exhibit tendencies to magnify or reduce biases and potentially overlook or disadvantage certain marginalized groups within their classification processes. Researchers suggest that the positionality of annotators influences the gold standard labels in which the models learned from propagate annotators' bias. To further investigate the impact of annotator positionality, we delve into fine-tuning BERTweet and HateBERT on the dataset while using topic-modeling strategies for content moderation. The results indicate that fine-tuning the models on specific topics results in a notable improvement in the F1 score of the models when compared to the predictions generated by other prominent classification models such as GPT-4, PerspectiveAPI, and RewireAPI. These findings further reveal that the state-of-the-art large language models exhibit significant limitations in accurately detecting and interpreting text toxicity contrasted with earlier methodologies. Code is available at https://github.com/aheldis/Toxicity-Classification.git.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 18 of its 25 references that are in the map. First posted on arXiv 26 Nov 2024.

Builds on

18 of 25 references.

References · 18

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
  4. 2024A Survey on Large Language Models for Code Generationcited by 646
  5. 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
  6. 2023Toxicity in ChatGPT: Analyzing Persona-assigned Language Modelscited by 356
  7. 2020BERTweet: A pre-trained language model for English Tweetscited by 346
  8. 2023Sentiment Analysis in the Era of Large Language Models: A Reality Checkcited by 262
  9. 2020HateBERT: Retraining BERT for Abusive Language Detection in Englishcited by 206
  10. 2023NLPositionality: Characterizing Design Biases of Datasets and Modelscited by 91
  11. 2023"HOT" ChatGPT: The promise of ChatGPT in detecting and discriminating hateful, offensive, and toxic comments on social mediacited by 45
  12. 2023Efficient Toxic Content Detection by Bootstrapping and Distilling Large Language Modelscited by 21
6 more
  1. 2023Exploring ChatGPT for Toxicity Detection in GitHubcited by 15
  2. 2021A Concise Review of Transfer Learningcited by 13
  3. 2024Communication-Efficient and Tensorized Federated Fine-Tuning of Large Language Modelscited by 12
  4. 2022Enhancing Crisis-Related Tweet Classification with Entity-Masked Language Modeling and Multi-Task Learningcited by 3
  5. 2021Not All Comments are Equal: Insights into Comment Moderation from a Topic-Aware Modelcited by 2
  6. 2022COVID-19-related Nepali Tweets Classification in a Low Resource Settingcited by 1

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.