<!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>Fudan-Huawei at MediaEval 2015: Detecting Violent Scenes and Affective Impact in Movies with Deep Learning</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Qi Dai</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rui-Wei Zhao</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zuxuan Wu</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xi Wang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zichen Gu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wenhai Wu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yu-Gang Jiang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Video Clips</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Feature Extraction</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>FV-TrajShape</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Media Lab, Huawei Technologies Co. Ltd.</institution>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>School of Computer Science, Fudan University</institution>
          ,
          <addr-line>Shanghai</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2015</year>
      </pub-date>
      <fpage>14</fpage>
      <lpage>15</lpage>
      <abstract>
        <p>Techniques for violent scene detection and a↵ective impact prediction in videos can be deployed in many applications. In MediaEval 2015, we explore deep learning methods to tackle this challenging problem. Our system consists of several deep learning features. First, we train a Convolutional Neural Network (CNN) model with a subset of ImageNet classes selected particularly for violence detection. Second, we adopt a specially designed two-stream CNN framework [1] to extract features on both static frames and motion optical flows. Third, Long Short Term Memory (LSTM) models are applied on top of the two-stream CNN features, which can capture the longer-term temporal dynamics. In addition, several conventional motion and audio features are also extracted as complementary information to the deep learning features. By fusing all the advanced features, we achieve a mean average precision of 0.296 in the violence detection subtask, and an accuracy of 0.418 and 0.488 for arousal and valence respectively in the induced ae↵ct detection subtask.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>SYSTEM DESCRIPTION</title>
    </sec>
    <sec id="sec-2">
      <title>Features</title>
      <p>We extract several features, including both neural network
based features and the conventional hand-crafted ones, as
described in the following.</p>
      <p>
        CNN-Violence: The ee↵ctiveness of CNN models has
been verified on many visual recognition tasks like object
recognition. We train an AlexNet [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] based model on video
frames, which takes individual frames as network inputs
followed by several convolutional layers, pooling layers and
fully connected (FC) layers. Specially, a subset of ImageNet
is used to tune the network. We manually pick 2614 classes
which are relatively more related to violence (or its related
semantic ingredients). These classes are mostly among the
categories of scenes, people, weapons and actions. The
outputs of FC6 (i.e., the sixth FC layer; 4096-d), FC7 (4096-d)
and FC8 (2614-d) are used as the features.
      </p>
      <sec id="sec-2-1">
        <title>STIP</title>
      </sec>
      <sec id="sec-2-2">
        <title>MFCC</title>
        <p>CNNSpatial</p>
        <p>CNNTemporal</p>
        <p>CNN</p>
        <p>Violence</p>
        <p>SVM</p>
        <p>
          Two-stream CNN: Recent works [
          <xref ref-type="bibr" rid="ref1 ref4">1, 4</xref>
          ] have also
