<!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>Video Memorability Prediction using Deep Features and Loss-based Memorability Distribution Estimation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Safaa Azzakhnini</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Olfa Ben-Ahmed</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christine Fernandez-Maloigne</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>XLIM Research Institute, URM CNRS 7252, University of Poitiers</institution>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper, we address the video memorability prediction problem, which was a part of MediaEval 2022. This problem involves learning a model that maps the video content to a global memorability score. However, this value is still related to uncertain factors, including time and human subjectivity. Hence, we focus in this work mainly on modeling the subjective nature of the memorability experiments. Our approach relied on predicting the video memorability based on the maximum likelihood estimation of the Bernoulli distribution of the success variable of each video. To evaluate our approach, preliminary experiments were performed on the Memento10k dataset. First promising results were achieved by using a simple fusion of the visual and textual pre-trained features as input.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Understanding content memorability is a task that has gained psychologists’ interest for over a
decade [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. Most of the performed studies showed that mapping image content to image
memorability could be measured and, therefore, predictable [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. With advances in machine learning
and deep learning approaches, this task has also gained the attention of the computer vision
community to investigate these algorithms to build models able to predict the memorability of
a given multimedia content [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The first works started with studying image memorability and
proposed models that have achieved promising results [
        <xref ref-type="bibr" rid="ref4 ref5 ref6">4, 5, 6</xref>
        ]. These results have encouraged
researchers to extend this challenge to videos and release public datasets to tackle this task,
mainly the Memento10k[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and VideoMem [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] datasets used in predicting video memorability
in the current MediaEval challenge [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>
        Related works in video memorability prediction have mainly focused on extracting the
visual and temporal information from videos and the semantic information from textual data.
From the previous challenge, authors in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] combined a set of pre-trained visual and textual
features using transformers fed into a regressor to perform the regression task. In [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], the
authors proposed a fusion approach based on a weighted sum of visual and textual segment
features followed by a linear neural network. Another work [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] focused on filtering the frames
that are more informative in the video and extracting the features from them using vision
transformers. From another perspective, the authors who released the Memento10k dataset [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ],
proposed a new mathematical formulation of memorability decay, resulting in a model that can
produce a quantitative estimation of how a video decays in memory over time. Although this
model investigated the correlation between memorability and decay, it ignored modeling the
memorability experiment’s subjectivity.
      </p>
      <p>
        In order to design a suitable model for memorability prediction, it is necessary to understand
what factors influence a video memorability score. In the Memento10K dataset [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], video
memorability is computed using a memory test called the memory game. In this test, participants
are given a stream of videos and are asked whether or not they have seen them before. The
score computed for each video corresponds to an average among the total number of successes
obtained by changing participants and video positions in the stream (lags). A global score is
then associated with a video as a memorability score that characterizes the probability that
a person will be able to identify this video when seen before. In this dataset, the authors
showed that the memorability score is linearly correlated with lags and decay. They also
provided the response time taken in each experiment in which we noticed a correlation with the
participants’ answers. Therefore, given the subjective nature of the memory test, we propose to
model video memorability following a subjective methodology. Hence, we assume that each
memorability score related to each video follows a specific distribution that can be estimated
instead of estimating the global average. Therefore, a loss function based on maximum likelihood
estimation was proposed to estimate the distribution parameter. We consider this approach as a
ifrst attempt to model video memorability by considering the relative obtained successes for
each video. This paper is organized as follows. A more detailed description of the approach
is provided in section 2. The obtained results on the validation and test sets are provided and
analyzed in section 3. Finally, we conclude the paper in section 4
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Proposed approach</title>
      <p>Deep neural networks have shown remarkable success in many classification problems where
the goal of the model is to find a function that directly maps the input space to an output value.
However, in problems where subjectivity is present, the characterization of uncertainties is
desired. In the memorability estimation experiment, several factors are involved, including the
positions of the video the first and second time in the stream and the time spent since the first
time looking at the video. For each video, these settings vary and lead to a diferent outcome,
where this latter can be either a correct response or not.</p>
      <p>Statistically, a single experiment for two possible outcomes is called a Bernoulli trial, where
the probability of success is  and failure is 1 − . Therefore, each video memorability may
be regarded as binomial distribution with  trials, where in each Bernoulli trial, the outcome
variable may be a correct response or not.</p>
      <p>We formulate the problem as the following: Let’s  = {1, 2, · · · ,  } be a set of 
videos and  = {1, 2, · · · ,  } the set of the  corresponding memorability scores. For
each video, a number of  independent settings were performed to compute the global score,
where each is characterized by a success or failure outcome. Hence, the memorability  of
a video  can be modeled as a set of Bernoulli trials with the same parameter , where trials
are independent of one another,  ∼ (). The main quantity of interest is the
proportion of subjects who respond favorably (the proportion of successful trials, which is the
total number of successful trials divided by the total number of subjects).</p>
      <p>
        Every video  is represented by a single embedding  . This embedding corresponds to
a simple concatenation of visual and textual features. The visual features were computed as
the mean of extracted pre-trained features from Resnet50 and Eficient-Net models on the
frame level (features provided with the dataset), while the textual features were obtained using
pre-trained features from the Bert transformer model [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>The proposed approach consists, therefore, of designing a neural network that estimates ,
the probability of ’success’ (i.e., the proportion of observed successes) given the input features
X. In order to estimate the parameter  that is most likely to have given rise to the observation
, we use as a loss function the log-likelihood of  based on the observation  with  outputs
 with  = 1 · · · . Hence, the goal of the model is to find * that minimizes ( | ) such that:

( | ) = − ∑︁ ( log  + (1 − ) log (1 − ))
=1
(1)</p>
    </sec>
    <sec id="sec-3">
      <title>3. Results and Analysis</title>
      <p>Preliminary analysis of the average memorability scores The histogram in figure 1b
shows the distribution of the memorability scores on the training set. Indeed, the memorability
score over the training examples follows a skewed and asymmetric distribution with a skew of
− 0.529. The nature of this distribution makes learning the low values a dificult task. Therefore,
a transformation should be applied to the memorability variable. We have applied the square
transform to the output variable, reducing the distribution’s skewness (Figure 1b). Furthermore,
we have used the inverse transform to the predictions not to impact the regression analysis
results.</p>
      <p>Preliminary analysis of the response time Figure 1a shows the distributions of the response
time () for the examples where the correct variable is equal to 1 (success) and equal to 0
(failures). We notice that  follows diferent distributions for the two cases. Therefore, this
shows that the  feature is highly correlated with the memorability outcome. Based on
this observation, we investigated adding a regularization term to the loss function based on
maximizing the correlation between  and the predicted memorability as a simple approach.
0.00175
0.00150
0.00125
y
it0.00100
s
n
e
D0.00075
0.00050
0.00025
success cases 50</p>
      <p>failure cases
40
ty30
i
s
n
e
D20
10
400
300
t
n
u
oC200
100
400
350
300
t250
oun200
C
150
100
50
Obtained results on the validation set Table 1 shows obtained Mean Squared Error (MSE),
Mean Absolute Error(MAE), Spearman and Pearson’s rank correlation coeficient values, and the
coeficient of determination 2. We have compared the approach with using a neural network
where the loss function corresponds to minimizing the MSE of the average memorability scores.
These findings show that the proposed approach results in a better coeficient of determination
(from 0.38 to 0.42). The Spearman and Person correlation coeficients have also been improved
compared to using an MSE as a loss function.
Obtained results on the test set In this section, we present the obtained results on the
test set. We evaluated four independent runs to gain more insights about the approach. We
started by evaluating the model using visual and textual features in the first run. We included
the temporal dependencies between the frames in the second run using the LSTM model and
visual information only. In the third run, we have added the proposed regularization term based
on the response time (reg1). Finally, we added another simple regularizer to maximize the 2
between predicted and true values (reg2). The obtained results are shown in table 2.</p>
      <p>Based on the obtained values, the best run corresponds to the model predictions using
the proposed loss only (with a spearman correlation of 0.597). Although the performance
has decreased compared to the values obtained on the validation set, but it still provides
promising results. This can be improved by more investigation on the feature level as well as
by considering more frames rather than using three frames. Furthermore, we observe that the
added regularization terms could not result in a better performance. Therefore, we consider
including the response time factor in a more suitable way in our future experiments.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>In this paper, we investigated the subjectivity of the memorability experiments by considering
each memorability score as a Bernoulli distribution with the parameter . We proposed a
neural network that estimates p based on using the maximum likelihood as a loss function.
The obtained performance on the validation set shows promising results. We consider this
approach to be early work on the subjectivity modeling of video memorability. An interesting
next step would be to examine the memorability distribution estimation by considering lags and
video decays. Concerning the neural network, it might be beneficial to use more sophisticated
approaches such as video transformers to capture the spatiotemporal relationships in the data.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Acknowledgement</title>
      <p>Support for this research was provided by a grant from La Région Nouvelle Aquitaine
(CPERFEDER P-2019-2022), in partnership with the EuropeanUnion (FEDER/ ERDF, European Regional
Development Fund)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>N. C.</given-names>
            <surname>Rust</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Mehrpour</surname>
          </string-name>
          ,
          <article-title>Understanding image memorability</article-title>
          ,
          <source>Trends in cognitive sciences 24</source>
          (
          <year>2020</year>
          )
          <fpage>557</fpage>
          -
          <lpage>568</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Bylinskii</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Goetschalckx</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Newman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Oliva</surname>
          </string-name>
          ,
          <string-name>
            <surname>Memorability:</surname>
          </string-name>
          <article-title>An image-computable measure of information utility</article-title>
          ,
          <source>in: Human Perception of Visual Information</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>207</fpage>
          -
          <lpage>239</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Lahrache</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. El</given-names>
            <surname>Ouazzani</surname>
          </string-name>
          ,
          <article-title>A survey on image memorability prediction: From traditional to deep learning models</article-title>
          ,
          <source>in: 2022 2nd International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET)</source>
          , IEEE,
          <year>2022</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>H.</given-names>
            <surname>Squalli-Houssaini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. Q.</given-names>
            <surname>Duong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gwenaëlle</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.-H. Demarty</surname>
          </string-name>
          ,
          <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,
          <year>2018</year>
          , pp.
          <fpage>2371</fpage>
          -
          <lpage>2375</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Khosla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. S.</given-names>
            <surname>Raju</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Torralba</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Oliva</surname>
          </string-name>
          ,
          <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>
          ,
          <year>2015</year>
          , pp.
          <fpage>2390</fpage>
          -
          <lpage>2398</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Q.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Molino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Subbaraju</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-H.</given-names>
            <surname>Lim</surname>
          </string-name>
          ,
          <article-title>Predicting event memorability from contextual visual semantics</article-title>
          ,
          <source>Advances in Neural Information Processing Systems</source>
          <volume>34</volume>
          (
          <year>2021</year>
          )
          <fpage>22431</fpage>
          -
          <lpage>22442</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Newman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Fosco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Casser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>McNamara</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Oliva</surname>
          </string-name>
          , Multimodal memorability:
          <article-title>Modeling efects of semantics and decay on video memorability</article-title>
          ,
          <source>in: European Conference on Computer Vision</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>223</fpage>
          -
          <lpage>240</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>R.</given-names>
            <surname>Cohendet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Yadati</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. Q.</given-names>
            <surname>Duong</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.-H. Demarty</surname>
          </string-name>
          ,
          <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</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>178</fpage>
          -
          <lpage>186</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>L.</given-names>
            <surname>Sweeney</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. G.</given-names>
            <surname>Constantin</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.-H. Demarty</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Fosco</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>García Seco de Herrera</surname>
            , S. Halder,
            <given-names>G.</given-names>
          </string-name>
          <string-name>
            <surname>Healy</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Ionescu</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Matran-Fernandez</surname>
            ,
            <given-names>A. F.</given-names>
          </string-name>
          <string-name>
            <surname>Smeaton</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <article-title>Sultana, Overview of the MediaEval 2022 predicting video memorability task</article-title>
          , in: MediaEval Multimedia Benchmark Workshop Working Notes,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>R.</given-names>
            <surname>Kleinlein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Luna-Jiménez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Fernández-Martínez</surname>
          </string-name>
          ,
          <article-title>Thau-upm at mediaeval 2021: From video semantics to memorability using pretrained transformers (</article-title>
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <article-title>Cross-modal interaction for video memorability prediction (</article-title>
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>M. G.</given-names>
            <surname>Constantin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Ionescu</surname>
          </string-name>
          ,
          <article-title>Using vision transformers and memorable moments for the prediction of video memorability (</article-title>
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Vaswani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Shazeer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Parmar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Uszkoreit</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. N.</given-names>
            <surname>Gomez</surname>
          </string-name>
          , Ł. Kaiser,
          <string-name>
            <surname>I. Polosukhin</surname>
          </string-name>
          ,
          <article-title>Attention is all you need</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>30</volume>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>