Guardado en:
Detalles Bibliográficos
Autores principales: Ijezue, Chukwuebuka Fortunate, Eneye, Tania-Amanda Fredrick, Amjad, Maaz
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:https://arxiv.org/abs/2511.12874
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912713239691264
author Ijezue, Chukwuebuka Fortunate
Eneye, Tania-Amanda Fredrick
Amjad, Maaz
author_facet Ijezue, Chukwuebuka Fortunate
Eneye, Tania-Amanda Fredrick
Amjad, Maaz
contents This paper presents a transformer-based approach for classifying hope expressions in text. We developed and compared three architectures (BERT, GPT-2, and DeBERTa) for both binary classification (Hope vs. Not Hope) and multiclass categorization (five hope-related categories). Our initial BERT implementation achieved 83.65% binary and 74.87% multiclass accuracy. In the extended comparison, BERT demonstrated superior performance (84.49% binary, 72.03% multiclass accuracy) while requiring significantly fewer computational resources (443s vs. 704s training time) than newer architectures. GPT-2 showed lowest overall accuracy (79.34% binary, 71.29% multiclass), while DeBERTa achieved moderate results (80.70% binary, 71.56% multiclass) but at substantially higher computational cost (947s for multiclass training). Error analysis revealed architecture-specific strengths in detecting nuanced hope expressions, with GPT-2 excelling at sarcasm detection (92.46% recall). This study provides a framework for computational analysis of hope, with applications in mental health and social media analysis, while demonstrating that architectural suitability may outweigh model size for specialized emotion detection tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2511_12874
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Classification of Hope in Textual Data using Transformer-Based Models
Ijezue, Chukwuebuka Fortunate
Eneye, Tania-Amanda Fredrick
Amjad, Maaz
Computation and Language
Artificial Intelligence
Machine Learning
This paper presents a transformer-based approach for classifying hope expressions in text. We developed and compared three architectures (BERT, GPT-2, and DeBERTa) for both binary classification (Hope vs. Not Hope) and multiclass categorization (five hope-related categories). Our initial BERT implementation achieved 83.65% binary and 74.87% multiclass accuracy. In the extended comparison, BERT demonstrated superior performance (84.49% binary, 72.03% multiclass accuracy) while requiring significantly fewer computational resources (443s vs. 704s training time) than newer architectures. GPT-2 showed lowest overall accuracy (79.34% binary, 71.29% multiclass), while DeBERTa achieved moderate results (80.70% binary, 71.56% multiclass) but at substantially higher computational cost (947s for multiclass training). Error analysis revealed architecture-specific strengths in detecting nuanced hope expressions, with GPT-2 excelling at sarcasm detection (92.46% recall). This study provides a framework for computational analysis of hope, with applications in mental health and social media analysis, while demonstrating that architectural suitability may outweigh model size for specialized emotion detection tasks.
title Classification of Hope in Textual Data using Transformer-Based Models
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2511.12874