<!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>Representation and Retrieval of Images by Means of Spatial Relations Between Objects</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Danilo Nunes</string-name>
          <email>nunesdanilo@gmail.com</email>
          <email>nunesdanilo@gmail.com,fpsantos, laferreirag@fei.edu.br</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Adam Pease</string-name>
          <email>adam.pease@infosys.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Copyright held by the author(s). In A. Martin, K. Hinkelmann, A.</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Gerber</institution>
          ,
          <addr-line>D. Lenat, F. van Harmelen, P. Clark (Eds.)</addr-line>
          ,
          <institution>Proceedings of, the AAAI 2019 Spring Symposium on Combining Machine Learning with Knowledge Engineering (AAAI-MAKE 2019). Stanford, University</institution>
          ,
          <addr-line>Palo Alto, California, USA, March 25-27, 2019.</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Infosys, Foothill Research Center</institution>
          ,
          <addr-line>Palo Alto, CA</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Leonardo Anjoletto Ferreira, Paulo Eduardo Santos, Centro Universita ́rio da FEI</institution>
          ,
          <addr-line>Sa ̃o Bernardo do Campo</addr-line>
          ,
          <country country="BR">Brazil</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2014</year>
      </pub-date>
      <fpage>321</fpage>
      <lpage>328</lpage>
      <abstract>
        <p>The present work addresses the challenge of integrating lowlevel information with high-level knowledge (known as semantic gap) that exists in content-based image retrieval by introducing an approach to describe images by means of spatial relations. The proposed approach is called Image Retrieval using Region Analysis (IRRA) and relies on decomposing images into pairs of objects. This method generates a representation composed of n triples, each one containing: a noun, a preposition and, another noun. This representation paves the way to enable image retrieval based on spatial relations. Results for an indoor/outdoor classifier shows that neural networks alone are capable of achieving 88% in precision and recall, but when combined with ontology this result increases in 10 percentage points, reaching 98% of precision and recall.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>In this work we investigate the application of spatial
relations in the image retrieval problem. The issue of
representing the semantics existent in an image has been receiving
great attention recently. Numerical methods (low level) are
not able to fully integrate semantics (high level) due to the
fact that the semantic content might be constituted by
qualitative concepts. The challenge of integrating low-level
information with high-level knowledge is a known problem
in computer vision, often referred as the semantic gap. In
this work, a multi-level approach, called Image Retrieval
using Region Analysis (IRRA), is proposed to retrieve
images by their semantics from a bottom-up knowledge
representation procedure. The method proposed here
ensembles a stack of distinct neural networks in order to estimate
spatial relations, expressed by a spatial preposition between
pairs of objects. This procedure permits a representation of
an image by the objects depicted and the relations holding
between them. Thus, a sparse representation is constructed
taking into account these objects and their relations. The
images are indexed based on this sparse representation in order
to enable fast retrieval. Finally, we extend a public
ontology with this data in order to infer new relations beyond
the original binary relations. This representation enables the
retrieval of images based on queries with respect to spatial
arrangements.</p>
      <p>
        To semantically interpret an image it is necessary to:
define the context, detect objects, define some similarity metric
and, finally, apply some method for knowledge
representation
        <xref ref-type="bibr" rid="ref27">(Wan et al. 2014)</xref>
        . We can organize the proposed
framework in two distinct steps: the quantitative analysis, related
to low-level information processing, and the qualitative
analysis, which stands for high-level knowledge representation.
      </p>
      <p>The quantitative analysis tackles the semantic gap
problem using a hierarchy of classifiers. We represent the
semantics building a top-down approach which contains a
specific classifier for each of the following tasks: scene
recognition, object segmentation and preposition estimation. The
proposed approach decomposes an image into scenes and
then, for each scene, it segments the related objects; given a
pair of these objects, the method estimates a spatial
preposition.</p>
      <p>
        The qualitative analysis is built on top of Suggested
Upper Merged Ontology (SUMO)1
        <xref ref-type="bibr" rid="ref21 ref22">(Niles and Pease 2001;
Pease 2011)</xref>
        and is constructed with the data obtained at
the quantitative phase, i.e., scenes, objects and prepositions.
This representation contains the distinct segmented objects
and their relations, expressed by a spatial preposition.
      </p>
      <p>For evaluation purposes, the method proposed is applied
to image retrieval tasks. The results obtained show that our
method outperforms recent approaches aiming at the
retrieval of images by means of spatial relations. Results also
show that the classification task is much improved with a
combination of neural networks (working at low-level
information) with an object ontology (representing high-level
knowledge) in contrast to using the neural network
classifiers alone.</p>
      <p>2</p>
    </sec>
    <sec id="sec-2">
      <title>Related work</title>
      <p>
        One of the most common approaches for retrieving images
is the paradigm known as query by example. Bag of Visual
Words (BOVW) is a method widely used to perform
image retrieval in this context. BOVW extracts local features
and, with respect to a sparse representation, performs
image retrieval
        <xref ref-type="bibr" rid="ref23">(Philbin, Sivic, and Zisserman 2008)</xref>
        .
BOVW1www.ontologyportal.org
based techniques retrieve images by their visual similarity.
However, the retrieval task does not take into account the
meaning (or semantics) of the information sought, since it
is solely based on numerical analyses. On the one hand, the
way an image is represented is crucial to enable a fast
retrieval of images. On the other hand, there is poor
correlation between the semantics one image might contain and its
constructed representation
        <xref ref-type="bibr" rid="ref12">(Hudelot, Atif, and Bloch 2008)</xref>
        .
      </p>
      <p>
        One possible way to represent the semantics expressed
