<!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>BossaNova at ImageCLEF 2012 Flickr Photo Annotation Task</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>S. Avila</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>N. Thome</string-name>
          <email>nicolas.thome@lip6.fr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>M. Cord</string-name>
          <email>matthieu.cord@lip6.fr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>E. Valle</string-name>
          <email>dovalle@dca.fee.unicamp.br</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A. de A. Arau´jo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Federal University of Minas Gerais, NPDI Lab - DCC/UFMG</institution>
          ,
          <country country="BR">Brazil</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Pierre and Marie Curie University</institution>
          ,
          <addr-line>UPMC-Sorbonne Universities, LIP6</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>State University of Campinas, RECOD Lab - DCA/FEEC/UNICAMP</institution>
          ,
          <country country="BR">Brazil</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We present the BossaNova scheme for the ImageCLEF 2012 Flickr Photo Annotation Task. BossaNova is a mid-level image representation, recently developed by our team, that enriches the Bag-of-Words representation, by keeping a histogram of distances between the descriptors found in the image and those in the codebook. Our scheme has the advantage of being conceptually simple, non-parametric, and easily adaptable. Compared to other schemes existing in the literature to add information to the Bag-of-Words model, it leads to much more compact representations. Furthermore, it complements well the cutting-edge Fisher Vector representations, showing even better results when employed in combination with them. In our participation, we submitted four purely visual runs. Our best result (MiAP = 34.37%) achieved the second rank by MiAP measure among the 28 purely visual submissions and the 18 teams.</p>
      </abstract>
      <kwd-group>
        <kwd>Image Classification</kwd>
        <kwd>Image Representation</kwd>
        <kwd>Bag-of-Words</kwd>
        <kwd>Coding</kwd>
        <kwd>Pooling</kwd>
        <kwd>SVM</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The ImageCLEF 2012 Flickr Photo Annotation Task is a multi-label
classification problem. The task can be solved by following three different approaches:
i) automatic annotation with visual information only, ii) automatic annotation
with textual information only, iii) multi-modal approaches that consider visual
and textual information. We consider only the visual content for the feature
extraction. The dataset consists of 25, 000 Flickr images, splitting into training
(15, 000 images) and test (10, 000 images) subsets.</p>
      <p>
        The image set is annotated with 94 concepts that are very diverse and range
