Towards Efficient and Explainable Hate Speech Detection via Model Distillation

Paloma Piot, Javier Parapar
12/18/2024
cs.CL

No official code found. Best implementation: IRLab-UDC/distil-metahate (4 stars, last commit 2025-06-17). 1 more below.

Abstract

Automatic detection of hate and abusive language is essential to combat its online spread. Moreover, recognising and explaining hate speech serves to educate people about its negative effects. However, most current detection models operate as black boxes, lacking interpretability and explainability. In this context, Large Language Models (LLMs) have proven effective for hate speech detection and to promote interpretability. Nevertheless, they are computationally costly to run. In this work, we propose distilling big language models by using Chain-of-Thought to extract explanations that support the hate speech classification task. Having small language models for these tasks will contribute to their use in operational settings. In this paper, we demonstrate that distilled models deliver explanations of the same quality as larger models while surpassing them in classification performance. This dual capability, classifying and explaining, advances hate speech detection making it more affordable, understandable and actionable.

View on arXivView PDF

Code Implementations(2)

Towards Efficient and Explainable Hate Speech Detection via Model Distillation @ ECIR '25

42PythonOct 7, 20241 years agoNOASSERTION
distillationexplainable-aihate-speech-detection

Towards Efficient and Explainable Hate Speech Detection via Model Distillation

00Feb 13, 20268 months ago

Similar Papers

Cite this paper

@article{piot2024towards,
  title  = {Towards Efficient and Explainable Hate Speech Detection via Model Distillation},
  author = {Paloma Piot and Javier Parapar},
  year   = {2024},
  eprint = {2412.13698},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.13698v1}
}

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

Discussion