<!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>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Carles Ventura</string-name>
          <email>carles.ventura@upc.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marcel Tella-Amo</string-name>
          <email>marceltella@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xavier Giro-i-Nieto</string-name>
          <email>xavier.giro@upc.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universitat Politecnica de</institution>
          ,
          <addr-line>Catalunya, Barcelona, Catalonia</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2013</year>
      </pub-date>
      <fpage>18</fpage>
      <lpage>19</lpage>
      <abstract>
        <p>These working notes paper present the contribution of the UPC team to the Hyperlinking sub-task of the Search and Hyperlinking Task in MediaEval 2013. Our contribution explores the potential of a solution based only on visual cues. In particular, every automatically generated shot is represented by a keyframe. The linking between video segments is based on the visual similarity of the keyframes they contain. Visual similarity is assessed with the intersection of bag of features histograms generated with the SURF descriptor.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. INTRODUCTION</title>
      <p>
        These working notes describe the algorithms tested by the
UPC team in the MediaEval 2013 Search and Hyperlinking
Task. The reader is referred to the task description [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] for
further details about the study case, dataset and metrics.
Our team participated only in the Hyperlinking sub-task,
discarding the Search one.
      </p>
      <p>The Hyperlinking sub-task aims at linking anchors related
to a temporal segment of a video. In this sub-task, as well as
the Search one, one of the main challenges is the uncertainty
regarding what criteria are to be followed to generate these
links. There is ambiguity about what the user expectations
are regarding these links, as well as little information about
what is considered relevant to the user in the video segment.</p>
      <p>In addition, the search within the video collection can
consider three di erent types of media information: visual,
audio and textual. Previous editions of the Hyperlinking
subtask have especially focused on the textual data, whether
in the form of closed captions or audio transcripts. The
visual modality, though, has received less attention despite its
great potential. In our work, we study the results of the
visual cues in trying to capture the user expectations about
the links. In particular, we adopt the popular Bag of
Features model to generate links to video segments which are
visually similar to the provided anchor.</p>
    </sec>
    <sec id="sec-2">
      <title>RELATED WORK</title>
      <p>
        The generation of links between video segments can be
solved with techniques developed for image retrieval. This
eld was greatly in uenced by the Video Google [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] work,
which adapted the basic principles of text retrieval to image
collections. Video Google considered visual features around
sparsely generated interest points as the basic units that
describe an image. There are several existing solutions on
how to detect and characterise the sparse interest points. In
our work, SURF descriptors [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] were adopted.
      </p>
      <p>Once each image is represented by the interest points it
contains, Video Google proposes the construction of a visual
vocabulary of features (words) by clustering a large amount
of them, extracted from a training dataset. After this
learning stage, every feature point of the test dataset can be
quantised by assigning it to the most similar word within a
vocabulary. As a result, every image in the test dataset can
be described with a signature, where each bin corresponds
to the word occurrences. The representation of each
image as a Bag of Features (BoF) allows its e cient indexing
with inverted indexes. In addition, the resulting signatures
tend to be sparse, allowing e cient storage and similarity
assessment.</p>
      <p>
        Currently there are several implementations of the
algorithms available. We have adopted the solutions included in
OpenCV [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], a popular and free software which allows the
replication of the experiments.
3.
      </p>
    </sec>
    <sec id="sec-3">
      <title>APPROACH</title>
      <p>
        The Hyperlinking sub-task is addressed to temporal video