in images is by following the steps described in
        <xref ref-type="bibr" rid="ref11">(Hare et
al. 2006)</xref>
        extract and describe the features of interest,
perform object segmentation and create a high-level
representation of the detected regions in the images. Considering
nonstructured regions in images, the goal is to assign a distinct
label to each one of them. A number of approaches have
focused in labeling regions in an image. To name some of
the most relevant we can refer to those based on Conditional
Random Fields (CRF)
        <xref ref-type="bibr" rid="ref9">(Gould, Fulton, and Koller 2009)</xref>
        ,
approaches based on deep Neural Networks (NN) (Socher et
al. 2011) or Convolutional Neural Networks (CNN)
        <xref ref-type="bibr" rid="ref7">(Girshick et al. 2014)</xref>
        , combinations of CRF and CNN have also
been applied to this task
        <xref ref-type="bibr" rid="ref28">(Zheng et al. 2015)</xref>
        . These methods,
however, do not take into account relations between objects
in images, as considered in this paper. It is worth noticing
that, in order to reduce the semantic gap, it is important to
represent the spatial relations among objects, since these
relations suffer less from viewpoint changes than the object
recognition itself
        <xref ref-type="bibr" rid="ref1">(Bloch, Hudelot, and Atif 2007)</xref>
        . Some
work has investigated the inclusion of high-level knowledge
focused on spatial relations in image analysis. For example,
we can cite the work of
        <xref ref-type="bibr" rid="ref1">(Bloch, Hudelot, and Atif 2007)</xref>
        and
        <xref ref-type="bibr" rid="ref12">(Hudelot, Atif, and Bloch 2008)</xref>
        . Both of them establish
high-level assumptions to enhance the low-level processing.
And more recently, we refer to
        <xref ref-type="bibr" rid="ref18">(Lu et al. 2016)</xref>
        and
        <xref ref-type="bibr" rid="ref6">(Dai,
Zhang, and Lin 2017)</xref>
        both of them establish relations
between objects in an image based on a set of distinct
predicates. Similarly,
        <xref ref-type="bibr" rid="ref17 ref20 ref8">(Malinowski and Fritz 2014)</xref>
        focus on
image retrieval by using queries built on spatial relations
between objects in images and (Mai et al. 2017) that retrieves
images based on spatial arrangement of an example input
image. In the present paper, we propose a new paradigm that
combines quantitative processing and also qualitative
analysis in an end-to-end architecture.
      </p>
      <p>
        In order to establish a spatial relation, it is necessary to
define a reference system. For instance, considering the
relation x is in front of y, three concepts should be defined: the
target object, the reference object and the reference system
        <xref ref-type="bibr" rid="ref12">(Hudelot, Atif, and Bloch 2008)</xref>
        . The reference system is, in
general, categorized from the observer’s viewpoint (relative
or absolute), or with respect to the way that the relation is
used: intrinsic, extrinsic or deictic. This work uses intrinsic
relations, which specify a relation under the perspective of
an observer. It is important to reinforce that these relations
are not constant in time and can also change their status with
respect to the adopted perspective. The present work uses
spatial relations as defined by a general ontology in order to
accomplish the automatic extraction of the semantic content
present in an image.
      </p>
      <p>
        There are distinct definitions of ontology found in the
literature
        <xref ref-type="bibr" rid="ref24">(Sankat, Thakur, and Jaloree 2016)</xref>
        . In this work,
ontology is understood as in
        <xref ref-type="bibr" rid="ref17 ref20 ref8">(Lehmann and Vo¨elker 2014)</xref>
        which defines ontology as a formal knowledge
representation, which may or may not be restricted to a specific
domain. This representation is expressed in a manner that
might be understood by a computational process
        <xref ref-type="bibr" rid="ref24">(Sankat,
Thakur, and Jaloree 2016)</xref>
        . Ontology might be referred as
the commonsense knowledge with respect to a domain of
interest, and can be expressed by: concepts, relations
between concepts, functions and instances. The Suggested
Upper Merged Ontology (SUMO), used in this work, extends
these concepts with axioms in higher-order logic that
attempt to define each concept.
      </p>
      <p>3</p>
    </sec>
    <sec id="sec-3">
      <title>Image Retrieval using Region Analysis (IRRA)</title>
      <p>In this work we address the problem of the semantic gap
in image retrieval by representing an image by the spatial
relation among the objects existing in the image itself. Our
aim is to combine information obtained from the pixel level
(quantitative analysis) with information provided by
specialists (qualitative analysis), in this work the specialist
knowledge is defined in terms of spatial prepositions in a general
ontology. The method proposed in this work is called Image
Retrieval using Region Analysis (IRRA) and is summarized
in Figure 1. Considering an input image, IRRA applies a
neural network in order to segment objects in the image, that
are further combined into pairs of objects. In the sequence,
for each pair, a preposition between them is estimated. Thus,
we decompose the image into n-triples containing pairs of
objects and a spatial preposition. These n-triples could, thus,
be used to represent (and reason about) the domain. Section
3.1 describes the quantitative analysis of IRRA in more
detail.
4. Estimate a spatial relation for every detected object pair.
In order to perform all these tasks, a stack of neural
networks is applied. We apply three distinct neural networks to
hierarchically detect context, objects and spatial relations.</p>
      <p>
        Context identification: The first neural network is
