Predicting Emotion Intensity in Text Using Transformer-Based Models
Temitope Oladepo, Oluwatobi Abiola, Tolulope Abiola, Abdullah -, Usman Muhammad, Babatunde Abiola
Abstract
Emotion intensity prediction in text enhances conversational AI by enabling a deeper understanding of nuanced human emotions, a crucial yet underexplored aspect of natural language processing (NLP). This study employs Transformer-based models to classify emotion intensity levels (0–3) for five emotions: anger, fear, joy, sadness, and surprise. The dataset, sourced from the SemEval shared task, was preprocessed to address class imbalance, and model training was performed using fine-tuned *bert-base-uncased*. Evaluation metrics showed that *sadness* achieved the highest accuracy (0.8017) and F1-macro (0.5916), while *fear* had the lowest accuracy (0.5690) despite a competitive F1-macro (0.5207). The results demonstrate the potential of Transformer-based models in emotion intensity prediction while highlighting the need for further improvements in class balancing and contextual representation.- Anthology ID:
- 2025.semeval-1.220
- Volume:
- Proceedings of the 19th International Workshop on Semantic Evaluation (SemEval-2025)
- Month:
- July
- Year:
- 2025
- Address:
- Vienna, Austria
- Editors:
- Sara Rosenthal, Aiala Rosá, Debanjan Ghosh, Marcos Zampieri
- Venues:
- SemEval | WS
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 1677–1682
- Language:
- URL:
- https://preview.aclanthology.org/transition-to-people-yaml/2025.semeval-1.220/
- DOI:
- Cite (ACL):
- Temitope Oladepo, Oluwatobi Abiola, Tolulope Abiola, Abdullah -, Usman Muhammad, and Babatunde Abiola. 2025. Predicting Emotion Intensity in Text Using Transformer-Based Models. In Proceedings of the 19th International Workshop on Semantic Evaluation (SemEval-2025), pages 1677–1682, Vienna, Austria. Association for Computational Linguistics.
- Cite (Informal):
- Predicting Emotion Intensity in Text Using Transformer-Based Models (Oladepo et al., SemEval 2025)
- PDF:
- https://preview.aclanthology.org/transition-to-people-yaml/2025.semeval-1.220.pdf