HatePrototypes: Interpretable and Transferable Representations for Implicit and Explicit Hate Speech Detection

Irina Proskurina, Marc-Antoine Carpentier, Julien Velcin
11/9/2025
cs.CLcs.AI

No official code found. Best implementation: upunaprosk/hate-prototypes (2 stars, last commit 2025-12-11).

Abstract

Optimization of offensive content moderation models for different types of hateful messages is typically achieved through continued pre-training or fine-tuning on new hate speech benchmarks. However, existing benchmarks mainly address explicit hate toward protected groups and often overlook implicit or indirect hate, such as demeaning comparisons, calls for exclusion or violence, and subtle discriminatory language that still causes harm. While explicit hate can often be captured through surface features, implicit hate requires deeper, full-model semantic processing. In this work, we question the need for repeated fine-tuning and analyze the role of HatePrototypes, class-level vector representations derived from language models optimized for hate speech detection and safety moderation. We find that these prototypes, built from as few as 50 examples per class, enable cross-task transfer between explicit and implicit hate, with interchangeable prototypes across benchmarks. Moreover, we show that parameter-free early exiting with prototypes is effective for both hate types. We release the code, prototype resources, and evaluation scripts to support future research on efficient and transferable hate speech detection.

View on arXivView PDF

Code Implementations(1)

Code for the paper "HatePrototypes: Interpretable and Transferable Representations for Implicit and Explicit Hate Speech Detection"

20Python, Jupyter NotebookAug 12, 202510 months ago
early-exitingefficiencyguardrailhate-speech-detectionmoderation+1 more

Similar Papers

Cite this paper

@article{proskurina2025hateprototypes,
  title  = {HatePrototypes: Interpretable and Transferable Representations for Implicit and Explicit Hate Speech Detection},
  author = {Irina Proskurina and Marc-Antoine Carpentier and Julien Velcin},
  year   = {2025},
  eprint = {2511.06391},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.06391v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.06391.svg)](https://codeofpaper.com/paper/2511.06391)

Discussion