<!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>A Multi-class Approach { Building a Visual Classi er based on Textual Descriptions using Zero-Shot Learning</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Preeti Jagdish Sajjan</string-name>
          <email>p.sajjan1@nuigalway.ie</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Frank G. Glavin</string-name>
          <email>frank.glavin@nuigalway.ie</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Computer Science, College of Science and Engineering, National University of Ireland</institution>
          ,
          <addr-line>Galway</addr-line>
          ,
          <country country="IE">Ireland</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Machine Learning (ML) techniques for image classi cation routinely require many labelled images for training the model and while testing, we ought to use images belonging to the same domain as those used for training. In this paper, we overcome the two main hurdles of ML, i.e. scarcity of data and constrained prediction of the classi cation model. We do this by introducing a visual classi er which uses a concept of transfer learning, namely Zero-Shot Learning (ZSL), and standard Natural Language Processing techniques. We train a classi er by mapping labelled images to their textual description instead of training it for speci c classes. Transfer learning involves transferring knowledge across domains that are similar. ZSL intelligently applies the knowledge learned while training for future recognition tasks. ZSL di erentiates classes as two types: seen and unseen classes. Seen classes are the classes upon which we have trained our model and unseen classes are the classes upon which we test our model. The examples from unseen classes have not been encountered in the training phase. Earlier research in this domain focused on developing a binary classi er but, in this paper, we present a multi-class classi er with a Zero-Shot Learning approach.</p>
      </abstract>
      <kwd-group>
        <kwd>Transfer Learning</kwd>
        <kwd>Computer Vision</kwd>
        <kwd>NLP</kwd>
        <kwd>Zero-Shot Learning</kwd>
        <kwd>Meta-Learning</kwd>
        <kwd>Image Classi cation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        In this work, we develop a visual classi er capable of classifying images based on
their textual descriptions. This is made possible by mapping visual features from
images and textual features from the descriptions to the semantic label space of
the classes. We do this by using Zero-Shot Learning (ZSL). As the name would
suggest, Zero-Shot Learning can be de ned as a setup where the model is given
certain classes during its testing phase which were not included in the training
phase. In simpler terms, ZSL intelligently allows the model to recognise and
classify objects that it has never seen before with some degree of certainty. We
consider earlier work by Elhoseiny [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] as a base reference.
      </p>
    </sec>
    <sec id="sec-2">
      <title>Motivation and Dataset</title>
      <p>Concepts of transfer learning, such as Zero-Shot Learning and Few-Shot
Learning, have achieved greater visibility producing signi cant research in the past
decade. The main motivation for applying the concepts of Zero-Shot Learning
is to achieve a model that can classify the images into certain categories
without being trained upon it. The key idea of ZSL is to explore and exploit the
knowledge of how an unseen class is semantically related to seen classes. We
present a classi er that is built using various emerging Computer Vision, Deep
Learning, and NLP techniques. The novelty here is in creating a state-of-the-art
Zero-Shot Learning multi-class classi cation model that learns to map images
to their textual descriptions and, in turn, to their class labels. While our model
is trained on a much smaller dataset, when compared to earlier work, we still
achieve promising results.</p>
      <p>
        The dataset that we use for building our model is the Caltech Birds dataset
CUB200-2011 Birds [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] which has 11788 images of 200 species of bird. Textual
descriptions for each of the above 200 classes are obtained from earlier research
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] with information extracted manually from Wikipedia. Examples of the
textual descriptions and the Caltech Birds dataset, organised with respect to the
class labels, are shown below in Figure 1.
      </p>
      <sec id="sec-2-1">
        <title>Background Information and Related Work</title>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Transfer Learning</title>
      <p>
        Transfer Learning (TL) involves transferring the knowledge learnt in one domain
