<!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>An application of Residual Network and Faster - RCNN for Medico: Multimedia Task at MediaEval 2018</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Trung-Hieu Hoang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hai-Dang Nguyen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Thanh-An Nguyen</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vinh-Tiep Nguyen</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Minh-Triet Tran</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Eurecom</institution>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Faculty of Information Technology, University of Science</institution>
          ,
          <addr-line>VNU-HCM</addr-line>
          ,
          <country country="VN">Vietnam</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Information Technology</institution>
          ,
          <addr-line>VNU-HCM</addr-line>
          ,
          <country country="VN">Vietnam</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>29</fpage>
      <lpage>31</lpage>
      <abstract>
        <p>The Medico: Multimedia Task focuses on developing an eficient framework for predicting and classifying abnormalities in endoscopic images of gastrointestinal (GI) tract. We present the HCMUS Team's approach, which employs a combination of Residual Neural Network and Faster R - CNN model to classify endoscopic images. We submit multiple runs with diferent modifications of the parameters in our combined model. Our methods show potential results through experiments.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        Medico: Multimedia Task at MediaEval 2018 challenge [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] aims to
bring new achievements in computer vision, image processing and
machine learning to the next level of computer and multimedia
assisted diagnosis. The goal of the challenge is to predict
abnormalities and diseases in an eficient way with as less training data as
possible [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The task organizers also provide a priority list for the
classes in other to accommodate with the single-class classification
challenge. Thus, this leads to some modifications of our model,
which are meticulously described in section 3.
      </p>
      <p>
        In our approach, we introduce a stacked model consisting of two
deep networks, a Residual Neural Network (Resnet) [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] followed
by a Faster Region-based Convolutional Neural Network (Faster
R-CNN) [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Since Resnet mostly focuses on deep global features of
image, it fails to classify images that symptoms of abnormal diseases
or instruments appear as small objects on diversity backgrounds.
Therefore, this is the reason of using Faster R-CNN to re-classify
the images of some classes that Resnet usually mis-classify.
      </p>
    </sec>
    <sec id="sec-2">
      <title>RELATED WORK</title>
      <p>
        In the field of medical image processing, deep neural networks have
been used in order to solve several problems related to endoscopic
images of the gastrointestinal (GI) tract. Particularly, to localize and
identify polyps within real-time constraint, deep CNNs has recently
shown an impressive potential when achieving up to 96.4% accuracy
- published in 2018 by Urban G et al. [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Another interesting article
of Satoki Shichijo et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] also applies multiple deep CNNs to
diagnose Helicobacter pylori gastritis based on endoscopic images.
Further, gastrointestinal bleeding detection using deep CNNs on
endoscopic images has been successfully done and published by
Xiao Jia et al. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
3.1
      </p>
    </sec>
    <sec id="sec-3">
      <title>APPROACH</title>
      <p>Dataset Preparation
3.1.1 Disease region localization. In order for the Faster R-CNN
model to be trained, objects in the image have to be tagged with
bounding boxes and passed to the model as input. We annotate
the signal of disease in all images of the following classes:
dyedresection-margins, dyed-lifted-polyps, instruments and polyps.</p>
      <p>3.1.2 Re-labeling Medico development dataset. After training
with the development set, we find some training samples with
inappropriate labels according to the priority list. Therefore, in
order for our model to learn with the least confusing, we apply the
new labels, predicted by the trained model, to these images.</p>
      <p>3.1.3 Instruments dataset augmentation. Instruments - the
second highest priority class has only 36 images with the limitation of
background context in the development set. In order to maintain
the balancing between all of the classes and also improve the
diversity of the instruments images, we generate more images for the
instruments based on the current given development set by placing
the instruments on the foreground of other diseases backgrounds.</p>
      <p>Among the 36 instruments images, we carefully select 24 of them
and crop the instruments along their edges. Then, we randomly
select 20% of the images from dyed-lifted-polyps,
dyed-resectionmargins, ulcerative-colitis classes, and use them as the background
of the cropped instruments. By applying this method, we are able
to generate more than 800 images for the instruments class.
3.2</p>
    </sec>
    <sec id="sec-4">
      <title>Method</title>
      <p>
        3.2.1 Fine-tuning deep neural network for medical images. In
our approach, both Residual Network with 101 layers and Faster
R-CNN [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] (both pre-trained on ImageNet) are fine-tuned by using
our modified development dataset. In term of using convolution
neural network for medical images, knowledge transferring from
natural images to medical images is possible, even though there
is a large diference between the source and target databases. It is
especially useful in the case of small dataset of images provided [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
Our experiment results also support this idea. Fine-tuning on the
ImageNet pre-trained model significantly improves the eficient of
classification model.
      </p>
      <p>3.2.2 First run. Residual network with 101 layers model are
ifne-tuned on the original development set provided by the task
organizers along with our instruments increased dataset. After passed
through Resnet101, output images classified as special classes
become the input of Faster R-CNN network, which is trained for
detecting instruments in images.
• First case: Images predicted as instruments by Resnet101
are double-checked. In case instruments are not detected
by Faster R-CNN in those images, they are re-labeled as the
class of their second highest score proposed by Resnet101.
• Second case: Images predicted as dyed-lifted-polyps,
dyedresection-margins, ulcerative colitis by Resnet101 are fed
forward through Faster R-CNN network to detect
instruments. They are classified as instruments if detected or
keep the original prediction otherwise.</p>
      <p>3.2.3 Second run. Feeding forward a large number of images in
the three classes through Faster R-CNN causes a bottle-neck of
inference time, as Faster R-CNN has high time complexity. Therefore,
in this second run, we limited the images passed through Faster
R-CNN by only performing the first case of the first run.</p>
      <p>3.2.4 Third run. The configuration of the third run is as same as
the second run. Instead of using the original training set mentioned
in the first run, we train our model on the re-labeled development
set combined with the augmented instrument set.</p>
      <p>3.2.5 Forth run. In this run, we reduce the number of images
used for training by selecting randomly 75% images of each class in
the same training set as the third run. Other processing steps are
also configured in the same way.</p>
      <p>3.2.6 Fifth run. Throughout our experiments, normal-z-line and
esophagitis are the top most confusing classes not only for Resnet101
but also for human to distinguish them. In the priority list,
esophagitis has a higher rank than normal-z-line’s. Thus, after several times
evaluating our model on the development dataset, we propose a
condition for these two classes when they are predicted by Resnet101.
As Resnet101 provides a probability distribution over the 16 classes
for each image, whenever the normal-z-line appears to be the
highest class, we add a small bias 0.3 to the probability of the esophagitis.
Hence, the model is more likely to emit the esophagitis class. This
intuitively means that our model prefers esophagitis to normal-z-line
when it is confused between these classes.</p>
    </sec>
    <sec id="sec-5">
      <title>4 RESULTS</title>
      <p>Table 1: Oficial evaluation result for both sub-tasks
(provided by the organizers) and speed (fps) on Tesla K80 GPU
RunID
Run01
Run02
Run03
Run04
Run05</p>
      <p>PREC
94.245
93.959
94.600
93.043
94.508</p>
      <p>REC
94.245
93.959
94.600
93.043
94.508</p>
      <p>ACC
99.281
99.245
99.325
99.130
99.314
There is a trade-of between speed and accuracy when comparing
the result of Run01 and Run02. In Run02, we reduce a large number
of images passing through Faster R-CNN for the sake of time, so
its performance seems to be relatively worse than Run01’s.</p>
      <p>As we mentioned earlier in section 3, data pre-processing takes
an important role in building a deep-neural network model. Through
our experiments, in the case of less training data, the augmented
dataset helps us improve the performance of deep-neural network
model. Run03 and Run05 show impressive results comparing to
the first two runs. This implies that training on our re-labeled
development set provides better models.</p>
      <p>On the other hand, using the Residual neural network cannot
classify eficiently the two classes esophagitis and normal-z-line.
The same problem also occurs between the dyed-resection-margins
and dyed-lifted-polyps classes. It can be observed in the confusion
matrices of the two pairs (Figure 1). Therefore, these are the two
main reasons which mainly bring negative impact to our results.</p>
      <p>Additionally, as we mentioned in section 3, the configuration of
Run05 intuitively prefers esophagitis to normal-z-line, which may
leads to an increasing of the false-positive cases in the result.</p>
      <p>By comparison to the others, Run04 has the lowest precision
since it uses 75% of training data. Decreasing the amount of training
samples of course afects the performance in deep-learning models.
Nevertheless, the result is still acceptable when it decreases only a
few percentages and its configuration is as same as Run03. This is
an evidence that we are even able to reduce up to 50% of data when
the less training time is preferred over the accuracy.
5</p>
    </sec>
    <sec id="sec-6">
      <title>CONCLUSION AND FUTURE WORKS</title>
      <p>Medico image classification is a challenging problem because of the
ifne-grained images, less training data and require high accuracy.
In our current approach, we focus on training a combination of
Residual Neural Network and Faster R-CNN with diferent
modifications of the training set. Additionally, object detection method
is applied to detect small symptoms of diseases, which are useful
evidences for the classification task. Accuracy and inference time
that we reach is acceptable and appropriate for real-time constraint.
However, for future works, we need a more robust approach to
exploit the distinction between easy-confused classes, e.g, esophgitis
and normal-z-line, or dyed-lifted-polyps and dyed-resection-margins.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Xinlei</given-names>
            <surname>Chen</surname>
          </string-name>
          and
          <string-name>
            <given-names>Abhinav</given-names>
            <surname>Gupta</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>An Implementation of Faster RCNN with Study for Region Sampling</article-title>
          .
          <source>arXiv preprint arXiv:1702.02138</source>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Kaiming</given-names>
            <surname>He</surname>
          </string-name>
          , Xiangyu Zhang, Shaoqing Ren, and
          <string-name>
            <given-names>Jian</given-names>
            <surname>Sun</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Deep Residual Learning for Image Recognition</article-title>
          .
          <source>2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (Jun</source>
          <year>2016</year>
          ). https: //doi.org/10.1109/cvpr.
          <year>2016</year>
          .90
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Xiao</given-names>
            <surname>Jia and Max Q.-H. Meng</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>A deep convolutional neural network for bleeding detection in Wireless Capsule Endoscopy images</article-title>
          .
          <source>2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)</source>
          (
          <year>2016</year>
          ). https://doi.org/10.1109/ embc.
          <year>2016</year>
          .7590783
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>PËŽal</given-names>
            <surname>Halvorsen Thomas de Lange Kristin Ranheim Randel Duc-Tien Dang-Nguyen Mathias Lux Olga Ostroukhova Konstantin Pogorelov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Michael</given-names>
            <surname>Riegler</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Medico Multimedia Task at MediaEval 2018</article-title>
          . Media Eval'
          <year>2018</year>
          (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Konstantin</given-names>
            <surname>Pogorelov</surname>
          </string-name>
          , Kristin Ranheim Randel, Carsten Griwodz, Sigrun Losada Eskeland, Thomas de Lange, Dag Johansen, Concetto Spampinato,
          <string-name>
            <surname>Duc-Tien</surname>
            Dang-Nguyen, Mathias Lux, Peter Thelin Schmidt,
            <given-names>Michael</given-names>
          </string-name>
          <string-name>
            <surname>Riegler</surname>
            , and
            <given-names>Pål</given-names>
          </string-name>
          <string-name>
            <surname>Halvorsen</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>KVASIR: A Multi-Class Image Dataset for Computer Aided Gastrointestinal Disease Detection</article-title>
          .
          <source>In Proceedings of the 8th ACM on Multimedia Systems Conference (MMSys'17)</source>
          . ACM, New York, NY, USA,
          <fpage>164</fpage>
          -
          <lpage>169</lpage>
          . https://doi.org/10.1145/3083187.3083212
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Adnan</given-names>
            <surname>Qayyum</surname>
          </string-name>
          , Syed Anwar, Muhammad Majid, Muhammad Awais, and
          <string-name>
            <given-names>Majdi</given-names>
            <surname>Alnowami</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Medical Image Analysis using Convolutional Neural Networks: A Review</article-title>
          .
          <volume>42</volume>
          (
          <issue>09</issue>
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Shaoqing</given-names>
            <surname>Ren</surname>
          </string-name>
          , Kaiming He,
          <string-name>
            <surname>Ross Girshick</surname>
            , and
            <given-names>Jian</given-names>
          </string-name>
          <string-name>
            <surname>Sun</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <string-name>
            <surname>Faster</surname>
            <given-names>R-CNN</given-names>
          </string-name>
          :
          <article-title>Towards Real-Time Object Detection with Region Proposal Networks</article-title>
          .
          <source>In Advances in Neural Information Processing Systems</source>
          28,
          <string-name>
            <given-names>C.</given-names>
            <surname>Cortes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. D.</given-names>
            <surname>Lawrence</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. D.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sugiyama</surname>
          </string-name>
          , and R. Garnett (Eds.). Curran Associates, Inc.,
          <fpage>91</fpage>
          -
          <lpage>99</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Aoyama</given-names>
            <surname>Kazuharu Nishikawa Yoshitaka Miura Motoi Shinagawa Takahide Takiyama Hirotoshi Tanimoto Tetsuya Ishihara Soichiro Matsuo Keigo Tada Tomohiro Shichijo Satoki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Nomura</given-names>
            <surname>Shuhei</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Application of Convolutional Neural Networks in the Diagnosis of Helicobacter pylori Infection Based on Endoscopic Images</article-title>
          .
          <source>EBioMedicine</source>
          <volume>25</volume>
          (
          <issue>01 Nov 2017</issue>
          ),
          <fpage>106</fpage>
          -
          <lpage>111</lpage>
          . https://doi.org/10.1016/j.ebiom.
          <year>2017</year>
          .
          <volume>10</volume>
          .014
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Gregor</given-names>
            <surname>Urban</surname>
          </string-name>
          , Priyam Tripathi, Talal Alkayali, Mohit Mittal, Farid Jalali,
          <string-name>
            <given-names>William</given-names>
            <surname>Karnes</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Pierre</given-names>
            <surname>Baldi</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Deep Learning Localizes and Identifies Polyps in Real Time With 96% Accuracy in Screening Colonoscopy</article-title>
          .
          <source>Gastroenterology</source>
          <volume>155</volume>
          ,
          <issue>4</issue>
          (
          <year>2018</year>
          ). https://doi.org/10.1053/j. gastro.
          <year>2018</year>
          .
          <volume>06</volume>
          .037
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>