<!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>Predicting Media Memorability Using Deep Features with Atention and Recurrent Network</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Le-Vu Tran</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vinh-Loc Huynh</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Minh-Triet Tran</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Faculty of Information Technology, University of Science, Vietnam National University-Ho Chi Minh City</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <fpage>27</fpage>
      <lpage>29</lpage>
      <abstract>
        <p>In the Predicting Media Memorability Task at the MediaEval Challenge 2019, our team proposes an approach that uses deep visual features with attention, and recurrent network to predict video memorability. For several frames in each video, attentive regions are marked by utilizing AMNet . Features are then extracted from those preprocessed frames. We next forward these through an LSTM network to model the structure of the video and predict its memorability score.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        The Predicting Media Memorability task’s main objective is to
automatically predict a score which indicates how memorable a video
will be [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Video memorability can be afected by several factors
such as semantics, color feature, saliency, etc. In this paper, we
examine the sequential structure of videos with LSTM. We take
advantage of deep convolutional neural networks to get image
features as our main source of data for predicting video memorability.
In our approach, there are three main stages: (i) determine which
regions of multiple frames of a video are more remarkable, (ii) extract
image features from those remarkable video frames, (iii) predict
each video’s memorability score.
      </p>
      <p>
        In the first stage, we sample 8 frames from each video, each
frame is fed through AMNet [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] to determine which regions are
remarkable. For each frame, 3 activation maps are generated to
mark attentive regions. As a result, for each video, we increase
from 8 frames to 8 × 4 = 32 frames (1 original frame + 3 attention
frames).
      </p>
      <p>
        In the second stage, all 32 frames are concatenated in the
following order O1, M11, M12, M13, O2, M21, M22, M23,... where Oi is the
ith original frame, and Mi j is the jth masked frame of the ith
original frame; are then fed into a pre-trained Inception-v3 convolution
network [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] to extract their 2048-dimension features.
      </p>
      <p>Once extracted, each of the video features sequentially becomes
an input of a recurrent neural network concatenating with a dense
layer in the third stage. The memorability score corresponds to the
output of the dense layer mentioned earlier.</p>
    </sec>
    <sec id="sec-2">
      <title>RELATED WORK</title>
      <p>
        The task of predicting image memorability (IM) has made significant
progress since the release of MIT’s large-scale image memorability
dataset and their MemNet [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Recently, in 2018, Fajtl et. al. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]
proposed a method, which benefits from deep learning, visual attention,
and recurrent networks, and achieved nearly human consistency
level in predicting memorability on this dataset. In [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], the authors’
deep learning approach has even surpassed human consistency
level with ρ = 0.72.
      </p>
      <p>
        In our work, we explore the efect of videos’ sequential aspect on
memorability by using LSTM on visual features. To our knowledge,
LSTM based approach in VM has only been tried in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. However,
the results did not seem promising because of their small dataset.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>MEMORABILITY PREDICTING</title>
      <p>Attention: For each frame in a particular video, we fed it through
AMNet, by default, it iteratively generates 3 attention maps that
linked to the image regions correlated with the memorability. Then
we multiply those heat maps with the original frame to remove
completely regions that we don’t want to appear in the frame.
Figure 1 gives a better point of view of what we have done in this
stage. As a result, after this stage, each frame of a video becomes a
batch of 4 frames (1 original frame + 3 masked frames). We consider
that batch of 4 frames as the input for the next stage.</p>
      <p>
        Feature extraction: To resolve the temporal factor, instead of
using C3D [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], we decide to break the video into multiple frames
and treat those frames as a batch representing that video. At the
beginning, we extracted only 3 frames (the beginning, middle, and
last frames) for processing. After several tests, we figured out that
we can achieve higher results with more frames extracted. However,
we ended up with the decision of using 8 frames rather than a
greater number. Indeed, the correlation was not substantially better
Le-Vu, Vinh-Loc, Minh-Triet
and we want a straightforward extracting process. The length of
each video in the dataset is 7 seconds. We get the very first frame of
the video, then after each second, one more frame is captured. At
this stage, for each video, we have 8 original frames. Including the
attention stage described above, finally, for each video, we have the
total number of 32 frames. We then use pre-trained Inception-v3
Convolutional Neural Network [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] to extract the frames’ features
as we want a concise network which can conduct a reasonably
high accuracy. We use the publicly available model pre-trained on
ImageNet [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and extract the output with a dimensionality of 2048
from the last fully connected layer with average pooling.
      </p>
      <p>
        Predicting memorability: We considered several approaches
regarding image and video memorability. In our attempts at
adapting IM to VM, we simply used only the middle frame of each video
and train two models with them as input data. We implemented a
simple model which consists of a CNN for feature extraction and 2
fully connected (FC) layers for computing the output score. We also
retrained the model in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] with those images to see if their model
generalizes well to the task’s dataset. Furthermore, we propose to
use an LSTM model to predict VM score using features extracted
above (figure 2). Each extracted feature vector of every frame of a
video is an input of a time step in our LSTM model. At the last step,
a dense layer takes a 1024-dimension output vector of the LSTM
model and calculates the memorability score of that video.
      </p>
      <p>
        For the short-term task, three out of five submitted runs are the
results of our proposed method with three diferent configurations
(1024, 2048, and 4096 hidden units). The remaining two are the
results of the captioning mechanism from [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] (we use the
mechanism from [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] to generate attention heat maps similarly to the
AMNet mechanism mentioned earlier) with two diferent
configurations (2048 and 4096 hidden units). For the long-term task, we
repeat the same configurations but trained on diferent data from
the short-term task.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>RESULTS AND DISCUSSION</title>
      <p>In this section, we evaluate our LSTM model on the task’s dataset.
We present our quantitative results as well as some insight that we
learned from this dataset.</p>
      <p>Since we do not have the ground truth of the oficial test set,
to compare these methods, we divide the development set into 3
parts: 6,000 videos for training, 1,000 videos for validating, and 1,000
videos for testing. Table 1 shows the results of diferent methods
that we tested with our 1,000 test videos.</p>
      <p>With our approach, the very same model with 1024 hidden units
achieved the best result for both subtasks.</p>
      <p>To prevent overfitting while training, we apply a dropout rate of
0.5 on the LSTM layer. We found that this rate gives the best results
among 3 dropout rates of 0.25, 0.5, 0.75.</p>
      <p>
        Discussion: According to the groundtruth, the dataset on
shortterm memorability does follow a common trend previously stated
in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Videos with contents of natural scenes, landscapes,
backgrounds, and exteriors tend to be less memorable. On the other hand,
videos with scenes that have people, interiors, and human-made
objects are easily remembered.
      </p>
      <p>On the contrary, we think predicting long-term memorability on
this dataset requires more in-depth research. For all of our methods,
the results are always better when training/validating with
shortterm labels. Long-term labels seem to confuse the model which leads
to worse performance. One possible reason of the inconsistency
in this particular dataset is that there exist multiple similar videos
with opposite scores about or of specific objects.</p>
      <p>As in Figure 3, both videos are almost identical in terms of visual
features such as color, angle, actor, etc. These videos might cause
participants to make mistakes when deciding whether they watched
it or not. Hence, their long-term labels give opposite results.
5</p>
    </sec>
    <sec id="sec-5">
      <title>CONCLUSION AND FUTURE WORK</title>
      <p>In our approach, we focus on the temporal aspect of videos by
using their frames in an LSTM recurrent network. We have not
tried using a combination of features in the process, hence, we will
try using multiple aspects of a video to measure its performance.</p>
    </sec>
    <sec id="sec-6">
      <title>ACKNOWLEDGMENTS</title>
      <p>Research is supported by Vingroup Innovation Foundation (VINIF)
in project code VINIF.2019.DA19. We would like to thank AIOZ Pte
Ltd for supporting our team with computing infrastructure.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Romain</given-names>
            <surname>Cohendet</surname>
          </string-name>
          , Karthik Yadati, Ngoc QK Duong, and
          <string-name>
            <surname>Claire-Hélène Demarty</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Annotating, understanding, and predicting long-term video memorability</article-title>
          .
          <source>In Proceedings of the 2018 ACM on International Conference on Multimedia Retrieval. ACM</source>
          ,
          <volume>178</volume>
          -
          <fpage>186</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Mihai</given-names>
            <surname>Gabriel</surname>
          </string-name>
          <string-name>
            <given-names>Constantin</given-names>
            , Bogdan Ionescu,
            <surname>Claire-Hélène</surname>
          </string-name>
          <string-name>
            <given-names>Demarty</given-names>
            ,
            <surname>Ngoc Q. K. Duong</surname>
          </string-name>
          , Xavier Alameda-Pineda, and
          <string-name>
            <given-names>Mats</given-names>
            <surname>Sjöberg</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>The Predicting Media Memorability Task at MediaEval 2019</article-title>
          .
          <source>In Proc. of the MediaEval 2019 Workshop</source>
          , Sophia Antipolis, France, Oct.
          <volume>27</volume>
          -
          <fpage>29</fpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Jiri</given-names>
            <surname>Fajtl</surname>
          </string-name>
          , Vasileios Argyriou, Dorothy Monekosso, and
          <string-name>
            <given-names>Paolo</given-names>
            <surname>Remagnino</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Amnet: Memorability estimation with attention</article-title>
          .
          <source>In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition</source>
          .
          <fpage>6363</fpage>
          -
          <lpage>6372</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Aditya</given-names>
            <surname>Khosla</surname>
          </string-name>
          , Akhil S Raju, Antonio Torralba, and
          <string-name>
            <given-names>Aude</given-names>
            <surname>Oliva</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Understanding and predicting image memorability at a large scale</article-title>
          .
          <source>In Proceedings of the IEEE International Conference on Computer Vision</source>
          . 2390-
          <fpage>2398</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Olga</given-names>
            <surname>Russakovsky</surname>
          </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 115</source>
          , 3 (
          <year>2015</year>
          ),
          <fpage>211</fpage>
          -
          <lpage>252</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Hammad</given-names>
            <surname>Squalli-Houssaini</surname>
          </string-name>
          ,
          <source>Ngoc QK Duong</source>
          , Marquant Gwenaëlle, and
          <string-name>
            <surname>Claire-Hélène Demarty</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Deep learning for predicting image memorability</article-title>
          .
          <source>In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)</source>
          . IEEE,
          <fpage>2371</fpage>
          -
          <lpage>2375</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Christian</given-names>
            <surname>Szegedy</surname>
          </string-name>
          , Vincent Vanhoucke, Sergey Iofe, 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 id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Du</given-names>
            <surname>Tran</surname>
          </string-name>
          , Lubomir Bourdev, Rob Fergus, Lorenzo Torresani, and
          <string-name>
            <given-names>Manohar</given-names>
            <surname>Paluri</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Learning spatiotemporal features with 3d convolutional networks</article-title>
          .
          <source>In Proceedings of the IEEE international conference on computer vision</source>
          . 4489-
          <fpage>4497</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Viet-Khoa</surname>
          </string-name>
          Vo-Ho,
          <article-title>Quoc-An Luong</article-title>
          ,
          <string-name>
            <surname>Duy-Tam</surname>
            <given-names>Nguyen</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mai-Khiem Tran</surname>
          </string-name>
          , and
          <string-name>
            <surname>Minh-Triet Tran</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Personal diary generation from wearable cameras with concept augmented image captioning and wide trail strategy</article-title>
          .
          <source>In Proceedings of the Ninth International Symposium on Information and Communication Technology. ACM</source>
          ,
          <volume>367</volume>
          -
          <fpage>374</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>