A Modular Taxonomy for Hate Speech Definitions and Its Impact on Zero-Shot LLM Classification Performance

Matteo Melis, Gabriella Lapesa, Dennis Assenmacher
6/23/2025
cs.CLcs.CY

No official code found. Best implementation: matteo-mls/Modular-Taxonomy-for-Hate-Speech-Definitions (0 stars, last commit 2025-07-22).

Abstract

Detecting harmful content is a crucial task in the landscape of NLP applications for Social Good, with hate speech being one of its most dangerous forms. But what do we mean by hate speech, how can we define it, and how does prompting different definitions of hate speech affect model performance? The contribution of this work is twofold. At the theoretical level, we address the ambiguity surrounding hate speech by collecting and analyzing existing definitions from the literature. We organize these definitions into a taxonomy of 14 Conceptual Elements-building blocks that capture different aspects of hate speech definitions, such as references to the target of hate (individual or groups) or of the potential consequences of it. At the experimental level, we employ the collection of definitions in a systematic zero-shot evaluation of three LLMs, on three hate speech datasets representing different types of data (synthetic, human-in-the-loop, and real-world). We find that choosing different definitions, i.e., definitions with a different degree of specificity in terms of encoded elements, impacts model performance, but this effect is not consistent across all architectures.

View on arXivView PDF

Code Implementations(1)

00Jupyter NotebookJun 12, 20251 years ago

Similar Papers

Cite this paper

@article{melis2025modular,
  title  = {A Modular Taxonomy for Hate Speech Definitions and Its Impact on Zero-Shot LLM Classification Performance},
  author = {Matteo Melis and Gabriella Lapesa and Dennis Assenmacher},
  year   = {2025},
  eprint = {2506.18576},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.18576v1}
}

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/2506.18576.svg)](https://codeofpaper.com/paper/2506.18576)

Discussion