Specializing General-purpose LLM Embeddings for Implicit Hate Speech Detection across Datasets

Vassiliy Cheremetiev, Quang Long Ho Ngo, Chau Ying Kot, Alina Elena Baia, Andrea Cavallaro
8/28/2025
cs.CL

No official code found. Best implementation: idiap/implicit-hsd (1 star, Apache-2.0, last commit 2025-11-18).

Abstract

Implicit hate speech (IHS) is indirect language that conveys prejudice or hatred through subtle cues, sarcasm or coded terminology. IHS is challenging to detect as it does not include explicit derogatory or inflammatory words. To address this challenge, task-specific pipelines can be complemented with external knowledge or additional information such as context, emotions and sentiment data. In this paper, we show that, by solely fine-tuning recent general-purpose embedding models based on large language models (LLMs), such as Stella, Jasper, NV-Embed and E5, we achieve state-of-the-art performance. Experiments on multiple IHS datasets show up to 1.10 percentage points improvements for in-dataset, and up to 20.35 percentage points improvements in cross-dataset evaluation, in terms of F1-macro score.

View on arXivView PDF

Code Implementations(1)

idiap/implicit-hsdCommunity61%
Apache-2.0

Specializing General-purpose LLM Embeddings for Implicit Hate Speech Detection across Datasets

10PythonAug 21, 202511 months agoApache-2.0

Similar Papers

Cite this paper

@article{cheremetiev2025specializing,
  title  = {Specializing General-purpose LLM Embeddings for Implicit Hate Speech Detection across Datasets},
  author = {Vassiliy Cheremetiev and Quang Long Ho Ngo and Chau Ying Kot and Alina Elena Baia and Andrea Cavallaro},
  year   = {2025},
  eprint = {2508.20750},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.20750v1}
}

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

Discussion