<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Valladolid, Spain
* Corresponding author.
$ daniel.gbaena@gmail.com (D. García-Baena); magc@ujaen.es (M. García-Cumbreras); sjzafra@ujaen.es
(S. M. Jiménez-Zafra)</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>SINAI at EmoSPeech-IberLEF2024: Evaluating Popular Tools and Transformers Models for Multimodal Speech-Text Emotion Recognition in Spanish</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Daniel García-Baena</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Miguel Ángel García-Cumbreras</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Salud María Jiménez-Zafra</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computer Science Department, SINAI, CEATIC, Universidad de Jaén</institution>
          ,
          <addr-line>23071</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>This work presents the participation of the SINAI team at EmoSPeech-IberLEF2024 shared task, Multimodal Speech-Text Emotion Recognition in Spanish. We have addressed the first of the proposed tasks, focused on extracting features and identifying the most representative ones of each emotion in a dataset created from real-life situations compiled from YouTube videos. For emotion analysis, we have evaluated some of the most popular transformers models and specific emotion analysis open source transformers publicly available on Hugging Face. In total, 14 systems have participated (including the baseline provided by the organizers). The best run sent by our team have been placed in position 8th with an F1-score of 0.5200, being 0.6719 the best result obtained in the first task ranking.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;emotion analysis</kwd>
        <kwd>text emotion recognition</kwd>
        <kwd>transformers</kwd>
        <kwd>natural language processing</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        IberLEF is a shared evaluation campaign for Natural Language Processing (NLP) systems in
