<!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 />
    <article-meta>
      <title-group>
        <article-title>Multi-modality Fusion for Emotion Recognition in Videos</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Xinge Peng</string-name>
          <email>xg.pengv@gmail.com</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kun Li</string-name>
          <email>kunli.hfut@gmail.com</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jiaxiu Li</string-name>
          <email>jiaxiuli@mail.hfut.edu.cn</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Guoliang Chen</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dan Guo</string-name>
          <email>guodan@hfut.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Artificial Intelligence, Hefei Comprehensive National Science Center</institution>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Key Laboratory of Knowledge Engineering with Big Data (HFUT), Ministry of Education</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>School of Computer Science and Information Engineering, School of Artificial Intelligence, Hefei University of</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <abstract>
        <p>Video Emotion Recognition (VER) plays a crucial role in human-centered visual understanding. Current VER methods commonly leverage visual, audio and textual attribute features to train emotion classifier. Skeleton data is widely used in the action recognition field, which is used as key points to describe the movements of the whole body. Building upon this, in this paper, we introduce the integration of skeleton data into VER, aiming to learn diverse actions to improve emotion recognition performance. Specifically, we propose a model with the input of three modalities, i.e., visual, audio and skeleton data. Subsequently, the NeXtVLAD module is employed to aggregate emotion clues, and the resulting features from the three modalities are concatenated to a SE block to get the rich information from three modalities. Finally, the features are fed into the classifier for emotion classification. Extensive experimental results conducted on the VideoEmotion-8 dataset demonstrate our proposed model achieves comparable performance on video emotion recognition.</p>
      </abstract>
      <kwd-group>
        <kwd>Skeleton data</kwd>
        <kwd>action understanding</kwd>
        <kwd>emotion recognition</kwd>
        <kwd>video understanding</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Recognizing the emotional state of people in videos is a basic but challenging task in video
understanding field. Many subtasks has grown out of this task, for instance, Gao
et al. [1]
proposed a new task that aimed to recognize the emotional relationship between the two
interactive characters in a video. The existing method for VER task mostly utilize features
of more than one modality. Specifically, Zhao et al. [
        <xref ref-type="bibr" rid="ref1">2</xref>
        ] proposed an end-to-end manner with
visual and audio information, and Wang et al. [3] took the textual information as well as the
visual information together. Moreover, Zhang et al. [4] used all of the three modalities to refine
multi-modal representations and explore the commonality among diferent modalities in
Multimodal Multi-label Emotion Recognition task. Diferent from existing works, we incorporate
(G. Chen); 0000-0003-2594-254X (D. Guo)
for the first time the corresponding skeleton feature into the emotion recognition process. The
contributions of our work are three aspects:
• We address video emotion recognition from a novel perspective by incorporating not
only the conventional modalities but also the valuable skeleton information.
• We propose a multi-modality model with a visual, an audio and a skeleton stream, where
each stream facilitates each modality to capture rich information from diferent
perspectives.
• Our model achieves comparable result on VideoEmotion-8 dataset with the accuracy of
43.2.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Methodology</title>
      <sec id="sec-2-1">
        <title>2.1. Data Preparation</title>
        <p>As depicted in Figure 1, give the video  with the total length of  , we first extra features of three
modalities. For the visual features, we utilize the Swin Transformer [8] to exact the frame-level
features  ∈ ℝ  ×768 . The audio features  ∈ ℝ  ×128 are exacted by the VGGish [9] model. As
for the skeleton features, we utilize the BlazePose model [10] to get the pose data  ∈ ℝ  ×99 . 
is set to 100 in our model.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Feature Clustering and Fusion</title>
        <p>To enhance the exacted features, we first utilize the Transformer [ 5] encoder layer to capture