to another domain. There are many real-world applications in which collecting
new training data can be di cult or expensive. Transfer learning aims to reduce
the need to collect such training data by transferring knowledge between the
task domains. Pan and Yang [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] presented a survey on TL and noted that
its motivation was initially discussed in a NIPS-95 workshop as \Learning to
Learn", which focused on the need for machine learning methods to learn, and
then use this learned knowledge, when a sample from an unseen category or
domain appears.
2.2
      </p>
    </sec>
    <sec id="sec-4">
      <title>Applying Zero-Shot Learning to Image Classi cation</title>
      <p>
        Lack of training data for each class and learning, both local and global, features
for a group of images makes image classi cation using Zero-Shot Learning a
challenging task. Li et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], formulate ZSL as a conditioned image classi cation
problem where they aim to classify the visual features using a classi er that has
learned from semantic descriptions. ZSL models typically learn the mapping
function that maps the feature space to the semantic vector space. Since with
ZSL, the model only has visibility of instances from training classes, it su ers
a projection domain shift. This problem of ZSL was rst identi ed by Fu et
al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Kodirov et al. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] present Semantic Autoencoders, where an encoder
aims to project the visual feature vectors to the semantic vector space and a
decoder aims to reconstruct the original visual feature vectors from the semantic
vector space. Once the model is trained, the authors retrieve the encoder model
which establishes an optimal mapping function as a solution to this. Akata et
al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] use images from seen classes and semantic attributes, from both seen and
unseen classes, to learn two dictionaries (\coupled dictionary "), that can sparsely
represent the visual and semantic feature vectors of an image. They also provide
an attribute-aware system to solve domain shift and the hubness1 problems of
ZSL. Akanksha et al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] propose a Semantically Aligned Bias Reducing (SABR)
approach that focuses on overcoming the hubness problem by learning a latent
space which is responsible for preserving the semantic relation between the labels
and then encoding the discriminating information of the classes.
2.3
      </p>
    </sec>
    <sec id="sec-5">
      <title>Mapping Textual Descriptions to Images</title>
      <p>
        Humans can write a summary of events seen in an image to provide a better
understanding of that image. Wang J et al. [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] describe a system to establish
a link from an image to a sentence using a score from the comparison made
between the context vector of an image and the context vector of a sentence.
Later, other researchers [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] presented a system that predicted the natural
language descriptions automatically from the image input. This is made possible
using recognition algorithms and exploiting statistics behind parsing huge text
data. Carrara et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] proposed Text2Vis, a neural network that is capable of
generating a visual representation in the visual feature space of ImageNet from a
short textual description. This concept serves as another end of our objective for
classifying images. In more recent work, Otto et al. [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] outlined an approach to
understand, categorise, and predict the semantic relations of an image to text.
Here, the authors derive a categorisation of eight semantics in image-text pairs
and illustrate how they can systematically be characterised by a set of metrics.
1 A problem in which a few select words (or hubs) are too close to many others,
especially in high dimensional spaces.
They make use of a Deep Learning system to predict the classes using multimodal
embeddings.
2.4
      </p>
    </sec>
    <sec id="sec-6">
      <title>Image Classi cation based on Textual Descriptions</title>
      <p>
        Many earlier approaches, relevant to this paper, include texts from the web to
train and predict a Zero-Shot Learning classi er. Elhoseiny et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] proposed
an optimised formulation that combines knowledge transfer techniques and a
regression function to predict a visual classi er. Ba et al. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] considered deep
neural networks to predict convolutional classi ers by using text features to nd
the optimal weights for the layers of a deep neural network. This approach was
reported to give a noticeable improvement in zero-shot classi cation. Qiao et al.
[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] revisited the importance of regularisation on ZSL. They show that applying
the attribute-based formulation to text achieves better performance.
3
      </p>
      <sec id="sec-6-1">
        <title>Model Architecture and Methodology</title>
        <p>In this section, we describe our model architecture in detail. This is divided into
three components, i) extracting features from images, ii) extracting features from
text documents, and iii) building a ZSL model that learns to classify the image
as a result of mapping these attributes.
3.1</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>Image Feature Extraction</title>
      <p>Every image is stored in a machine in the form of a matrix, where each element