Spanish and other Iberian languages [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In an annual cycle that starts in December (with
the call for task proposals) and ends in September (with an IberLEF meeting collocated with
SEPLN), several challenges are run with large international participation from research groups in
academia and industry. Specifically, this shared task was titled EmoSPeech 2024 Task - Multimodal
Speech-Text Emotion Recognition in Spanish [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], and aims to explore multimodal speech-text
emotion recognition for texts written in Spanish [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        We found interesting to take part into this shared task specially because being able to
recognize human emotions is crucial for building positive relationships, whether it is in person or
through interactions with computers [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Automatic Emotion Recognition (AER) has a growing
importance due to its impact on various fields such as healthcare, psychology, social sciences and
marketing [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. AER software can help providing personalized responses and recommendations,
leading to improved user engagement and satisfaction. The process of AER can be addressed
using several taxonomies and is focused on recognizing six basic emotional expressions as
they are: anger, disgust, fear, happiness, sadness and surprise [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. By automatically
recognizing emotions, a system could identify, interpret and respond to diferent human ways of
communication, such as text, facial expressions, voice tones or even body language. Diferent
features can be used to identify emotions [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] but, in this work, our team focused exclusively in
text for developing automatic emotion analysis systems. Competition is available in CodaLab:
https://codalab.lisn.upsaclay.fr/competitions/17647
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Task description</title>
      <p>As we previously noted, our team concentrated on tackling the first subtask from this challenge,
analyze a given text and identify the emotion it conveys based on five of Ekman’s six basic
emotions: anger, disgust, fear, joy, and sadness, as well as one neutral emotion. Therefore, we
developed several AER systems that worked exclusively with text written in Spanish. We took
all the diferent texts collected from YouTube by the shared task organizers, about 3500-4000
transcripts of audio segments divided into training and test in an 80%-20% split (see Table 1),
and compiled into the available dataset and extracted diferent features in order to identify the
most representative emotions present in each of the cited texts that constitute a corpus created
from real-life situations.</p>
      <p>The aim of the first task was to analyze texts and identify the emotion that their convey
based on the popular Ekman’s six basic emotions: anger, disgust, fear, joy, sadness and surprise.
It is important to notice that the organizers removed surprise from the list, due to the small
amount of examples, and added as well one neutral emotion in order to classify those texts that
do not relate with any of Ekman’s list of emotions. The evaluation measures for this subtask
were: precision, recall and F1-score. Consequently, emotion classification systems in this work
were ranked attending to their macro-F1 scores.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Methodology</title>
      <p>We evaluated several public available models from Hugging Face for task 1. With this task,
organizers pretended to classify texts, extracted from YouTube, and classify them according to
Ekman’s five basic emotions plus one neutral additional option. With this purpose, we chose
ten of the most popular source code transformer models from Hugging Face and evaluated their
results when they were trained with the shared dataset.</p>
      <p>For selecting all the ten LLM from Hugging Face, we used the website public filter to choose
those especially indicated for emotion analysis, while working with texts written in Spanish. As
we pretended to discover which of the more popular were giving the best results for this first
task, we sorted the results from the Hugging Face filter in order to show the most downloaded
transformers models on top.</p>
      <p>As it can be seen in Table 2, we worked with several types of models while trying to perform
emotion analysis over the shared dataset. Thus, we did not evaluate LLM pretrained just texts
written only in Spanish, but we did evaluate too those pretrained only with text written in
English and the ones developed using several diferent languages, in this last case, always
including Spanish. In addition, we did not focused exclusively in models that were made
precisely to perform emotion analysis but also the most popular options available for general
purpose and LLM made to work in similar areas as sentiment analysis.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Experimental setup</title>
      <p>It is important to note that we did not perform any prior data pre-processing on the shared
dataset before of performing all of the experiments.</p>
      <p>With respect to the models, all were downloaded from their public profiles in Hugging
Face. During the finetuning process we always used Google Colab for coding under a Pro
configuration for being able to use their GPU based hardware options.</p>
      <p>Finally, concerning the hyperparameters, we did not performed any hyperparameters search
so all model configurations are the default ones.
finiteautomata/beto-emotion-analysis
finiteautomata/beto-sentiment-analysis
pysentimiento/robertuito-emotion-analysis
somosnlp/bertin_base_climate_detection_spa_v2
nlptown/bert-base-multilingual-uncased-sentiment
lxyuan/distilbert-base-multilingual-cased-sentiments-student
Spanish
Spanish
Spanish
Spanish
Multilingual
Multilingual</p>
    </sec>
    <sec id="sec-5">
      <title>5. Results and discussion</title>
      <p>
        This section presents the results obtained in the evaluation phase of the shared task EmoSPeech
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], Multimodal Speech-Text Emotion Recognition in Spanish, at IberLEF 2024. The organizers
selected target F1-score for ranking the systems from task 1. Each participating team could
submit a maximum of ten runs through CodaLab, from which each team had to select the best
one for the ranking. We selected our top runs based on the experiments carried out on the
training phase. The models and their results for each of the test runs are shown, sorted by their
F1-score, in Table 3.
      </p>
      <p>Firstly, we would like to highlight how the Spanish based systems outperformed the
multilingual ones. Results from training for English only LLM were specially disappointing so we
focused on those models that achieved over 0.4000 F1-score in the training phase (see Table 2).</p>
      <p>
        On the other hand, those models precisely made for emotion analysis generally outperformed
those with general or not exactly the same purpose (sentiment analysis). Nevertheless, one
sentiment analysis focused model, finiteautomata/beto-sentiment-analysis [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ], was able
to score a better F1-score than the emotion analysis focused LLM
pysentimiento/robertuitoemotion-analysis [
        <xref ref-type="bibr" rid="ref10 ref11 ref9">10, 9, 11</xref>
        ].
      </p>
      <p>
        Now, paying attention to Table 2, the best result from finiteautomata/beto-emotion-analysis
[
        <xref ref-type="bibr" rid="ref10 ref9">10, 9</xref>
        ] from training, it is surprisingly better than the one from Table 3 (test phase), 0.8172 VS
0.5200, respectively. We cannot categorically confirm this but it seems like the training phase
subset that was distributed by the shared task organizers contained several texts that were similar
or directly extracted from the same dataset that was used for training the
finiteautomata/betoemotion-analysis model. On the contrary, test subset from this shared task should not contain
so similar texts to finiteautomata/beto-emotion-analysis training dataset.
      </p>
      <p>On the other hand, as we were expecting to happened, both
finiteautomata/beto-emotionanalysis and pysentimiento/robertuito-emotion-analysis models, that were trained with all
the six Ekman’s basic emotions, achieved the top positions in Table 3. However, models as
ifniteautomata/beto-sentiment-analysis, somosnlp/bertin_base_climate_detection_spa_v2 and
lxyuan/distilbert-base-multilingual-cased-sentiments-student achieved similar F1-score with a
positive, negative and neutral configuration.</p>
      <p>In addition, we relate the low F1-scores to the big amount of tags that were expected to be
taken into account during the classification process. Systems needed to distinguish between six
diferent options as they were: anger, disgust, fear, joy, sadness and neutral; and this level of
exigence make this task way harder than developing a simple binary classifier.</p>
      <p>In relation to the last, we find important to highlight that even with a presumably low top
F1-score of 0.5200, we were just 0.1519 points behind of the best performer team of the first
task, classifying on 8th position for this task 1. This small diference reassures our thinking
about how classifying with six diferent categories, is a hard task for current open source most
popular LLM.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusions and future work</title>
      <p>In this paper we have presented the participation of the SINAI team in the shared task
EmoSPeech, Multimodal Speech-text Emotion Recognition in Spanish, at IberLEF 2024. The objective
of our experiments, for the emotion analysis task, was to test the performance of the most
popular emotion analysis transformer-based models. The main conclusion is that most popular
transformers-based solutions are not precise when they have to take into account six diferent
options.</p>
      <p>In the future, we want to continue evaluating more diferent resources in order to further
improve our systems by analyzing the contribution of each LLM, testing diferent transfer
learning systems and using diferent data preprocessing systems to generate new datasets
and/or augment existing ones.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This work has been partially supported by Project CONSENSO (PID2021-122263OB-C21),
Project MODERATES (TED2021-130145B-I00) and Project SocialTox (PDC2022-133146-C21)
funded by MCIN/AEI/10.13039/501100011033 and by the European Union
NextGenerationEU/PRTR, Project PRECOM (SUBV-00016) funded by the Ministry of Consumer
Affairs of the Spanish Government, Project FedDAP (PID2020-116118GA-I00) supported by
MICINN/AEI/10.13039/501100011033, Project PID2020-119478GB-I00 supported by
MICINN/AEI/10.13039/501100011033, and WeLee project (1380939, FEDER Andalucía 2014-2020)
funded by the Andalusian Regional Government. The research work conducted by Salud
María Jiménez-Zafra has been supported by Action 7 from Universidad de Jaén under the
Operational Plan for Research Support 2023-2024.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>L.</given-names>
            <surname>Chiruzzo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. M.</given-names>
            <surname>Jiménez-Zafra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Rangel</surname>
          </string-name>
          , Overview of IberLEF 2024:
          <article-title>Natural Language Processing Challenges for Spanish and other Iberian Languages, in: Proceedings of the Iberian Languages Evaluation Forum (IberLEF 2024), co-located with the 40th Conference of the Spanish Society for Natural Language Processing (SEPLN 2024), CEUR-WS</article-title>
          .org,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>R.</given-names>
            <surname>Pan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. A.</given-names>
            <surname>García-Díaz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Á</surname>
          </string-name>
          .
          <string-name>
            <surname>Rodríguez-García</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>García-Sánchez</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Valencia-García</surname>
          </string-name>
          , Overview of EmoSPeech at IberLEF 2024:
          <article-title>Multimodal Speech-text Emotion Recognition in Spanish</article-title>
          ,
          <source>Procesamiento del Lenguaje Natural</source>
          <volume>73</volume>
          (
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Pan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. A.</given-names>
            <surname>García-Díaz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Á</surname>
          </string-name>
          .
          <string-name>
            <surname>Rodríguez-García</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Valencia-García</surname>
          </string-name>
          ,
          <source>Spanish meacorpus</source>
          <year>2023</year>
          :
          <article-title>A multimodal speech-text corpus for emotion analysis in spanish from natural environments</article-title>
          ,
          <source>Computer Standards &amp; Interfaces</source>
          (
          <year>2024</year>
          )
          <fpage>103856</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Varghese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Cherian</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Kizhakkethottam,</surname>
          </string-name>
          <article-title>Overview on emotion recognition system</article-title>
          ,
          <year>2015</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          . doi:
          <volume>10</volume>
          .1109/ICSNS.
          <year>2015</year>
          .
          <volume>7292443</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>F.</given-names>
            <surname>Chenchah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Lachiri</surname>
          </string-name>
          ,
          <article-title>Speech emotion recognition in noisy environment</article-title>
          ,
          <year>2016</year>
          , pp.
          <fpage>788</fpage>
          -
          <lpage>792</lpage>
          . doi:
          <volume>10</volume>
          .1109/ATSIP.
          <year>2016</year>
          .
          <volume>7523189</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>E.</given-names>
            <surname>Rolls</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Ekman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Perrett</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Ellis</surname>
          </string-name>
          ,
          <article-title>Facial expressions of emotion: An old controversy</article-title>
          and new findings: Discussion,
          <source>Royal Society of London Philosophical Transactions Series B</source>
          <volume>335</volume>
          (
          <year>1992</year>
          )
          <fpage>69</fpage>
          -.
          <source>doi:10</source>
          .1098/rstb.
          <year>1992</year>
          .
          <volume>0008</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fahad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ranjan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yadav</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Deepak</surname>
          </string-name>
          ,
          <article-title>A survey of speech emotion recognition in natural environment</article-title>
          ,
          <source>Digital Signal Processing</source>
          <volume>110</volume>
          (
          <year>2020</year>
          )
          <article-title>102951</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.dsp.
          <year>2020</year>
          .
          <volume>102951</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Cañete</surname>
          </string-name>
          , G. Chaperon,
          <string-name>
            <given-names>R.</given-names>
            <surname>Fuentes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-H.</given-names>
            <surname>Ho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Kang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pérez</surname>
          </string-name>
          ,
          <article-title>Spanish pre-trained bert model and evaluation data</article-title>
          ,
          <source>Pml4dc at iclr</source>
          <year>2020</year>
          (
          <year>2020</year>
          )
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Pérez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Giudici</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          <article-title>Luque, pysentimiento: A python toolkit for sentiment analysis</article-title>
          and
          <source>socialnlp tasks</source>
          ,
          <year>2021</year>
          . arXiv:
          <volume>2106</volume>
          .
          <fpage>09462</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>F. M. P. del Arco</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Strapparava</surname>
            ,
            <given-names>L. A.</given-names>
          </string-name>
          <string-name>
            <surname>Ureña-López</surname>
            ,
            <given-names>M. T.</given-names>
          </string-name>
          <string-name>
            <surname>Martín-Valdivia</surname>
          </string-name>
          ,
          <article-title>Emoevent: A multilingual emotion corpus based on diferent events</article-title>
          ,
          <source>in: Proceedings of the 12th Language Resources and Evaluation Conference</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>1492</fpage>
          -
          <lpage>1498</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>J. M. Pérez</surname>
            ,
            <given-names>D. A.</given-names>
          </string-name>
          <string-name>
            <surname>Furman</surname>
            ,
            <given-names>L. Alonso</given-names>
          </string-name>
          <string-name>
            <surname>Alemany</surname>
            ,
            <given-names>F. M.</given-names>
          </string-name>
          <string-name>
            <surname>Luque</surname>
          </string-name>
          ,
          <article-title>RoBERTuito: a pre-trained language model for social media text in Spanish, in: Proceedings of the Thirteenth Language Resources</article-title>
          and Evaluation Conference, European Language Resources Association, Marseille, France,
          <year>2022</year>
          , pp.
          <fpage>7235</fpage>
          -
          <lpage>7243</lpage>
          . URL: https://aclanthology.org/
          <year>2022</year>
          .lrec-
          <volume>1</volume>
          .
          <fpage>785</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>