<!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>Identifying the Geographic Location of an Image with a Multimodal Probability Density Function</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>David Dupplaw</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Electronics and Computer Science, University of Southampton</institution>
          ,
          <country country="UK">United Kingdom</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Jamie Davies</institution>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>John Preston</institution>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>Jonathon Hare</institution>
        </aff>
        <aff id="aff5">
          <label>5</label>
          <institution>Sina Samangooei</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2013</year>
      </pub-date>
      <fpage>18</fpage>
      <lpage>19</lpage>
      <abstract>
        <p>There is a wide array of online photographic content that is not geotagged. Algorithms for e cient and accurate geographical estimation of an image are needed to geolocate these photos. This paper presents a general model for using both textual metadata and visual features of photos to automatically place them on a world map.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. INTRODUCTION AND MOTIVATION</title>
      <p>
        The primary goal of the 2013 MediaEval placing task [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]
was to develop techniques for accurately predicting the
geolocation of a set of Flickr images in terms of latitude and
longitude. In addition, a secondary goal was to enhance
predictions by estimating the error of the predicted location of
each image. The task organisers provided a set of
approximately 8.5 million images with metadata and locations for
training, and a set of 262,000 images without geotags for
testing.
      </p>
      <p>The motivation for the techniques we have developed for
the task was twofold; we rstly wanted to develop a
technique that can operate using either the visual content or
the metadata, but which also seamlessly allowed blending of
information across modalities and allowed information from
external gazetteers to be incorporated. Secondly, we wanted
our technique to be scalable and e cient, with the aim of
being able to estimate the position of an image in well under
a second using standard desktop hardware.</p>
    </sec>
    <sec id="sec-2">
      <title>OVERALL METHODOLOGY</title>
      <p>
        The basic idea of our approach is that we estimate a
continuous probability density function (PDF) over the surface
of the Earth from a number of features extracted from the
query image and/or its metadata. To estimate the PDF,
each feature provides a xed size set of points (latitude,
longitude) which are then combined, and a kernel density
estimator can be used to estimate the probability density at
any arbitrary position. By nding the modes of the PDF we
create an estimate of the location of the photograph from
the position of the mode with the highest probability. By
tting a univariate Gaussian over the support of the
highest probability mode, we can estimate the accuracy of the
estimated geolocation as a function of the variance.
In practice, density estimation and mode- nding can be
combined by applying the mean-shift algorithm. Mean-shift
has been used in the context of geolocation estimation in the
past; for example, Hays and Efros [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] used mean-shift on the
results of content-based image search to determine
probable locations. Our approach di ers from that of Hays and
Efros's, because, whereas they only considered single (high
recall/low precision) content-based features, we consider the
fusion of multiple features from di erent modalities. In
addition, Hays and Efros used the mean-shift algorithm for
coarse-grained location estimation, with a very large kernel
bandwidth, whilst in our technique, because of the way we
are using features we are able to use a much smaller kernel
bandwidth for ne-grained location estimation.
3.
      </p>
    </sec>
    <sec id="sec-3">
      <title>EXPERIMENTS</title>
      <p>
        The implementation of our methodology was realised in
