<!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>HARENDRAKV at VQA-Med 2020: Sequential VQA with Attention for Medical Visual Question Answering</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Harendra K. Verma</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sindhu Ramachandran S.</string-name>
          <email>sindhu.ramachandran@quest-global.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Quest Global</institution>
          ,
          <addr-line>Trivandram. Kerala</addr-line>
          ,
          <country country="IN">India</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Vadict Innovations Pvt. Ltd.</institution>
          ,
          <addr-line>Vadodara, Gujarat</addr-line>
          ,
          <country country="IN">India</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper describes our approach for Medical Visual Question Answering (VQA-Med 2020) Task of ImageCLEF 2020. We used an encoder-decoder architecture for generating answers given the question and image. The encoder takes two inputs: the first is a feature vectors of image obtained from VGG16, and the second is a vector representation for each question using BERT. The question features are self-attended to get attention features. The question attention features, and image features are fused using multi-modal factorized bilinear pooling (MFB). The fused features are further self-attended to get fuse attention features. The thought vectors are obtained by concatenation of fuse attention and encoder LSTM hidden states. The decoder generates answer word by word for the input question and the image. The decoder consists of LSTM layer, Bahdanau Attention, and dense layer of answer vocabulary size with SoftMax. The answers are embedded using GLOVE word vectors before being passed to the decoder LSTM. Our best model achieves 37.8% accuracy and BLEU score of 0.439.</p>
      </abstract>
      <kwd-group>
        <kwd>Visual Question Answering</kwd>
        <kwd>Sequential VQA Model</kwd>
        <kwd>Attention</kwd>
        <kwd>Radiology</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Visual question answering requires understanding of Computer Vision and NLP
simultaneously. VQA has gained lot of attention from academicians and researchers
due to introduction of new language models like BERT, new feature fusion techniques
based on bilinear pooling and attention mechanisms. The recent advancements in
artificial intelligence have encouraged the healthcare sector in storing large number of
health records electronically. VQA can be used for automatic interpretation of
radiology images, thereby helping make clinical decisions</p>
      <p>
        In this paper, we present our method to build a deep learning model for ImageCLEF
