Optimism, Expectation, or Sarcasm? Multi-Class Hope Speech Detection in Spanish and English

Sabur Butt, Fazlourrahman Balouchzahi, Ahmad Imam Amjad, Maaz Amjad, Hector G. Ceballos +1 more
4/24/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Hope is a complex and underexplored emotional state that plays a significant role in education, mental health, and social interaction. Unlike basic emotions, hope manifests in nuanced forms ranging from grounded optimism to exaggerated wishfulness or sarcasm, making it difficult for Natural Language Processing systems to detect accurately. This study introduces PolyHope V2, a multilingual, fine-grained hope speech dataset comprising over 30,000 annotated tweets in English and Spanish. This resource distinguishes between four hope subtypes Generalized, Realistic, Unrealistic, and Sarcastic and enhances existing datasets by explicitly labeling sarcastic instances. We benchmark multiple pretrained transformer models and compare them with large language models (LLMs) such as GPT 4 and Llama 3 under zero-shot and few-shot regimes. Our findings show that fine-tuned transformers outperform prompt-based LLMs, especially in distinguishing nuanced hope categories and sarcasm. Through qualitative analysis and confusion matrices, we highlight systematic challenges in separating closely related hope subtypes. The dataset and results provide a robust foundation for future emotion recognition tasks that demand greater semantic and contextual sensitivity across languages.

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{butt2025optimism,
  title  = {Optimism, Expectation, or Sarcasm? Multi-Class Hope Speech Detection in Spanish and English},
  author = {Sabur Butt and Fazlourrahman Balouchzahi and Ahmad Imam Amjad and Maaz Amjad and Hector G. Ceballos and Salud Maria Jimenez-Zafra},
  year   = {2025},
  eprint = {2504.17974},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.17974v2}
}

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

Discussion