Hope Speech Detection in Social Media English Corpora: Performance of Traditional and Transformer Models

Luis Ramos, Hiram Calvo, Olga Kolesnikova
10/27/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

The identification of hope speech has become a promised NLP task, considering the need to detect motivational expressions of agency and goal-directed behaviour on social media platforms. This proposal evaluates traditional machine learning models and fine-tuned transformers for a previously split hope speech dataset as train, development and test set. On development test, a linear-kernel SVM and logistic regression both reached a macro-F1 of 0.78; SVM with RBF kernel reached 0.77, and Naïve Bayes hit 0.75. Transformer models delivered better results, the best model achieved weighted precision of 0.82, weighted recall of 0.80, weighted F1 of 0.79, macro F1 of 0.79, and 0.80 accuracy. These results suggest that while optimally configured traditional machine learning models remain agile, transformer architectures detect some subtle semantics of hope to achieve higher precision and recall in hope speech detection, suggesting that larges transformers and LLMs could perform better in small datasets.

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{ramos2025hope,
  title  = {Hope Speech Detection in Social Media English Corpora: Performance of Traditional and Transformer Models},
  author = {Luis Ramos and Hiram Calvo and Olga Kolesnikova},
  year   = {2025},
  eprint = {2510.23585},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.23585v1}
}

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

Discussion