Improving the Generalizability of Text-Based Emotion Detection by Leveraging Transformers with Psycholinguistic Features
Abstract
In recent years, there has been increased interest in building predictive models that harness natural language processing and machine learning techniques to detect emotions from various text sources, including social media posts, micro-blogs or news articles.Yet, deployment of such models in real-world sentiment and emotion applications faces challenges, in particular poor out-of-domain generalizability.This is likely due to domainspecific differences (e.g., topics, communicative goals, and annotation schemes) that make transfer between different models of emotion recognition difficult.In this work we propose approaches for text-based emotion detection that leverage transformer models (BERT and RoBERTa) in combination with Bidirectional Long Short-Term Memory (BiLSTM) networks trained on a comprehensive set of psycholinguistic features.First, we evaluate the performance of our models within-domain on two benchmark datasets: GoEmotion (Demszky et al., 2020) and ISEAR (Scherer and Wallbott, 1994).Second, we conduct transfer learning experiments on six datasets from the Unified Emotion Dataset (Bostan and Klinger, 2018) to evaluate their out-of-domain robustness.We find that the proposed hybrid models improve the ability to generalize to out-of-distribution data compared to a standard transformer-based approach.Moreover, we observe that these models perform competitively on in-domain data.
Authors 4
-
Sourabh Zanwar Aachen
Affiliation as printed
RWTH Aachen University
-
Affiliation as printed
University of Amsterdam
-
Yu Qiao Aachen
Affiliation as printed
RWTH Aachen University
-
Elma Kerz Aachen
Affiliation as printed
RWTH Aachen University
Cited by 8 stored of 8
8 results
No patents citing this paper on Lens.org (checked 2026-10-06).