applied in order to estimate context. In this work, context is
understood as the scene class an image belongs to. Two scene
classes are used in this work: indoor and outdoor. We
created a model whose architecture is identical to that described
in AlexNet
        <xref ref-type="bibr" rid="ref14">(Krizhevsky, Sutskever, and Hinton 2012)</xref>
        in
order to perform this classification. The purpose of this step is
to reduce the number of target objects, dismissing
inconsistent objects with respect to the scene; objects such as
buildings and cars will not be part of the segmentation of an
indoor model, for instance.
      </p>
      <p>Object segmentation: Object (semantic) segmentation is
the second step to represent high-level information in an
image. This task is challenging since we want to classify an
image pixel-wise; besides, object identification is dependent
on the context that the objects are immersed in. The neural
networks that are performing semantic segmentation in this
work have the same architecture, although each one has its
own set of weights. The main difference between them is the
target classes that they use to construct the model.</p>
      <p>The segmentation neural networks generate a set of class
proposals for each pixel in the image. Additionally, similar
pixels are grouped together in order to represent objects. In
this work we focus on assigning spatial relations between
pairs of these segmented objects. In order to define a spatial
region, we map pairs of detected objects aiming at
establishing a representation that might be expressed in topological
terms. Then, another neural network is used to estimate a
spatial preposition from the previous (topological)
classification. Each image Ix generates a CIx = n2Ix , where nIx
is the number of objects detected for image Ix, and CIx is
the combination of nIx in pairs.</p>
      <p>Preposition estimation: A sparse representation of CIx
is created and is provided as input to a neural network whose
task is to assign English prepositions to images. It is
important to notice that object information is crucial at this point to
disambiguate multiple (possible) assignments. Besides, this
sparse representation provides a notion of the spatial
topology with respect to a pair of objects.</p>
      <p>
        Finally, this sparse vector combined with the estimated
spatial preposition enables the creation of an index that
can be accessed with a structured query in order to
retrieve relevant images. This index is similar to those used
by BOVW
        <xref ref-type="bibr" rid="ref5">(Csurka et al. 2004)</xref>
        applications. Thus, images
can be retrieved given a feature which, in the present case, is
a spatial relation.
3.2
      </p>
      <sec id="sec-3-1">
        <title>Qualitative analysis</title>
        <p>
          Knowledge representation is built with respect to the spatial
arrangement of the identified structures in images. The
interpretation of spatial relations contributes to reducing the
semantic gap in images since relations tend to suffer less
with variations than the objects in their arguments
          <xref ref-type="bibr" rid="ref12">(Hudelot,
Atif, and Bloch 2008)</xref>
          .
        </p>
        <p>
          Aiming at representing the knowledge acquired through
the numerical analysis of images, we have opted to extend
an existing ontology: SUMO
          <xref ref-type="bibr" rid="ref22">(Pease 2011)</xref>
          . The Suggested
Upper Merged Ontology (SUMO) has been adopted due to
the fact it is built on higher-order logic and, thus, it provides
the flexibility to create complex constructions, not restricted
to binary relations.
        </p>
        <p>The initial step to represent knowledge was to create
instances of the domain. In this work, each detected object is
considered as an unique and independent instance.</p>
        <p>Considering an example image Ix with the detected
objects Building, Floor and Sky, in this work, each of these
terms is identified by the suffix corresponding to the
original image, in this case x. Therefore the term Building is
referenced by Buildingx and so on. Formula 1 shows the
instance definition.
( i n s t a n c e Buildingx B u i l d i n g )
( i n s t a n c e F loorx F l o o r )
( i n s t a n c e Skyx Sky )</p>
        <sec id="sec-3-1-1">
          <title>Formula 1: Instances</title>
          <p>All the images and the detected objects are represented in a
similar fashion. The next step of our framework is to
construct spatial relations between the distinct objects. To
execute the mapping of these relations to the segmented pair of
objects, we have considered the prepositions estimated by a
statistical classifier. Finally, our preposition domain contains
the following relations: above, across from, behind, below,
in, in front of, inside of, left of, on, right of and under.</p>
          <p>By using an off-the-shelf ontology, the representation of
these relations expressed by prepositions was simplified. In
this work, only a punctual extension of SUMO was
necessary.</p>
          <p>The standard SUMO ontology provides tools to define
spatial relations. In order to define a spatial relation in
SUMO it is necessary to create an instance of the class
PositionalAttribute. This class enables the stating of binary
orientation relations between two objects. Additionally, it is
important to mention that the semantics with respect to
spatial relations might be expressed by more than one
preposition, besides, distinct prepositions might be similar or
complementary. For instance, two distinct objects arranged
consecutively might be referenced by the following prepositions
: in front of or behind, the proper term is defined according
to the context and the observer’s position. This characteristic
allows us to represent both relations using the double
implication operator &lt;=&gt;. Consequently, it is possible to define
the preposition in front of based on the preposition behind,
or vice-versa. This definition is illustrated in Formula 2. It
is worth pointing out that, although in front of or behind are
both relative to an observer, this paper assumes that observer
is the camera point of view and, thus, it is implicit in the
definitions.
(&lt;=&gt;
( o r i e n t a t i o n ?X1 ?X2 B e h i n d )
( o r i e n t a t i o n ?X2 ?X1 I n F r o n t O f ) )
Formula 2: Double implication to behind and In front of
According to the nature of spatial prepositions, this
procedure is applied to other relations, for instance: under and
above or left of and right of. Additionally, the transitivity
of relations was also used in this context whenever
possible. For instance, we might infer that if there is an object a
above an object b and b is above a third object c, therefore a
is above c.</p>
          <p>In conclusion, through quantitative methods, qualitative
