<!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>MediaEval 2011 Affect Task: Violent Scene Detection combining Audio and Visual Features with SVM</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Esra Acar, Stephan Spiegel, Sahin Albayrak DAI Labor, Berlin University of Technology</institution>
          ,
          <addr-line>Berlin</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2011</year>
      </pub-date>
      <fpage>1</fpage>
      <lpage>2</lpage>
      <abstract>
        <p>We propose an approach for violence analysis of movies in a multi-modal (visual and audio) manner with one-class and two-class support vector machine (SVM). We use the scale-invariant feature transform (SIFT) features with the Bag-of-Words (BoW) approach for visual content description of movies, where audio content description is performed with the mel-frequency cepstral coe cients (MFCCs) features. We investigate the performance of combining visual and audio features in an early fusion manner to describe the violence in movies. The experimental results suggest that one-class SVM is a promising approach for the task.</p>
      </abstract>
      <kwd-group>
        <kwd>Violence detection</kwd>
        <kwd>SVM</kwd>
        <kwd>SIFT</kwd>
        <kwd>Bag-of-Words</kwd>
        <kwd>MFCCs</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>MOTIVATION AND RELATED WORK</title>
      <p>
        Although video content analysis has been studied
extensively in the literature, violence analysis of movies is
restricted to a few studies [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Hence, the motivation
of MediaEval 2011 A ect Task is the automatic violence
content multi-modal analysis of movies to enable helping
parents to review the most violent scenes in a movie to prevent
their children from watching them. Detailed description of
the task, the dataset, the ground truth and evaluation
criteria are given in the paper by Demarty et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        Lin et al.[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] proposed a co-training based approach, where
audio analysis by a modi ed pLSA algorithm, motion and
high-level visual concept analysis was performed. Gong et
al. applied a semi-supervised learning approach [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], where
low-level visual and audio features were fused with
highlevel audio indicators. Giannakopoulos et al. proposed a
multi-modal probabilistic late fusion approach [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. For the
MediaEval 2011 A ect Task, we apply multi-modal (audio
and visual) analysis as in these studies [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] in an early
fusion manner by one-class SVM [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and two-class SVM [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
We report and discuss our results on 3 Hollywood movies
from the MediaEval 2011 dataset [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
2.
      </p>
    </sec>
    <sec id="sec-2">
      <title>PROPOSED APPROACH</title>
      <p>We propose an approach that merges visual and audio
features in a supervised manner (with one-class and
twoclass SVM) for violence detection in movies. The main idea
behind one-class SVM is to construct a hyper-sphere that
contains most of the positive training examples. The
hypersphere aims to separate the positive training examples from
the rest of the world. The hyper-sphere is determined with
two parameters which are v (an upper bound on the fraction
of outliers) and (the kernel width). Two-class SVM on
the other hand constructs a hyperplane in the feature space
to achieve a good separation between positive and negative
examples (i.e. maximum distance between the hyperplane
and the nearest training examples of any two class).</p>
      <p>For video content description, low-level visual and audio
features of video shots of the movies are extracted. The
lowlevel features are then combined in an early fusion manner to
train SVMs. The multi-modal fusion scheme of our approach
is given in Figure 1.
2.1</p>
    </sec>
    <sec id="sec-3">
      <title>Audio Features</title>
      <p>
        To describe the audio content of the movies, we use MFCCs
that are commonly used in audio recognition [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Due to the
variability in duration of the annotated video shots, each
video shot has di erent numbers of MFCCs. Since we want
to describe each video shot by one signi cant feature vector,
we compute the mean and standard deviation for each
dimension of the MFCCs feature vectors to describe the audio
signal.
      </p>
      <p>
        SIFT based BoW approach is used for visual content
description. As in BoW approaches known e.g. from [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ],
a visual vocabulary is constructed by clustering SIFT
local feature vectors with the k -means clustering algorithm.
Each resulting cluster is treated as a visual word. Once a
visual vocabulary of size k (k = 350 in this work) is built,
each SIFT feature is assigned to the closest visual word
(Euclidean distance is used), a histogram is computed for the
keyframe of a video shot and the related video shot is
represented as BoW histogram that represents the visual word
occurrences in its keyframe.
2.3
      </p>
    </sec>
    <sec id="sec-4">
      <title>Results and Evaluation</title>
      <p>
        The aim of this work is to assess the performance of
oneclass SVM and two-class SVM for violence detection. We
evaluated our approach on 3 Hollywood movies from the
MediaEval 2011 dataset [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. We submitted three runs in
total for the MediaEval 2011 A ect Task: svm1(cf1:10),
svm1(cf1:1) and svm2(cf1:10). We applied one-class SVM
with RBF kernel in svm1(cf1:10) and svm1(cf1:1)
submissions, where two-class SVM with RBF kernel was applied in
svm2(cf1:10) submission. The cost function mentioned in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
was used during SVM parameter selection for svm1(cf1:10)
and svm2(cf1:10), where for svm1(cf1:1) submission cost
function was adapted (i.e. Cfa=1 and Cmiss=1).
Parameter optimization process was performed by separating
randomly the training data at hand into training, validation
and test sets and the parameter values that gave the
minimum cost according to the mentioned cost function were
chosen. The optimized SVM parameters were v and for
one-class SVM, where c and parameters were optimized for
two-class SVM. LibSvm1 was used as the SVM
implementation. We employed the Auditory Toolbox2 and David Lowe's
SIFT demo software3 to extract the 13-dimensional MFCCs
and 128-dimensional SIFT features, respectively. Table 1
reports the number of false alarms (out of 3871) and miss
detections (out of 629) and Table 2 gives the evaluation
results. AED-P, AED-R and AED-F correspond to AED[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
precision, AED recall and AED F-measure, respectively.
The minimum miss rate is achieved with svm1(cf1:10),
where svm2(cf1:10) has the minimum false alarm rate.
However, svm2(cf1:10) has the poorest cost value due to the miss
rate. On the other hand, svm1(cf1:10) and svm1(cf1:1) have
smaller miss rates, where their false alarm rate is higher
compared to svm2(cf1:10). The best cost is achieved with
svm1(cf1:10). However, the SVM classi er tends to classify
almost every shot as violent in svm1(cf1:10), because the
cost of a miss is ten times higher than the cost of a false
alarm. In svm1(cf1:1), the number of video shots classi ed
as violent gets lower, since the costs of a false alarm and a
miss are equal. When all of the three runs are considered,
two-class SVM achieves the poorest performance according
to the cost measure.
      </p>
      <p>We observed that one-class SVM tends to classify most of
the video shots in the movies as violent even if equal costs are
used for false alarm and miss. This may happen because of
two reasons: (1) low-level audio and visual features are not
selective enough to describe the violence, (2) sub-optimal
parameters are being used for SVM model construction.
3.</p>
    </sec>
    <sec id="sec-5">
      <title>CONCLUSIONS</title>
      <p>We applied one-class and two-class SVM approach for
violence detection in movies. Our main nding is that one-class
SVM seems a promising approach for the task. SVM
parameters (v, ) and the low-level audio and visual features used
for the task need to be analyzed in more detail for better
results in terms of false alarm rate. Future work will
involve enhancing optimal SVM parameter selection process
and more detailed analysis of the audio and visual features
for content description to reduce the false alarm rate.</p>
      <p>Acknowledgments We wish to thank Brijnesh Johannes
Jain for his comments and suggestions that greatly
contributed to the successful completion of this work.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.</given-names>
            <surname>Cortes</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.</given-names>
            <surname>Vapnik</surname>
          </string-name>
          .
          <article-title>Support-vector networks</article-title>
          .
          <source>In Machine Learning</source>
          , pages
          <volume>273</volume>
          {
          <fpage>297</fpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>C.-H. Demarty</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Penet</surname>
            , G. Gravier, and
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Soleymani</surname>
          </string-name>
          .
          <article-title>The MediaEval 2011 A ect Task:Violent Scenes Detection in Hollywood Movies</article-title>
          . In MediaEval 2011 Workshop, Pisa, Italy, September 1-2
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>T.</given-names>
            <surname>Giannakopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Makris</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Kosmopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Perantonis</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <article-title>Audio-visual fusion for detecting violent scenes in videos</article-title>
          .
          <source>In Arti cial Intelligence: Theories, Models and Applications</source>
          , vol.
          <volume>6040</volume>
          of Lecture Notes in Computer Science, pages
          <volume>91</volume>
          {
          <fpage>100</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Gong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Huang</surname>
          </string-name>
          , and
          <string-name>
            <surname>G. W.</surname>
          </string-name>
          <article-title>Detecting violent scenes in movies by auditory and visual cues</article-title>
          .
          <source>In Advances in Multimedia Information Processing - PCM</source>
          <year>2008</year>
          , vol.
          <volume>5353</volume>
          of Lecture Notes in Computer Science, pages
          <volume>317</volume>
          {
          <fpage>326</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Lin</surname>
          </string-name>
          and
          <string-name>
            <given-names>W.</given-names>
            <surname>Wang</surname>
          </string-name>
          .
          <article-title>Weakly-Supervised Violence Detection in Movies with Audio and Video Based Co-training</article-title>
          .
          <source>In Advances in Multimedia Information Processing - PCM</source>
          <year>2009</year>
          , vol.
          <volume>5879</volume>
          of Lecture Notes in Computer Science, pages
          <volume>930</volume>
          {
          <fpage>935</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>B.</given-names>
            <surname>Logan</surname>
          </string-name>
          .
          <article-title>Mel frequency cepstral coe cients for music modeling</article-title>
          .
          <source>In Int. Symposium on Music Information Retrieval</source>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>B.</given-names>
            <surname>Scho</surname>
          </string-name>
          lkopf,
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Platt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Shawe-Taylor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. J.</given-names>
            <surname>Smola</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R. C.</given-names>
            <surname>Williamson</surname>
          </string-name>
          .
          <article-title>Estimating the support of a high-dimensional distribution</article-title>
          .
          <source>Neural Computation</source>
          ,
          <volume>13</volume>
          (
          <issue>7</issue>
          ):
          <volume>1443</volume>
          {
          <fpage>1471</fpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>T.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , C. Xu,
          <string-name>
            <given-names>G.</given-names>
            <surname>Zhu</surname>
          </string-name>
          , S. Liu, and
          <string-name>
            <surname>L. H.</surname>
          </string-name>
          <article-title>A Generic Framework for Event Detection in Various Video Domains</article-title>
          . In ACM MM,
          <string-name>
            <surname>Firenze</surname>
          </string-name>
          , Italy, October
          <volume>25</volume>
          -29
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>