mlsanityData to 14 Oct 2026

HateRephrase: Zero- and Few-Shot Reduction of Hate Intensity in Online Posts using Large Language Models

arXiv 2310.13985 ↗First posted 21 Oct 2023cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

Hate speech has become pervasive in today's digital age. Although there has been considerable research to detect hate speech or generate counter speech to combat hateful views, these approaches still cannot completely eliminate the potential harmful societal consequences of hate speech -- hate speech, even when detected, can often not be taken down or is often not taken down enough; and hate speech unfortunately spreads quickly, often much faster than any generated counter speech. This paper investigates a relatively new yet simple and effective approach of suggesting a rephrasing of potential hate speech content even before the post is made. We show that Large Language Models (LLMs) perform well on this task, outperforming state-of-the-art baselines such as BART-Detox. We develop 4 different prompts based on task description, hate definition, few-shot demonstrations and chain-of-thoughts for comprehensive experiments and conduct experiments on open-source LLMs such as LLaMA-1, LLaMA-2 chat, Vicuna as well as OpenAI's GPT-3.5. We propose various evaluation metrics to measure the efficacy of the generated text and ensure the generated text has reduced hate intensity without drastically changing the semantic meaning of the original text. We find that LLMs with a few-shot demonstrations prompt work the best in generating acceptable hate-rephrased text with semantic meaning similar to the original text. Overall, we find that GPT-3.5 outperforms the baseline and open-source models for all the different kinds of prompts. We also perform human evaluations and interestingly, find that the rephrasings generated by GPT-3.5 outperform even the human-generated ground-truth rephrasings in the dataset. We also conduct detailed ablation studies to investigate why LLMs work satisfactorily on this task and conduct a failure analysis to understand the gaps.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 13 of its 41 references that are in the map. First posted on arXiv 21 Oct 2023.

Builds on

13 of 41 references.

References · 13

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  2. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  3. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  4. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
  5. 2023Can ChatGPT Reproduce Human-Generated Labels? A Study of Social Computing Taskscited by 89
  6. 2023Evaluating GPT-3 Generated Explanations for Hateful Content Moderationcited by 46
  7. 2021Generate, Prune, Select: A Pipeline for Counterspeech Generation against Online Hate Speechcited by 42
  8. 2022Using Pre-Trained Language Models for Producing Counter Narratives Against Hate Speech: a Comparative Studycited by 30
  9. 2020Countering hate on social media: Large scale classification of hate and counter speechcited by 22
  10. 2022Proactively Reducing the Hate Intensity of Online Posts via Hate Speech Normalizationcited by 17
  11. 2021Countering Online Hate Speech: An NLP Perspectivecited by 12
  12. 2020Impact and dynamics of hate and counter speech onlinecited by 11
1 more
  1. 2022A Graph-Based Context-Aware Model to Understand Online Conversationscited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 4; 2025: 2; 2026: 1.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Probing LLMs for hate speech detection: strengths and vulnerabilities
  2. 2024Decoding Hate: Exploring Language Models' Reactions to Hate Speech
  3. 2026CATCH-ME if you RAG: a dataset of Contextually Annotated multi-Turn Counterspeech against Hate and Misinformation Exchanges
  4. 2025HateBench: Benchmarking Hate Speech Detectors on LLM-Generated Content and Hate Campaigns
  5. 2025Rethinking Hate Speech Detection on Social Media: Can LLMs Replace Traditional Models?
  6. 2026Enhancing Hate Speech Detection on Social Media: A Comparative Analysis of Machine Learning Models and Text Transformation Approaches
  7. 2024Consolidating Strategies for Countering Hate Speech Using Persuasive Dialogues
  8. 2025A Modular Taxonomy for Hate Speech Definitions and Its Impact on Zero-Shot LLM Classification Performance