<!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>IM-JAIC at MediaEval 2018 Emotional Impact of Movies Task</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Chloe Loughridge</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Julia Moseyko</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Massachusetts Institute of Technology</institution>
          ,
          <addr-line>Cambridge, Massachusetts</addr-line>
          ,
          <country country="US">United States</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Punahou School</institution>
          ,
          <addr-line>Honolulu, Hawaii</addr-line>
          ,
          <country country="US">United States</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>29</fpage>
      <lpage>31</lpage>
      <abstract>
        <p>In this paper, we describe our approach to subtask 2 of the Emotional Impact of Movies task from the Mediaeval 2018 Challenge. We compared the performances of LSTM ensembles to single LSTM models for predicting the fear-inducing seconds in movies. We also compared the performance of an LSTM model trained on audio feature data to the performance of an LSTM model trained on the outputs of a pretrained VGG16 model. Ultimately, we found that a single LSTM trained on VGG16 outputs achieved the highest F1 score on the test set.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 INTRODUCTION</title>
      <p>
        The Mediaeval emotional impact of movies task contains two
subtasks: 1) valence and arousal score prediction, and 2) fear
prediction. More information can be found in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In this paper we
describe our work on subtask 2, fear prediction.
      </p>
    </sec>
    <sec id="sec-2">
      <title>RELATED WORK</title>
      <p>
        This task is a sequel to the 2017 emotional impact of movies task,