VQA-Med 2020 Task [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. ImageCLEF conducts many tasks related to multimedia
retrieval in many domains such as medicine, security, lifelogging, and nature [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Our
model is based on encoder-decoder system where encoder takes question and radiology
image as input and decoder generates the answer word by word. The Image and
question features were extracted using pre-trained VGG16 and 12-Layer BERT Language
model respectively. The extracted features for image and questions were fused using
Multi-Modal Factorized Bilinear Pooling.
      </p>
      <p>This paper is organized in the following manner: Section 2 provides a brief
information regarding similar works done on VQA-Med which inspired our work. Section
3 presents a brief description of dataset used. Section 4 describes our model architecture
based on encoder-decoder system. Section 5 describes our model evaluation and results
achieved on test set. Section 6 presents conclusions and future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Dataset Description</title>
      <p>
        The dataset used here is VQA-Med-VQA 2020 [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] used in ImageCLEF
VQA-MedVQA competition 2020.
      </p>
      <p>The training set: 4,000 radiology images with 4,000 associated
QuestionAnswer (QA) pairs.</p>
      <p>The validation set: 500 radiology images with 500 QA pairs.</p>
      <p>The VQA test set: 500 radiology images with 500 associated questions.
Additional data for training was used from abnormality section of VQA-Med 2019 dataset
which constitutes 3817 images and 3817 Question-Answer (QA) pairs.</p>
      <p>Fig 1 shows few examples of questions and answers from dataset.</p>
      <p>Fig 1 Examples from VQA-Med-2020 dataset</p>
    </sec>
    <sec id="sec-3">
      <title>Related Work</title>
      <p>In past few years, many interesting approaches are reported on VQA and most of
these approaches consider VQA as a classification problem. However, the generative
models are the only better options if the answers are long. In particular, the best
performing VQA models reported in VQA-Med 2019 task were classification based [3,4,5
and 6].</p>
      <p>
        In this paper, we aim to explain our generative approach for VQA on the VQA-Med
2020 task. We have used VGG16 [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] for image feature extraction and 12-Layer
BERTBase [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] for question features extraction. The answers are decoded using 300d GLOVE
[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] Word Embeddings. The glimpse attention mechanism is employed to get question
image fuse self-attention while Bahdanau Attention [10] is used for decoder.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Model Description</title>
      <p>Fig 2 Model Structure</p>
      <p>Fig 2 shows the proposed model based on encoder-decoder system. Different parts
of this model are described in the following paragraphs.</p>
      <p>
        The encoder has two main components. The first component is a Pretrained
VGG16 [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] network which takes the radiology image as input and extracts feature
vectors, while the second component is a Pretrained BERT [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] language model which
encodes the question text into a vector representation. The output from encoder are
thought vectors and encoder LSTM sequence. The input to the encoder LSTM is
obtained by concatenation of question image fuse attention and question feature vectors
from BERT.
      </p>
      <p>The decoder consists of LSTM network and attention network that takes the
thought vector as initial state and encoder LSTM sequence output and try to predict the
answer word by word.
4.1</p>
      <sec id="sec-4-1">
        <title>Encoder</title>
      </sec>
      <sec id="sec-4-2">
        <title>Image Feature Extraction</title>
        <p>The encoder takes image and the question as input and returns thought vectors and
sequence output.</p>
        <p>The image features are extracted using VGG16 Pretrained model from last
pooling layer with size of 7*7*512. This image feature vector is then passed to the MLP
block having two fully connected layers with 2048 and 768 hidden nodes respectively
along with dropout. The main purpose of this MLP block is to decrease the feature
vector dimension to half of the LSTM output vectors.</p>
      </sec>
      <sec id="sec-4-3">
        <title>Question Feature Extraction</title>
        <p>The semantic meanings of the questions are extracted using 12-layer, 768 hidden
BERT Pretrained model. For each question, we will get a feature vector of size t*768,
where t is the max sequence length of the question.</p>
      </sec>
      <sec id="sec-4-4">
        <title>Question Image Fuse Attention</title>
        <p>It has been reported that the attention mechanism allows the VQA models to
effectively learn which regions of the image are important for given question. It’s
always better to employ an effective attention mechanism to improve the performance
of VQA models. Our model uses question image fuse attention based on glimpse
attention networks. We have used two glimpses each for question and image as an
optimal choice based on Fukui et. al. 2016 [11].</p>
        <p>For question self-attention, the output from Pretrained BERT (t*768) is passed to
question attention layer giving output attention feature vector of size 768. The image
features from MLP block (1*768) and question attention features are fused using
multimodal bilinear factorize pooling (MFB) [12] giving an output vector of size
1*768. Finally, the MFB output is passed to image attention layer with two glimpses
giving an output of size 1*768.</p>
      </sec>
      <sec id="sec-4-5">
        <title>Encoder LSTM</title>
        <p>Long Short-Term Memory networks or LSTM are a special type of RNN that are
designed to avoid long range dependency problem of vanilla RNN networks. The
LSTM cell carries an extra memory state (other than hidden state h) to store the context
information. An LSTM has three different gates (i.e. Input gate, forget gate and output
gate) which decide flow of information across time steps.</p>
        <p>At each time step, LSTM cell has three inputs viz. current word (xt), previous
hidden state (ht-1) and previous memory state (ct-1), and three outputs viz. output hidden
state (ht), output memory state (ct) and encoded sequence.</p>
        <p>In our model, the input to encoder LSTM are obtained by concatenation of
question features extracted from BERT and tiled fuse attention from MFB. The Encoder
LSTM has hidden nodes of 768. The outputs are hidden state h (768), memory state c
(768) and encoded sequence of size t*768.
4.2</p>
      </sec>
      <sec id="sec-4-6">
        <title>Decoder</title>
        <p>
          The decoder generates answer word by word for the input question and the image.
The decoder consists of LSTM layer, Bahdanau Attention Layer and dense layer of
answer vocabulary size with SoftMax. The answers are embedded using GLOVE [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]
word vectors before being passed to the decoder LSTM.
        </p>
        <p>At first time step, decoder takes four inputs viz. the start of sequence &lt;SOS&gt;,
hidden state of the encoder, memory state of encoder and encoder sequence output. The
output will be the first word of the answer which is obtained with highest probability
using SoftMax layer. This word will be the input to LSTM at second time step to predict
the next word of the answer. This process keeps on going until the decoder predicts end
of sequence &lt;EOS&gt; token.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Experiments and Results</title>
      <p>
        A total of 5 runs were submitted to ImageCLEF VQA-Med-VQA 2020. The
training was done on NVIDIA GeForce 940 MX GPU Device. The CUDA
implementation of LSTM was employed from Tensorflow 2.0. Evaluation of the model
was conducted using two different metrics: BLEU and Strict Accuracy, based on
VQAMed-VQA 2020 competition [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. There are few pre-processing steps applied on each
answer before running the evaluation metrics: lower-case, remove all punctuations and
remove stopwords using NLTK. Table 1 shows model description and their accuracy
scores of all the runs submitted.
      </p>
      <p>There are two main models: model1 has hidden size of 1024 with approx. size of
36M and model2 with hidden size of 768 and approx. size of 26M. Model1 is trained
with Adam optimizer while model2 is trained with RMSprop optimizer. Experiments
were also done with different dropouts.
6</p>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>In this paper we describe the model we submitted in ImageCLEF 2020
VQAMed-VQA task. Our proposed model VGG+BERT+MFB+GLOVE employs an
encoder-decoder architecture with an advanced feature fusion technique MFB with
question image fuse attention. The image and question features were extracted using
VGG16 and BERT Base networks respectively. The answers were encoded using
GLOVE word embeddings. Our model achieved the accuracy of 37.8% and BLEU
score of 0.439 on the test set.
7
10. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by
jointly learning to align and translate. In ICLR, 2015.
11. A. Fukui, D. H. Park, D. Yang, A. Rohrbach, T. Darrell, and M. Rohrbach. Multimodal
compact bilinear pooling for visual question answering and visual grounding. arXiv preprint
arXiv:1606.01847, 2016. 2, 3, 4, 5, 6, 7, 8
12. Zhou Yu, Jun Yu, Jianping Fan, and Dacheng Tao. Multi-modal factorized bilinear pooling
with co-attention learning for visual question answering. In 2017 IEEE International
Conference on Computer Vision (ICCV), pages 1839{1848, 2017.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Ben</given-names>
            <surname>Abacha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.A.</given-names>
            ,
            <surname>Datla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Hasan</surname>
          </string-name>
          , Demner-Fushman,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Muller</surname>
          </string-name>
          , H.:
          <article-title>Overview of the VQA-Med Task at ImageCLEF 2020: Visual Question Answering and Generation in the Medical Domain</article-title>
          .
          <source>In: CLEF 2020 Working Notes. CEUR Workshop Proceedings</source>
          , CEURWS.org &lt;http://ceur-ws.
          <source>org&gt;</source>
          , Thessaloniki,
          <source>Greece (September</source>
          <volume>22</volume>
          -25
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Ionescu</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Muller</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peteri</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abacha</surname>
            ,
            <given-names>A.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Datla</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hasan</surname>
            ,
            <given-names>S.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Demner-Fushman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kozlovski</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liauchuk</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cid</surname>
            ,
            <given-names>Y.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kovalev</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pelka</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Friedrich</surname>
            ,
            <given-names>C.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Herrera</surname>
            ,
            <given-names>A.G.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ninh</surname>
            ,
            <given-names>V. T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tu-Khiem</surname>
            <given-names>Le</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhou</surname>
            ,
            <given-names>L</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Piras</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Riegler</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Halvorsen</surname>
            ,
            <given-names>P. I</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>M. T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lux</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gurrin</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dang-Nguyen</surname>
            ,
            <given-names>D.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chamberlain</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Clark</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Campello</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fichou</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Berari</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brie</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dogariu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stephan</surname>
            ,
            <given-names>L. D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Constantin</surname>
          </string-name>
          , M. G.:
          <article-title>{Overview of the ImageCLEF 2020}: Multimedia Retrieval in Lifelogging, Medical, Nature, and Internet Applications</article-title>
          . In:
          <article-title>Experimental IR Meets Multilinguality, Multimodality, and Interaction</article-title>
          .
          <source>Proceedings of the 11th International Conference of the CLEF Association (CLEF</source>
          <year>2020</year>
          ),
          <source>LNCS Lecture Notes in Computer Science</source>
          , Springer, Thessaloniki,
          <source>Greece (September</source>
          <volume>22</volume>
          -25
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Yan</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xie</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gu</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Zhejiang university at imageclef 2019 visual question answering in the medical domain</article-title>
          .
          <source>In: Working Notes of CLEF</source>
          <year>2019</year>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Vu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sznitman</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nyholm</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lfstedt</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Ensemble of streamlined bilinear visual question answering models for the imageclef 2019 challenge in the medical domain</article-title>
          .
          <source>In: Working Notes of CLEF</source>
          <year>2019</year>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Zhou</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kang</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ren</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Tua1 at imageclef 2019 vqa-med: A classication and generation model based on transfer learning</article-title>
          .
          <source>In: Working Notes of CLEF</source>
          <year>2019</year>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Shi</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosen</surname>
            ,
            <given-names>M.P.</given-names>
          </string-name>
          :
          <article-title>Deep multimodal learning for medical visual question answering</article-title>
          .
          <source>In: Working Notes of CLEF</source>
          <year>2019</year>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Karen</given-names>
            <surname>Simonyan</surname>
          </string-name>
          and
          <string-name>
            <given-names>Andrew</given-names>
            <surname>Zisserman</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Very deep convolutional networks for largescale image recognition</article-title>
          .
          <source>In Proceedings of the International Conference on Learning Representations (ICLR)</source>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Ashish</given-names>
            <surname>Vaswani</surname>
          </string-name>
          , Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones,
          <string-name>
            <given-names>Aidan N.</given-names>
            <surname>Gomez</surname>
          </string-name>
          , Lukasz Kaiser, and
          <string-name>
            <given-names>Illia</given-names>
            <surname>Polosukhin</surname>
          </string-name>
          .
          <article-title>Attention is all you need</article-title>
          .
          <source>neural information processing systems</source>
          , pages
          <volume>5998</volume>
          {
          <fpage>6008</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>J.</given-names>
            <surname>Pennington</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Socher</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C. D.</given-names>
            <surname>Manning</surname>
          </string-name>
          . Glove:
          <article-title>Global vectors for word representation</article-title>
          .
          <source>In EMNLP</source>
          , volume
          <volume>14</volume>
          , pages
          <fpage>1532</fpage>
          -
          <lpage>1543</lpage>
          ,
          <year>2014</year>
          . 7
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>