Leveraging sensory knowledge into Text-to-Text Transfer Transformer for enhanced emotion analysis

Qingqing Zhao, Yuhan Xia*, Yunfei Long, Ge Xu, Jia Wang

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

4 Citations (Scopus)

Abstract

This study proposes an innovative model (i.e., SensoryT5), which integrates sensory knowledge into the T5 (Text-to-Text Transfer Transformer) framework for emotion classification tasks. By embedding sensory knowledge within the T5 model's attention mechanism, SensoryT5 not only enhances the model's contextual understanding but also elevates its sensitivity to the nuanced interplay between sensory information and emotional states. Experiments on four emotion classification datasets, three sarcasm classification datasets one subjectivity analysis dataset, and one opinion classification dataset (ranging from binary to 32-class tasks) demonstrate that our model outperforms state-of-the-art baseline models (including the baseline T5 model) significantly. Specifically, SensoryT5 achieves a maximal improvement of 3.0% in both the accuracy and the F1 score for emotion classification. In sarcasm classification tasks, the model surpasses the baseline models by the maximal increase of 1.2% in accuracy and 1.1% in the F1 score. Furthermore, SensoryT5 continues to demonstrate its superior performances for both subjectivity analysis and opinion classification, with increases in ACC and the F1 score by 0.6% for the subjectivity analysis task and increases in ACC by 0.4% and the F1 score by 0.6% for the opinion classification task, when compared to the second-best models. These improvements underscore the significant potential of leveraging cognitive resources to deepen NLP models’ comprehension of emotional nuances and suggest an interdisciplinary research between the areas of NLP and neuro-cognitive science.

Original languageEnglish
Article number103876
JournalInformation Processing and Management
Volume62
Issue number1
DOIs
Publication statusPublished - Jan 2025

Keywords

  • Attention mechanism
  • Emotion analysis
  • Pre-trained language model
  • Sensory knowledge

Fingerprint

Dive into the research topics of 'Leveraging sensory knowledge into Text-to-Text Transfer Transformer for enhanced emotion analysis'. Together they form a unique fingerprint.

Cite this