so there is a sizable body of related work from last year. Support
vector regression algorithms were used in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] to predict fear. A
random forest algorithm was used in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] to predict fear with
considerable success. In the task of video action classification,
LSTMs have achieved notable results when trained on the outputs
of the AlexNet model and the GoogleLeNet model [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. We aim to
build on the previous work done for subtask 2 by implementing
LSTM models for fear prediction.
      </p>
    </sec>
    <sec id="sec-3">
      <title>APPROACH 3.1</title>
    </sec>
    <sec id="sec-4">
      <title>Overview</title>
      <p>
        To address subtask 2, fear prediction, we trained three Long
ShortTerm Memory (LSTM) ensembles and two single-layer LSTM
models. LSTMs are known for their effectiveness at modeling
timeseries data and capturing long-term dependencies in this type of
data [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
    </sec>
    <sec id="sec-5">
      <title>LSTM Model Architecture</title>
      <p>
        We set aside the last 12 movies from DevSet part 2 as our
crossvalidation set so we could compare LSTM model architecture
variations. A simple single-layer LSTM with batch normalization
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] trained on the fc6 feature data from DevSet 1 achieved the best
results on this cross-validation set. The LSTM model with a 1D
temporal convolutional layer (trained on the same feature data
from DevSet 1) performed slightly worse, but still achieved
nonzero F1 scores. We ultimately used both model architectures in
our ensembles, though we included more of the single-layer
LSTMs in each ensemble.
3.3
      </p>
    </sec>
    <sec id="sec-6">
      <title>Preprocessing the feature data</title>
      <p>
        To train our models, we used the pre-extracted audio features
and VGG16 fc6 layer visual features from the Liris-Accede dataset.
The audio features were extracted using the openSmile toolbox, and
the fc6 features were extracted with the Matlab neural networks
toolbox [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. These features have been the most useful in past papers
[
        <xref ref-type="bibr" rid="ref2 ref7">2, 7</xref>
        ]. To test whether the same applied for our data, we trained
multiple LSTM models on the visual features provided in the Liris
Accede dataset (i.e., the fc6 feature data and the other visual
features extracted using the LIRE library) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Each LSTM was
trained on 4 movies and tested on 3 movies from DevSet part 1. In
this testing, only the models trained on audio features and fc6 visual
features produced nonzero F1 scores.
      </p>
      <p>The fc6 and audio feature data were compiled into matrices and
padded so that the max number of timesteps for each movie was
6262 seconds. To reduce memory requirements, we chose a
window size of 101 seconds to slide over the time series data with
no seconds of overlap. To create labels, we converted the fear
annotations into one-hot vectors for each movie. Each element in a
movie’s one-hot vector represented one second: fear-inducing
seconds were ones while non-fear-inducing seconds were zeros.
Finally, the training data for our models were handpicked so that
about 20% of all timesteps fed into the model were fear-inducing.
4</p>
    </sec>
    <sec id="sec-7">
      <title>RESULTS AND ANALYSIS</title>
      <p>We submitted the following five runs:</p>
      <p>Run 1: Ensemble of LSTMs + fc6 and Audio features
Run 2: Ensemble of LSTMs + Audio features
Run 3: Ensemble of LSTMs + fc6
Run 4: Single-layer LSTM + fc6
Run 5: Single-layer LSTM + Audio
Each ensemble consisted of four LSTM models trained on different
subsets of DevSet part 1 and DevSet part 2 data. For the first run,
two single-layer LSTM models were trained using fc6 feature data,
and two single-layer LSTMs were trained using audio feature data.
For run 2, all four LSTM models were trained using fc6 data. Three
of these models were single-layer LSTMs and one was a single
layer LSTM with a 1D convolutional layer attached. For run 3, all
four LSTM models (again three of which were single-layer LSTMs
and one of which contained a 1D convolutional layer) were trained
using audio feature data. The results from these runs are listed in
Table 1.
Run 1
Run 2
Run 3
Run 4
Run 5</p>
      <p>Intersection_
Over_Union
0.06496
0.07507
0.08742
0.11992
0.09874
The predictions of the individual models in each ensemble were
averaged together to produce the ensemble’s final output. On the
whole, the ensembles performed worse than the single LSTM
models. This could be due in part to the fact that predictions in the
ensembles were joined via a simple average function, not a
weighted average function. Results might have improved if the
models with higher F1 scores were given greater influence over
the final decision of the ensemble.</p>
      <p>Between the two individual models in runs 4 and 5, the single
layer LSTM trained on fc6 data (run 4) performed the best. This
may suggest that visual features were more relevant to predicting
fear-inducing segments than audio features.
5</p>
    </sec>
    <sec id="sec-8">
      <title>CONCLUSIONS</title>
      <p>In this paper, we described our approach to addressing the fear
prediction subtask using LSTM models. We compared the
performances of LSTM ensembles to single LSTMs trained on
either fc6 or audio feature data.</p>
      <p>There are a number of interesting future research avenues to
explore and ways to improve what has been shared here. First, it
may be beneficial to decrease the length of the sliding windows
from 101 seconds and introduce a greater amount of overlap
between them. Because of our design choice in this paper, we
faced a class imbalance issue in our training data, which was
heavily skewed towards non-fear inducing seconds. Decreasing
the window size would make it easier to handpick a set of training
data with a higher ratio of fear-inducing seconds to non-fear
inducing seconds. Training the LSTM models on a balanced
dataset may improve their performances.</p>
      <p>Another potentially helpful strategy for dealing with the bias in
the fear prediction dataset is to weight the cost function so the
models are penalized more heavily for predicting zeros (non-fear
inducing seconds) when they should be predicting ones (fear
inducing seconds).</p>
      <p>
        In terms of feature data, AlexNet and GoogleLeNet outputs could
be promising to work with in the future. LSTMs trained on this
feature data have achieved notable results for action recognition in
videos [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], a task that seems related to fear prediction in movies.
Finally, the Phased LSTM [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] is a relatively recent model
architecture innovation that could improve the accuracy scores of
LSTMs when it comes to predicting irregular events in long
sequences. Given the infrequency of fear-inducing seconds in the
training data, adopting a Phased LSTM architecture could be
promising.
      </p>
    </sec>
    <sec id="sec-9">
      <title>ACKNOWLEDGMENTS</title>
      <p>This work was supported in part by the AI Grant (now the Pioneer
Fund).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>E.</given-names>
            <surname>Dellandrea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Martijn</given-names>
            <surname>Huigsloot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Baveye</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Sjoberg</surname>
          </string-name>
          ,
          <article-title>The MediaEval 2018 Emotional Impact of Movies Task</article-title>
          , In MediaEval 2018 Workshop, Sophia Antipolis, France,
          <fpage>29</fpage>
          -
          <lpage>31</lpage>
          October
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <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</surname>
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Ko</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>HKBU at MediaEval 2017 Emotional Impact of Movies Task</article-title>
          .
          <source>In Proceedings of MediaEval 2017 Workshop</source>
          . Dublin, Ireland.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Ng</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hausknecht</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vijayanarasimhan</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rajat Monga</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Toderici</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          <year>2015</year>
          .
          <article-title>Beyond Short Snippets: Deep Networks for Video Classification</article-title>
          . arXiv:
          <volume>1503</volume>
          .08909. Retrieved from https://arxiv.org/abs/1503.08909
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Hochreiter</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Schmidhuber</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <year>1997</year>
          .
          <source>LONG SHORTTERM MEMORY. Neural Computation</source>
          ,
          <volume>9</volume>
          (
          <issue>8</issue>
          ), pp.
          <fpage>1735</fpage>
          -
          <lpage>1780</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Sergey</given-names>
            <surname>Ioffe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Christian</given-names>
            <surname>Szegedy</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift</article-title>
          . arXiv:
          <volume>1502</volume>
          .03167. Retrieved from https://arxiv.org/abs/1502.03167
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Daniel</given-names>
            <surname>Neil</surname>
          </string-name>
          , Michael Pfeiffer,
          <string-name>
            <surname>Shih-Chii Liu</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Phased LSTM: Accelerating Recurrent Network Training for Long or Event-based Sequences</article-title>
          . arXiv:
          <volume>1610</volume>
          .09513. Retrieved from https://arxiv.org/abs/1610.09513
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Zitong</given-names>
            <surname>Jin</surname>
          </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>In Proceedings of MediaEval 2017 Workshop</source>
          . Dublin, Ireland.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>