<!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>Performing image classi cation with a frequency{based information retrieval schema for ImageCLEF 2006</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Henning Muller</string-name>
          <email>henning.mueller@sim.hcuge.ch</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tobias Gass</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Antoine Geissbuhler</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University and Hospitals of Geneva</institution>
          ,
          <country country="CH">Switzerland</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This article describes the participation of the University and Hospitals of Geneva at the ImageCLEF 2006 image classi cation tasks (medical and non{medical). The techniques applied are based on classical tf/idf weightings of visual features as used in the GIFT (GNU Image Finding Tool) image retrieval engine. Based on the training data, features that appear in images of the same class are weighted higher than features appearing across many classes. These feature weights are added to the classical ft/idf weights, making it a mixture of weightings. Several weightings and learning approaches are applied as well as several quantisations of the features space with respect to grey levels. A surprisingly small number of grey levels leads to best results. Learning can improve the results only slightly and does not obtain as good results as classical image classi cation approaches. A combination of several classi ers leads to best nal results, showing that the applied schemes have independent results. For future work it seems important to study in more detail the important features and feature groups as they are not independent in the GIFT system. Pre{treating of the images (background removal) or allowing for more variation of the images with respect to object size and position might be other approaches to further improve results.</p>
      </abstract>
      <kwd-group>
        <kwd>Image retrieval</kwd>
        <kwd>Image classi cation</kwd>
        <kwd>frequency{based weights</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        ImageCLEF1 makes available realistic test collections for the evaluation of retrieval and classi
cation tasks in the context of CLEF2 (Cross Language Evaluation Forum). A detailed description
of the object annotation task and a photographic retrieval task can be found in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The overview
includes a description of the tasks, the submitted results and a ranking of the best systems. A
description of a medical image retrieval and automatic image annotation task can be found in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]
with all the details of submissions. More on the data can also be found on 3.
      </p>
      <p>
        This article will concentrate on the submission of the University and Hospitals of Geneva for the
two image classi cation tasks. The submissions were not in time for the o cial evaluation because
of a lack of man power but can be compared with these results in the overview articles. Already
in 2005, an automatic medical image annotation task top was o ered in ImageCLEF [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Best
results were obtained by systems using classical image classi cation techniques [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Approaches
based on information retrieval techniques [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] had lower results but were still among the best ve
groups, and this without using any learning data. It was expected that a proper use of learning
data could improve results signi cantly, although tf/idf weighting already take into account the
distribution of features in the collection. Such a learning approach is attempted and described in
this paper.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Methods</title>
      <p>
        The methods described in this paper rely heavily on those used in the GIFT4 (GNU Image Finding
Tool) [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. The learning approaches applied are based on learning algorithms published in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] using
the idea to translate the market basket analysis problem to image retrieval.
2.1
      </p>
      <sec id="sec-2-1">
        <title>Features used</title>
        <p>
          GIFT itself uses four di erent groups of image features, which are described in more detail in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ].
        </p>
        <p>A global color histogram which is based on the HSV color space and quantised into 18 hues,
3 saturations, 3 values and usually 4 levels of grey.</p>
        <p>Local color blocks. Each image is recursively partitioned into 4 blocks of equal size, and
each block is represented by its mode color.</p>
        <p>A global texture histogram of the responses to Gabor lters of 3 di erent scales and 4
directions, which are quantised into 10 bins with the lowest one usually being discarded.
Local Gabor block features by applying the lters mentioned above to the smallest blocks
created by the recursive partition and using the same quantisation into bins.</p>
        <p>This results in 84'362 possible features where each image contains around 1'500. The Images in
the IRMA database are not coloured and thus the number of features is reduced by roughly 50%.
Because of this and as a color histogram is usually an e ective feature, we decided to increase
the color features by extracting not only four levels of grey, but also 8, 16 and 32 levels, resulting
in a higher{dimensional space. Such changes in feature space have been used frequently in the
medGIFT5 project.
2.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Feature weights</title>
        <p>Several weighting schemes are implemented in GIFT. The basic one used in this paper is the
term f requency=inverted document f requency(tf =idf ) weighting which is well known from text
retrieval (TR) literature. Given a query image q and a possible result image k, a score is calculated
as the sum of all weights of features which are occurring in k.</p>
        <p>scorekq = X (f eature weightj)</p>
        <p>j
3http://ir.ohsu.edu/image/
4http://www.gnu.org/software/gift/
5http://www.sim.hcuge.ch/medgift/</p>
        <p>The weight of each feature is computed by dividing the term frequency(tf ) of the feature by
the squared logarithm of the inverted collection frequency(cf ).</p>
        <p>f eature weightj = tjj log2(1=(cfj))</p>
        <p>This results in giving features, which occur very frequently in the collection, a lower weight.
These features do not discriminate images very well from each other. An example for such a
feature would be black background being present in a very large number of medical images.</p>
        <p>
          The strategy described above does not use much of the information contained in the training
data, only the feature frequencies are exploited and not at all the class memberships of the
images. For optimising the retrieval of relevant images, learning from user relevance f eedback was
presented in [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. Here, we use the described weighting approaches and add with several
learning strategies to optimise results for the classi cation task, where class membership of the entire
training data is known.
2.2.1
        </p>
        <sec id="sec-2-2-1">
          <title>Strategies</title>
          <p>The former learning approach was to analyse log les of system use and nd pairs of images that
were marked together in the query process. Afterwards, frequencies can be computed of how often
each feature occurs pairs of images. A weight can be calculated by using the information whether
or not the images in the pair were both marked as relevant or whether one was marked relevant
and the other as notrelevant. This results in desired and non{desired cooccurence of features.</p>
          <p>In the approach described in this paper, we want to train weights in a scope more focused on
classi cation. This means that we do not look at user interaction but rather get relevance data on
class memberships of images by looking at the class labels of the training data. Each result image
for a query is marked as relevant if the class matches that of the query image and non{relevant
otherwise. This allows for a more focused weighting than what real users would do with relevance
feedback.</p>
          <p>
            We then applied several strategies for extracting the pairs of images for such queries. In the
rst approach, each possible pair of images which occurs at least once is considered relevant. This
yields very good results for image retrieval in general as can be seen in [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ]. In the second approach
we aim at discriminating positive and negative results in a more direct way. To do this, only
the best positive and the worst negative results (images) of a query are taken into account when
computing pairs of marked images. In a third approach, we pruned all queries which seemed too
easy. This means that if the rst N results were already positive, we omitted the entire query
from further evaluation. Everything else follows the basic approach. This is based on ideas similar
to Support Vector Machines (SVM), where only information on the class boundaries is taken into
account and all images that are in the middle of the class would be classi ed correctly anyways.
2.2.2
          </p>
        </sec>
        <sec id="sec-2-2-2">
          <title>Computation of additional feature weights</title>
          <p>For each image pair detected beforehand, we calculate the features they have in common and
whether the image pair was positive (both images in the same class) or negative (images in
di erent classes). This results in positive and negative cooccurence on a feature level. We used
two ways to compute an additional weighting factor for the features:</p>
          <p>Basic Frequency : In this weighting scheme, each feature is weighted by the number of
occurrences in pairs where both images are in the same class, normalised by the number of
occurrences of the feature in all pairs.</p>
          <p>f actorj =</p>
          <p>jffj jfj 2 Ia ^ fj 2 Ib ^ (Ia ! Ib)+gj
jffjjfj 2 Ia ^ fj 2 Ib ^ ((Ia ! Ib)+ _ (Ia ! Ib) )gj
In the formula, fj is a feature j, Ia and Ib are two images and (Ia ! Ib)+=
and Ib were marked together positively (+) or negatively (-).
denotes that Ia
Weighted Probabilistic :
f actorj = 1 + (2
jf(Ia ! Ib)+gj</p>
          <p>jf(Ia ! Ib) gj
pp
)
np
Here, pp (positive probability) is the probability that the feature j is important for correct
classi cation, whereas np (negative probability) denotes the opposite.</p>
          <p>The additional factors calculated in this way are then simply multiplied with the already
existing feature weights using tf/idf for the calculation of similarity scores for all the test images.
2.3</p>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>Classi cation</title>
        <p>For each query image q, a set of N 2 f1; 3; 5; 10g result images k with a similarity score Sk were
returned. The class of each result image were computed and the similarity scores were added up
for the corresponding classes. The class with the highest accumulated score was then assigned to
the query image. From preliminary experiments it was clearly visible that N = 5 produced the
best results. This schema is very similar to a typical K-nearest neighbour (k-NN) classi er.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Results</title>
      <p>This section presents our evaluation results based on the ground truth data supplied by the two
ImageCLEF classi cation tasks. These runs were not o cially submitted to the ImageCLEF2006
task because of time constraints. They were submitted to the organisers a few weeks late for
comparison with the o cially submitted results.
3.1</p>
      <sec id="sec-3-1">
        <title>Classi cation on the LTU database</title>
        <p>The non{medical automatic annotation task consisted of 14'035 training images from 21 classes.
Data were made available by LookThatUp6, and a set of more than 200 classes exists but such a
task was regarded too di cult after a few tests. Subsets of images such as computer equipment
were formed, mainly with images crawled from the web with a large variety for the contained
objects. The task still remained hard with only three groups participating in it. The content of
the images was regarded as extremely heterogeneous even for the same classes. Without using any
of the described learning methods, using a simple 5{nearest-neighbour classi er, the GIFT had
an error rate of 91,7%. Using the learning method with best/worst pruning and the frequency
based weighting described above, the error rate decreased to 90,5%. Best results obtained in
the competition by an optimised classi cation system were 77.3%, and the GIFT was not the
worst{performing system submitting results.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Classi cation on the IRMA database</title>
        <p>The medical image annotation task was done for the second time in 2006, after a rst test in 2005.
To augment the complexity, the number of classes was raised from 57 in 2005 to 116 in 2006.
10'000 images were made available as training data, and 1000 images with unknown classes had
to be classi ed. The baseline results of the GIFT with various quantisations of grey levels can be
seen in Table 1. They show clearly that more levels of grey do not help the classi cation, as error
rates increase with them.</p>
        <p>In Table 2, the results of the GIFT using the learning approaches described above can be
seen. Surprisingly, the e ect of the learning is quite small in comparison to the very good results
obtained when aiming at increasing retrieval performance. The only method which improved the
error rate at all was the frequency based weighting combined with best/worst pruning of the
queries. Even here the di erence is statistically not very signi cant.</p>
        <p>Number of grey levels
4
8
16
32</p>
        <p>Error rate
32,0%
32,1%
34,9%
37,8%</p>
        <p>We also combined eight grey levels with the described techniques but the results were always
worse and thus not worth describing in more detail. Interestingly, the probabilistic weighting was
not a ected by the selections of relevant results in the same way as the frequency based weighting.
Finally, we accumulated the scores of nearly all runs we performed. This combination results
in an error rate of 29,7%, which shows that the approaches make di ering errors and are thus
theoretically combinable and at least in part independent.</p>
        <p>The best system obtains a classi cation result of 16.2%, much better than we can obtain with
our approach, that is rather good for information retrieval using relevance feedback.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusion and Future Work</title>
      <p>The provided tasks proved di cult to optimise for a frequency{based image retrieval system such
as the GIFT. In comparison to last year's automatic annotation task, the number of classes roughly
doubled thus making it more di cult to learn how discriminant features are. The GIFT heavily
relies on this analysis, because compared to competitive CBIR systems only low level features not
geared towards a speci c task are used. We presented and applied a couple of approaches to learn
from training data, but given the di culty of the task could not improve the results signi cantly.
The low level features in GIFT seem to be too sensitive for small changes that occur in such a
particular tasks. Possibilities to circumvent this can be on two sides: On the one side it would
be possible to normalised images further before they are indexed with the current features. Such
a normalisation would include the removal of background as much as possible, the taking into
account of the aspect ratio of the images, plus maybe a normalisation of the grey values within
a class to have a more constant input. Another part could include changes in the feature space
itself. Whereas the block features seem to be working much better with a smaller number of grey
levels, the histogram features would rather require a much larger number to contain any good
information. More complex features could include shape descriptors after a rough segmentation of
the object in the images. Then of course a multi{step approach for classi cation can be imagined,
where images are successively put into smaller and smaller classer and can change features at
each stage of the segmentation process. Image classi cation seems to be hard with an information
retrieval approach, but with features of more semantic value this seems to be feasible.
This work was partially supported by the Swiss National Foundation (Grant 205321-109304/1).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P</given-names>
            <surname>Clough</surname>
            , M Grubinger
          </string-name>
          ,
          <string-name>
            <given-names>T</given-names>
            <surname>Deselaers</surname>
          </string-name>
          ,
          <article-title>A Hanbury, and</article-title>
          <string-name>
            <given-names>H.</given-names>
            <surname>Mu</surname>
          </string-name>
          <article-title>ller. Overview of the imageclef 2006 photo retrieval and object annotation tasks</article-title>
          .
          <source>In CLEF working notes</source>
          , Alicante, Spain, Sep.
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Paul</given-names>
            <surname>Clough</surname>
          </string-name>
          , Henning Muller, Thomas Deselaers, Michael Grubinger,
          <string-name>
            <surname>Thomas</surname>
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Lehmann</surname>
            , Je ery Jensen, and
            <given-names>William</given-names>
          </string-name>
          <string-name>
            <surname>Hersh</surname>
          </string-name>
          .
          <article-title>The CLEF 2005 cross{language image retrieval track</article-title>
          .
          <source>In Springer Lecture Notes in Computer Science (LNCS)</source>
          , Vienna, Austria,
          <year>September 2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Thomas</given-names>
            <surname>Deselaers</surname>
          </string-name>
          , Tobias Weyand, Daniel Keysers, Wolfgang Macherey, and
          <string-name>
            <given-names>H.</given-names>
            <surname>Ney</surname>
          </string-name>
          . FIRE in ImageCLEF 2005:
          <article-title>Combining content-based image retrieval with textual information retrieval</article-title>
          .
          <source>In Working Notes of the CLEF Workshop</source>
          , Vienna, Austria,
          <year>September 2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>H</given-names>
            <surname>Muller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T</given-names>
            <surname>Deselaers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T</given-names>
            <surname>Lehmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P</given-names>
            <surname>Clough</surname>
          </string-name>
          , and
          <string-name>
            <given-names>W</given-names>
            <surname>Hersh</surname>
          </string-name>
          .
          <article-title>Overview of the imageclefmed 2006 medical retrieval and annotation tasks</article-title>
          .
          <source>In CLEF working notes</source>
          , Alicante, Spain, Sep.
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Henning</given-names>
            <surname>Mu</surname>
          </string-name>
          ller, Antoine Geissbuhler, Johan Marty,
          <string-name>
            <given-names>Christian</given-names>
            <surname>Lovis</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Patrick</given-names>
            <surname>Ruch</surname>
          </string-name>
          .
          <article-title>The use of MedGIFT and EasyIR for ImageCLEF 2005</article-title>
          .
          <source>In Working Notes of the 2005 CLEF Workshop</source>
          , Vienna, Austria,
          <year>September 2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Henning</given-names>
            <surname>Mu</surname>
          </string-name>
          <article-title>ller, David McG</article-title>
          . Squire, and
          <string-name>
            <given-names>Thierry</given-names>
            <surname>Pun</surname>
          </string-name>
          .
          <article-title>Learning from user behavior in image retrieval: Application of the market basket analysis</article-title>
          .
          <source>International Journal of Computer Vision</source>
          ,
          <volume>56</volume>
          (
          <issue>1</issue>
          {2):
          <volume>65</volume>
          {
          <fpage>77</fpage>
          ,
          <year>2004</year>
          .
          <article-title>(Special Issue on Content{Based Image Retrieval)</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>David</given-names>
            <surname>McG. Squire</surname>
          </string-name>
          , Wolfgang Muller, Henning Muller, and Thierry Pun.
          <article-title>Content{based query of image databases: inspirations from text retrieval</article-title>
          .
          <source>Pattern Recognition Letters (Selected Papers from The 11th Scandinavian Conference on Image Analysis SCIA '99)</source>
          ,
          <volume>21</volume>
          (
          <fpage>13</fpage>
          -14):
          <volume>1193</volume>
          {
          <fpage>1198</fpage>
          ,
          <year>2000</year>
          .
          <string-name>
            <given-names>B.K.</given-names>
            <surname>Ersboll</surname>
          </string-name>
          , P. Johansen, Eds.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>