Transfer Learning via Lexical Relatedness: A Sarcasm and Hate Speech Case Study

Angelly Cabrera, Linus Lei, Antonio Ortega
8/22/2025
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Detecting hate speech in non-direct forms, such as irony, sarcasm, and innuendos, remains a persistent challenge for social networks. Although sarcasm and hate speech are regarded as distinct expressions, our work explores whether integrating sarcasm as a pre-training step improves implicit hate speech detection and, by extension, explicit hate speech detection. Incorporating samples from ETHOS, Sarcasm on Reddit, and Implicit Hate Corpus, we devised two training strategies to compare the effectiveness of sarcasm pre-training on a CNN+LSTM and BERT+BiLSTM model. The first strategy is a single-step training approach, where a model trained only on sarcasm is then tested on hate speech. The second strategy uses sequential transfer learning to fine-tune models for sarcasm, implicit hate, and explicit hate. Our results show that sarcasm pre-training improved the BERT+BiLSTM's recall by 9.7%, AUC by 7.8%, and F1-score by 6% on ETHOS. On the Implicit Hate Corpus, precision increased by 7.8% when tested only on implicit samples. By incorporating sarcasm into the training process, we show that models can more effectively detect both implicit and explicit hate.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cabrera2025transfer,
  title  = {Transfer Learning via Lexical Relatedness: A Sarcasm and Hate Speech Case Study},
  author = {Angelly Cabrera and Linus Lei and Antonio Ortega},
  year   = {2025},
  eprint = {2508.16555},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.16555v1}
}

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

Discussion