Java using OpenIMAJ1 [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and Lucene2. For speed, we used
an approximate mean-shift implementation inspired by the
one in scikit-learn3. The approximations stem from using a
regular grid for determining the seed points from which to
seek modes (rather than using the actual data), and using
nearest-neighbours to assign data points to modes, rather
than actually assigning them to the mode they converge to.
A KD-Tree is used for e cient nearest neighbour lookup.
3.1
      </p>
    </sec>
    <sec id="sec-4">
      <title>Features</title>
      <p>
        The following features were used in our experiments. Each
feature provides a set of geographic points in response to a
query image:
Location Prior. A constant prior feature built by sampling
1000 geographical coordinates from the training data.
Tags. Every tag in the query image is associated with the
coordinates of the training images in which the tag appeared.
If a tag in the query was unseen in the training data, then
it contributes no points. Each tag is considered to be an
independent feature. No ltering of tags was performed.
PQ-CEDD. In order to provide a high-recall/low-precision
image search we indexed the provided CEDD features with
a product quantiser (18 products of 256 clusters) to enable
fast in-memory search of the complete training data using
the asymmetric distance computation method [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The
lo1http://openimaj.org
2http://lucene.apache.org
3http://scikit-learn.org/stable/modules/
clustering.html#mean-shift
      </p>
      <p>X
X
X
X</p>
      <p>X
X
X</p>
      <p>X
X
X
X
cations of the 100 top images to a query formed the point
set returned by the feature.</p>
      <p>
        LSH-SIFT. High-precision (low recall) image content search
was performed using a variant of the approach we developed
in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. DoG-SIFT features were extracted from the images
and hashed using Locality Sensitive Hashing. A graph was
built with the images as the nodes, and edge weights were
based on the number of collisions. In order to perform a
query, the directly connected nodes to the query were
detected in the graph, and their geo-coordinates returned.
3.2
      </p>
      <p>For all of our submitted runs, the methodology described
in Section 2 was applied. In all runs we used a at
kernel with bandwidth of 0:01 . All runs except for run #5
used a constant number of 1000 points per feature (e
ectively making all features have a xed weight); any feature
that produced more or less points was randomly and
uniformly sub- or super-sampled to reach 1000 points. In total,
5 runs were submitted. The con gurations are summarised
in Table 2. Notes about each run are listed below:
Runs 1-3: Provided data. The rst three runs used
features extracted from the provided dataset only. No external
data was used.</p>
      <p>Run 4: Text+Visual, bigger dataset. The fourth run
used features extracted from a larger dataset of
approximately 46 million geotagged Flickr images we collected last
year. As with the provided data, only images with an
accuracy of 16 were crawled. For the purposes of fair
experimentation, we removed all photos from the users who appeared
in the test set.</p>
      <p>Run 5: Text+Visual, provided data with tag
boosting. The fth run was the same as run 1, but we used
the GeoNames4 gazetteer to boost the weight of tag
features that were likely to belong to a speci c geographic
location; any textual tag that could be matched against the
the GeoNames \name" or \alternate-name" eld was boosted
by doubling its number of points from 1000 to 2000. Non
textual features, and tags that didn't match remained at</p>
    </sec>
    <sec id="sec-5">
      <title>Results, Discussion and Future Work</title>
      <p>Our results are shown in Table 1. The rst thing to note
is that visual features alone perform relatively poorly for
exactly predicting locations; this is be be expected as the vast
majority of images do not contain recognisable places.
Interestingly our rst and fourth runs (text and visual) performed
worse than the third (text only). This was unexpected and
warrants further investigation as our experiments had
indicated that the visual features should help boost
performance. Run 4 indicates that using additional data helps
our approach. We'd expect our error estimation to improve
(higher correlation coe cient) as we become more accurate;
this trend can be seen to an extent, although run 5 is a
definite outlier. We had started to experiment with
productquantised PCA VLAD encodings of SIFT features, temporal
features and query expansion of LSH-SIFT features,
however we ran out of time to optimise and include these in
the runs. It will be interesting to investigate these further,
together with other features such as GIST in the future. It
would also be interesting to try some other approaches to
incorporating structured knowledge from GeoNames.</p>
    </sec>
    <sec id="sec-6">
      <title>ACKNOWLEDGMENTS</title>
      <p>The described work was funded by the European Union
Seventh Framework Programme (FP7/2007-2013) under grant
agreements 270239 (ARCOMEM), and 287863 (TrendMiner).</p>
    </sec>
    <sec id="sec-7">
      <title>ADDITIONAL AUTHORS</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J. S.</given-names>
            <surname>Hare</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Samangooei</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D. P.</given-names>
            <surname>Dupplaw</surname>
          </string-name>
          .
          <article-title>OpenIMAJ and ImageTerrier: Java libraries and tools for scalable multimedia analysis and indexing of images</article-title>
          .
          <source>In ACM MM'11</source>
          , pages
          <fpage>691</fpage>
          {
          <fpage>694</fpage>
          . ACM,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J. S.</given-names>
            <surname>Hare</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Samangooei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. P.</given-names>
            <surname>Dupplaw</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P. H.</given-names>
            <surname>Lewis</surname>
          </string-name>
          .
          <article-title>Twitter's visual pulse</article-title>
          .
          <source>In ICMR'13</source>
          , pages
          <fpage>297</fpage>
          {
          <fpage>298</fpage>
          , New York, NY, USA,
          <year>2013</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>C.</given-names>
            <surname>Hau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Thomee</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Trevisiol</surname>
          </string-name>
          .
          <article-title>Working Notes for the Placing 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="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J.</given-names>
            <surname>Hays</surname>
          </string-name>
          and
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Efros</surname>
          </string-name>
          . im2gps:
          <article-title>estimating geographic information from a single image</article-title>
          .
          <source>In CVPR' 08</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>H.</given-names>
            <surname>Jegou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Douze</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Schmid</surname>
          </string-name>
          .
          <article-title>Product quantization for nearest neighbor search</article-title>
          .
          <source>IEEE Trans. Pattern Anal. Mach</source>
          . Intell.,
          <volume>33</volume>
          (
          <issue>1</issue>
          ):
          <volume>117</volume>
          {
          <fpage>128</fpage>
          ,
          <string-name>
            <surname>Jan</surname>
          </string-name>
          .
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>