=Paper= {{Paper |id=Vol-2400/paper-46 |storemode=property |title=Multiple Instance Learning Algorithm for Medical Image Classification |pdfUrl=https://ceur-ws.org/Vol-2400/paper-46.pdf |volume=Vol-2400 |authors=Annabella Astorino,Antonio Fuduli,Manlio Gaudioso,Eugenio Vocaturo |dblpUrl=https://dblp.org/rec/conf/sebd/AstorinoFGV19 }} ==Multiple Instance Learning Algorithm for Medical Image Classification== https://ceur-ws.org/Vol-2400/paper-46.pdf
  Multiple Instance Learning algorithm for medical image
                       classification
                                                 (Discussion Paper)


          Annabella Astorino1 [0000-0002-3439-180X], Antonio Fuduli2 [0000-0002-1657-0257],
         Manlio Gaudioso3[0000-0002-3022-7041] and Eugenio Vocaturo3[0000-0001-7457-7118]
                          1ICAR-CNR National Research Council, Rende, Italy

                                annabella.astorino@icar.cnr.it

                           2Department of Mathematics and Computer Science,

                                      University of Calabria, Rende, Italy
                                      antonio.fuduli@unical.it

       3DIMES - Department of Computer Engineering, Modelling, Electronic and System

                               University of Calabria, Rende, Italy
                        {gaudioso, e.vocaturo}@dimes.unical.it



          Abstract. After an overview on most relevant methods for image classification,
          we focus on a recently proposed Multiple Instance Learning (MIL) approach,
          suitable for image processing applications and based on a mixed integer nonlinear
          optimization problem. In particular, the algorithm has been preliminarily applied
          to a set of color images, with the aim to identify images containing some specific
          color pattern, and successively to a medical dataset, containing photos of mela-
          noma and common nevi. Since the results appear promising, this technique could
          be at the basis of computer vision systems that act as a filter mechanism to sup-
          port physicians in detecting melanomas cancer.

          Keywords: Image Classification, Multiple Instance Learning, Lagrangian Re-
          laxation.


1         Introduction
Nowadays, continuous development of digital technologies and ICT solutions implies
a great availability of digital images in various fields, such as scientific, medical and
industrial. Use of this information requires navigation, searching, indexing, classifica-
tion and retrieval. Image classification is aimed at classifying images according to their
visual contents: a particular application is in the medical field, where medical images
classification can support the diagnosis of some diseases.
Interesting algorithms to evaluate image similarities have been proposed in [9, 13]: they
work by extracting first the features vectors from the image and then by using the vector
distances as a measure of similarity. Since these methods, based on object recognition
techniques, are sensitive to the noise and do not satisfactorily work when there are no
_____________________________________________________________________
Copyright Β© 2019 for the individual papers by the papers’ authors. Copying permitted for private and academic purposes.
This volume is published and copyrighted by its editors. SEBD 2019, June 16-19, 2019, Castiglione della Pescaia, Italy.
distinct objects in the images, De Bonet and Viola [8] proposed an algorithm that works
well with natural scenes and single object test sets. Ravela et al. [16] proposed a method
to evaluate the similarity by means a correlation measure: the application of this system
involves a collection of regions of interest, but possible limitations are connected to the
difficulties in identifying such regions. A General Image Retrieval (GIR) model that
calculates the similarities between query image and the images in the image database
was proposed in [11], while R. da Silva Torres et al. [19] released an interesting over-
view on content based image retrieval and its applications on digital libraries, crime
prevention, medicine, fingerprint identification and biodiversity information systems.
P.N. Shinde and A.A. Manjrekar [17] proposed different schemes to check similarity
between two images: the images are classified, re-ranked and retrieved using an algo-
rithm based on score histogram computation.
In this paper, we face image classification by means of a Multiple Instance Learning
approach [1, 6] based on a Lagrangian relaxation technique [3]. Multiple instance learn-
ing (MIL) is a recent paradigm of machine learning that performs well in the context of
medical images and video analysis [15]. Manual segmentation, typically needed in the
training phase, is no more necessary since the supervision is based on global labels,
unlike traditional single-instance learning algorithms. The paper is organized as fol-
lows. In the next section, we recall the main concepts at the basis of the Multiple In-
stance Learning paradigm, focusing on the binary case. In Section 3, we shortly de-
scribe the algorithm proposed in [3], while in Section 4 we report some preliminary
numerical results performed on the classification of some artificial color images and on
a data set of dermoscopic images. Finally, some conclusions are drawn in Section 5.


2      Multiple Instance Learning
The objective of the Multiple Instance Learning (MIL) is to discriminate among sets of
points: the sets to be classified are called bags, while the points inside the bags are
named instances. In the image classification, an image is represented by a bag, whereas
the sub-regions forming the images are the instances. In a MIL problem, during the
learning phase only the labels of the bags are known, whereas the labels of the instances
are unknown. This is different from a classical supervised classification approach,
where the label of each point is known. In this work, we focus on the binary MIL clas-
sification, whose objective is to discriminate between positive and negative images.
Two different approaches are mainly possible: one is in the instance-space and the other
one is in the bag-space. In the instance-space, the learning process looks only at the
characteristics of each individual instance, without considering the more global char-
acteristics of the entire bag. Vice-versa, in the bag-space case, the learning phase is
more global, because each bag is treated as a whole entity: the classification consists in
separating directly the positive bags from the negative ones. There exists also a com-
promise between these two approaches. It consists in representing each bag by means
of some of its instances containing maximal similarities and it is referred as the embed-
ding-space approach [6]. An important issue in binary MIL problems is to specify what
a positive bag is. The standard assumption is that a bag is negative if all its instances
are negative and positive whenever at least one instance is positive: as a consequence,
under such an assumption, only the labels of the instances inside the positive bags are
to be predicted. An extensive survey on classification of medical images by means of
MIL techniques is reported in [15]. The proposed classification method, described in
the next section, is a heuristic optimization algorithm [3] based on the SVM (Support
Vector Machine) type model introduced in [2].We recall that optimization techniques,
aimed at obtaining separation surfaces, play a relevant role in every machine learning
problem and in literature various mathematical programming models have been pro-
posed to face a binary MIL classification problem, such as [5, 12].


3       The Classification Algorithm
In this section we describe the heuristics optimization MIL algorithm proposed in [3],
which is suitable for image classification. This method is based on the SVM type model
introduced by Andrews et al. in [2]. In particular, let 𝐽+ and π½βˆ’ the index sets corre-
sponding to π‘š positive bags and π‘˜ negative ones. The two sets are therefore defined
respectively as: 𝐽+ = {𝐽1+ , … , π½π‘š+}
                                      and π½βˆ’ = {𝐽1βˆ’ , … , π½π‘˜βˆ’ }. Let p be the total number of
points (the instances) inside the bags.
The π‘—π‘‘β„Ž instance, 𝑗 = (1, … , 𝑝) is represented by a vector π‘₯𝑗 ∈ ℝ𝑛 and its class label
𝑦𝑗 ∈ {βˆ’1,1} is supposed to be unknown. Differently from the class label of the in-
stances, the class label of each bag is known: it is equal to +1 for each positive bag 𝐽𝑖+ =
1, … , π‘š and it is equal to -1 for each negative bag π½π‘–βˆ’ = 1, … , π‘˜.
We hypothesize to work under the MIL standard assumption: we suppose that a bag is
positive if it contains at least a positive instance, while it is negative if it contains only
negative instances. The objective is to determine a hyperplane:

                             𝐻(𝑀, 𝑏) β‰œ {π‘₯ πœ–β„π‘› |𝑀 𝑇 π‘₯ + 𝑏 = 0}

separating the two classes of bags, where 𝑀 ∈ ℝ𝑛 is the normal to the hyperplane and
𝑏 ∈ ℝ is the bias. Since a negative bag is defined containing only negative instances,
only the class label 𝑦𝑗 ∈ {βˆ’1,1} of the instances inside the positive bags are actually
unknown. If in addition we want to minimize a measure of the classification error of all
the instances inside the bags, the optimization model [2] is the following:

                                  𝑧 βˆ— = π‘šπ‘–π‘›π‘€,𝑏,𝑦 𝑓(𝑀, 𝑏, 𝑦)
                                   𝑦𝑗 + 1
                        𝑃       βˆ‘         β‰₯ 1,    𝑖 = 1, … , π‘š
                                 +
                                      2
                               π‘—βˆˆπ½π‘–

                            { 𝑦𝑗 ∈ {βˆ’1,1},            𝑗 ∈ 𝐽𝑖+ 𝑖 = 1, … , π‘š
where
                              1
               𝑓(𝑀, 𝑏, 𝑦) β‰œ     βˆ₯ 𝑀 βˆ₯2
                              2
                                           π‘˜

                                      + 𝐢 βˆ‘ βˆ‘ π‘šπ‘Žπ‘₯{0, 1 + (𝑀 𝑇 π‘₯𝑗 + 𝑏)}
                                          𝑖=1 π‘—βˆˆπ½π‘–βˆ’
                                           π‘š

                                      + 𝐢 βˆ‘ βˆ‘ π‘šπ‘Žπ‘₯{0, 1 βˆ’ 𝑦𝑗 (𝑀 𝑇 π‘₯𝑗 + 𝑏)}.
                                          𝑖=1 π‘—βˆˆπ½π‘–+
Note that problem 𝑃 is a constrained, nonlinear, nonconvex and mixed integer program.
Moreover, if variables 𝑦𝑗 were fixed, we would obtain a classical supervised SVM
model [7]. The objective function in problem 𝑃 is the sum of three terms: the first one
is aimed at maximizing the margin, while the other two ones are aimed at minimizing
a measure of the classification error of the points belonging to the negative bags and of
the points belonging to the positive bags, respectively. Note that the presence of the
unknown labels 𝑦𝑗 in the third term allows the possibility to allocate some points of
positive bags in the negative part with respect to the separating hyperplane. Finally, by
means of the constraints:
                             𝑦𝑗+1
                    βˆ‘π‘—βˆˆπ½+           β‰₯ 1,       𝑖 = 1, … , π‘š          (1)
                         𝑖    2

we impose that, for each positive bag, at least one point must be labelled as a positive
point. In [2], the authors proposed two different heuristic techniques, based on solving
approximately problem 𝑃. Our optimization heuristic algorithm (see [3]) is based on
the Lagrangian relaxation [10] of problem 𝑃, obtained by relaxing the linear constraints
(1), i.e.:
                                   𝑧𝐿𝑅 (πœ†) β‰œ π‘šπ‘–π‘›π‘€,𝑏,𝑦 π‘“πœ† (𝑀, 𝑏, 𝑦)
                      𝑃𝐿𝑅 (πœ†) { 𝑦𝑗 ∈ {βˆ’1,1},    𝑗 ∈ 𝐽𝑖+ 𝑖 = 1, … , π‘š

with
                                                 π‘š
                                                                   𝑦𝑗 + 1
                      π‘“πœ† (𝑀, 𝑏, 𝑦) β‰œ 𝑓(𝑀, 𝑏, 𝑦) βˆ‘ πœ†π‘– (1 βˆ’ βˆ‘               )
                                                                 +
                                                                      2
                                                 𝑖=1          π‘—βˆˆπ½π‘–

where πœ† β‰₯ 0 is the vector of the Lagrangian multipliers in β„π‘š . Any optimal solution of
𝑃𝐿𝑅 (πœ†), denoted by (𝑀(πœ†), 𝑏(πœ†), 𝑦(πœ†)), provides a lower bound for problem 𝑃, that is
𝑧𝐿𝑅 ≀ 𝑧 βˆ— for any Ξ» β‰₯ 0. The Lagrangian dual problem is defined as:
                  𝑧𝐿𝐷 β‰œ π‘šπ‘Žπ‘₯πœ†β‰₯0 𝑧𝐿𝑅 (πœ†) = π‘šπ‘Žπ‘₯πœ†β‰₯0 π‘šπ‘–π‘›π‘€,𝑏,𝑦 π‘“πœ† (𝑀, 𝑏, 𝑦)
             𝑃𝐿𝐷 {       𝑦𝑗 ∈ {βˆ’1,1}, 𝑗 ∈ 𝐽𝑖+ 𝑖 = 1, … , π‘š

with, of course, 𝑧𝐿𝐷 ≀ 𝑧 βˆ— . In [3] it has been shown that 𝑧𝐿𝐷 = 𝑧 βˆ— : as a consequence, in
solving 𝑃𝐿𝐷 it is possible to obtain an optimal solution to 𝑃 by using any dual ascent
method. Since problem 𝑃𝐿𝐷 is nondifferentiable, the use of nonsmooth optimization
techniques is in order. We adopt the subgradient method [18], that we stop after a pre-
fixed maximum number of iterations. Note that, at each iteration, it is necessary to eval-
uate the objective function 𝑧𝐿𝑅 (πœ†). This is a difficult task because it requires in turn to
face problem 𝑃𝐿𝑅 (πœ†), that we solve approximately by means of a Block Coordinate
Descent (BCD) algorithm [20]. In fact we alternately fix the value of vector 𝑦 and of
the couple (𝑀, 𝑏): for any Ξ» β‰₯ 0, when variables 𝑦𝑗 are kept fixed, problem 𝑃𝐿𝑅 (πœ†),
reduces to solving a classical SVM quadratic program; vice-versa, when the couple
(𝑀, 𝑏) is fixed, it is possible to solve it, with respect to 𝑦, by inspection.
In case BCD provides an infeasible solution to the original problem, such solution may
be easily modified to obtain feasibility, giving, in this way, an upper bound (the incum-
bent) on the optimal solution of P. A simplified scheme of the MIL algorithm is re-
ported in Figure 1; further details can be found in [3].
                        Fig. 1. The MIL Lagrangian relaxation approach.


4      Numerical Experiments
The algorithm presented in the previous section has been adopted in two types of nu-
merical experimentations: preliminarily for classifying color images and successively
for classifying dermoscopic images.
In the first numerical preliminary experiment (see [4]) we have generated one hundred
color images of 128x128 pixels dimension, divided into two different classes, positive
and negative. We have considered positive each image (bag) containing the yellow
color and negative the images without yellow (Figure 2).
We have performed a segmentation process by means of some image processing stand-
ard Matlab routines. In particular, given a bitmap image, this image is read by the β€œim-
read” Matlab routine, which provides a 128x128 matrix, the indexed image, each ele-
ment corresponding to a pixel and containing a triplet which represents the RGB (red,
green, blue) scale. In fact, the first value of each triplet represents the red pixel intensity,
the second one represents the green pixel intensity and the last one represents the blue
pixel intensity. Once the indexed image has been generated, the successive step consists
in converting each indexed image (and the corresponding color map) into an RGB im-
age by means of the β€œind2rgb” Matlab subroutine. After that, we have proceeded by
grouping the pixels in square sub-regions of appropriate dimension: each sub-region
forms the so called β€œblob”. For each blob, we have computed the average of the RGB
intensities and the differences between this value and the same quantity calculated for
the adjacent blobs (up, down, left, right).
We recall that a crucial issue in a Support Vector Machine type approach is the choice
of parameter C, which generally is performed among a grid of possible values.
We report the results obtained fixing C = 10, since in correspondence to this value the
classification algorithm has exhibited the best performance. In discriminating between
positive and negative color images, we have considered the following two cases. In the
first one we have generated, for ten times, a testing set by choosing ten different images
(five positive and five negative), so that each time the remaining ninety ones (forty-five
positive and forty-five negative) have constituted the training set.
In the table reported in Figure 2, for each trial, we report the training and the testing
correctness percentage, respectively, with the average for both of them in the last row.




       With Yellow             Without Yellow

                     Fig. 2. MIL-RL Results for Color Image classification
In the second case, we have performed a leave-one-out cross validation, obtaining
84.07% and 83% as training and testing correctness, respectively. We have noted that,
among the seventeen failures in the testing set, fifteen are positive images and two are
negative images. Considering the fifteen misclassified positive images it is worth not-
ing that, apart two images, all of them contain a very small yellow colored region.
In the second type of numerical experiment, the MIL classification algorithm proposed
in [3] has been applied to classification of some medical dermoscopic images drawn
from the database PH2 [14]. The image are in 8-bit RGB color with a resolution of
768x560 pixels. These images have been classified as common nevus or melanoma by
expert dermatologists considering the manual segmentation of the skin lesion, the clin-
ical and histological diagnosis and dermoscopic criteria (asymmetry, colors, pigment
network, particular structures).
In our experiments, none of the features resulting from the manual analysis was used
in the automatic classification process. We have only considered negative the images
of common nevi and positive the images of melanomas. The dataset considered consists
of 40 images of melanoma and 40 images of common nevi. To contain the number of
instances, we first reduced the image resolution to 128x128 pixels and subsequently we
have considered square blobs of 32x32 pixel size. We have adopted a be-level 10-fold
cross-validation, listing the corresponding results in Figure 3, where we report, for each
fold, the testing correctness, the testing sensitivity, the testing specificity and the CPU
time. The results are very promising, even because they have been obtained from photos
with a small resolution (128x128 pixels): we note in fact that in three cases (folds n. 2,
4 e 7) the algorithm has been able to correctly classify all the images in the testing set.
We conclude this section by noting that the healthy image with the green box (see Fig-
ure 3), characterized by a lot of hair, is the unique misclassified image belonging to the
testing set of fold n. 10. This suggests that better results could be obtained by using
preprocessing techniques aimed at eliminating the presence of possible noises.




       Melanomas                Common Nevi

                   Fig. 3. MIL-RL Results for Melanoma Image classification


5      Conclusion
In this paper, we have presented an application of a Multiple Instance Learning ap-
proach on color and melanoma images, obtaining promising results, both in terms of
classification accuracy and CPU times. MIL paradigm fits very well on image classifi-
cations because it is able to detect global information (bags) by working at the local
level (instance-level). Future research could consist in designing more sophisticated
segmentation techniques, aiming to improve the classification performance. Moreover,
it would be useful also to test the performance of the proposed algorithm considering
preprocessing steps for the optimization of medical images [22]. The inclusion of ge-
ometry and textures features may also enrich the classification performance of the pro-
posed model [21]. As for a future extension, we plan to integrate the proposed method
into a more general purpose medical information system in order to test and validate its
effectiveness on larger datasets also related to different diseases [23, 24].


References
 1. Amores, J.: Multiple instance classification: Review, taxonomy and comparative study. Ar-
    tificial intelligence 201, 81-105 (2013)
 2. Andrews, S., Tsochantaridis, I., Hofmann, T.: Support vector machines for multiple-instance
    learning. In: Advances in neural information processing systems. pp. 577-584 (2003)
 3. Astorino, A., Fuduli, A., Gaudioso, M.: A Lagrangian relaxation approach for binary mul-
    tiple instance classification. IEEE Transactions on Neural Networks and Learning Systems,
    DOI:10.1109/TNNLS.2018.2885852 (2019)
 4. Astorino, A., Fuduli, A., Gaudioso, M., Vocaturo, E.: A multiple instance learning algorithm
    for color images classification. In: Proceedings of the 22nd International Database Engi-
    neering & Applications Symposium, IDEAS 2018, Villa San Giovanni, Italy, June 18-20,
    2018. pp. 262-266 (2018)
 5. Bergeron, C., Moore, G., Zaretzki, J., Breneman, C., Bennett, K.: Fast bundle algorithm for
    multiple instance learning. IEEE Transactions on Pattern Analysis and Machine Intelligence
    34(6), 1068-1079 (2012)
 6. Carbonneau, M.A., Cheplygina, V., Granger, E., Gagnon, G.: Multiple instance learning: A
    survey of problem characteristics and applications. Pattern Recognition 77, 329-353 (2018)
 7. Cristianini, N., Shawe-Taylor, J., et al.: An introduction to support vector machines and
    other kernel-based learning methods. Cambridge university press (2000)
 8. De Bonet, J.S., Viola, P.A.: Structure driven image database retrieval. In: Advances in Neu-
    ral Information Processing Systems. pp. 866-872 (1998)
 9. Grosky, W.I., Mehrotra, R.: Index-based object recognition in pictorial data management.
    Computer vision, Graphics, and Image processing 52(3), 416-436 (1990)
10. Guignard, M.: Lagrangean relaxation. Top 11(2), 151-200 (2003)
11. Li, X., Shou, L., Chen, G., Hu, T., Dong, J.: Modeling image data for effective indexing and
    retrieval in large general image databases. IEEE Transactions on Knowledge and Data En-
    gineering 20(11), 1566-1580 (2008)
12. Mangasarian, O.L., Wild, E.W.: Multiple instance classification via successive linear pro-
    gramming. Journal of Optimization Theory and Applications 137(3), 555-568 (2008)
13. Mehrotra, R., Gary, J.E.: Similar-shape retrieval in shape data management. Computer (9),
    57-62 (1995)
14. Mendonca, T., Celebi, M., Mendonca, T., Marques, J.: Ph2: A public database for the anal-
    ysis of dermoscopic images. In: Dermoscopy image analysis. CRC Press (2015)
15. Quellec, G., Cazuguel, G., Cochener, B., Lamard, M.: Multiple-instance learning for medi-
    cal image and video analysis. IEEE reviews in biomedical engineering 10, 213-234 (2017)
16. Ravela, S., Manmatha, R., Riseman, E.M.: Image retrieval using scale-space matching. In:
    European Conference on Computer Vision. pp. 273-282. Springer (1996)
17. Shinde, P.N., Manjrekar, A.: Retrieval of efficiently classified, re-ranked images using his-
    togram based score computation algorithm extended with the elimination of duplicate im-
    ages. International Conference for Convergence for Technology 2014. pp. 1-7. IEEE (2014)
18. Shor, N.Z.: Minimization methods for non-differentiable functions, vol. 3. Springer Science
    & Business Media (2012)
19. da Silva Torres, R., Falcao, A.X.: Content-based image retrieval: theory and applications.
    RITA 13(2), 161-185 (2006)
20. Tseng, P.: Convergence of a block coordinate descent method for non-differentiable mini-
    mization. Journal of Optimization Theory and Applications (2001)
21. Vocaturo, E., Zumpano, E., Veltri, P.: Features for melanoma lesions characterization in
    computer vision systems. In: 9th International Conference on Information, Intelligence, Sys-
    tems and Applications, IISA 2018, Zakynthos, Greece, July 23-25, 2018. pp. 1-8 (2018)
22. Vocaturo, E., Zumpano, E., Veltri, P.: Image pre-processing in computer vision systems for
    melanoma detection. In: IEEE International Conference on Bioinformatics and Biomedi-
    cine, BIBM 2018, Madrid, Spain, December 3-6, 2018. pp. 2117-2124 (2018)
23. Zumpano E. et al., SIMPATICO 3D: A Medical Information System for Diagnostic Proce-
    dures, BIBM 2018, pp. 2125-2128.
24. Iaquinta P. et al., eIMES 3D: An innovative medical images analysis tool to support diag-
    nostic and surgical intervention. FNC/MobiSPC 2017: 459-464.