across categories such as people (e.g., male, female), nature (e.g., lake, beach),
weather (e.g., rainbow, fog) and even sentiments (e.g., unpleasant, euphoric). A
detailed overview of the dataset and the task can be found in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        In our participation in the ImageCLEF 2012 Flickr Photo Annotation Task,
we present our BossaNova scheme. Our aim is to emphasize the performance of
the BossaNova representation, using a single low-level feature (SIFT descriptors)
and SVM classifiers. BossaNova is a mid-level image representation [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], recently
developed by our team, that enriches the Bag-of-Words representation [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        Bag-of-Words representations can be understood as the application of two
critical steps [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]: coding, which quantizes the image local features according to
a codebook or dictionary; and pooling, which summarizes the codes obtained
into a single feature vector. Traditionally, the coding step simply associates the
image local descriptors to the closest element in the codebook, and the pooling
takes the average of those codes over the entire image.
      </p>
      <p>
        Bossa Nova focus on the pooling step, by keeping a histogram of distances
between the descriptors found in the image and those in the codebook. Our scheme
has the advantage of being conceptually simple, nonparametric and easily
adaptable. Additionally, it leads to much more compact representations, compared to
other schemes to add information to the Bag-of-Words representation.
Furthermore, it complements well the cutting-edge Fisher Vector representations [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ],
showing even better results when employed in combination with them.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>BossaNova Scheme</title>
      <p>
        Our BossaNova scheme is composed of the following three steps: (i) extraction
of local image features (by SIFT descriptors [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]), (ii) encoding of the local
features in a global image representation (by a BossaNova representation [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]), and
(iii) classification of the image representation (by SVM classifiers [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). Here, we
only provide a brief introduction to the BossaNova representation. More details
can be found in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ][
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        BossaNova is a mid-level image representation which offers a more
information-preserving pooling operation based on a distance-to-codeword
distribution. In order to preserve a richer portrait of the information gathered during the
coding step, the BossaNova pooling function produces a distance distribution,
instead of compacting all information pertaining to a codeword into a single
scalar, as performed by Bag-of-Words representations [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>Figure 1 illustrates the BossaNova and the Bag-of-Words pooling functions.
The BossaNova pooling (Figure 1a) represents the discrete (over B bins) density
distribution of the distances between the codeword cm and the local descriptors
of an image. For each center cm, we obtain a local histogram zm. The colors
(green, yellow and blue) indicate the discretized distances from the center cm
to the local descriptors shown by the black dots. For each colored bin zm;b,
the height of the histogram is equal to the number of local descriptors, whose
discretized distance to codeword cm fall into the bth bin. In Figure 1a, B = 3.
We can note that if B = 1 (Figure 1b), the histogram zm reduces to a single
scalar value Nm counting the number of feature vectors falling into center cm.</p>
      <p>
        To form the whole BossaNova image representation, all local histograms
zm are then concatenated. In addition, since the occurrence rate of each
codeword cm in the image is lost, BossaNova representation incorporates an
additional scalar value Nm for each codeword, counting the number of local
descrip(a) BossaNova pooling
(b) Bag-of-Words pooling
tors close to that codeword. That value corresponds to a Bag-of-Words term,
accounting for a raw measure of the presence of the codeword cm in the image.
Thus, BossaNova image representation z can be written as [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]:
z = [[zm;b] , sNm]T , (m, b) 2 f1, . . . , M g
f1, . . . , Bg
where z is a vector of size M (B + 1), M is the number of codewords, and s
is a weighted term learned via cross-validation.
      </p>
      <sec id="sec-2-1">
        <title>BossaNova Parameters</title>
        <p>The key parameters in our BossaNova representation are the number of
codewords M , the number of bins B in each histogram zm, and the range of distances
[αmmin, αmmax] – the minimum distance αmmin and the maximum distance αmmax in
the Rd descriptor space that define the bounds of the histogram.</p>
        <p>The bounds αmmin and αmmax define the range of distances for the histogram
computation. Local descriptors outside those bounds are ignored. For αmmax, the
idea is to consider only descriptors that are “close enough” to the center, and
to discard the remaining ones. For αmmin, the idea is to avoid the empty regions
that appear around each codeword, in order to avoid wasting space in the final
descriptor.</p>
        <p>In BossaNova, αmmin and αmmax are set up differently for each codeword cm.
Since our codebook is created using k-means, we take advantage of the knowledge
about the “size” of the clusters, given by the standard deviations σm. We set up
the bounds as αmmin = λmin σm and αmmax = λmax σm. In practice, the three
parameters of the BossaNova become B (M being fixed), λmin and λmax.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Experimental Results</title>
      <p>We first describe our experimental setup (Section 3.1). We then detail our
submitted runs (Section 3.2). Finally, we analyze our results at ImageCLEF 2012
Flickr Photo Annotation Task (Section 3.3).</p>
      <sec id="sec-3-1">
        <title>Experimental Setup</title>
        <p>
          As low-level descriptors, we have extracted SIFT and Opponent SIFT
descriptors [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] on a dense spatial grid, with the step-size corresponding to half of the
patch-size, over 10 scales (SIFT) and 5 scales (Opponent SIFT) separated by a
factor of 1.2, and the smallest patch-size set to 16 pixels. As a result, roughly
9, 000 SIFT and 7, 000 Opponent SIFT descriptors are extracted from each
image of ImageCLEF 2012 Flickr Photo Annotation dataset. The dimensionalities
of the descriptors are reduced by using principal component analysis (PCA),
resulting in a 64-dimensional SIFT and a 128-dimensional Opponent SIFT.
        </p>
        <p>
          To learn the codebooks, we apply the k-means clustering algorithm with
Euclidean distance over one million randomly sampled descriptors. For Fisher
Vectors [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], the descriptor distribution is modeled using a Gaussian mixture
model (GMM), whose parameters (w, µ, Σ) are also trained over one million
randomly sampled descriptors, using an expectation maximization algorithm.
For all mid-level representations, we incorporate spatial information using the
standard spatial pyramidal matching (SPM) scheme [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. In total, we extracted
8 spatial cells (1 1, 2 2, 3 1).
        </p>
        <p>
          One-versus-all classification is performed by support vector machine (SVM)
classifiers. We use a linear SVM for Fisher Vectors, since it is well known
that nonlinear kernels do not improve performances for those representations,
see [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. For BossaNova, we use a nonlinear Gauss-ℓ2 kernel. Kernel matrices
are computed as exp( γd(x, x′)) with d being the distance and γ being set to
the inverse of the pairwise mean distances. For the combination of BossaNova
and Fisher Vector representations, we apply a weighted sum of kernel
functions. To map the SVM scores to probabilities we used a sigmoid function,
f (x) = (1 + exp(Ax + B))−1.
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Submitted Runs</title>
        <p>
          We have submitted four runs in total. All runs use only visual information.
Run 1 – ID 1341070721262: Combination of BossaNova and Fisher Vector
representations. We use only SIFT descriptors. BossaNova parameters values
are: 4096 codewords, 2 bins, 5-nearest codewords in semi-soft coding, [0.4
σm, 2.0 σm] (range of distances for the histogram computation), see [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] for
more details. Fisher Vectors are obtained with 384 Gaussians. We apply a
sigmoid function to map the SVM scores to probabilities, where A = 10 and
B = 1. This run achieved our best MiAP result and the second score by
MiAP measure among all visual submissions.
        </p>
        <p>Run 2 – ID 1341070953984: Combination of BossaNova and Fisher Vector
representations. We use only SIFT descriptors. BossaNova parameters values
are: 4096 codewords, 2 bins, 5-nearest codewords in semi-soft coding, [0.4
σm, 2.0 σm] (range of distances for the histogram computation). Fisher
Vectors are obtained with 384 Gaussians. We apply a sigmoid function to map
the SVM scores to probabilities, where A = 20 and B = 1.
Run 3 – ID 1341348153832: BossaNova representation. We use only SIFT
descriptors. BossaNova parameters values are: 4096 codewords, 2 bins, 5-nearest
codewords in semi-soft coding, [0.4 σm, 2.0 σm] (range of distances for the
histogram computation). We apply a sigmoid function to map the SVM
scores to probabilities, where A = 10 and B = 1. This run achieved the
third score by MiAP measure among all visual submissions.</p>
        <p>Run 4 – ID 1341348523492: Combination of BossaNova and Fisher Vector
representations. We use SIFT and Opponent SIFT (only for Fisher Vector)
descriptors. BossaNova parameters values are: 4096 codewords, 2 bins,
5nearest codewords in semi-soft coding, [0.4 σm, 2.0 σm] (range of distances
for the histogram computation). Fisher Vectors are obtained with 384
Gaussians (for SIFT descriptors) and 128 Gaussians (for Opponent SIFT
descriptors). We apply a sigmoid function to map the SVM scores to probabilities,
where A = 10 and B = 1.
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Results</title>
        <p>
          In Table 1, we list the performance of our submitted runs. As detailed in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], the
following three quality metrics were evaluated to compare the submitted results:
Mean interpolated Average Precision (MiAP), Geometric Mean interpolated
Average Precision (GMiAP) and F-measure (F-ex).
        </p>
        <p>
          Regarding the MiAP metric, we can notice that our best run reached 34.37%
by combining the BossaNova and Fisher Vector representations (Run 1),
achieving thus the second rank among the 28 purely visual submissions and the 18
teams. It is worthwhile to point out that, according to [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], the combination is
performed by concatenating the vectors of BossaNova and Fisher Vector
representations. Here, we opted to combine the two representations by a weighted sum
of kernel functions, which is less time-consuming. The former combination,
however, presents results slightly better over the latter. Therefore, we can improve
our results even further.
        </p>
        <p>Also, our BossaNova scheme (Run 3) achieved the third rank reporting
33.64% MiAP. Moreover, from Table 1, we can observe that using opponent
SIFT (Run 4) as supplementary features does not bring any improvement.
However, we consider that result is particularly affected by the severe dimensionality
reduction of Opponent SIFT, from 392 to 128 dimensions.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>In this paper, we presented our BossaNova scheme for the ImageCLEF 2012
Flickr Photo Annotation Task. Our method has the advantage of being
conceptually simple, non-parametric and easily adaptable.</p>
      <p>In our participation, we submitted four purely visual runs. Our best result
(MiAP = 34.37%), which applied the combination of BossaNova and Fisher
Vector representations, achieved the second rank by MiAP measure among the
28 purely visual submissions, while our BossaNova method achieved the third
rank (MiAP = 33.64%). The absolute difference between the first MiAP and
our best MiAP is only 0.44%. We consider that those results are particularly
noteworthy considering the fact we have not yet exploited the use of complex
combinations of different low-level local descriptors.</p>
      <p>Feature combinations in a kernel learning framework is currently investigated
in order to take advantages of all the features together.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgements</title>
      <p>This work is partially supported by CAPES/COFECUB 592/08/10, CNPq
14.1312/2009-2, ANR 07-MDCO-007-03, FAPESP and FAPEMIG.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Thomee</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Popescu</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Overview of the ImageCLEF 2012 Flickr Photo Annotation and Retrieval Task</article-title>
          .
          <source>In: CLEF 2012 working notes</source>
          , Rome, Italy (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Avila</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thome</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cord</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Valle</surname>
          </string-name>
          , E., de A. Arau´jo, A.:
          <article-title>Pooling in image representation: the visual codeword point of view. CVIU, Special Issue on Visual Concept Detection (under review)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Sivic</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zisserman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Video Google: A text retrieval approach to object matching in videos</article-title>
          .
          <source>In: ICCV. Volume</source>
          <volume>2</volume>
          . (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Boureau</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bach</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>LeCun</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ponce</surname>
          </string-name>
          , J.:
          <article-title>Learning mid-level features for recognition</article-title>
          .
          <source>In: CVPR</source>
          . (
          <year>2010</year>
          )
          <fpage>2559</fpage>
          -
          <lpage>2566</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Perronnin</surname>
          </string-name>
          , F., S´anchez, J.,
          <string-name>
            <surname>Mensink</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Improving the Fisher Kernel for LargeScale Image Classification</article-title>
          . In: ECCV. (
          <year>2010</year>
          )
          <fpage>143</fpage>
          -
          <lpage>156</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Lowe</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Distinctive image features from scale-invariant keypoints</article-title>
          .
          <source>IJCV</source>
          <volume>60</volume>
          (
          <year>2004</year>
          )
          <fpage>91</fpage>
          -
          <lpage>110</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Vapnik</surname>
            ,
            <given-names>V.N.:</given-names>
          </string-name>
          <article-title>The nature of statistical learning theory</article-title>
          . Springer-Verlag New York, Inc. (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Avila</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thome</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cord</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Valle</surname>
          </string-name>
          , E., de A.
          <article-title>Arau´jo, A.: BOSSA: extended BoW formalism for image classification</article-title>
          .
          <source>In: ICIP</source>
          . (
          <year>2011</year>
          )
          <fpage>2909</fpage>
          -
          <lpage>2912</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Vedaldi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fulkerson</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>VLFeat - An open and portable library of computer vision algorithms</article-title>
          . In: ACM International Conference on Multimedia. (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Lazebnik</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmid</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ponce</surname>
          </string-name>
          , J.:
          <article-title>Beyond bags of features: Spatial pyramid matching for recognizing natural scene categories</article-title>
          .
          <source>In: CVPR</source>
          . (
          <year>2006</year>
          )
          <fpage>2169</fpage>
          -
          <lpage>2178</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>