intra-modal relationships within each modality. Next, we utilize the NeXtVLAD [6] module to
extract rich and distinctive information from each modality by aggregating local features and
capturing global context. Finally, to refine the multi-modal representations, we combine the
outputs of the three modalities using a concatenation operation, which is illustrated in Eq. 1.
To suficiently explore the diversity among diferent modalities and enhance the commonality
of each modality, we incorporate the SE block proposed by Hu et al. [7]. The SE block starts
with a linear layer that performs dimension reduction, resulting in the output  1 as shown in
Eq. 2. This dimension reduction step helps capture the most relevant features for each modality.
Next, we apply two additional linear layers to aggregate the features from the three modalities,
resulting in the generation of  2 as formulated in Eq. 3. Finally, we incorporate  1 and  2
through a dot product operation and output the fused feature representation  .̃
 = [
 1 = ( (
′
;  ′;  ′],</p>
        <p>1( ))),
 2 =  (
3( ((</p>
        <p>2 1)))),
 =̃  1 ⋅  2,
(1)
(2)
(3)
(4)
where “[; ]” is the concatenation operation.  and  are the ReLU and sigmoid activate function
respectively.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Emotion Classification</title>
        <p>After obtaining the enhanced feature representation  ,̃ we utilize a multi-layer perception
(MLP) for the classification of emotion categories. Specifically, the initial input to the MLP is a
512-dimensional feature vector. The output of the MLP is 8-dimensional vector, corresponding
to the categories of emotions being classified.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Experiments</title>
      <sec id="sec-3-1">
        <title>3.1. Dataset</title>
        <p>VideoEmotion-8 [11] consists of 1,101 videos collected from Youtube and Flickr with the average
duration of 107 seconds. The videos are divided into eight emotion categories according to
the well-known Plutchik’s wheel of emotions [12], including “anger”, “anticipation”, “disgust”,
“fear”, “joy”, “sadness”, “surprise” and “trust”. These categories are popularly adopted in the
existing works on emotion analysis. There are at least 100 videos per category, which is believed
to have enough information to reflect the emotional relationship.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Evaluation Metric and Implementation Details</title>
        <p>Following previous work for video emotion recognition, we report the average classification
accuracy of 10 runs. In each run, the train set is made by selecting 2/3 of the data from each
category, and the test set take the rest. For the encoder [5], we set the number of head in
multi-head self-attention mechanism to 4. The group size in NeXtVLAD [6] module is set to 8
and the number of clusters is set to 4. In the training process, we adopt the Adam optimizer [13]
with the initial learning rate 0.0001. The total epoch is set to 100 with batch-size 16. Our model
is implemented in PyTorch [14].</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Experimental Results</title>
        <p>As shown in Table 1, we report the performance of our model on the VideoEmotion-8 dataset.
Note that we only use a simple baseline model to verify whether the skeleton data is useful
for VER. Compare with existing methods, our model achieves the comparable result with the
Accuracy of 43.2. At first, we study the the efectiveness of each modality feature for VER, and
the results are illustrated in Table 2. Without visual branch, we can see that the Accuracy drops
to 37.4, indicating the visual information is dominant of the recognition process. As for audio
branch, the result (i.e., Accuracy drops from 43.2 to 39.9) shows that the audio information
also plays an important role in it. The VideoEmotion-8 dataset consists of videos captured in
noisy environments where multiple sounds from diferent sources are presented. This poses a
challenge to the reliability of the audio modality compared to the other two modalities (visual
and skeleton). However, our analysis shows that the inclusion of skeleton features significantly
improves the performance of the video emotion recognition task. This indicates that the skeleton
information, which has not been fully utilized in previous human-centered emotion recognition
tasks, plays a crucial role in accurately capturing emotions in videos. Additionally, we conducted
experiments to determine the optimal number of clusters ( ) for the NeXtVLAD module in our
model. As shown in Table 3, we found that setting  to 4 yielded the best results.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>In this paper, we exploit the skeleton features for video emotion recognition task for the first
time, as well as address the importance of skeleton information for this task. In addition, the
proposed simple baseline achieves an accuracy 43.2 on VideoEmotion-8 dataset. We believe that
this paper will inspire people to consider the skeleton data for emotion recognition tasks. In</p>
      <p>Ablation study results of the the number of clusters  of NeXtVLAD [6] module in our method on the
