<!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>GLA in MediaEval 2018 Emotional Impact of Movies Task</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jennifer J. Sun</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ting Liu</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gautam Prasad Google LLC jjsun@caltech.edu</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>liuti</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>gautamprasad}@google.com</string-name>
        </contrib>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>29</fpage>
      <lpage>31</lpage>
      <abstract>
        <p>We present our methods for the MediaEval 2018 Emotional Impact of Movies Task to predict the expected valence and arousal continuously in movies. Our approach leverages image, audio, and face based features computed using pre-trained neural networks. These features were computed over time and modeled using a gated recurrent unit (GRU) based network followed by a mixture of experts model to compute multiclass predictions. We smoothed these predictions using a Butterworth filter for our final result.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        The Emotional Impact of Movies Task [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], part of the
MediaEval 2018 benchmark, provides participants with a common
dataset for predicting the expected emotional impact from
videos. We focused on the first subtask in the challenge:
predicting the expected valence and arousal continuously
(every second) in movies. The dataset provided by the task is
the LIRIS-ACCEDE dataset [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ], which is annotated with
self-reported valence and arousal every second from multiple
annotators. Since deep neural networks, such as Inception
[
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], have millions of trainable parameters, the competition
data may be too limited to train these networks from
random initializations. Therefore, we used networks that were
pre-trained on larger datasets, such as ImageNet, to extract
features from the LIRIS-ACCEDE dataset. The extracted
features were used to train our temporal and regression
models.
      </p>
      <p>
        This task is recurring with multiple submissions every
year [
        <xref ref-type="bibr" rid="ref11 ref14">11, 14</xref>
        ]. Our method’s novelty lies in the unique set
of features we extracted including image, audio, and face
features (capitalizing on transfer learning) along with our
model setup, which comprises of a GRU combined with a
mixture of experts.
      </p>
    </sec>
    <sec id="sec-2">
      <title>APPROACH</title>
      <p>We approached the valence and arousal prediction as a
multivariate regression problem. Our objective is to minimize the
multi-label sigmoid cross-entropy loss and this could allow
the model to use potential relationships between the two
dimensions for regression. We first used pre-trained networks
to extract features. To model the temporal aspects of the
data, the methods we evaluated included long short-term
memory (LSTM), gated recurrent unit (GRU) and temporal
convolutional network (TCN). Multiple modalities were fused
1This work completed during Jennifer’s internship at Google.
Copyright held by the owner/author(s).</p>
      <p>
        MediaEval’18, 29-31 October 2018, Sophia Antipolis, France
with late fusion, and valence along with arousal was predicted
jointly. Our method is implemented using TensorFlow and
we used the Adam optimizer [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] in all our experiments.
2.1
      </p>
    </sec>
    <sec id="sec-3">
      <title>Feature Extraction</title>
      <p>
        We extracted image, audio and face features from each frame