segments, but dealing with all the visual information
contained in the collection requires a very large amount of
computing power not available to the participants. Nevertheless,
the MediaEval organisers published the shot boundaries and
associated keyframes generated by [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Dealing with the
these keyframes, even with a large number of 1,200,000, is
nevertheless a reasonable e ort, especially if working with
sparse BoF. This decision however requires a strategy to
rstly convert the provided anchors into query keyframes,
and later estimate the linked video segments from the
retrieved keyframes.
3.1
      </p>
    </sec>
    <sec id="sec-4">
      <title>From anchors to query keyframes</title>
      <p>The provided anchors were de ned by a start and end
time codes. The temporal boundaries of an anchor typically
covered several shots. As every shot was also represented
with a keyframe, every anchor corresponded to a collection
of keyframes. Each of these keyframes was used to formulate
an independent image query, which was compared with all
the keyframes of the video collection to generate a ranked list
of retrieved keyframes. The similarity assessment was
performed with the histogram intersection, an operation which
can be e ciently assessed on sparse signatures.</p>
      <p>The sub-task organisers required that, in addition to strictly
adjusting to the anchor boundaries, one of the runs should
consider the context of the general segment. Following the
spirit of our exclusively visual solution, we simply expanded
the time codes of each anchor to 5 more shots backward and
forward. That is, in the context run, 10 more shots were
considered as part of the query frames.
3.2</p>
    </sec>
    <sec id="sec-5">
      <title>From retrieved keyframes to linked video segments</title>
      <p>The retrieved keyframes associated with an anchor require
a further processing to generate a ranked list of temporal
video segments. Our approach is based on the assumption
that the user appreciates diversity within the resulting links.
In particular, the implemented solution limits to one the
appearance of a video in the retrieved list of video segments.</p>
      <p>The rst step to create video segments is the merging of
all ranked lists of keyframes associated to an anchor into a
uni ed one. If a keyframe appears in more than one ranked
list, only the highest score is considered to represent this
keyframe.</p>
      <p>The algorithm scans in increasing order the ranked list
of keyframes and generates a new and sorted entry in the
output list whenever a new video is referred to. Taking
as a base time code the one of the rst appearance of the
video in the ranked list, the rest of the uni ed ranked list is
explored searching for more keyframes from the considered
video. Whenever a new keyframe is found, it is considered to
set a new start or end time code to the entry under process.
If expanding the time span does not exceed the limit of 2
minutes set by the organisers, the new time code is accepted.
Otherwise, this keyframe is discarded and the rest of the
list is explored. When the end of the keyframes ranked is
reached, the end time code is expanded so that the nal
duration of the linked video segments is also 2 minutes. This
strategy was adopted because it was assumed that the user
would especially appreciate a precise start time, but that
it would not be very selective about the end time. On the
other hand, expanding the segment may, even by chance,
provide the user with some valuable information that they
would appreciate.</p>
      <p>It must be noticed that our results did not exclude the
video source of the anchor from the retrieved video segments.
We considered that the results may provide a di erent
segment from the anchor one, although probably containing it.</p>
    </sec>
    <sec id="sec-6">
      <title>EXPERIMENTS AND RESULTS</title>
      <p>
        The UPC participated in the Hyperlinking sub-task,
providing 1,000 video segments for each of the 98 anchors
provided. Finally, only 30 of them were assessed by users. The
Bag of Features model relied on a vocabulary of 10,000
codewords extracted with the SURF descriptor [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. This
vocabulary is the result of applying the k-means algorithm over the
set of SURF descriptors extracted from 2,324 keyframes, one
from each dataset video. The results returned by the
subtask organisers are shown in Table 1, where the rst column
corresponds to de ning the anchors strictly with the
provided time codes, and the second column corresponds to the
expansion to 5 shots backward and 5 shots forward.
      </p>
      <p>Results indicate that using an expanded temporal
segment as a context is not advisable, probably because the
newly considered frames are not relevant for the user. The
decreasing precision values point that the upper part of the
ranked list contains a higher proportion of relevant targets,</p>
      <sec id="sec-6-1">
        <title>No context</title>
        <p>0.0282
0.2600
0.2000
0.1233</p>
      </sec>
      <sec id="sec-6-2">
        <title>Context</title>
        <p>0.0260
0.2400
0.1967
0.1217
which decreases when considering a larger amount of hits.
5.</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>CONCLUSIONS</title>
      <p>The presented technique has explored the potential of
solving for the Hyperlinking sub-task based exclusively on
visual similarity. Our proposal has considered videos as
collections of shots, each of them represented by a single
keyframe. A classic image retrieval solution has been adapted
to work with temporal segments, based on the popular Bag
of Features approach. In our work we have used a given
shot segmentation to map video segments into keyframes,
and viceversa.</p>
      <p>We consider the obtained results as promising, however,
we understand this rst participation of our team in the
Hyperlinking sub-task as exploratory. The experience has
shown has the challenges of dealing with large amounts of
visual data, which requires high computational power and an
indexing strategy. The results obtained might be improved
by considering a larger amount of keyframes to build the
vocabulary, as well as allowing multiple targets from the
same video.
6.
7.</p>
    </sec>
    <sec id="sec-8">
      <title>ACKNOWLEDGMENTS</title>
      <p>This work has been partially funded by the Spanish project
TEC2010-18094 MuViPro.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Massoudi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Lefebvre</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.H.</given-names>
            <surname>Demarty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Oisel</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Chupeau</surname>
          </string-name>
          .
          <article-title>A video ngerprint based on visual digest and local ngerprints</article-title>
          .
          <source>In ICIP</source>
          , Atlanta, Georgia, USA, October 8-11
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H.</given-names>
            <surname>Bay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Tuytelaars</surname>
          </string-name>
          , and
          <string-name>
            <given-names>L.</given-names>
            <surname>Gool</surname>
          </string-name>
          . Surf:
          <article-title>Speeded up robust features</article-title>
          .
          <source>In ECCV</source>
          , Graz, Austria, May 7-13
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>G.</given-names>
            <surname>Bradski</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Kaehler</surname>
          </string-name>
          .
          <article-title>Learning OpencCV: Computer Vision with OpenCV Library</article-title>
          .
          <source>O'Reilly</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Eskevich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. J.</given-names>
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Aly</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Ordelman</surname>
          </string-name>
          .
          <article-title>The Search and Hyperlinking Task at MediaEval 2013</article-title>
          . In MediaEval 2013 Workshop, Barcelona, Spain, October
          <volume>18</volume>
          -19
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Sivic</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Zisserman</surname>
          </string-name>
          .
          <article-title>Video google: a text retrieval approach to object matching in videos</article-title>
          .
          <source>In 9th IEEE Intl' Conf. Computer Vision</source>
          ,
          <year>2003</year>
          , pages
          <fpage>1470</fpage>
          <lpage>{</lpage>
          1477 vol.
          <volume>2</volume>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>