in this matrix holds the image's pixel value. Any mathematical operations on an
image are inherently performed on this matrix.</p>
      <p>
        From image feature extraction, we intend to collect representative data from
the images. Features play a crucial role in the domain of computer vision and
image processing. Keras provides a wide variety of Deep Learning models that
are used for image classi cation, feature extraction, and transfer learning. We
decided to use VGG16 [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] due to its promising results on learning critical
features in images. VGG16 is a convolutional neural network with 16 layers. This
model was proposed by Simonyan and Zisserman [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and the authors report
achieving a 92.7% top-5 test accuracy.
      </p>
      <p>As an aside, we will explain what we mean by `Top-5 accuracy'. If we are
testing our model with an image of `cat' and the model predicts f `lion', `tiger',
`cat', `leopard', `dog' g classes in ascending order of their probabilities then since
the expected class is one among the predicted classes, we consider this as a true
positive instance.
3.2</p>
    </sec>
    <sec id="sec-8">
      <title>Text Feature Extraction</title>
      <p>
        A challenging problem when dealing with text descriptions is to understand the
context. Traditional NLP techniques can fail when context is important. The
second component of our model is to extract features from the text. We have
a total of 200 textual descriptions, one for each class. Most previous work uses
Term Frequency Inverse Document Frequency (TF-IDF) to retrieve the features
from the text. Some researchers also form attributes manually helping the model
to focus on important aspects of the text. TF-IDF is ine cient for capturing
semantics and overlooks the position of text in a document. On the other hand,
manually de ning the attributes makes the model unstable when it encounters
the raw textual descriptions. As a solution, one of the biggest breakthroughs
in understanding the context in the text is ELMo (Embeddings from Language
Models), an NLP state-of-the-art framework introduced by AllenNLP [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
      </p>
      <p>
        ELMo is a deep contextualised word representation that captures the
semantics and context of a word in a sentence [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Word vectors from ELMo
are achieved as a result of the computations carried out on top of a two-layer
bidirectional language model (biLM) where each layer has a forward and
backward pass. This architecture converts a raw text string to word vectors with the
help of a character-level CNN. These word vectors are provided as input to the
rst layer of biLM, the output of which forms intermediate word vectors which
are then fed to the second layer of biLM. ELMo word vectors are the result of
the weighted sum of raw word vectors and the two intermediate word vectors.
Since this architecture works on a character level, and forms the vectors
considering the entire sentence, a word can have di erent word vectors under di erent
contexts [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. TensorFlow Hub is the library enabling us to use ELMo in our
work.
3.3
      </p>
    </sec>
    <sec id="sec-9">
      <title>Building a Zero-Shot Learning Model</title>
      <p>The above retrieved visual feature vectors, and textual feature vectors are fed
into our neural network as input. We form two sets of classes: seen (training) and
unseen (testing or zero-shot). We then form two datasets (seen and zero-shot)
within our code that consist of two attributes (image features, text features) and
one label (class) each.</p>
      <p>One might wonder, if we are not including samples from test classes during
training, how is it possible for our model to predict those classes? This is what
makes Zero-Shot Learning a challenging and interesting area. To build a model,
we have to make sure that both the independent and dependent attributes are
located in the same space. Hence, to achieve this, we explore the relationship
between these attributes with the help of intermediate level semantic vector
representation. This representation is introduced to enable sharing knowledge
and to establish a mapping function between seen and unseen classes. These
semantic representations could be achieved either by semantic attributes or by
semantic word vectors. We will be focusing on semantic word vectors where we
project each class label into semantic space and these projections are then used
as prototypes for our Zero-Shot Learning classes. For simplicity let us call these
semantic word vectors class vectors. To obtain class vectors for each class in our
dataset, we will be using Google's Word2Vec model.</p>
      <p>To summarise, for training classes, we have image features, text features,
training class labels, and training class vectors. However, for testing classes, we
only have their class vectors visible to our model. Note that the model has never
seen any samples from testing classes and only has visibility to their class vectors.
4</p>
      <sec id="sec-9-1">
        <title>Proposed Model</title>
        <p>Since we aim at developing Zero-Shot Learning classi ers, we have to de ne a
training model that learns on mapping our attributes (visual features from the
image and textual features from descriptions) to their class vectors and in turn
to their class labels. In order to achieve this, we use categorical cross entropy as
our loss function. If we consider visual feature vector xi, corresponding textual
feature vector tj and Ii;j as the actual class label in categorical form then the
loss function is computed using the following equation:</p>
        <p>Loss =</p>
        <p>C
X Ii;j log( y^j (xi; tj ))
i=1
where y^j (xi; tj ) is the jth scalar value in the prediction we obtain from our
model. Once we are done training our model, we pop out the last layer so that
we get class vectors as predictions. When a sample from an unseen class is given
to this network, we will be able to obtain a semantic word vector as an output.
Since we know that if a vector is nearer to a certain class vector then the sample
has a higher probability of belonging to that class. By measuring the output
vector's distance to all other class vectors, we will be able to perform classi cation.</p>
        <p>Let x(n1) denote visual feature vector for an image, y(n2) denote textual
feature vector for the corresponding textual description, and l 2 f1; :::; Cg denotes
the class labels, and (n1; n2) represents vector dimensionality, x; y 2 Rd, and C is
the total number of classes we have in our dataset. We split this data into training
and testing with M; N instances respectively, where p 2 lM 62 lN or p 2 lN 62 lM .
Therefore, now we have a training set Dtrain = fxt(rna1i)n; yt(rna2i)n; ltraing and
testing set Dtest = fxt(ens1t); yt(ens2t); ltestg. The model will be trained on a training
set Dtrain and testing set Dtest will not be seen until the model is being tested.
4.1</p>
      </sec>
    </sec>
    <sec id="sec-10">
      <title>Training Model</title>
      <p>We are considering 171 classes for training with 60 images per class. Once we
have visual feature vectors and corresponding textual feature vectors, we feed
both these vectors to our neural network. The network developed consists of 10
hidden layers, one semantic vector space layer with 300 neurons (embedding size)
followed by the output layer with 171 neurons (number of training classes). All
the hidden layers are equipped with `relu' activation and the nal output layer
is with `softmax'. While training the network, the model learns to map both the
feature vectors to corresponding class labels with the help of class vectors in
semantic vector space. So, in turn, it learns to map the feature vectors to their
class vectors. The below illustration explains this clearly. Brewer Blackbird is one
of the training classes and a model with a sample of this class is illustrated above.
As we can see, the image for this class is fed to the VGG16 which yields us an
image feature vector of 1 4096 dimensions. On the other hand, a corresponding
textual document is fed to the ELMo which yields us a textual feature vector
of 1 1024 dimensions. These two feature vectors form attributes of our model
and are fed to train our neural network, the mapping function. Once we nish
training our network, we save the model along with its weights which are used
during testing.
4.2</p>
    </sec>
    <sec id="sec-11">
      <title>Testing Model</title>
      <p>We are considering 25 classes (each with 60 images) for testing our model. When
we say unseen classes, samples belonging to these 25 classes have not been
encountered before. The visual features and textual features of these classes are
very new to the model. The process is like that of training in the beginning.
To perform ZSL, we pop out the nal softmax layer from the training model
discussed above and let the model predict the class vector in the semantic vector
space. Now, our model will predict for any pair of attributes, a class vector of
(1 300 dimensions) in the semantic vector space.</p>
      <p>Semantic Vector Space Mapping: Let us here see how we retrieve the
class label when our model is predicting only the class vector. We make use of
K-dimensional trees, popularly known as KDTrees. KDTrees are de ned as a
binary search tree where data in each node is a K-Dimensional point in space.
We can derive the class labels by providing a query to this tree instance along
with the number of nearest nodes or vectors we intend to consider (here k = 10,
5, 1). These class labels are arranged in increasing order of their distance from
the predicted class vector.</p>
      <sec id="sec-11-1">
        <title>Experimental Settings</title>
        <p>When compared to that of the traditional hand-engineered feature extraction
techniques, CNNs outperforms others by learning the complex and crucial
feature representation from the raw image pixels. The image feature vectors
obtained from the CNNs hold local and spatial information from the pixels of
the image. Therefore, we import the pre-trained VGG16 from Keras models
and by popping the nal sigmoid layer we extract 1 4096 dimension feature
vectors. The optimiser used while training this model is stochastic gradient
descent with a learning rate of 0.1 and loss being categorical cross-entropy. The
hyper-parameters are set to their default values. We load the images using the
Keras load image package and preprocess it before feeding it to the network.
Consider we have N images belong to C classes where label l = f1; ::::; Cg.
8n 2 N; V GG16(n) will obtain a feature vector x(n1), where n1 is the
dimensionality of the vector i.e 1 4096. Now once we extract feature vectors for all
the images, we will be having x(n1).</p>
        <p>N
The features from the textual descriptions are obtained from ELMo using
TensorFlow Hub. We extract the embeddings in the form of a dictionary. To
successfully extract features from the text, we have to clean it and perform
lemmatisation (normalisation) where the text converts each word to their base form.
We provide this preprocessed text as an input to the word embedding instance
(ELMo) which outputs the corresponding feature vector.</p>
        <p>As speci ed, we have 200 classes in our dataset and the textual description
for each of these 200 classes are purely extracted from Wikipedia. Let us assume
that we have M documents where M = C classes with labels l = f1; ::::; Cg.
8m 2 M; ELM o(m) will obtain for us an embedding or textual feature vector
y(n2), where n2 is the dimensionality of the vector i.e 1 1024. Now, once we
extract feature vectors for all the textual documents, we have y(n2).
M
5.3</p>
      </sec>
    </sec>
    <sec id="sec-12">
      <title>ZSL Model</title>
      <p>The above two feature vectors x(n1); y(n2) are the two independent variables or
attributes to our model. In our experimental results, we found that reducing the
dimensionality of the visual feature vector from 1 4096 to 1 1024 increased
the model performance by 5%. This dimension reduction is performed by a
neural network with 3 hidden layers equipped with a `relu' activation function
and a nal `softmax' layer. To avoid the model over tting, we perform batch
normalisation and add dropout layers to the network. We fed this reduced visual
feature vector to the neural network along with textual feature vectors. This
neural network is developed with ve hidden layers, followed by the semantic
vector space layer and then by the nal softmax layer. The hidden layers and
the semantic vector space layer are equipped with a `relu' activation function.</p>
      <p>Let us now explain how we get class vectors for each class label in the semantic
vector space. From our experimental results, we found that Word2Vec establishes
better embeddings when compared to that of GloVe. This is mostly because we
wish to extract embeddings for the scienti c names of the species. Word2Vec
makes it possible for us to have embeddings for 196 of 200 classes so we remove
the classes that it cannot handle. As a result, we have 11547 images belonging
to 196 classes. Word2Vec provides us an embedding of 1 300 dimensions. We
obtain an instance of Word2Vec from gensim models and once we extract the
class vectors from this instance, we save it locally as a numpy le. We load this
numpy le later while mapping the class vectors to the class labels. The nal
layer of the model is responsible for this mapping function. This is achieved with
the help of customised kernel initialisation o ered by Keras. Here we load the
saved numpy le with class labels as keys and class vectors as values. And for
every instance in the training dataset, we return the vector associated with the
class label (key) which makes it possible for our model to learn a mapping of
the semantic vectors to the class labels.
6
6.1</p>
      <sec id="sec-12-1">
        <title>Results and Observations</title>
      </sec>
    </sec>
    <sec id="sec-13">
      <title>Model Evaluation</title>
      <p>
        The evaluation metric we are using is top-k accuracy. According to Ba et
al. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], the best way to evaluate a multi-class classi er is by sorting the nal
prediction score y^c obtained from the model. We deal with Zero-Shot Learning
on top of multi-class classi cation which increases the complexity due to the
much larger prediction space.
      </p>
      <p>Top-10 Accuracy(%) Top-5 Accuracy(%) Top-1 Accuracy(%)</p>
      <p>
        Table 1 illustrates the results achieved by our model for classifying the