of the movies. Our image features (Inception-Image) were
from the Inception network [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] pre-trained on ImageNet [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
We extracted audio features using AudioSet [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], which is a
VGG-inspired model pre-trained on YouTube-8M [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. For the
face features (Inception-Face), we focused on the two largest
faces in each frame and used an Inception based architecture
trained on faces [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Since the movies were human-focused,
faces were found in most of the scenes. We compared these
features with those used in last years competition that
included image features computed using VGG16 [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] and audio
features computed using openSMILE [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. All our features
were extracted at one frame per second.
2.2
      </p>
    </sec>
    <sec id="sec-4">
      <title>Temporal Models</title>
      <p>
        To model the temporal dynamics of the emotion in the videos,
we used recurrent neural networks. In particular, we used
LSTMs [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and GRUs [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] as part of our modeling pipeline
in a sequence-to-one setup with sequence length of 10, 30
or 60 seconds. The self-reported emotions likely depend on
past scenes in movies, so temporal modeling is important
for this task. In addition, we evaluated TCNs because of
their promising performance in sequence modeling [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and
action segmentation [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Specifically, we trained an
encoderdecoder TCN using sequences of extracted features to obtain
a sequence of valence and arousal predictions.
2.3
      </p>
    </sec>
    <sec id="sec-5">
      <title>Regression Models</title>
      <p>
        The input from each modality (image, audio, or face) is fed
into separate recurrent models. The output we use from each
recurrent model is its hidden state which contains information
on previous data seen by the model. We use the hidden state
corresponding to the final timestamp in the input sequence.
The state vectors for each modality are concatenated into a
single vector and fed into a context gate [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. Multimodal
fusion occurs at this stage as we use the learned model to
fuse the representation of each modality from the RNN. The
output of the context gate is then fed into a
mixture-ofexperts model with another context gate to obtain the final
emotion predictions. We use logistic regression experts with
a softmax gating network.
      </p>
      <p>
        To prevent overfitting, we regularized our models using L2
regularization, dropout and batch normalization. Finally, a
low pass filter is applied on the predictions to smooth the
prediction outputs. In LIRIS-ACCEDE, the measured
emotion data vary smoothly in time but our regression outputs
contain high frequency signals. To smooth our outputs, we
tested weighted moving average filters and low-pass filters
(Butterworth filter [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]) as implemented in SciPy.
3
      </p>
    </sec>
    <sec id="sec-6">
      <title>RESULTS AND ANALYSIS</title>
      <p>We optimized the hyperparameters of our models to have
the best performance on the validation set, which consists
of 13 movies from the development set. We then trained our
models on the entire development set to run inference on the
test set. Our setup used a batch size of 512.</p>
      <p>Through evaluating our recurrent models, we found that
Inception-Image+AudioSet features had better performance
in terms of MSE and PCC compared to VGG16+openSMILE
features. In some cases, the recurrent model would predict
near the mean for both valence and arousal while using
VGG16+openSMILE. This may be because the features did
not have enough information for the models to discriminate
between diferent values of valence and arousal. We also
found a significant increase in performance when we added
the Inception-Face features, which may point to salient
information captured in connection with the expected emotions
in the videos.</p>
      <p>The sequence-to-one recurrent models worked best with
longer input sequences of 60 seconds versus those of 10 or
30 seconds. This may be because the invoked emotion is
afected by longer lasting scenes. Our recurrent models also
performed better on the validation set than the TCN and
the GRU models had similar performance to the LSTMs.
We used GRUs for our implementation because GRUs are
computationally simpler than LSTMs. Since we have a small
dataset, we wanted to reduce model complexity to prevent
underfitting. Our temporal model architecture ranged from
32 to 256 units and 1 to 2 layers, optimized for each of the
modalities. For post processing, the low-pass Butterworth
iflter worked better than the moving average filter. This is
likely because the Butterworth filter is designed to have a
frequency response as flat as possible (with no ripples) in the
pass-band. Fluctuations of the magnitude response within
the passband may decrease the accuracy of our regression
output.</p>
      <p>In Table 1 we list the performance of our best models that
were submitted to the task. Each of the 5 runs is defined
as follows where we used Inception-Image, AudioSet, and
Inception-Face as the features and a GRU with
mixture-ofexperts for regression.</p>
      <p>(1) No dropout or batch normalization.
(2) Regularized with dropout and batch normalization.</p>
      <p>Trained on approximately 70% of the data.
(3) Regularized with dropout and batch normalization.
(4) Regularized with dropout and batch normalization,
diferent initialization and epoch.</p>
      <p>(5) Average over all runs.</p>
      <p>We see that creating an ensemble from our models by
averaging over the runs has the lowest MSE (Run 5). This</p>
      <p>Arousal</p>
      <p>MSE PCC
Run 1
Run 2
Run 3
Run 4
Run 5
is likely because by averaging, we decrease the variance of
predictions and thus overall, the mean is closer to the ground
truth labels. While averaging improves MSE, it does not
improve correlation. Our model with the best correlation is
from Run 4.</p>
      <p>We note that using batch normalization during inference
increases the variance of our predictions. This is because
we are using the batch statistics instead of the population
statistics from the train set to normalize the batches. Our
validation results (with repeated runs) as well as test results
show that using batch normalization in this way improves
predictions for valence, but not as much for arousal. This is
most likely because the statistics of the test set for valence is
diferent from train set while the test set statistics for arousal
may be closer to the train set statistics. One explanation
could be the small size of the dataset so that the statistics of
the train set does not generalize well to the test set.
4</p>
    </sec>
    <sec id="sec-7">
      <title>CONCLUSIONS</title>
      <p>We found that precomputed features modeling image, audio,
and face in concert with GRUs provided the optimal
performance in predicting the expected valence and arousal in
movies for this task. Based on our test set metrics, ensemble
methods such as bagging could be useful for this task.</p>
      <p>We found some evidence that recurrent models performed
better than TCN. However since we only evaluated the
encoder-decoder TCN more investigation will be necessary
for a broader conclusion.</p>
      <p>The pre-computed features we used to model image,
audio, and face information showed better performance when
compared with the VGG16+openSMILE baseline. A future
direction could be to train the network in an end-to-end
manner to better capture the frame level data, with the caveat
that we may need a much larger training dataset.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Sami</given-names>
            <surname>Abu-El-Haija</surname>
          </string-name>
          , Nisarg Kothari,
          <string-name>
            <given-names>Joonseok</given-names>
            <surname>Lee</surname>
          </string-name>
          , Paul Natsev, George Toderici, Balakrishnan Varadarajan, and
          <string-name>
            <given-names>Sudheendra</given-names>
            <surname>Vijayanarasimhan</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Youtube-8m: A large-scale video classification benchmark</article-title>
          .
          <source>arXiv preprint arXiv:1609.08675</source>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Shaojie</given-names>
            <surname>Bai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J Zico</given-names>
            <surname>Kolter</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Vladlen</given-names>
            <surname>Koltun</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>An empirical evaluation of generic convolutional and recurrent networks for sequence modeling</article-title>
          . arXiv preprint arXiv:
          <year>1803</year>
          .
          <volume>01271</volume>
          (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Yoann</given-names>
            <surname>Baveye</surname>
          </string-name>
          , Emmanuel Dellandr´ea, Christel Chamaret, and
          <string-name>
            <given-names>Liming</given-names>
            <surname>Chen</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Deep learning vs. kernel methods: Performance for emotion prediction in videos</article-title>
          .
          <source>In Affective Computing and Intelligent Interaction (ACII)</source>
          ,
          <source>2015 International Conference on. IEEE</source>
          ,
          <fpage>77</fpage>
          -
          <lpage>83</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <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 affective content analysis</article-title>
          .
          <source>IEEE Transactions on Affective Computing</source>
          <volume>6</volume>
          ,
          <issue>1</issue>
          (
          <year>2015</year>
          ),
          <fpage>43</fpage>
          -
          <lpage>55</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Stephen</given-names>
            <surname>Butterworth</surname>
          </string-name>
          .
          <year>1930</year>
          .
          <article-title>On the theory of filter amplifiers</article-title>
          .
          <source>Wireless Engineer</source>
          <volume>7</volume>
          ,
          <issue>6</issue>
          (
          <year>1930</year>
          ),
          <fpage>536</fpage>
          -
          <lpage>541</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Kyunghyun</given-names>
            <surname>Cho</surname>
          </string-name>
          , Bart Van Merri¨enboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and
          <string-name>
            <given-names>Yoshua</given-names>
            <surname>Bengio</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Learning phrase representations using RNN encoder-decoder for statistical machine translation</article-title>
          .
          <source>arXiv preprint arXiv:1406.1078</source>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Emmanuel</given-names>
            <surname>Dellandr</surname>
          </string-name>
          ´ea, Martijn Huigsloot, Liming Chen, Yoann Baveye, and Mats Viktor Sjo¨berg.
          <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="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Florian</given-names>
            <surname>Eyben</surname>
          </string-name>
          , Felix Weninger, Florian Gross, and Bj¨orn Schuller.
          <year>2013</year>
          .
          <article-title>Recent developments in opensmile, the munich open-source multimedia feature extractor</article-title>
          .
          <source>In Proceedings of the 21st ACM international conference on Multimedia. ACM</source>
          ,
          <volume>835</volume>
          -
          <fpage>838</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Jort</surname>
            <given-names>F Gemmeke</given-names>
          </string-name>
          , Daniel PW Ellis, Dylan Freedman, Aren Jansen, Wade Lawrence,
          <string-name>
            <given-names>R Channing</given-names>
            <surname>Moore</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Manoj</given-names>
            <surname>Plakal</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Marvin</given-names>
            <surname>Ritter</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Audio set: An ontology and humanlabeled dataset for audio events</article-title>
          .
          <source>In Acoustics, Speech and Signal Processing (ICASSP)</source>
          ,
          <source>2017 IEEE International Conference on. IEEE</source>
          ,
          <fpage>776</fpage>
          -
          <lpage>780</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Sepp</given-names>
            <surname>Hochreiter</surname>
          </string-name>
          and Ju¨rgen Schmidhuber.
          <year>1997</year>
          .
          <article-title>Long shortterm memory</article-title>
          .
          <source>Neural computation 9</source>
          ,
          <issue>8</issue>
          (
          <year>1997</year>
          ),
          <fpage>1735</fpage>
          -
          <lpage>1780</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Zitong</surname>
            <given-names>Jin</given-names>
          </string-name>
          , Yuqi Yao, Ye Ma, and
          <string-name>
            <given-names>Mingxing</given-names>
            <surname>Xu</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>THUHCSI in MediaEval 2017 Emotional Impact of Movies Task</article-title>
          .
          <source>Proc. MediaEval</source>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Diederik</given-names>
            <surname>Kingma</surname>
          </string-name>
          and
          <string-name>
            <given-names>Jimmy</given-names>
            <surname>Ba</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Adam: A method for stochastic optimization</article-title>
          .
          <source>arXiv preprint arXiv:1412.6980</source>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Colin</surname>
            <given-names>Lea</given-names>
          </string-name>
          , Rene Vidal, Austin Reiter, and
          <string-name>
            <given-names>Gregory D</given-names>
            <surname>Hager</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Temporal convolutional networks: A unified approach to action segmentation</article-title>
          .
          <source>In European Conference on Computer Vision</source>
          . Springer,
          <fpage>47</fpage>
          -
          <lpage>54</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Yang</surname>
            <given-names>Liu</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhonglei Gu</surname>
          </string-name>
          , and
          <string-name>
            <surname>Tobey H Ko</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>HKBU at MediaEval 2017 Emotional Impact of Movies Task</article-title>
          .
          <source>In Mediaeval 2017 Workshop</source>
          . Dublin, Ireland.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Antoine</surname>
            <given-names>Miech</given-names>
          </string-name>
          , Ivan Laptev, and
          <string-name>
            <given-names>Josef</given-names>
            <surname>Sivic</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Learnable pooling with Context Gating for video classification</article-title>
          .
          <source>arXiv preprint arXiv:1706.06905</source>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Olga</surname>
            <given-names>Russakovsky</given-names>
          </string-name>
          , Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla,
          <string-name>
            <given-names>Michael</given-names>
            <surname>Bernstein</surname>
          </string-name>
          , and others.
          <source>2015</source>
          .
          <article-title>Imagenet large scale visual recognition challenge</article-title>
          .
          <source>International Journal of Computer Vision</source>
          <volume>115</volume>
          ,
          <issue>3</issue>
          (
          <year>2015</year>
          ),
          <fpage>211</fpage>
          -
          <lpage>252</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Florian</surname>
            <given-names>Schroff</given-names>
          </string-name>
          , Dmitry Kalenichenko, and
          <string-name>
            <given-names>James</given-names>
            <surname>Philbin</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Facenet: A unified embedding for face recognition and clustering</article-title>
          .
          <source>In Proceedings of the IEEE conference on computer vision and pattern recognition</source>
          .
          <volume>815</volume>
          -
          <fpage>823</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <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="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Christian</surname>
            <given-names>Szegedy</given-names>
          </string-name>
          , Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and
          <string-name>
            <given-names>Zbigniew</given-names>
            <surname>Wojna</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Rethinking the inception architecture for computer vision</article-title>
          .
          <source>In Proceedings of the IEEE conference on computer vision and pattern recognition</source>
          .
          <volume>2818</volume>
          -
          <fpage>2826</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>