arXiv:2610.16957cs.CLOct 2026

Manuscript Offprint

arXiv:2610.16957

SarcasTraps: Effect of Sarcasm on Turkish Hate Speech Detection

Niyazi Ahmet Metin, Dilara Keküllüoğlu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Standard hate speech detection datasets often emphasize explicit harmful language, but directed harm can also be expressed indirectly, without clearly hateful wording. Sarcasm is one such form of indirect expression, as it can convey harmful intent through mock praise, exaggeration, humor, or apparent politeness. In this paper, we introduce SarcasTraps, a targeted external test set for analyzing the effect of sarcasm on Turkish hate speech detection. SarcasTraps contains 479 entries annotated along two dimensions: hate speech and sarcasm. We train classifiers using BERTurk and XLM-RoBERTa on two existing Turkish hate speech datasets and evaluate them on SarcasTraps, using it strictly as an external test set. We also evaluate GPT-4.1 and Llama-3.3-70B in a zero-shot setting on SarcasTraps. Results show that sarcasm substantially affects hate speech detection. Fine-tuned encoder models lose recall on sarcastic hate, while zero-shot LLMs maintain higher recall but suffer substantial precision drops on sarcastic examples. These findings show that both fine-tuned hate speech detectors and zero-shot LLMs struggle when sarcasm is involved, and SarcasTraps provides quantitative evidence of this challenge through a targeted Turkish test set. Due to the presence of sensitive and hateful language, SarcasTraps will be shared upon request for academic research purposes. Warning: This paper has examples from the dataset which contains offensive and hateful content towards groups of people.

1 Introduction

Understanding sarcasm is difficult, as even its definition is contested. Work in pragmatics repeatedly notes that the boundary between sarcasm and irony is elusive, and broader theories of irony have not settled on a single stable definition. (Dynel, 2017; Kapogianni, 2021). Some sources take sarcasm as a subclass of irony (Leggitt and Gibbs, 2000), and some count them as separate notions (Ling and Klinger, 2016). In general, sarcasm is described in terms of its overlap with irony rather than in isolation, in both, meanings inferred beyond the literal utterance, and there is a need to recover what a speaker intends rather than what the sentence literally says. Prior work on Turkish also suggests that the term “sarcasm” has no exact equivalent in Turkish; instead, several near-equivalents are used in everyday language. In Turkish literary tradition, sarcasm is most closely associated with “hiciv” (Banasik-Jemielniak et al., 2022). Within pragmatics, sarcasm could be treated not as a simple gap between literal and intended meaning. Sarcasm is also a communicative resource since figurative language is used to accomplish discourse goals, and sarcastic irony is often used to complain or criticize implicitly while making the speaker appear less rude or unfair (Roberts and Kreuz, 1994; Jorgensen, 1996).

In Natural Language Processing, sarcasm has most commonly been studied as a text classification problem, where the goal is to determine whether a given text is sarcastic. Early work focused largely on English social media and microblog texts, and later extended to other genres such as sarcastic headlines and crowdsourced corpora (Barbieri et al., 2014; Ptáček et al., 2014; Shrikhande et al., 2020; Oraby et al., 2016). More recent work has also considered intended sarcasm, where labels are provided by the authors of the sarcastic texts themselves (Oprea and Magdy, 2020). Beyond English, sarcasm and irony detection have been explored in languages such as Chinese and Arabic, as well as in multilingual settings including Arabic–English and Czech–English (Gong et al., 2020; Abu Farha and Magdy, 2020; Abu Farha et al., 2022; Ptáček et al., 2014). In Turkish, existing resources have appeared under partially overlapping labels such as irony, satire, and sarcasm: earlier datasets focused on Twitter or microblog-style texts (Taslioglu and Karagoz, 2017; Dülger, 2018; Karabaş and Dırı,

2020), while later work introduced IronyTR, Turkish satire datasets, and news-column datasets annotated for irony and sarcasm (Ozturk et al., 2021; Onan and Toçoğlu, 2020; Eser and Bilgin, 2025). Closest to our setting, Metin et al. (2026) introduced a context-aware Turkish sarcasm detection dataset from Ekşi Sözlük, using title-level contextual summaries to evaluate sarcasm detection in informal online discourse.

These studies provide the foundation for modeling sarcasm directly, but they also motivate asking how sarcasm interacts with other NLP tasks that depend on speaker intent. Thus, this study shifts the focus from sarcasm classification to investigating its broader effects; specifically, we examine whether sarcasm creates a hidden failure mode in the safety-critical domain of hate speech detection.

Hate speech detection is central to online safety, content moderation, and harmful language understanding (Schmidt and Wiegand, 2017), yet many evaluation settings primarily evaluate cases where harmful intent is expressed relatively directly, through explicit insults, slurs, or negative statements about a target group. (Waseem and Hovy, 2016; Davidson et al., 2017; Zampieri et al., 2019; ElSherief et al., 2021). Sarcasm challenges this assumption because it can separate the literal wording of a text from its intended social meaning. A sarcastic utterance may appear humorous, polite, exaggerated, or indirectly critical on the surface while still conveying contempt, exclusion, or hostility toward a protected group. This motivates our central question: Do hate speech detectors trained on standard Turkish datasets remain reliable when hateful intent is expressed sarcastically? This problem is especially relevant in Turkish online discourse because informal platforms frequently contain indirect, mocking, and culturally loaded expressions.

To address this question, we introduce Sarcas-Traps where we analyze the effect of sarcasm on Turkish hate speech detection. Rather than treating sarcasm as the target label, SarcasTraps annotates each instance along two dimensions: whether the text contains hate speech and whether it is sarcastic. Combining these annotations yields four conditions: non-hateful non-sarcastic, non-hateful sarcastic, hateful non-sarcastic, and hateful sarcastic. In total, SarcasTraps contains 479 samples. We use SarcasTraps as an external test set by training hate speech classifiers on existing Turkish hate speech datasets and evaluating how their predictions transfer to these four classes.

We build SarcasTraps from Ekşi Sözlük (literally, “Sour Dictionary”), one of the largest user-generated discussion platforms in Türkiye (Ekşi Sözlük). The platform is organized around titles, where each title names a concept, event, person, phrase, or social issue, and users contribute short entries under that title. This structure produces a distinctive form of informal online discourse: entries are often subjective, culturally loaded, politically charged, humorous, or mocking, and their interpretation may depend on the shared topic established by the title. These properties make Ekşi Sözlük a suitable source for SarcasTraps, since it naturally contains cases where harmful group-level meaning can be expressed indirectly through sarcasm, irony, exaggeration, or mock praise.