samples for both seen and unseen class categories for the Caltech Birds dataset. Seen
samples are tested using the usual machine learning technique of splitting the
data (here belonging to training classes) into training and testing and evaluating
the performance of the model. The above results demonstrate that our approach
of developing a multi-class Zero-Shot Learning classi er can classify the images
belonging to classes it has seen and also to the classes it has never seen before.
Many earlier research approaches use articles from the web to develop a
ZeroShot Learning classi er. One such approach, which gave a noticeable
improvement in zero-shot classi cation is where Ba et al. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] considered deep neural
networks to predict convolutional classi ers. Since this is most relevant to our
work, we wish to discuss the results of this approach. The authors considered
160 seen and 40 unseen classes from the available 200 classes that are randomly
assigned. Ba et al. achieved the highest accuracy for the unseen classes, a
top5 accuracy of 42.8%, and top-1 accuracy of 12%. Also, the author mentions
the performance of the model for seen classes, a top-5 accuracy of 66.8%. The
`training-testing' split for the seen class's evaluation is not reported in the work.
      </p>
      <p>Using the same dataset, we have developed a model using an altogether
di erent approach. We consider a word embedding ELMo for extracting
textual features and pre-trained VGG16, pre-trained on the ImageNet dataset, for
extracting visual feature vectors. Both are then fed to the neural network as
attributes. Our model considers 171 classes as seen and 25 classes as unseen. The
model achieves for unseen classes a top-5 accuracy of 32 0:5% and top-1
accuracy of 19 0:8%. To test the performance of our model for seen classes,
we have considered 70:30 random split in the training dataset (samples from 171
training classes) and, our model could achieve top-5 accuracy of 99 0:5% and
top-1 accuracy of 97 0:5%. Since we were able to nd the optimal weights
for our multi-class classi er, the proposed model performs extremely well while
classifying images belonging to both seen and unseen classes .</p>
      <p>Top-1 accuracy is when the model assigns the highest probability for the
actual class. Since we are able to achieve promising results for the most critical
predictions i.e top-1 accuracy, for the unseen classes and with the fact that the
model is trained on a much smaller dataset, it is evident that the model proposed
in this paper is e cient and achieves promising results.
6.3</p>
    </sec>
    <sec id="sec-14">
      <title>Model Predictions</title>
      <p>Below is a visualisation of the predictions produced by our model. This
visualisation illustrates the top-5 accuracy metric, explained earlier where the leftmost
class in the nearest neighbor labels has the highest similarity score, and this
similarity score decreases to the right. `Marsh Wren', `Ringed King sher', and `Ivory
Gull' all belong to our testing classes i.e. the classes whose samples are never
seen by the model during training. The model performance is satisfactory for the
rst two examples. We can see that the third example is one such instance where
our model is unable to predict the exact class label but the classes which are
chosen by the model under top-5 nearest neighbors belong to the same parent
class (`Gull').
7</p>
      <sec id="sec-14-1">
        <title>Conclusion</title>
        <p>In this paper, we introduce a multi-class Zero-Shot Learning model that learns
