Towards Efficient and Explainable Hate Speech Detection via Model Distillation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Piot, Paloma, Parapar, Javier
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909600555466752
author Piot, Paloma
Parapar, Javier
author_facet Piot, Paloma
Parapar, Javier
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_13698
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Efficient and Explainable Hate Speech Detection via Model Distillation
Piot, Paloma
Parapar, Javier
Computation and Language
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.
title Towards Efficient and Explainable Hate Speech Detection via Model Distillation
topic Computation and Language
url https://arxiv.org/abs/2412.13698