information with respect to the domain was inferred. The
impact of this procedure was evaluated in the tests described
in the next section.</p>
          <p>4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Experiments</title>
      <p>
        This section details the experiments executed in order to
evaluate the proposed method. To perform the experiments,
the publicly available data set SUN09
        <xref ref-type="bibr" rid="ref3">(Choi et al. 2010)</xref>
        was
used. This data set is composed of more than 12,000 images
containing various classes of objects in distinct scenes. In
order to conduct the tests, two data sets of annotations for
SUN09 were used. First, the data set provided by
        <xref ref-type="bibr" rid="ref16">(Lan et
al. 2012)</xref>
        (data set 1) was used, that contains annotations in
the form of structured queries (hnoun; preposition; nouni)
representing two relations below and above. Second, the
annotations provided in
        <xref ref-type="bibr" rid="ref17 ref20 ref8">(Malinowski and Fritz 2014)</xref>
        (data set
2) were considered that includes eleven (11) distinct
preposition classes: above, across from, behind, below, in, in front
of, inside, left, right, on and under.
      </p>
      <p>Overall 4,367 images were used for training and 4,317
images for testing. In these datasets there are 186,299 pairs
of objects for training and 173,111 for testing, being 106
distinct objects considering data set 1 and 42 considering
data set 2.
The scene classification part of the present proposal
(identifying what we use as context: indoor or outdoor scenes)
was evaluated using data set 2, with manual annotations for
training and evaluation purposes. The results of this binary
classification are shown in Table 1, where we can see that
the overall precision and recall for each of the considered
classes was 87%, attesting for the suitability of the method
applied for this task.</p>
      <p>As described above, scene identification provides
information to refine the object segmentation procedure, whose
results are shown below.
In this part of the system evaluation, we investigate the
hypothesis of whether the information provided by the scene
identification (Section 4.1) improves the segmentation.
According to this premise we have manually separated the
objects as indoor and outdoor. The indoor objects are:
armchair, basket, bookcase, book, bottle, box, chair, closet,
cupboard, curtain, desk, floor, flower, ground, mirror, plant,
poster, refrigerator, seats, table, vase, wall and window. The
outdoor objects are: airplane, balcony, bench, building, car,
door, fence, gate, grass, path, road, rock, sign, sky,
streetlight, tree, van, water. According to each scene class
detected we apply one or the other segmentation models (i.e.
one trained with indoor objects or the other trained with
outdoor objects).</p>
      <p>
        The semantic segmentation model applied in this
experiment was fine tunned with the weights provided by
        <xref ref-type="bibr" rid="ref29">(Zhou et
al. 2016)</xref>
        . The object segmentation results are shown in
Table 2. Table 2 shows all the objects in data set 2. In the
leftmost column is the scene class of which the object belongs
to. The second column, from left to right, is the noun that
represents the object. The following two columns represent
the Intersection over union (IoU)
        <xref ref-type="bibr" rid="ref13">(Jaccard 1912)</xref>
        considering
object recognition using context information or without
using it (column “No context”). Considering the labeled area
AL for a given object in an scene and the segmented area
AS resulting from a neural network segmentation, the
Intersection over Union is the ration between the intersection of
AS and AL and the union between the regions, as shown in
equation 1.
      </p>
      <p>IoU =</p>
      <p>AS \ AL
AS [ AL
(1)
thus, when the neural network segments exactly the same
area as the label (AS = AL), IoU = 1 and when the
segmented area AS is completely different from the label
area AL (AS \ AS = ;), then IoU = 0. For any
situation when the segmented area overlaps with the labelled area
(AS \ AS 6= ;) but are not equal, 0 &lt; IoU &lt; 1.</p>
      <p>Results show that the classification using context
information had a higher IoU value overall (shown in line “Average”
in Table 2). However, there were various cases in which the
use of scene class information did not improve the results
(such as the results related to Armchair, or Bench), this
occurred due to the fact that such objects appear in both
(indoor and outdoor) scenes. Thus, in these cases, assuming
scene classes caused a reduction in the number of examples
of some objects during the training phase.
4.3</p>
      <sec id="sec-4-1">
        <title>Scene classification with segmentation and ontologies</title>
        <p>With the object-segmentation neural network presented in
the previous section, a second indoor/outdoor classifier was
tested, in which we combine low-level information of the
scene with high-level information provided by the
description of the objects in SUMO.</p>
        <p>For this classifier, each of the objects presented in
Section 4.2 was described in SUMO as having one of three
possible classes: indoor (e.g., armchair), outdoor (e.g., sky)
or both (for objects that are both indoor and outdoor, e.g.,
chair). The complete list of object classes and the
corresponding SUMO annotations are shown in Table 3. With the
same segmentation method as used in Section 4.2, the
objects recognised in each of the scenes were counted and the
class with the highest amount of objects present was
considered to be the scene class (e.g., a scene with 2 indoor objects,
1 outdoor and 1 both is considered to be an indoor scene).
Scenes where there is an equal number of indoor and
outdoor objects were classified as both. In this case, the object
rank was used in order to take into account the relevance
of the object with respect to the scene classification. For
instance, a scene containing an object “sky” is considered to
be and outdoor scene, since there can be no sky indoors2).
We considered that the following outdoor objects outrank
any other object in the domain: building, sky, sign, fence,
grass, road.</p>
        <p>Results obtained for this combination of low-level and
