<!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>Visual and audio analysis of movies video for emotion detection @ Emotional Impact of Movies task MediaEval 2018</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Elissavet Batziou</string-name>
          <email>batziou.el@iti.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Emmanouil Michail</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Konstantinos Avgerinakis</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefanos Vrochidis</string-name>
          <email>stefanos@iti.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ioannis Patras</string-name>
          <email>i.patras@qmul.ac.uk</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ioannis Kompatsiaris</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Information Technologies Institute, Centre for Research and Technology Hellas</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Queen Mary University of London</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>29</fpage>
      <lpage>31</lpage>
      <abstract>
        <p>This work reports the methodology that CERTH-ITI team developed so as to recognize the emotional impact that movies have to its viewers in terms of valence/arousal and fear. More Specifically, deep convolutional neural newtworks and several machine learning techniques are utilized to extract visual features and classify them based on the predicted model, while audio features are also taken into account in the fear scenario, leading to highly accurate recognition rates.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        Emotion based content have a large number of applications,
including emotion-based personalized content delivery[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], video indexing[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], 2 APPROACH
summarization[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and protection of children from potentially
harmful video content. Another intriguing trend that appears to get a 2.1 Valence-Arousal Subtask
lot of attention lately is style transferring and more specifically rec- In the valence-arousal recognition subtask, keyframe extraction
ognizing the emotion from some painting or some specific section is initially applied so as to extract one video frame per second
from a movie and transferring its afect to the viewer as a style to a and correlate them with the annotations that were provided from
novel creation. MediaEval emotion organizers, who has also used the same time
      </p>
      <p>
        Emotional Impact of Movies Task is a challenge of MediaEval interval to record human extracted groundtruth data. The provided
2018 that comprises of two subtasks: (a) Valence/Arousal prediction visual features are then concatenated into one vector representation
and (b) Fear prediction from movies. The Task provides a great so as to have a common and fixed representation scheme throughout
amount of movies video, their visual and audio features and also diferent video samples.
their annotations[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].Both subtasks ask from the participants to The first recognition approach that was deployed concerns the
leverage any available technology, in order to determine when and valence/arousal estimation by adopting a linear regression model.
whether fear scenes occur and to estimate a valence-arousal score Linear regression try to minimize the residual sum of squares
befor each video frame in the provided test data [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. tween the groundtruth and predicted responses by using linear
      </p>
      <p>
        In this work, CERTH-ITI introduces its algorithms for valence/arousal approximation (Run 3). PCA is also deployed on our final visual
and fear recognition subtasks, which include the deployment of features vectors so as to reduce their dimensionality and keep only
deep learning and other classification schemes to recognize the de- the most discriminant principal components (in our case the first
sired outcome. More specifically, a 3-layer neural network(NN) and 2000) to represent all features (Run 4).
a simple linear regression model are deployed, with and without A Neural Network (NN) framework has also been deployed so as
PCA, so as to predict the correct emotion in the valence-arousal to fulfil the valence/arousal recognition substask. For that purposes,
subtask, while a pre-trained V GG16 model [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] is combined with a K a 3-hidden layer NN with ReLU activation function and Adam
optiNearest Neighbors (KNN)- classification scheme, so as to leverage mizer with learning rate = 0.001 was deployed. The size of each
the visual and audio attributes respectively and identify the correct hidden layer is 64, 32 and 32 respectively. We use batch size equal
boundary video frames in the fear subtask. to 10 and 10 epochs. The size of the training set is 2/3 of the
development set and the remaining 1/3 for validation set. The input
of the NN is the set of vectors of concatenated visual features(Run
3). PCA has also been used in order to downsample the
concateCMoepdyiarEigvhatl’h18e,ld29b-y31thOecotowbnerer2/0a1u8t,hSoorp(hs)i.a Antipolis, France nated highly dimensional size (5367) in the golden section of 2000
principal components(Run 4).
2.2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Fear Subtask</title>
      <p>
        For the fear recognition subtask, we initially keyframe extraction
every one second, as we perform in valance subtask. The frames
annotated as "fear" were significantly less than the "no-fear" class
and, therefore, in order to balance our dataset we used data
augmentation techniques. Firstly, we downloaded from Flickr about 10, 000
images with tag "fear" and we also download emotion images 1 and
kept those which are annotated as "fear". In order to further increase
the number of fear frames, we additionally use data augmentation
techniques on the provided annotated frames. We randomly rotate
and translate pictures vertically or horizontally and we randomly
apply shearing transformations, randomly zooming inside pictures,
lfipping half of the images horizontally and filling in newly created
pixels which can appear after a rotation or a width/height shift.
Finally, we reduce the set of no-fear frames. After these, we had
about 23,000 "fear" and 30,000 tagged as "no fear" images to train
our model. We used transfer learning to gain information from a
large scale dataset and also trained our model in a very realistic
and eficient time. The architecture that we chose to represent our
features is the V GG16 pre-trained on Places2 dataset [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] because
the majority of the movies have places as background and so we
assume that it would be helpful. We use Nadam optimizer with
learning rate 0.0001. The batch size is 32 and the number of epochs
50. Finally, we set a threshold of 0.4 on their probability (Run 1). In a
diferent approach, we used the same architecture without isolated
predicted frames (Run2).
      </p>
      <p>
        Additionally, in order to exploit auditory information, we
developed a classification method applied on audio features already
extracted from the challenge committee using openSmile toolbox [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
Audio feature vectors, consisting of 1582 features, extracted from
videos every second, were separated into training (80%) and
validation set (20%). In order to equalize the size of the two classes in
the training set we randomly removed "no-fear" samples. We apply
KNN classification method with N=3 on the test set, results were
further processed, in order to remove erroneous false negatives
(single "no-fear" samples around "fear" areas) and false positives
(isolated small "fear" areas consisting of one or two "fear" samples).
      </p>
      <p>Results from visual and audio analysis were submitted both
separately, as diferent runs, and in combination by taking the post
probabilities of visual and auditory classifications and setting a
threshold of 0.7 on their average probability. The overall block
diagram of this approach is depicted in Figure 1.
3</p>
    </sec>
    <sec id="sec-3">
      <title>RESULTS AND ANALYSIS</title>
      <p>We have submitted 4 runs for valence/arousal prediction and their
results are introduced in Table 1. In the experiments two
evaluation measures are used: (a) Mean Square Error (MSE) and (b)
Pearson Correlation Coeficient (r). We observe that the N N approach
that we describe in the previous section has the best performance
amongst all the others. Furthermore, it is worth mentioning that
the linear regression model produces some extremely high scores,
probably because the original feature vectors weren’t neither
discriminative nor adequate enough to create the regression model.
However, PCA projection to lower dimensional space, with higher
discriminative power show to solve this problem as it reduces the</p>
      <sec id="sec-3-1">
        <title>1http://www.imageemotion.org/</title>
        <p>redundant noise and keep the most important features. Moreover,
there is a "NaN" score for the Pearson measure in the arousal
prediction scores, because we accidentally set the training value stable and
so our model predicts the same score for all frames, but this score
does not characterize our model, since it does not appear in any
other prediction within the valence/arousal prediction sub-task.</p>
        <p>We have also submitted 4 runs for fear prediction subtask and
their results are also presented in Table 1 and are evaluated in terms
of Intersection over Union (IoU). From Table 1 we see that, the best
performance for the fear recognition subtask is Run 1, using all
predicted scores of the pre-trained VGG16 model. In addition, our
intuition to remove isolated predicted frames (Run 2), as they are
not associated with any duration, did not perform better than Run
1, hence we miss significant information (video frames that invoke
fear).
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>DISCUSSION AND OUTLOOK</title>
      <sec id="sec-4-1">
        <title>In this paper we report the CERTH-ITI team approach to the Media</title>
        <p>Eval 2018 Challenge "Emotional Impact of Movies" task. The results
in valence/arousal prediction subtask shows that according to MSE,
the best result obtained in Run 3 for both valence and arousal, while
regarding to Pearson Correlation Coeficient, Run 1 has the best
performance for arousal and the second best performance for
valence. The Pearson correlation is able to measure linear correlations
between two or more variables. However, the MSE is obtained by
a sum of squared deviations between predicted and ground-truth
values, no matter if they are linearly correlated or not.</p>
        <p>The results of the fear prediction subtask shows that the inclusion
of audio features failed to enhance the classification performance,
as expected. This could be due to several reasons, with the
prominent one to be the incapability of performing data augmentation
on audio features such as in the case of visual analysis. Both the
aforementioned reason and the large inequality between the two
classes, which led us discard many "no-fear" annotations, in
order to balance the training set, resulted on a very limited training
set. These drawbacks could be overcome by using classification
methods able to handle unbalanced training sets, such as penalized
models, or by enriching the training set with external annotated
datasets and by exploring more eficient fusion methods, such as
performing classification on fused audiovisual features, instead of
a posterior combining separate classification results.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>ACKNOWLEDGMENTS</title>
      <sec id="sec-5-1">
        <title>This work was funded by the EC-funded project V4Design under the contract number H2020-779962</title>
        <p>Emotional Impact of Movies Task</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Yoann</given-names>
            <surname>Baveye</surname>
          </string-name>
          , Emmanuel Dellandrea, Christel Chamaret, and
          <string-name>
            <given-names>Liming</given-names>
            <surname>Chen</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Liris-accede: A video database for afective content analysis</article-title>
          .
          <source>IEEE Transactions on Afective Computing</source>
          <volume>6</volume>
          ,
          <issue>1</issue>
          (
          <year>2015</year>
          ),
          <fpage>43</fpage>
          -
          <lpage>55</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Luca</given-names>
            <surname>Canini</surname>
          </string-name>
          , Sergio Benini, and
          <string-name>
            <given-names>Riccardo</given-names>
            <surname>Leonardi</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Afective recommendation of movies based on selected connotative features</article-title>
          .
          <source>IEEE Transactions on Circuits and Systems for Video Technology</source>
          <volume>23</volume>
          ,
          <issue>4</issue>
          (
          <year>2013</year>
          ),
          <fpage>636</fpage>
          -
          <lpage>647</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Emmanuel</given-names>
            <surname>Dellandréa</surname>
          </string-name>
          , Martijn Huigsloot, Liming Chen, Yoann Baveye, Zhongzhe Xiao, and
          <string-name>
            <given-names>Mats</given-names>
            <surname>Sjöberg</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>The mediaeval 2018 emotional impact of movies task</article-title>
          .
          <source>In MediaEval 2018 Multimedia Benchmark Workshop Working Notes Proceedings of the MediaEval 2018 Workshop.</source>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Florian</given-names>
            <surname>Eyben</surname>
          </string-name>
          , Felix Weninger, Florian Gross, and
          <string-name>
            <given-names>BjÎŞÂűrn</given-names>
            <surname>Schuller</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Recent developments in openSMILE, the munich open-source multimedia feature extractor</article-title>
          .
          <source>In MM 2013 - Proceedings of the 2013 ACM Multimedia Conference</source>
          .
          <volume>835</volume>
          -
          <fpage>838</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Harish</given-names>
            <surname>Katti</surname>
          </string-name>
          , Karthik Yadati, Mohan Kankanhalli, and
          <string-name>
            <surname>Chua</surname>
          </string-name>
          Tat-Seng.
          <year>2011</year>
          .
          <article-title>Afective video summarization and story board generation using pupillary dilation and eye gaze</article-title>
          .
          <source>In Multimedia (ISM)</source>
          ,
          <source>2011 IEEE International Symposium on. IEEE</source>
          ,
          <fpage>319</fpage>
          -
          <lpage>326</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Karen</given-names>
            <surname>Simonyan</surname>
          </string-name>
          and
          <string-name>
            <given-names>Andrew</given-names>
            <surname>Zisserman</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Very deep convolutional networks for large-scale image recognition</article-title>
          .
          <source>arXiv preprint arXiv:1409.1556</source>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Shiliang</given-names>
            <surname>Zhang</surname>
          </string-name>
          , Qingming Huang, Shuqiang Jiang,
          <string-name>
            <given-names>Wen</given-names>
            <surname>Gao</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Qi</given-names>
            <surname>Tian</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Afective visualization and retrieval for music video</article-title>
          .
          <source>IEEE Transactions on Multimedia 12</source>
          ,
          <issue>6</issue>
          (
          <year>2010</year>
          ),
          <fpage>510</fpage>
          -
          <lpage>522</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Bolei</given-names>
            <surname>Zhou</surname>
          </string-name>
          , Agata Lapedriza, Aditya Khosla, Aude Oliva, and Antonio Torralba.
          <year>2018</year>
          .
          <article-title>Places: A 10 million image database for scene recognition</article-title>
          .
          <source>IEEE transactions on pattern analysis and machine intelligence 40</source>
          ,
          <issue>6</issue>
          (
          <year>2018</year>
          ),
          <fpage>1452</fpage>
          -
          <lpage>1464</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>