revealed the e↵ectiveness of the CNN models for video
classification. Video data could be naturally decomposed into
two components, namely spatial and temporal respectively.
Thus we adopt a two-stream (spatial stream and temporal
stream) CNN model to extract features. Specially, for the
spatial stream, a CNN model which was pre-trained on the
ImageNet Challenge dataset (di↵erent from the 2614 classes
used in CNN-Violence) is used. The outputs of the last three
FC layers are used as the features. For the temporal stream,
which aims to capture the motion information, a CNN model
is trained to take stacked optical flows as input. The output
of the last FC layer is used as features. For more details of
our two-stream CNN model used in this evaluation, please
refer to [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. Note that the models are not fine-tuned using
MediaEval data.
        </p>
        <p>
          LSTM: In order to further model the long-term dynamic
information that is mostly discarded in the spatial and
temporal stream CNNs, we utilize our recently developed LSTM
model [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. Di↵erent from a traditional Recurrent Neural
Network (RNN) unit, the LSTM unit has a built-in memory
cell. Several non-linear gates are used to govern the
information flow into and out of the cell, which enables the model to
explore long-range dynamics. Figure 2 shows the structure
of the LSTM model. With a two-stream CNN model, video
frames or stacked optical flows could be transformed to a
series of fixed-length vector representations. The LSTM model
is used to model these temporal information. Due to time
constraint of the evaluation, we directly adopt LSTM model
trained with another video dataset (the UCF-101 dataset
[
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]) and use the average output from all the time-steps of
the last LSTM layers as the feature (512-d).
        </p>
        <p>
          Conventional features: Same as last year [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], we also
extract the improved dense trajectories (IDT) features
according to [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. Four trajectories based features, including
histograms of oriented gradients (HOG), histograms of
optical flow (HOF), motion boundary histograms (MBH) and
trajectory shape (TrajShape) descriptors are computed. The
features are encoded using the Fisher vectors (FV) with a
codebook of 256 codewords. The other two kinds of
conventional features include Space-Time Interest Points (STIP) [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]
and Mel-Frequency Cepstral Coecients (MFCC). The STIP
describes the texture and motion features around local
interest points, which are encoded using the bag-of-words
framework with 4000 codewords. The MFCC is a very popular
audio feature. It is extracted from every 32ms time-window
with 50% overlap. The bag-of-words is also adopted to
quantize the MFCC descriptors, using 4000 codewords.
1.2
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Classification</title>
      <p>We use SVM as the classifier. Linear kernel is used for
the four IDT features, and 2 kernel is used for all the
others. For feature fusion, kernel level fusion is adopted, which
linearly combines kernels computed on di↵erent features.</p>
      <p>Notice that direct classification with the CNN is feasible,
which may lead to better results. However, tuning the
models using MediaEval data requires additional computation.</p>
    </sec>
    <sec id="sec-4">
      <title>2. SUBMITTED RUNS AND RESULTS</title>
      <p>There are two subtasks in this year’s evaluation, namely
violence detection and induced a↵ect detection. Induced
affect detection requires participants to predict two emotional
impacts, arousal and valence, of a video clip.</p>
      <p>We submit five runs for each subtask. For both subtasks,
Run 1 uses the conventional features, Run 2 uses all the deep
learning features, Run 3 combines Run 1 and the
CNNViolence feature, Run 4 further includes the two-stream
CNN features, and, finally, Run 5 fuses all the features.
0.6%
0.5%
PA0.4%
M
/
cy0.3%
a
r
u
c
cA0.2%
0.1%
0%
0.479%%</p>
      <p>0.463%%
0.399%%
0.386%%</p>
      <p>0.479%%
0.407%%
0.488%%</p>
      <p>0.487%%
0.418%%</p>
      <p>0.417%%
0.165%%
0.235%%
0.270%%
0.295%%</p>
      <p>0.296%%
Valence%
Arousal%
Violence%
Run%1%</p>
      <p>Run%2%</p>
      <p>Run%3%</p>
      <p>Run%4%</p>
      <p>Run%5%</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgements</title>
      <p>This work was supported in part by a Key Technologies
Research and Development Program of China (#2013BAH09F01),
a National 863 Program of China (#2014AA015101), a grant
from NSFC (#61201387), and Huawei Technologies.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>K.</given-names>
            <surname>Simonyan</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Zisserman</surname>
          </string-name>
          .
          <article-title>Two-stream convolutional networks for action recognition in videos</article-title>
          .
          <source>In NIPS</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Sjo</surname>
          </string-name>
          ¨berg, Y. Baveye,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V. L.</given-names>
            <surname>Quang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Ionescu</surname>
          </string-name>
          , E. Dellandr´ea, M. Schedl,
          <string-name>
            <surname>C.-H. Demarty</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Chen</surname>
          </string-name>
          .
          <article-title>The MediaEval 2015 A↵ective Impact of Movies Task</article-title>
          .
          <source>In MediaEval 2015 Workshop</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Krizhevsky</surname>
          </string-name>
          , I. Sutskever,
          <string-name>
            <given-names>G. E.</given-names>
            <surname>Hinton</surname>
          </string-name>
          .
          <article-title>Image-Net classification with deep convolutional neural networks</article-title>
          .
          <source>In NIPS</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>H.</given-names>
            <surname>Ye</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.-W.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.-G.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Xue</surname>
          </string-name>
          .
          <article-title>Evaluating Two-Stream CNN for Video Classification points</article-title>
          .
          <source>In ICMR</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.-G.</given-names>
            <surname>Jiang</surname>
          </string-name>
          et al.
          <article-title>Modeling SpatialTemporal Clues in a Hybrid Deep Learning Framework for Video Classification</article-title>
          .
          <source>In ACM Multimedia</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>K.</given-names>
            <surname>Soomro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. R.</given-names>
            <surname>Zamir</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Shah</surname>
          </string-name>
          .
          <article-title>UCF101: A Dataset of 101 Human Action Classes From Videos in The Wild</article-title>
          .
          <source>In CRCV-TR-12-01</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Q.</given-names>
            <surname>Dai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wu</surname>
          </string-name>
          , Y.-G. Jiang et al.
          <source>Fudan-NJUST at MediaEval</source>
          <year>2014</year>
          :
          <article-title>Violent Scenes Detection Using Deep Neural Networks</article-title>
          .
          <source>In MediaEval 2014 Workshop</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>H.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Schmid</surname>
          </string-name>
          .
          <article-title>Action Recognition With Improved Trajectories</article-title>
          . In ICCV,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>I.</given-names>
            <surname>Laptev</surname>
          </string-name>
          .
          <article-title>On space-time interest points</article-title>
          .
          <source>IJCV</source>
          ,
          <volume>64</volume>
          :
          <fpage>107</fpage>
          -
          <lpage>123</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>