high-level classification are shown in Table 4 where we
obtained over 98% of precision and recall. An improvement of
10 percentage points with respect to the classifier without
the ontology (whose results are shown in Table 1).</p>
        <p>From 4,268 scenes used in this experiment 44 could not
be classified into any of the three classes available, since
they did not contain any object, or contained only one object
recognised in the class both. These were not accounted in
Table 4.
4.4</p>
      </sec>
      <sec id="sec-4-2">
        <title>Preposition assignment</title>
        <p>The main difficulty of assigning a preposition to a pair of
objects in an image is the common overlapping of terms,
i.e., there are several possible (consistent) preposition
assignments to each spatial relation. In order to cope with this
issue, before assigning a preposition, the topological
relation between pairs of objects is classified, serving as a bridge
to preposition definition. In our experiments, each image in
the data set was transformed into a representation
containing: (target object, reference object). This representation is
shown in Figure 2, Figure 2a presents the original image and
the object mask is presented in Figure 2b. It is important to
mention the fact that the color of the objects indicates the
target object (blue) and the reference object (red).</p>
        <p>Each image available in the data set was segmented and
combined with its relative object, generating a combination
of CIx = N2Ix for images I x and segmented objects NIx
for the image. Every image generated from CIx was
classified according to the spatial preposition related to the
reference and target objects. In this test we have used data set 2
with 11 spatial prepositions.</p>
        <p>2In this experiment, a window is recognised as a single object,
therefore no other object can be perceived within its contours.</p>
        <p>Table 5 shows the precision, recall and f-measure for each
of the tested prepositions, where the right-most column is
the number of tested samples. The overall values are
exhibited in the last line: for the 4,953 relations tested, the system
reached an overall precision of 0:75 with a recall of 0:75 and
a f-measure of 0:71.</p>
        <p>Next section compares the performance of IRRA with
other state-of-the-art methods in the task of image retrieval
from structured queries.
4.5</p>
      </sec>
      <sec id="sec-4-3">
        <title>Retrieval evaluation</title>
        <p>
          In order to evaluate image retrieval using IRRA, the
annotations provided by
          <xref ref-type="bibr" rid="ref16">(Lan et al. 2012)</xref>
          were used. To the best
of our knowledge, this is the only available data set that
maps spatial relations to objects detected in images. We have
tested our method against all the structured query types
proposed in
          <xref ref-type="bibr" rid="ref16">(Lan et al. 2012)</xref>
          . The structured queries contain a
noun, e.g. pedestrians, or a relation set expressed by a triple
in the form (noun, preposition, and noun), e. g. “car on the
road”. The available structures are represented as: Structure
a (Sa), which contains only a relation set, for instance, “car
on road”; Structure b (Sb) contains a relation set and a noun,
e.g, “car on road, pedestrians”; Structure c (Sc) contains
two relation sets, e.g., “car on road, sky above building”;
Structure d (Sd) contains two relation sets and a noun, e.g.,
“car on road, sky above building, pedestrians”; Structure
e (Se) contains three relation sets, e.g., “car on road, sky
above building, books inside of bookcase”.
        </p>
        <p>
          Figure 3 illustrates the obtained results and also displays
a comparison with other approaches using the same data set.
Only recall is presented since this is the measurement used
in
          <xref ref-type="bibr" rid="ref16">(Lan et al. 2012)</xref>
          . According to Figure 3 it is possible to
observe that IRRA outperforms the other methods in all the
structured queries considered.
        </p>
        <p>Analyzing IRRA results alone, we can see that in larger
queries that do not include single objects (in scenarios Sc
and Se, for instance), IRRA’s performance is not as good as
in other scenarios. This behavior occurs due the fact that,
when answering a query such as Sc or Se, segmentation or
preposition detection errors are propagated to the retrieval
task.</p>
        <p>
          We have also evaluated the retrieval by using the second
data set which has a larger set of prepositions. In this
setting IRRA achieved a retrieval with mean average precision
(mAP) of 53:95, outperforming the recent results reported
in
          <xref ref-type="bibr" rid="ref17 ref20 ref8">(Malinowski and Fritz 2014)</xref>
          . The superior performance
of IRRA with respect to other (competing) methods is
explained by the fact that IRRA uses the various relations
existing in an image in the retrieval task.
4.6
        </p>
      </sec>
      <sec id="sec-4-4">
        <title>Ontology expansion</title>
        <p>The queries executed in the tests above were strictly
unidirectional due to the fact that there is no high-level reasoning
with respect to the spatial arrangement of the items in the
document collection. To address this issue, we investigated
the application of reasoning using SUMO.</p>
        <p>
          We extended the annotations in
          <xref ref-type="bibr" rid="ref17 ref20 ref8">(Malinowski and Fritz
2014)</xref>
          with the aim to infer new relations derived from the
original relations that were manually annotated. Through the
use of the SUMO ontology we extended the system’s
knowledge about the relations in order to evaluate spatial
prepositions that were not obtained by the quantitative analysis
processes.
        </p>
        <p>In order to evaluate this method, distinct queries were
