Quantifying Valence and Arousal in Text with Multilingual Pre-trained Transformers

Gonçalo Azevedo Mendes, Bruno Martins
2/27/2023
cs.CLcs.AIcs.IR

No official code found. Best implementation: gmendes9/multilingual_va_prediction (44 stars, MIT, last commit 2023-02-26).

Abstract

The analysis of emotions expressed in text has numerous applications. In contrast to categorical analysis, focused on classifying emotions according to a pre-defined set of common classes, dimensional approaches can offer a more nuanced way to distinguish between different emotions. Still, dimensional methods have been less studied in the literature. Considering a valence-arousal dimensional space, this work assesses the use of pre-trained Transformers to predict these two dimensions on a continuous scale, with input texts from multiple languages and domains. We specifically combined multiple annotated datasets from previous studies, corresponding to either emotional lexica or short text documents, and evaluated models of multiple sizes and trained under different settings. Our results show that model size can have a significant impact on the quality of predictions, and that by fine-tuning a large model we can confidently predict valence and arousal in multiple languages. We make available the code, models, and supporting data.

View on arXivView PDF

Code Implementations(1)

MIT

Repository for Quantifying Valence and Arousal in Text with Multilingual Pre-trained Transformers

443PythonSep 29, 20223 years agoMIT

Similar Papers

Cite this paper

@article{mendes2023quantifying,
  title  = {Quantifying Valence and Arousal in Text with Multilingual Pre-trained Transformers},
  author = {Gonçalo Azevedo Mendes and Bruno Martins},
  year   = {2023},
  eprint = {2302.14021},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.14021v1}
}

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

Discussion