to predict the label for images belonging to unseen classes from their Wikipedia
articles. We have developed a deep neural network to establish a mapping
function that maps the textual feature vectors from the raw Wikipedia articles and
visual feature vectors from images to a semantic space with the help of semantic
vectors derived from the class labels. This can also be interpreted as the ability
of the model to intelligently apply the knowledge acquired over training classes
with the help of an objective function.</p>
        <p>We demonstrated that our model outperformed an existing zero-shot model
on the top-1 accuracy metric on the CUBird dataset using only raw images and
Wikipedia articles.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Akanksha</surname>
          </string-name>
          , Krishnan, Paul, N.,
          <string-name>
            <surname>Munjal</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Semantically aligned bias reducing zero shot learning (04</article-title>
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Akata</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Perronnin</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harchaoui</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmid</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Label-embedding for attributebased classi cation</article-title>
          .
          <source>In: 2013 IEEE Conference on Computer Vision and Pattern Recognition</source>
          . pp.
          <volume>819</volume>
          {
          <issue>826</issue>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Ba</surname>
            ,
            <given-names>J.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Swersky</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fidler</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salakhutdinov</surname>
          </string-name>
          , R.:
          <article-title>Predicting deep zero-shot convolutional neural networks using textual descriptions</article-title>
          .
          <source>In: Conference on Computer Vision</source>
          (ICCV). pp.
          <volume>4247</volume>
          {
          <issue>4255</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Carrara</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Esuli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fagni</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Falchi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moreo</surname>
            <given-names>Fernandez</given-names>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Picture it in your mind: Generating high level visual representations from textual descriptions</article-title>
          .
          <source>Information Retrieval Journal (10</source>
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Elhoseiny</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Write a classi er: Zero shot learning using purely textual descriptions (12</article-title>
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Fu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hospedales</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiang</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gong</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Transductive multi-view zero-shot learning</article-title>
          .
          <source>IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          <volume>37</volume>
          (01
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Kodirov</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiang</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gong</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Semantic autoencoder for zero-shot learning</article-title>
          .
          <source>In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)</source>
          . pp.
          <volume>4447</volume>
          {
          <issue>4456</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Min</surname>
            ,
            <given-names>M.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Rethinking zero-shot learning: A conditional visual classi cation perspective</article-title>
          .
          <source>In: Conference on Computer Vision</source>
          (ICCV). pp.
          <volume>3582</volume>
          {
          <issue>3591</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Otto</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Springstein</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Anand</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ewerth</surname>
          </string-name>
          , R.:
          <article-title>Understanding, categorizing and predicting semantic image-text relations</article-title>
          .
          <source>Proceedings of the 2019 on International Conference on Multimedia Retrieval</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Pan</surname>
            ,
            <given-names>S.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          :
          <article-title>A survey on transfer learning</article-title>
          .
          <source>IEEE Transactions on Knowledge and Data Engineering</source>
          <volume>22</volume>
          (
          <issue>10</issue>
          ),
          <volume>1345</volume>
          {
          <fpage>1359</fpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Peters</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Neumann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Iyyer</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gardner</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Clark</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zettlemoyer</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Deep contextualized word representations (02</article-title>
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12. Prateek: ELMoArchitecture. https://www.analyticsvidhya.com/blog/2019/03/ learn-to
          <article-title>-use-elmo-to-extract-features-from-text/ (</article-title>
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Qiao</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , Liu,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Van Den Hengel</surname>
          </string-name>
          , A.:
          <article-title>Less is more: Zero-shot learning from online textual documents with noise suppression</article-title>
          .
          <source>In: Computer Vision and Pattern Recognition (CVPR)</source>
          . pp.
          <volume>2249</volume>
          {
          <issue>2257</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Simonyan</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zisserman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Very deep convolutional networks for large-scale image recognition</article-title>
          .
          <source>arXiv 1409</source>
          .
          <volume>1556</volume>
          (
          <issue>09</issue>
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          , Zhang, Y.,
          <string-name>
            <surname>sheng Yu</surname>
            ,
            <given-names>X.:</given-names>
          </string-name>
          <article-title>An overview of image caption generation methods</article-title>
          .
          <source>Computational intelligence and neuroscience</source>
          p.
          <volume>3062706</volume>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Markert</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Everingham</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Learning models for object recognition from natural language descriptions (01</article-title>
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Welinder</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Branson</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mita</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wah</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schro</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Belongie</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Perona</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Caltech-UCSD Birds 200</article-title>
          .
          <source>Tech. Rep. CNS-TR-2010-001</source>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>