the future, we plan to exploit temporal contexts [17] to model skeleton sequence. By focusing
on these aspects, we anticipate improving the accuracy of VER models.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>(202203a05020011).
This work was supported by the National Natural Science Foundation of China (72188101,
62020106007, and 62272144, and U20A20183), and the Major Project of Anhui Province
on Multimedia, 2021, pp. 3380–3389.
[1] X. Gao, Y. Zhao, J. Zhang, L. Cai, Pairwise emotional relationship recognition in drama
videos: Dataset and benchmark, in: Proceedings of the 29th ACM International Conference
end visual-audio attention network for emotion recognition in user-generated videos,
in: Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, 2020, pp.
303–311.
[3] Y. Wang, Y. Li, P. Bell, C. Lai, Cross-attention is not enough: Incongruity-aware multimodal
sentiment analysis and emotion recognition, arXiv preprint arXiv:2305.13583 (2023).
[4] Y. Zhang, M. Chen, J. Shen, C. Wang, Tailor versatile multi-modal learning for multi-label
emotion recognition, in: Proceedings of the AAAI Conference on Artificial Intelligence,
volume 36, 2022, pp. 9100–9108.
[5] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, I.
Polosukhin, Attention is all you need, Advances in neural information processing systems 30
(2017).
[6] R. Lin, J. Xiao, J. Fan, Nextvlad: An eficient neural network to aggregate frame-level
features for large-scale video classification, in: Proceedings of the European Conference
on Computer Vision (ECCV) Workshops, 2018, pp. 0–0.
[7] J. Hu, L. Shen, G. Sun, Squeeze-and-excitation networks, in: Proceedings of the IEEE
conference on computer vision and pattern recognition, 2018, pp. 7132–7141.
[8] Z. Liu, Y. Lin, Y. Cao, H. Hu, Y. Wei, Z. Zhang, S. Lin, B. Guo, Swin transformer: Hierarchical
vision transformer using shifted windows, in: Proceedings of the IEEE/CVF international
conference on computer vision, 2021, pp. 10012–10022.
[9] S. Hershey, S. Chaudhuri, D. P. Ellis, J. F. Gemmeke, A. Jansen, R. C. Moore, M. Plakal,
D. Platt, R. A. Saurous, B. Seybold, et al., Cnn architectures for large-scale audio
classification, in: 2017 ieee international conference on acoustics, speech and signal processing
(icassp), IEEE, 2017, pp. 131–135.
[10] V. Bazarevsky, I. Grishchenko, K. Raveendran, T. Zhu, F. Zhang, M. Grundmann, Blazepose:</p>
      <p>On-device real-time body pose tracking, arXiv preprint arXiv:2006.10204 (2020).
[11] Y.-G. Jiang, B. Xu, X. Xue, Predicting emotions in user-generated videos, in: Proceedings
of the AAAI Conference on Artificial Intelligence, volume 28, 2014.
[12] R. Plutchik, A general psychoevolutionary theory of emotion, in: Theories of emotion,</p>
      <p>Elsevier, 1980, pp. 3–33.
[13] D. P. Kingma, J. Ba, Adam: A method for stochastic optimization, International Conference
on Learning Representations (2014).
[14] A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin,
N. Gimelshein, L. Antiga, A. Desmaison, A. Kopf, E. Yang, Z. DeVito, M. Raison, A. Tejani,
S. Chilamkurthy, B. Steiner, L. Fang, J. Bai, S. Chintala, Pytorch: An imperative style,
high-performance deep learning library, in: Advances in Neural Information Processing
Systems 32, 2019, pp. 8024–8035.
[15] D. Borth, T. Chen, R. Ji, S.-F. Chang, Sentibank: large-scale ontology and classifiers for
detecting sentiment and emotions in visual content, in: Proceedings of the 21st ACM
international conference on Multimedia, 2013, pp. 459–460.
[16] L. Pang, S. Zhu, C.-W. Ngo, Deep multimodal learning for afective analysis and retrieval,</p>
      <p>IEEE Transactions on Multimedia 17 (2015) 2008–2020.
[17] K. Li, D. Guo, M. Wang, Proposal-free video grounding with contextual pyramid network,
in: Proceedings of the AAAI Conference on Artificial Intelligence, 2021, pp. 1902–1910.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Ma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Gu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Xing</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Chai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Keutzer</surname>
          </string-name>
          ,
          <string-name>
            <surname>An</surname>
          </string-name>
          end-to-
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>