proposed, but keeping the same information to be retrieved from
the set of images. To accomplish this task inverse relations
were applied. For instance, for two objects (x, y) and the
query (x-above-y), we also evaluated the retrieval for
(ybelow-x) against the same annotation for above as used in
the original query.</p>
        <p>The instanciation of the whole ontology with SUN09 data</p>
        <sec id="sec-4-4-1">
          <title>Query A</title>
          <p>Query B</p>
        </sec>
        <sec id="sec-4-4-2">
          <title>Query C</title>
        </sec>
        <sec id="sec-4-4-3">
          <title>Query D</title>
        </sec>
        <sec id="sec-4-4-4">
          <title>Query E</title>
          <p>
            l
l
a
c
e
R
60
40
20
0
ti)2014 )a2012 .)a2014 IRRA
z .l l
rF te te
nd an ie
i (L iqu
a
sknow i(ddS
i
l
a
M
(
)201 )401 RRA
2 2 I
. .
l l
a a
t t
e e
an ie
(L iqu
d
d
i
S
(
)021 )041 RRA
2 2 I
. .
l l
a a
t t
e e
an ie
(L iqu
d
d
i
S
(
)012 )014 RRA
2 2 I
. .
l l
a a
t t
e e
an ie
(L iqu
d
d
i
S
(
)120 )140 RRA
2 2 I
. .
l l
a a
t t
e e
an ie
(L iqu
d
d
i
S
(
generated more than 13; 000 terms with respect to the
images and objects, and more than 18; 000 formulas
referencing the created relations. The retrieval task based on the new
set of queries was performed by evaluating every image
using the E first-order logic theorem prover
            <xref ref-type="bibr" rid="ref25">(Schulz 2013)</xref>
            .
Although SUMO is defined in a higher-order logic, we were
able to achieve our goals with just the first-order logic
content of the theory in this work, which allowed us to use a
first-order logic prover.
          </p>
          <p>
            Every image was tested using the new annotated queries,
the mAp achieved in this case was 41:60, whereas he
original set for these prepositions obtained a mAp of 51. The
decrease in performance observed with the extended set of
relations (in contrast with the original) was due to the fact
that, by increasing the size of the knowledge base, errors
were possibly included in the process, whose detection
becomes increasingly complex to perform
            <xref ref-type="bibr" rid="ref22">(Pease 2011)</xref>
            .
5
          </p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Discussion</title>
      <p>This paper proposed a framework for image retrieval based
on an ensemble of neural networks and spatial relations
defined over an ontology. The proposed method decomposes
the image in distinct levels in order to classify objects and
their spatial relations in static scenes. The retrieval of an
image is than done by specifying the existence of objects
and spatial relations between two objects (e.g., “car on road,
pedestrians” is a possible sentence to use to retrieve an
image).</p>
      <p>Although the number of objects and relations seems to be
small (42 objects and 11 relations), the number of images
used is over 9,000 and since a scene is divided in relations
between objects in it, it can be used for training more than
one relation and/or terms, thus over 186,000 pairs of objects
in training and 173,000 for testing were generated. This
resulted in more than 13,000 terms and 18,000 formulas for
the ontology.</p>
      <p>Results on preposition classification also show that the
method proposed in this paper outperforms previous work
in the retrieval of images using spatial relations, however,
it did not perform as well as expected in the following
cases: across from, inside of, left of, right of. This
problem was probably due to the distinct competing prepositions
that could be equally applied to the scenes in these cases. A
deeper investigation of how to represent the object pairs in
order to enhance the estimation of their spatial preposition is
a task for future work. It is also within our future interests to
augment the set of relations covered by the system, relaxing
the present restriction to binary relations.</p>
      <p>When classifying an image as an indoor or outdoor scene
using ontology, it is possible to specify an objects class, e.g.,
(subclass Sky Outdoor) or describe it in relation to another
object, e.g., (subclass Armchair Chair), making it easier to
add new objects to the classifier and to reason about their
properties than it is to train a new deep learning method to
classify new objects in the database. As a result, an increase
of 10 percentage points was observed in the results when
using the ontology to classify object’s class found in the
outputs of the neural networks, suggesting a successful
combination of a knowledge representation tool with a
state-ofthe-art machine learning algorithm with virtually no learning
or classification running time increase.</p>
      <p>6</p>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>This work investigated the semantic gap that exists in
content-based image retrieval by introducing an approach
that establishes relations between objects in images by
means of spatial arrangements. The method proposed in
this paper, called Image Retrieval using Region Analysis
(IRRA), starts by decomposing images with respect to pairs
of objects, where each pair is also combined with a spatial
relation. Each spatial relation is related to a spatial
preposition expressed in natural language. IRRA was evaluated on
a public data set, whose results show that our approach
outperforms previous (recent) work in the retrieval of images
using spatial relations.</p>
      <p>Results showed that by combining SUMO’s high-level
description of objects with the output of a machine learning
classifier, it is possible to increase in 10 percentage points
the precision and recall of such classifier when the scene
classification is uncertain. Although this increase is achieved
with almost no increase in running time, there as still some
scenes that could not be classified for the lack of context
regarding the objects found in the image.</p>
      <p>
        We believe that the proposed framework has two
compelling applications. The first is to improve statistical
classifiers, following an approach similar to
        <xref ref-type="bibr" rid="ref17 ref2 ref20 ref8">(Chen, Shrivastava,
and Gupta 2014)</xref>
        , where new samples are evaluated before
inserting them into the knowledge base. The second is the
possibility to include abstractions (in terms of high-level
relations, spatial or not) to static data sets in order to enhance
image retrieval tasks.
      </p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgements</title>
      <p>Danilo Nunes was partially supported by CAPES (grant
5131024). Leonardo Anjoletto Ferreira acknowledges that
this study was financed in part by the Coordenac¸a˜o de
Aperfeic¸oamento de Pessoal de N´ıvel Superior – Brasil
(CAPES) – Finance Code 001 and also from FAPESP-IBM
(grant 2016/18792-9). Paulo Santos acknowledges support
from FAPESP-IBM (grant 2016/18792-9).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Bloch</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ; Hudelot,
          <string-name>
            <given-names>C.</given-names>
            ; and
            <surname>Atif</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.</surname>
          </string-name>
          <year>2007</year>
          .
          <article-title>On the interest of spatial relations and fuzzy representations for ontologybased image interpretation</article-title>
          .
          <source>In Proceedings of the 7th International Conference on Advances in Pattern Recognition</source>
          , ICAPR'
          <volume>07</volume>
          ,
          <fpage>15</fpage>
          -
          <lpage>25</lpage>
          . Kolkata, India: ICAPR.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Shrivastava</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Gupta</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2014</year>
          .
          <article-title>Enriching visual knowledge bases via object discovery and segmentation</article-title>
          .
          <source>Computer Vision</source>
          and Pattern Recognition.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Choi</surname>
            ,
            <given-names>M. J.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Lim</surname>
            ,
            <given-names>J. J.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Torralba</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Willsky</surname>
            ,
            <given-names>A. S.</given-names>
          </string-name>
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <article-title>Exploiting hierarchical context on a large database of object categories</article-title>
          .
          <source>In 2010 IEEE Comp. Soc. Conference on Computer Vision and Pattern Recognition</source>
          ,
          <fpage>129</fpage>
          -
          <lpage>136</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Csurka</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ; Dance,
          <string-name>
            <surname>C. R.</surname>
          </string-name>
          ; Fan,
          <string-name>
            <given-names>L.</given-names>
            ;
            <surname>Willamowski</surname>
          </string-name>
          , J.; and
          <string-name>
            <surname>Bray</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <year>2004</year>
          .
          <article-title>Visual categorization with bags of keypoints</article-title>
          .
          <source>In Workshop on Statistical Learning in Computer Vision</source>
          , ECCV,
          <fpage>1</fpage>
          -
          <lpage>22</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Dai</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ; Zhang, Y.; and
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <year>2017</year>
          .
          <article-title>Detecting visual relationships with deep relational networks</article-title>
          .
          <source>In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).</source>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Girshick</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ; Donahue,
          <string-name>
            <surname>J.</surname>
          </string-name>
          ; Darrell,
          <string-name>
            <given-names>T.</given-names>
            ; and
            <surname>Malik</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.</surname>
          </string-name>
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <article-title>Rich feature hierarchies for accurate object detection and semantic segmentation</article-title>
          .
          <source>In Proc. of the 2014 IEEE Conference on Computer Vision</source>
          and Pattern Recognition, CVPR '
          <volume>14</volume>
          ,
          <fpage>580</fpage>
          -
          <lpage>587</lpage>
          . Washington, DC, USA: IEEE Computer Society.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Gould</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ; Fulton, R.; and
          <string-name>
            <surname>Koller</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <year>2009</year>
          .
          <article-title>Decomposing a scene into geometric and semantically consistent regions</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <source>In 2009 IEEE 12th International Conference on Computer Vision</source>
          , 1-
          <fpage>8</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Hare</surname>
            ,
            <given-names>J. S.</given-names>
          </string-name>
          ; Sinclair,
          <string-name>
            <given-names>P.</given-names>
            ;
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. H.</given-names>
            ;
            <surname>Martinez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            ;
            <surname>Enser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. G.</given-names>
            ; and
            <surname>Sandom</surname>
          </string-name>
          ,
          <string-name>
            <surname>C. J.</surname>
          </string-name>
          <year>2006</year>
          .
          <article-title>Bridging the semantic gap in multimedia information retrieval: Top-down and bottom-up approaches</article-title>
          .
          <source>In 3rd Euro. Semantic Web Conference</source>
          , volume
          <volume>187</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <surname>Hudelot</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Atif</surname>
          </string-name>
          , J.; and
          <string-name>
            <surname>Bloch</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          <year>2008</year>
          .
          <article-title>Fuzzy spatial relation ontology for image interpretation</article-title>
          .
          <source>Fuzzy Sets Syst.</source>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <surname>Jaccard</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <year>1912</year>
          .
          <article-title>The distribution of the flora in the alpine zone. 1</article-title>
          . New phytologist
          <volume>11</volume>
          (
          <issue>2</issue>
          ):
          <fpage>37</fpage>
          -
          <lpage>50</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <surname>Krizhevsky</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Sutskever</surname>
            ,
            <given-names>I.;</given-names>
          </string-name>
          and Hinton,
          <string-name>
            <surname>G. E.</surname>
          </string-name>
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <article-title>Imagenet classification with deep convolutional neural networks</article-title>
          .
          <source>In Proc. of the 25th International Conference on Neural Information Processing Systems</source>
          , NIPS'
          <volume>12</volume>
          ,
          <fpage>1097</fpage>
          -
          <lpage>1105</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>Lan</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ; and Mori,
          <string-name>
            <surname>G.</surname>
          </string-name>
          <year>2012</year>
          .
          <article-title>Image retrieval with structured object queries using latent ranking svm</article-title>
          .
          <source>In Proceedings of the 12th European Conference on Computer Vision</source>
          - Volume
          <string-name>
            <surname>Part</surname>
            <given-names>VI</given-names>
          </string-name>
          , ECCV'
          <volume>12</volume>
          ,
          <fpage>129</fpage>
          -
          <lpage>142</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <string-name>
            <surname>Lehmann</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , and Vo¨ elker,
          <string-name>
            <surname>J.</surname>
          </string-name>
          <year>2014</year>
          .
          <article-title>An introduction to ontology learning</article-title>
          . In Lehmann, J., and Vo¨ elker, J., eds.,
          <source>Perspectives on Ontology Learning. AKA Heidelberg</source>
          . ix-xvi.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <surname>Lu</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Krishna</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ; Bernstein,
          <string-name>
            <given-names>M.</given-names>
            ; and
            <surname>Fei-Fei</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          2017.
          <article-title>Spatial-semantic image search by visual feature synthesis</article-title>
          .
          <source>In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).</source>
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          <string-name>
            <surname>Malinowski</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Fritz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <year>2014</year>
          .
          <article-title>A pooling approach to modelling spatial relations for image retrieval and annotation</article-title>
          .
          <source>arXiv:1411.5190 [cs.CV].</source>
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          <string-name>
            <surname>Niles</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Pease</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2001</year>
          .
          <article-title>Towards a standard upper ontology</article-title>
          .
          <source>In Proceedings of the International Conference on Formal Ontology in Information Systems - Volume</source>
          <year>2001</year>
          , FOIS '
          <volume>01</volume>
          ,
          <fpage>2</fpage>
          -
          <lpage>9</lpage>
          . New York, NY, USA: ACM.
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          <string-name>
            <surname>Pease</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2011</year>
          .
          <article-title>Ontology: A Practical Guide</article-title>
          . Angwin, CA: Articulate Software Press.
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          <string-name>
            <surname>Philbin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Sivic</surname>
          </string-name>
          , J.; and
          <string-name>
            <surname>Zisserman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2008</year>
          .
          <article-title>Object mining using a matching graph on very large image collections</article-title>
          .
          <source>In Proceedings of the 2008 Sixth Indian Conference on Computer Vision</source>
          , Graphics &amp; Image
          <string-name>
            <surname>Processing</surname>
          </string-name>
          , ICVGIP '
          <volume>08</volume>
          ,
          <fpage>738</fpage>
          -
          <lpage>745</lpage>
          . Washington, DC, USA: IEEE Computer Society.
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          <string-name>
            <surname>Sankat</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Thakur</surname>
            ,
            <given-names>R. S.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Jaloree</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <year>2016</year>
          .
          <article-title>SemiAutomatic Ontology Design for Educational Purposes</article-title>
          . Hershey, PA, USA: IGI Global.
          <volume>124</volume>
          -
          <fpage>142</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          <string-name>
            <surname>Schulz</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <year>2013</year>
          .
          <article-title>System Description: E 1.8</article-title>
          .
          <string-name>
            <surname>In</surname>
            <given-names>McMillan</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            ;
            <surname>Middeldorp</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ; and
            <surname>Voronkov</surname>
          </string-name>
          , A., eds.,
          <source>Proc. of the 19th LPAR, Stellenbosch</source>
          , volume
          <volume>8312</volume>
          <source>of LNCS</source>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          2011.
          <article-title>Parsing natural scenes and natural language with recursive neural networks</article-title>
          .
          <source>In Proceedings of the 28th International Conference on International Conference on Machine Learning</source>
          ,
          <fpage>129</fpage>
          -
          <lpage>136</lpage>
          . USA: Omnipress.
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <string-name>
            <surname>Wan</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Hoi</surname>
            ,
            <given-names>S. C. H.</given-names>
          </string-name>
          ; Wu,
          <string-name>
            <given-names>P.</given-names>
            ;
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            ; Zhang, Y.; and
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.</surname>
          </string-name>
          <year>2014</year>
          .
          <article-title>Deep learning for content-based image retrieval: A comprehensive study</article-title>
          .
          <source>In Proceedings of the 22Nd ACM International Conference on Multimedia, MM '14</source>
          ,
          <fpage>157</fpage>
          -
          <lpage>166</lpage>
          . New York, NY, USA: ACM.
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Jayasumana</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Romera-Paredes</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Vineet</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Su</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Du</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Huang</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ; and Torr,
          <string-name>
            <surname>P. H. S.</surname>
          </string-name>
          <year>2015</year>
          .
          <article-title>Conditional random fields as recurrent neural networks</article-title>
          .
          <source>In Proceedings of the 2015 IEEE International Conference on Computer Vision</source>
          (ICCV),
          <source>number 9 in ICCV 15</source>
          ,
          <fpage>1529</fpage>
          -
          <lpage>1537</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          <string-name>
            <surname>Zhou</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Zhao</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Puig</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Fidler</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Barriuso</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Torralba</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2016</year>
          .
          <article-title>Semantic understanding of scenes through the ade20k dataset</article-title>
          .
          <source>In arXiv preprint arXiv:1608</source>
          .
          <fpage>05442</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>