<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">GIBIS at MediaEval 2018: Predicting Media Memorability Task</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Ricardo</forename><forename type="middle">Manhães</forename><surname>Savii</surname></persName>
							<email>ricardo.savii@dafiti.com.br</email>
							<affiliation key="aff0">
								<orgName type="department">Instituto de Ciência e Tecnologia</orgName>
								<orgName type="laboratory">GIBIS Lab</orgName>
								<orgName type="institution">Universidade Federal de São Paulo</orgName>
								<address>
									<country key="BR">Brazil</country>
								</address>
							</affiliation>
							<affiliation key="aff1">
								<orgName type="department">Dafiti Group</orgName>
								<address>
									<country key="BR">Brazil</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Samuel</forename><surname>Felipe Dos Santos</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Instituto de Ciência e Tecnologia</orgName>
								<orgName type="laboratory">GIBIS Lab</orgName>
								<orgName type="institution">Universidade Federal de São Paulo</orgName>
								<address>
									<country key="BR">Brazil</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Jurandy</forename><surname>Almeida</surname></persName>
							<email>jurandy.almeida@unifesp.br</email>
							<affiliation key="aff0">
								<orgName type="department">Instituto de Ciência e Tecnologia</orgName>
								<orgName type="laboratory">GIBIS Lab</orgName>
								<orgName type="institution">Universidade Federal de São Paulo</orgName>
								<address>
									<country key="BR">Brazil</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">GIBIS at MediaEval 2018: Predicting Media Memorability Task</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">5EBF8FD81F312FAB2D1637855FD278F0</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T02:17+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Media Memorability</term>
					<term>k-NN Regressor</term>
					<term>Deep Learning</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>This paper describes the GIBIS team experience in the Predicting Media Memorability Task at MediaEval 2018. In this task, we were required to develop an approach to predict a score reflecting whether videos are memorable or not, considering short-term memorability and long-term memorability. Our proposal relies on different learning strategies: for long-term memorability, we adopted k-NN regressors trained on hand-crafted motion features; and for shortterm memorability, we trained deep learning models.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>The Predicting Media Memorability task is part of the MediaEval 2018 Benchmarking Initiative for Multimedia Evaluation. The goal of this task is to automatically predict a memorability score for a video reflecting its probability to be remembered. For this, it is provided a dataset composed of 10,000 short, soundless videos split into 8,000 videos for the development set and 2,000 videos for the test set. Also, pre-computed visual features are provided to facilitate participation. For more details about this task, please, refer to <ref type="bibr" target="#b1">[2]</ref>.</p><p>In this paper, we explore two main approaches: (1) for long-term memorability, an ensemble of ten KNR (k-Nearest Neighbor Regressor) or SVR (Support Vector Regression) <ref type="bibr" target="#b3">[4]</ref> trained on the provided HMP (Histogram of Motion Patterns) <ref type="bibr" target="#b0">[1]</ref> feature; and (2) for shortterm memorability, a deep learning model based on 3D convolutions and 3D pooling layers, known as C3D (Convolution3D) <ref type="bibr" target="#b4">[5]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">OUR APPROACH</head><p>The proposed approach exploits different strategies for long-term and short-term memorability. The former relies on hand-crafted motion features extracted with HMP whereas the latter uses datadriven features learned with C3D. One limitation of C3D is its capacity to capture subtle but long-term motion dynamics, as it requires to break a video into small clips. Unlike C3D, HMP captures motion dynamics of a video as a whole, and not just parts.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Long-Term Approach</head><p>Our proposed approach for the long-term memorability subtask consists of using the pre-computed HMP feature <ref type="bibr" target="#b0">[1]</ref> in conjunction with two regression algorithms: SVR (Support Vector Regression) and KNR (k-Nearest Neighbor Regressor).</p><p>Copyright held by the owner/author(s). MediaEval'18, 29-31 October 2018, Sophia Antipolis, France HMP encodes an entire video into a single histogram representing its overall motion dynamics. From this, we can consider the HMP vector as a hash identifying each video as a point in a highdimensional space. This idea of space is the foundation for the use of the KNR and SVR algorithms <ref type="bibr" target="#b3">[4]</ref>.</p><p>For reproducibility, the KNR and SVR implementations used comes from the scikit-learn python package <ref type="bibr" target="#b3">[4]</ref>. The steps for the experiment are: split the dev-set at random into ten folds, then train one regression model on each fold. In this way, we get ten different models. They are used as an ensemble to predict the memorability over the HMP features of the test-set. The average output is considered as the final score and we used the 95% confidence interval as the output confidence.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Short-Term Approach</head><p>For short-term memorability, we use a deep learning model based on the C3D architecture <ref type="bibr" target="#b4">[5]</ref>. However, our C3D model has some differences from the original C3D model. Here, we include a multiheaded layer by adding two fully connected layers at the top of the C3D model. To provide confidence over prediction values, we implemented a multi-output model, a two-headed model. The heads are: (1) a regression output (i.e., sigmoid activation) used to predict the memorability score; and (2) a classification head predicting the discretized memorability bucket. The short-memorability score was discretized in 10 buckets and used as classes for prediction. In this way, the classification head using a softmax activation provides a confidence value over the responses of the regression head.</p><p>The implemented C3D model follows a 3D convolution and 3D max pooling architecture <ref type="foot" target="#foot_0">1</ref> and it outputs a fully connected layer with 2048 neurons. This is the first of three fully connected layers that feed a multi-head output for regression and classification. Figure <ref type="figure" target="#fig_0">1</ref> shows the network architecture of our first experiment. In our second experiment, we used the same C3D model, however, we consider a two-stream network. For this, a second C3D model receives as input the optical flow <ref type="bibr" target="#b2">[3]</ref>. The outputs of each C3D model are concatenated to form the first fully connected layer.</p><p>The motivation for this two-stream network is to evaluate if our C3D model can improve its results with this extra information. For reproducibility, we used the dense version of optical flow provided with the OpenCV library<ref type="foot" target="#foot_1">2</ref> . Figure <ref type="figure" target="#fig_1">2</ref> shows the overall architecture for this experiment. For both networks, the input data are normalized to real values in the range [−1, 1] and resized to 128 × 171 pixels. Also, the C3D model limits the input to a frame sequence with a predefined length (typically, 16 frames) and, for this reason, a sequence of 16 consecutive frames from each video was selected at random and used as input to the network. Optical flow generates a frame sequence with one less frame and, for easier the implementation, a last frame filled with zeros was appended at the end.</p><p>For training, a different loss function was used for each head: mean squared logarithmic error for the regression head and categorical crossentropy for the classification head. Then, a weighted sum of these individual losses with weights 1.0 and 0.7, respectively, was computed as the final loss to be minimized by a RMSProp optimizer with a learning rate of 0.0015.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">RESULTS AND ANALYSIS</head><p>We submit three different runs configured as shown in Table <ref type="table" target="#tab_0">1</ref>. We calibrated the long-term memorability subtask through 10-fold cross-validation on the development data and use a holdout method with 10% of the development data for validation to calibrate the short-term memorability subtask. The evaluation metrics are: Spearman's rank correlation, Pearson correlation coefficient, and MSE (Mean Squared Error). The former is the official metric for the task. Table <ref type="table" target="#tab_1">2</ref> presents the results for the development and test sets considering the long-term memorability subtask. In the development set, we tested different regression models: SVR with RBF kernel and KNR. Also, the values experimented for the parameter k of KNR were 5, 20, and 30. Notice that KNR performs better than SVR for Spearman and Pearson metrics and the best results were achieved by KNR with k = 20. Therefore, we submit one run for the long-term memorability subtask considering our best result on the development set. From it, we achieved a Spearman value of 0.11845 for the test set. Table <ref type="table" target="#tab_2">3</ref> presents the results for the development and test sets considering the short-term memorability subtask. The results for Spearman and Pearson metrics are not a number (NaN) and therefore they were not included in this table. The reason is because the C3D models assigned a same memorability score for all the videos. This turned impossible to calculate Spearman and Pearson correlation metrics due to lack of variance. Despite we tried several adjustments to hyper-parameters and pre-processing, it turned out during the experiments that the models did not improve results after reaching a value close to the average memorability score for the development set, possibly indicating a lack of fit. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">DISCUSSION AND OUTLOOK</head><p>It is important to notice that HMP and C3D have an important difference: HMP captures motion dynamics of a video as whole whereas C3D is limited to a short window of fixed duration. An intention of future work is to analyze if features encoding long-term motion dynamics, like HMP or RNN (Recurrent Neural Network), are better for predicting video memorability than those capturing short-term motion dynamics, like C3D or ORB.</p><p>We can think about some reasons for the failure of our deep learning models. First, we constrain a full length video to a sequence of 16 consecutive frames. Smarter strategies to capture the temporal structure of a video, like RNN with LSTM (Long-Short Term Memory), could led to improvements. Second, we trained our deep neural networks from scratch. As the training set is rather small, data augmentation could be used to improve the results.</p><p>Another promising direction is to combine different features. For short memorability, we fused optical flow and video data. Would it improve results if we fuse video (visual data) and captions (textual data) provided for the task? Or other visual features, like HMP?</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: One-stream C3D architecture (adapted from [5]).</figDesc><graphic coords="1,0.00,159.54,612.00,472.91" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: Two-stream C3D architecture (adapted from [5]).</figDesc><graphic coords="2,53.80,151.76,240.24,96.56" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_0"><head>Table 1 :</head><label>1</label><figDesc>Configuration of the submitted runs.</figDesc><table><row><cell>Subtask</cell><cell>Run</cell><cell>Configuration</cell></row><row><cell>Long-term memorability</cell><cell>1</cell><cell>HMP + 20-NN regressor</cell></row><row><cell>Short-term memorability</cell><cell>1 2</cell><cell>1-C3D (video) 2-C3D (video, optical flow)</cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head>Table 2 :</head><label>2</label><figDesc>Long-term memorability results.</figDesc><table><row><cell></cell><cell>Approach</cell><cell cols="2">Spearman Pearson</cell><cell>MSE</cell></row><row><cell>Dev. Set</cell><cell>HMP + SVR kernel RBF HMP + 5-NN regressor</cell><cell>−0.026 −0.004</cell><cell>−0.009 −0.002</cell><cell>0.02 0.02</cell></row><row><cell></cell><cell>HMP + 20-NN regressor</cell><cell>0.009</cell><cell>0.022</cell><cell>0.02</cell></row><row><cell></cell><cell>HMP + 30-NN regressor</cell><cell>−0.003</cell><cell>0.014</cell><cell>0.02</cell></row><row><cell cols="2">Test Set HMP + 20-NN regressor</cell><cell>0.11845</cell><cell cols="2">0.11966 0.02011</cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_2"><head>Table 3 :</head><label>3</label><figDesc>Short-term memorability results.</figDesc><table><row><cell>Approach</cell><cell>MSE Dev. Set Test Set</cell></row><row><cell>1-C3D (video)</cell><cell>0.0043 0.00702</cell></row><row><cell cols="2">2-C3D (video, optical flow) 0.0046 0.00699</cell></row></table></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">Our C3D implementation is available at: https://github.com/ricoms/deep_ memorability/blob/master/deep_memorability/trainer2/video_c3d.py</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1">https://docs.opencv.org/3.4/d7/d8b/tutorial_py_lucas_kanade.html</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ACKNOWLEDGMENTS</head><p>We thank the São Paulo Research Foundation -FAPESP (grant 2016/06441-7), the Brazilian National Council for Scientific and Technological Development -CNPq (grants 423228/2016-1 and 313122/2017-2) and the Brazilian Federal Agency for Coordination for the Improvement of Higher Education Personnel -CAPES (grant 1703269) for funding. We gratefully acknowledge the support of NVIDIA Corporation with the donation of the Titan Xp GPU used for this research.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Predicting Media Memorability Task</head><p>MediaEval'18, 29-31 October 2018, Sophia Antipolis, France</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Comparison of Video Sequences with Histograms of Motion Patterns</title>
		<author>
			<persName><forename type="first">J</forename><surname>Almeida</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">J</forename><surname>Leite</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">S</forename><surname>Torres</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">IEEE International Conference on Image Processing (ICIP&apos;11)</title>
				<meeting><address><addrLine>Brussels, Belgium</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2011">2011</date>
			<biblScope unit="page" from="3673" to="3676" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">MediaEval 2018: Predicting Media Memorability Task</title>
		<author>
			<persName><forename type="first">R</forename><surname>Cohendet</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C-H</forename><surname>Demarty</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Duong</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Sjöberg</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Ionescu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T-T</forename><surname>Do</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Rennes</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. of the MediaEval 2018 Workshop</title>
				<meeting>of the MediaEval 2018 Workshop<address><addrLine>Sophia Antipolis, France</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Endto-End Learning of Motion Representation for Video Understanding</title>
		<author>
			<persName><forename type="first">L</forename><surname>Fan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W-B.</forename><surname>Huang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Gan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Ermon</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Gong</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Huang</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">IEEE International Conference on Computer Vision and Pattern Recognition (CVPR&apos;18)</title>
				<meeting><address><addrLine>Salt Lake City, UT, USA</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2018">2018</date>
			<biblScope unit="page" from="6016" to="6025" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Scikit-learn: Machine Learning in Python</title>
		<author>
			<persName><forename type="first">F</forename><surname>Pedregosa</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Varoquaux</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Gramfort</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Michel</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Thirion</surname></persName>
		</author>
		<author>
			<persName><forename type="first">O</forename><surname>Grisel</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Blondel</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Prettenhofer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Weiss</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Dubourg</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Vanderplas</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Passos</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Cournapeau</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Brucher</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Perrot</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Duchesnay</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Machine Learning Research</title>
		<imprint>
			<biblScope unit="volume">12</biblScope>
			<biblScope unit="page" from="2825" to="2830" />
			<date type="published" when="2011">2011. 2011</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Learning Spatiotemporal Features with 3D Convolutional Networks</title>
		<author>
			<persName><forename type="first">D</forename><surname>Tran</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><forename type="middle">D</forename><surname>Bourdev</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Fergus</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Torresani</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Paluri</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">IEEE International Conference on Computer Vision (ICCV&apos;15)</title>
				<meeting><address><addrLine>Santiago, Chile</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2015">2015</date>
			<biblScope unit="page" from="4489" to="4497" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
