<!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>
      <journal-title-group>
        <journal-title>September</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Knowledge-Based Construction of Confusion Matrices for Multi-Label Classification Algorithms using Semantic Similarity Measures</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Houcemeddine Turki</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mohamed Ali Hadj Taieb</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mohamed Ben Aouicha</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          ,
          <addr-line>Work animal</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Animal</institution>
          ,
          <addr-line>Belgian Shepherd</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Data Engineering and Semantics Research Unit, Faculty of Sciences of Sfax, University of Sfax</institution>
          ,
          <addr-line>Sfax</addr-line>
          ,
          <country country="TN">Tunisia</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Expected Labels Animal</institution>
          ,
          <addr-line>Canid, Dog, Domesticated animal, German Shepherd</addr-line>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>Predicted Labels Animal</institution>
          ,
          <addr-line>Belgian Shepherd</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>1</volume>
      <fpage>8</fpage>
      <lpage>19</lpage>
      <abstract>
        <p>So far, multi-label classification algorithms have been evaluated using statistical methods that do not consider the Semantics of the considered classes and that fully depend on abstract computations such as Bayesian Reasoning. Currently, several efforts are provided to develop ontology-based methods for a better assessment of supervised classification algorithms. In this research paper, we define a novel approach that aligns expected labels with predicted labels in multi-label classification using ontology-driven feature-based semantic similarity measures and we use it to develop a method for creating precise confusion matrices for a more effective evaluation of multi-label classification algorithms.</p>
      </abstract>
      <kwd-group>
        <kwd>1 Multi-Label Classification</kwd>
        <kwd>Confusion Matrix</kwd>
        <kwd>Evaluation</kwd>
        <kwd>Semantic Similarity</kwd>
        <kwd>Semantic alignment</kwd>
        <kwd>Accuracy Rate</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Supervised classification has currently become one of the most important challenges of machine
learning with various applications in industry, medicine and other fields [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. It consists of the
controlled identification of given characteristics of an item such as a biomedical text or a clinical
image [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. There are two types of supervised classification: multi-label classification [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and
singlelabel multiclass classification [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Supervised Multi-label Classification assigns multiple labels in
natural language to an item according to its characteristics while multiclass classification attributes
one label in natural language to an item according to the measure of a given pattern [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ]. The
evaluation of supervised classification algorithms primarily relies on the simple counts of true
positives (TP), true negatives (TN), false positives (FP) and false negatives (FN) for each class [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ].
For a given class, the true positives are the cases where the class is accurately assigned to an item and
the true negatives are the cases where the class is accurately unassigned to an item. By analogy, the
false positives and the false negatives are respectively the opposite of true positives and true negatives
[
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ]. These four counts are integrated together to form three measures of the efficiency of
classification algorithms: precision, recall, and sensitivity [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ]. These combined measures can be
merged together to form curves and metrics for an overall evaluation of classification algorithms:
F1measure, accuracy rate, Precision-Recall (PR) curve and Receiver Operating Characteristic (ROC)
curve [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ] as well as the hamming loss2 specific to the evaluation of multi-label learning [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ].
      </p>
      <p>
        Beyond these classical approaches, the confusion matrix provides an interesting snapshot of the
trends of a mono-label classification by computing the associations between true labels and predicted
ones [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. It identifies the set of classes that are not effectively differentiated and can provide several
2 Hamming loss is the quotient of the number of non-alignments between true labels and predicted labels in multi-label classification out
of the product of the number of considered classes with the number of classified items.
directions for explaining the limitations of assessed approaches for supervised learning and proposing
solutions to them. Despite the easiness of the construction of a confusion matrix for mono-label
classification [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], its creation for multi-label classification algorithms is tricky because of the
difficulty of alignment between predicted classes and expected ones [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. To solve this deficiency, a
method has been developed based on Bayesian Reasoning to create fuzzy confusion matrices that
approximately associate between true positives and false positives [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. This approach is probabilistic
and cannot assign with a full precision the false predicted classes corresponding to expected ones [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
Here, the labels attributed by the multi-label classification algorithms are generally nouns or noun
phrases having a semantic value [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ]. Consequently, semantic similarity measures (SemSim),
particularly the ones based on taxonomies, can be useful to align true labels with predicted labels for a
direct construction of precise confusion matrices for supervised multi-label classification given that
these metrics return high values for semantically related terms [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>In this research paper, we investigate this claim by applying semantic similarity measures to an
adhoc fabricated output of a multi-label classification algorithm. We will begin by providing an
overview of semantic similarity measures (Section 2). Then, we will describe our proposed approach
for using these important metrics to construct confusion matrices for supervised multi-label
classification (Section 3.1). After that, we will outline the methods that will be used for the
assessment of our proposal (Section 3.2) and we will illustrate the outcomes of our preliminary
experimental study and discuss them with reference to scholarly publications (Section 4). Finally, we
will draw conclusions for this research paper and give future directions for developing this work
(Section 5).</p>
    </sec>
    <sec id="sec-2">
      <title>2. Semantic similarity measures</title>
      <p>
        Measuring the degree of Semantic Similarity (SS) aims to quantify the likeness between linguistic
items, including concepts and polysemous words, has been a great challenge in the field of Natural
Language Processing (NLP), and it is considered as a subfield of Artificial Intelligence focusing on
the handling of human language by computers. As it is illustrated by Figure 1, computing the degree
of semantic similarity between items is front of two major challenges. First, it is necessary to build an
appropriate sense representation which has a fundamental impact on the efficiency of the estimation
of semantic similarity, as a consequence of the expressiveness of the representation. The sense
representation is based on the extraction of information from semantic resources [
        <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
        ] in several
types: structured (WordNet, MeSH, Gene Ontology), semi-structured (Wikipedia, Wiktionary, etc.)
and raw texts (corpora). The gathered information pertains to a large range of types such as the
topological parameters, distributional semantic and word embedding [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ]. Then, the second
challenge is the computing model aggregating between the different information according to their
weights and semantic interpretation for providing the semantic similarity estimation. Selecting the
appropriate semantic measure able for improving the performance of an application, depends on the
nature of the application and the underlying knowledge source [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ]. The evaluation protocol of
semantic similarity measures follows in totality or partially three approaches [
        <xref ref-type="bibr" rid="ref12 ref13">12, 13</xref>
        ]: Intrinsic
evaluation based on datasets composed of a set of word pairs which their similarities are estimated by
experts3, Semi-intrinsic evaluation approach exploiting applications derived from word similarity
such sentence and short text similarity tasks, and Extrinsic assessment involving the SS measure in
specific applications like relation extraction, text summarization, sentiment analysis, word sense
disambiguation, plagiarism detection, etc. An overview on the recent and previous works leads to the
existence of two families of approaches as shown in Figure 1: the first is based on the structures of
knowledge bases [
        <xref ref-type="bibr" rid="ref11 ref14">11, 14</xref>
        ] and content, and the second find its root in the distributional semantics
which its evolution leads to the appearance of embedding methods [
        <xref ref-type="bibr" rid="ref13 ref15">13, 15</xref>
        ].
      </p>
      <p>Knowledge-based measures exploit the topological parameters (depth4, hyponyms5, hypernyms6
and lowest common subsumer7) of the semantic network modeled as direct acyclic graphs. Therefore,
3 Accurate SS measures should generate closer similarities to those assigned by experts.</p>
      <p>
        4 The depth of a concept is the length of the longest path connecting the root of the taxonomy to the target concept. It assigns a value of
1 to the first-order metaclass (the common hypernym of all the concepts of the reference taxonomy) and a value of N to the Nth-order
several measures judged as structural approaches exploited the taxonomic parameters extracted from
the “is a” taxonomy. Several measures for determining the semantic similarity between
words/concepts have been proposed in the literature and most of them have been tested using
WordNet. Similarity measures are based on the overlapped features designed through the "is a"
taxonomy. The measures can be grouped into five classes: path-based measures, gloss-based
measures, feature-based measures, information content (IC)-based measures and hybrid measures [
        <xref ref-type="bibr" rid="ref11 ref17">11,
17</xref>
        ]. Path-based measures only compute the shortest path between two terms in an “is a” taxonomy
[
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Consequently, they are unable to distinguish homologous terms where the link between them is
non-taxonomic (e.g., Drugs treating similar diseases). Gloss-based measures compare the named
entities included in the glosses (i.e., definitions) of two terms to identify if these two concepts are
semantically related [
        <xref ref-type="bibr" rid="ref11">11, 18</xref>
        ]. As a result, these metrics can return limited results if the glosses of
compared entities in a reference thesaurus are brief or unavailable [
        <xref ref-type="bibr" rid="ref11">11, 18</xref>
        ]. IC-based measures
calculate the semantic similarity of items according to their co-occurrence in a large textual corpus
[
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Further that running this type of metrics is more time-consuming than the ones based on
taxonomies or thesauri, this kind of measures is probabilistic and can return different results
according to the used corpus for reference [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Feature-Based Measures compares two terms
according to a various set of characteristics in the reference knowledge resource including their
taxonomic and non-taxonomic relationships to other terms and the similarity between the concepts
included in their glosses [
        <xref ref-type="bibr" rid="ref17">17, 19</xref>
        ]. Thanks to their principle, these metrics are the best ones that can be
used in our context as they return homologous concepts according to various types of semantic links
[
        <xref ref-type="bibr" rid="ref17">17, 19</xref>
        ]. As these metrics perform the best in our situation, coupling them with other types of
semantic similarity measures to form hybrid measures can negatively influence their efficiency to
return homology between two concepts [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Given the characteristics of every type of semantic
similarity measures, feature-based metrics are the ones that should be used to identify homologous
terms and consequently to align expected labels with predicted ones in multi-label classification.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Proposed Approach</title>
      <p>
        In this section, we introduce the principles of our approach that uses semantic similarity measures
to assign predicted labels to corresponding expected labels and consequently to allow the easy
construction of a confusion matrix for supervised multi-label classification (Section 3.1). Then, we
explain the experimental methods that will be applied for testing our approach on four practical
concept (i.e. a concept that is linked to the first-order metaclass through a hierarchy of (N-1) hypernyms). To compute the taxonomic depth
of a concept in WordNet, you can use the WNetSS API available at https://github.com/MohamedAliHadjTaieb/WNetSS-API/ [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
5 Hyponym: a direct or an indirect descendant of a given term.
6 Hypernym: a direct or an indirect parent of a given term.
      </p>
      <p>7 Lower Common Subsumer: the closest common parent of two given terms.
examples that imitate the real-world outputs of supervised multi-label classification algorithms
(Section 3.2).
3.1.</p>
    </sec>
    <sec id="sec-4">
      <title>Principles</title>
      <p>In our approach, we propose to compute the semantic similarity between each predicted label (x =
pi) and each expected one (ei) for every assessed item. Then, we will align between predicted and
expected labels using a set of four rules where NP is the number of predicted labels, NE is the number
of expected labels for a given item, FN is the value returned by SemSim for two absolutely non-similar
terms (minimal value of SemSim), and FM is the value returned by SemSim for two synonym terms
(maximal value of SemSim).</p>
      <p>Rule 1: If NP &gt; NE, for every true label (Y = ei), we assign the predicted label (P) that returns the
highest value of semantic similarity between Y and x as the corresponding one to the expected label
(Y) [Equation 1]:</p>
      <p>P = arg max (SemSim(x, Y))
(1)
Rule 2: If NP ≤ NE, for every predicted label (P = pi), we assign the expected label (Y) that returns the
highest value of semantic similarity between P and x as the corresponding one to the predicted label
(P) [Equation 2]:</p>
      <p>Y = arg max (SemSim(x, P))
(2)
Rule 3: To prevent the assignment of an association between unrelated labels, we do not consider the
link between an expected class (Y) and a predicted class (P) when SemSim(P, Y) &lt; 0.5 * (FM + FN).
Rule 4: When two associations involve the same expected label or the same predicted one, only the
association with the best value of SemSim is kept. The eliminated association should be substituted by
the second sorted association according to the rules used for its recognition (Rules 1, 2 and 3).</p>
      <p>
        Consequently, we obtain a list of correspondence between predicted labels (P) and expected labels
(Y) in supervised multi-label classification that can be used to create a confusion matrix for
multilabel classification similarly as the one for mono-label classification as shown in Fig. 2. Values in
confusion matrices can be either simple counts of the associations between expected labels and
predicted ones or the rate of expected labels associated with each predicted one [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. In this study, we
will use simple counts of the coupled labels to construct the confusion matrix based on the semantic
similarity-based alignment of expected classes with predicted ones. If this matrix is properly
constructed, it can be useful to identify the set of labels that are not efficiently distinguished by
multilabel classification algorithms and add interesting information to the explanation of the accuracy rates
for such algorithms [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
3.2.
      </p>
    </sec>
    <sec id="sec-5">
      <title>Experimental Study</title>
      <p>Through a series of practical applications, we try to validate the assumption that the application of
semantic similarity measures to compare expected labels and predicted ones for each analyzed item
can serve to align predicted labels with corresponding true ones and consequently to develop a
confusion matrix for supervised multi-label classification. Despite the significance of this matter,
there is no human-generated dataset that aligns between false predicted labels and expected labels in
the output of a multi-label classification. Although such a dataset can be created using an annotated
image database like Tencent ML Images [20], this process cannot be practically done as this requires
lots of resources and efforts. Instead, we build an ad-hoc dataset of items that are assigned expected
labels as well as sets of predicted labels that look like as if they were attributed by a multi-label
classification algorithm as shown in Table 1. There is no application of supervised multi-label
classification algorithms in this study and all the dataset is fabricated for the evaluation of our
approach. The labels that are assigned to the virtual items have been derived from the WordNet 3.1
taxonomy [21], specifically from the lexicon related to animals. As shown in Table 1, the terms are
focused on canids, particularly dogs and wolfs, and on the direct hyponyms of the “animal” term.</p>
      <p>The constructed examples consider the complexity of the matter of aligning true labels with
predicted labels in multi-label classification. Effectively, the first example (Item 1) that just
substitutes one label by another one (A1) is considered as the simplest one. By contrast, the fourth
example (Item 4) that changes three labels by other closely related ones (A1, A2 and A4) and
eliminates two classes is considered the most complicated example as it does not only assess the
capacity of semantic similarity measures to align labels but also the robustness of our approach to the
omission of labels by the multi-label classification algorithm. The second (Item 2) and third (Item 3)
example respectively substitute two labels (A1 and A2) and three labels (A1, A2 and A3) by other
significantly linked classes and are considered as moderately difficult samples of the input of the
systems for the alignment between predicted and true labels in supervised multi-label classification.</p>
      <p>
        To test our assumption, we will use the feature-based measure described in Rodriguez et al.
(2003)8 to compute the similarity between predicted classes and expected ones [19]. This method
8 We will use https://github.com/MohamedAliHadjTaieb/WNetSS-API/ as a tool to compute the values of Semantic Similarity as returned
by Rodriguez et al. (2003) [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
returns a value ranging between 0 (= FN) and 3 (= FM) [19] and is designed to identify similar items
according to the specificity of their semantic characteristics rather than their inclusion to the same
lexical field in the context of topic modeling and data mining [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Further theoretical details about
this measure can be found in Hadj Taieb et al. (2014) [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. We drive this similarity metric by the
WordNet 3.1 taxonomy that is also used to construct the examples. The annotation of items with
classes derived from structured knowledge resources, particularly controlled taxonomies, and the use
of the same lexical database to drive the adopted knowledge-based semantic similarity measure as
well as to annotate the considered items for supervised multi-label classification will allow getting
precise evaluation of semantic similarity by preventing confusion between the assessed terms and the
concepts in the reference resource. After getting the values of semantic similarity measures between
predicted labels and true ones for the four examples, we will align between expected labels and
predicted ones and finally construct the confusion matrix for these fabricated examples as explained
in the Section 3.1.
      </p>
    </sec>
    <sec id="sec-6">
      <title>4. Results and Discussion</title>
      <p>
        The application of the metric of Rodriguez et al. (2003) to compare the expected labels and
predicted ones that are assigned to item 1 (Table 2) and item 2 (Table 3) has shown that the efficiency
of feature-based semantic similarity measures to align true labels and predicted ones with an absolute
accuracy. Although the linking between expected and predicted classes for the item 1 is slightly
challenging due to the existence of a unique difference between the two sets of labels, the precision of
Rules 1 and 2 to attribute two false positives to their corresponding false negatives (bold in Table 3)
proves the promising value of using semantic similarity measures to exhaustively relate between
expected and predicted labels in multi-class classification, particularly because all the considered
labels are linked to animals and are closely related together from a semantic perspective (Table 1).
Yet, this does not prove that all the semantic similarity measures can be used for such a purpose. The
computation of semantic similarity between too closely related terms has always been a challenge to
the semantic web community [22] and not all the semantic similarity measures behave the same when
applied to a given couple of terms [
        <xref ref-type="bibr" rid="ref11 ref14">11, 14</xref>
        ]. The success of Rodriguez et al. (2003) in such a task
proves the added value of feature-based metrics among other semantic similarity measures in
discriminating two quite similar terms [22]. Further investigation in this context can expand our
findings.
      </p>
      <p>In another circumstance, the outputs of tables 2 and 3 also show that the labels that are meant to be
aligned together have values of semantic similarity that are superior or equal to 1.5. Most of the labels
that are unrelated are assigned low values of semantic similarity mostly below 1. This motivates the
use of Rule 3 to eliminate the associations that are weak and not accurate. It is true that most of the
applications of semantic similarity measures, particularly in information retrieval and word sense
disambiguation, use a threshold that is higher than 0.5 * (FM + FN) [23]. However, this threshold
seems to work well for our approach especially for aligning “dog” as an expected label with “wolf” as
a predicted one for item 2 where the value of semantic similarity is 1.789 as shown in Table 3.
9 Bold values correspond to the identified associations between predicted labels and expected ones based on the four rules defined in the
Section 3.1.</p>
      <p>
        The use of our rule-based approach to match the expected and predicted labels of the item 3
confirms our findings about the usefulness of feature-based semantic similarity measures for linking
between the true classes and the predicted ones in supervised multi-label classification and the
efficiency of our three first rules for performing this mission. Effectively, as shown in Table 4, most
of the labels that are confused together are assigned high values of semantic similarity. The
association between “Work animal” and “Domesticated animal” has been identified instead of the one
between “Work animal” and “Pet” despite the latter has a higher semantic similarity because of the
application of Rule 4. This condition considered that “Pet” as an expected label has already been
matched to “Pet” as a predicted one and consequently disregarded any other possible association
between “Pet” and other classes. Consequently, this rule is important to avoid mismatches between
predicted and expected labels, mainly the ones due to the fact that semantic similarity measures assign
high values of semantic similarity between a concept and its hypernym [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Without this rule, “Pet”
as an expected label would be assigned to “Pet” and “work animal” as predicted ones. This would not
let users precisely study the confusion between classes in a reliable way and the usage of semantic
similarity measures for our work will be quite inefficient.
      </p>
      <p>The efficiency of our approach has been confirmed when used to identify the associations between
true and predicted classes for item 4. Despite three class substitutions and two omitted labels for this
item by the conceived multi-label classification, the semantic similarity measure has been successful</p>
      <sec id="sec-6-1">
        <title>Animal</title>
        <p>Canid
Dog
Domesticated
animal
German Shepherd
Pet</p>
      </sec>
      <sec id="sec-6-2">
        <title>True Labels</title>
        <p>to fully identify all the associations between predicted and expected labels (Bold in Table 5). This
proves the robustness of our method to the non-annotation of accurate labels by humans or to the
exclusion of several classes by the supervised classification algorithms. This can be a significant
contribution to the longstanding challenge of developing a large-scale supervised multi-label learning
system that can deal with missing labels [24] as well as to the differentiation between substituted
classes and missing ones in supervised multi-label classification. The extent of importance of
semantic similarity measures to the development of supervised multi-label classification systems
considering missing labels depends on the assessment of our approach on more complex examples
than the four that have been developed for this research paper (Table 1). Unfortunately, there is still a
significant lack of databases providing outputs of supervised multi-label classification systems and
originally assigned labels for each item at a large scale to allow the assessment of the behavior of our
method to face all the kinds of differences between predicted and expected labels. It is evident that
such a database can be created by applying a classification algorithm to a multi-labeled dataset [25].
However, this will bring challenges to develop thorough semantic similarity-driven approaches for
supervised multi-label classification learning and evaluation.</p>
        <p>
          Due to the ability of semantic similarity measures to distinguish between related and unrelated classes
in supervised multi-label classification, the outputs of the tables 2 to 5 can be easily processed
allowing the construction of a confusion matrix for the four considered examples (Items 1 to 4) from
the identified alignments between predicted and expected labels (Bold in Tables 2 to 5) as shown in
Table 6. It is accurate that a method for generating a fuzzy confusion matrix for supervised
multilabel classification algorithms has already been developed based on the pairwise label transformation
[
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. This method turns the supervised multi-label classification problem into a set of binary
classifications, assesses the efficiency of the classifier for performing each binary classification, and
then traces a confusion matrix that returns the accuracy rate of the classification algorithm to
distinguish between each pair of assigned labels [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. However, our semantic similarity-driven
approach for creating a confusion matrix for multi-label classification seems to be simpler and
computationally easier than the fuzzy confusion matrix method as it easily identifies the labels that
have been correctly annotated (Grey in Table 6) and points out the labels that are confused together
with a high accuracy (Bold and not grey in Table 6). The computation of semantic similarity between
two terms requires less time than running a binary classification on a full dataset [26]. That is why it
can be a good alternative for promoting research on semantics-aware assessment of supervised
multilabel classification systems rather than continuing in developing methods for the construction of
confusion matrices based on fully statistical and imprecise approaches. Effectively, many works are
recently developed following the path of using semantics for the development and evaluation of
machine learning algorithms:
• Propensity-scored losses are created as adjusted editions of hamming loss that do not
compute the non-correspondence between an estimated class and the true classes of an item if
a true class is a subclass of the estimated class according to a given taxonomy such as the
Wikipedia Category Graph [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. This semantics-aware metric reduces the effect of missing
5. Conclusion
labels in the reference dataset allowing a more consistent accuracy evaluation for the
multilabel supervised classification algorithms.
        </p>
        <p>Hierarchical Multi-Label Classification applies Bayesian Reasoning to split a supervised
multi-label classification problem into a set of multiple mono-label classification problems
[27]. This allows reducing the complexity of the original multi-label classification and
debugging the obtained mono-label classifications one-by-one through their assessment with
confusion matrices [27].</p>
        <p>
          Inductive Multi-Label Classification uses “part of” relations to deduce the existence of an
item where its components are identified [28]. Such a process allows to recover the concepts
that were missed by the algorithm (e.g., face) where their features are recognized (e.g., eye,
nose, and ear).
In this research paper, we presented feature-based semantic similarity measures as useful components
for the construction of confusion matrices for multi-label classification learning algorithms. Then, we
proved the efficiency of our proposed approach by applying it on four practical examples that have
been preliminarily created based on the WordNet 3.1 taxonomy. This work is a development of the
sustainable efforts to develop more effective approaches for the explanation of the limitations of
multi-label classification algorithms [
          <xref ref-type="bibr" rid="ref4 ref5 ref6">4-6, 27</xref>
          ]. That is why we invite scientists to develop our
approach as it can be efficient in enhancing works on artificial intelligence. As a future direction of
this research work, we will develop other applications of semantic similarity measures and graph
embeddings to solve other critical matters in Artificial Intelligence. We will also try to reproduce our
work using featured-based semantic similarity measures other than the one of Rodriguez et al. (2003)
and diverse examples of annotated items to expand the findings of this paper.
        </p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>6. References</title>
      <p>[18] S. Banerjee, T. Pedersen, An adapted Lesk algorithm for word sense disambiguation using
WordNet, in: International conference on intelligent text processing and computational
linguistics, Springer, Berlin, Heidelberg, 2002, pp. 136-145. doi:10.1007/3-540-45715-1_11.
[19] M. A. Rodriguez, M. J. Egenhofer, Determining semantic similarity among entity classes from
different ontologies, IEEE Transactions on Knowledge and Data Engineering 15 (2003): 442–
456. doi:10.1109/tkde.2003.1185844.
[20] B. Wu, W. Chen, Y. Fan, Y. Zhang, J. Hou, J. Liu, T. Zhang, Tencent ml-images: A large-scale
multi-label image database for visual representation learning, IEEE Access, 7 (2019):
172683172693. doi:10.1109/ACCESS.2019.2956775.
[21] G. A. Miller, WordNet: An electronic lexical database, MIT Press, Cambridge, MA, 1998.</p>
      <p>ISBN:978-0-262-06197-1.
[22] A. Budanitsky, G. Hirst, Evaluating WordNet-based Measures of Lexical Semantic Relatedness.</p>
      <p>Computational Linguistics 32 (2006): 13–47. doi:10.1162/coli.2006.32.1.13.
[23] A. Hliaoutakis, G. Varelas, E. Voutsakis, E. G. M. Petrakis, E. Milios, Information Retrieval by
Semantic Similarity, International Journal on Semantic Web and Information Systems 2 (2006):
55–73. doi:10.4018/jswis.2006070104.
[24] H. F. Yu, P. Jain, P. Kar, I. Dhillon, Large-scale multi-label learning with missing labels, in:
Proceedings of the 31st International Conference on Machine Learning, PMLR, Beijing, 2014,
pp. 593-601. doi:10.5555/3044805.3044873.
[25] A. Bustos, A. Pertusa, J.-M. Salinas, M. de la Iglesia-Vayá, PadChest: A large chest x-ray image
dataset with multi-label annotated reports, Medical Image Analysis 66 (2020): 101797.
doi:10.1016/j.media.2020.101797.
[26] J. J. Lastra-Díaz, A. García-Serrano, M. Batet, M. Fernández, F. Chirigati, HESML: A scalable
ontology-based semantic similarity measures library with a set of reproducible experiments and a
replication dataset, Information Systems 66 (2017): 97–118. doi:10.1016/j.is.2017.02.002.
[27] J. Wehrmann, R. Cerri, R. Barros, Hierarchical Multi-Label Classification Networks, in:
Proceedings of the 35th International Conference on Machine Learning, PMLR, Stockholm,
2018, pp. 5075-5084.
[28] M. K. Sarker, J. Schwartz, P. Hitzler, L. Zhou, S. Nadella, B. Minnery, I. Juvina, M. L. Raymer,
W. R. Aue, Wikipedia knowledge graph for explainable ai, in: Iberoamerican Knowledge Graphs
and Semantic Web Conference, Springer, Cham., 2020, pp. 72-87.
doi:10.1007/978-3-03065384-2_6.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Du</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Peng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Tao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Lu</surname>
          </string-name>
          ,
          <article-title>ML-Net: multi-label classification of biomedical texts with deep neural networks</article-title>
          ,
          <source>Journal of the American Medical Informatics Association</source>
          <volume>26</volume>
          (
          <year>2019</year>
          ):
          <fpage>1279</fpage>
          -
          <lpage>1285</lpage>
          . doi:
          <volume>10</volume>
          .1093/jamia/ocz085.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>L.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Ge</surname>
          </string-name>
          , W. Kang,
          <article-title>Non-negative matrix factorization based modeling and training algorithm for multi-label learning</article-title>
          ,
          <source>Frontiers of Computer Science</source>
          <volume>13</volume>
          (
          <year>2019</year>
          ):
          <fpage>1243</fpage>
          -
          <lpage>1254</lpage>
          . doi:
          <volume>10</volume>
          .1007/s11704-018-7452-y.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>W.</given-names>
            <surname>La Cava</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Silva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Danai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Spector</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Vanneschi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Moore</surname>
          </string-name>
          ,
          <article-title>Multidimensional genetic programming for multiclass classification</article-title>
          ,
          <source>Swarm and Evolutionary Computation</source>
          <volume>44</volume>
          (
          <year>2019</year>
          ):
          <fpage>260</fpage>
          -
          <lpage>272</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.swevo.
          <year>2018</year>
          .
          <volume>03</volume>
          .015.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Tharwat</surname>
          </string-name>
          , Classification assessment methods,
          <source>Applied Computing and Informatics</source>
          (
          <year>2020</year>
          ). doi:
          <volume>10</volume>
          .1016/j.aci.
          <year>2018</year>
          .
          <volume>08</volume>
          .003.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>G.</given-names>
            <surname>Tsoumakas</surname>
          </string-name>
          ,
          <string-name>
            <surname>I.</surname>
          </string-name>
          ,
          <article-title>Katakis, Multi-Label Classification: An overview</article-title>
          ,
          <source>International Journal of Data Warehousing and Mining</source>
          <volume>3</volume>
          (
          <year>2007</year>
          ):
          <fpage>1</fpage>
          -
          <lpage>13</lpage>
          . doi:
          <volume>10</volume>
          .4018/jdwm.2007070101.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>H.</given-names>
            <surname>Jain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Prabhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Varma</surname>
          </string-name>
          ,
          <article-title>Extreme Multi-label Loss Functions for Recommendation, Tagging, Ranking &amp; Other Missing Label Applications</article-title>
          ,
          <source>in: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</source>
          ,
          <string-name>
            <surname>ACM</surname>
          </string-name>
          , San Francisco,
          <year>2016</year>
          , pp.
          <fpage>935</fpage>
          -
          <lpage>944</lpage>
          . doi:
          <volume>10</volume>
          .1145/2939672.2939756.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>P.</given-names>
            <surname>Trajdos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kurzynski</surname>
          </string-name>
          ,
          <article-title>Weighting scheme for a pairwise multi-label classifier based on the fuzzy confusion matrix</article-title>
          ,
          <source>Pattern Recognition Letters</source>
          <volume>103</volume>
          (
          <year>2018</year>
          ):
          <fpage>60</fpage>
          -
          <lpage>67</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.patrec.
          <year>2018</year>
          .
          <volume>01</volume>
          .012.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Hadj Taieb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Ben</given-names>
            <surname>Aouicha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. Ben</given-names>
            <surname>Hamadou</surname>
          </string-name>
          ,
          <article-title>A new semantic relatedness measurement using WordNet features</article-title>
          ,
          <source>Knowledge and Information Systems</source>
          <volume>41</volume>
          (
          <year>2014</year>
          ):
          <fpage>467</fpage>
          -
          <lpage>497</lpage>
          . doi:
          <volume>10</volume>
          .1007/s10115-013-0672-4.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ben Aouicha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Hadj Taieb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ben</surname>
          </string-name>
          <string-name>
            <surname>Hamadou</surname>
          </string-name>
          ,
          <article-title>Taxonomy-based information content and wordnet-wiktionary-wikipedia glosses for semantic relatedness</article-title>
          ,
          <source>Applied Intelligence</source>
          <volume>45</volume>
          (
          <year>2016</year>
          ):
          <fpage>475</fpage>
          -
          <lpage>511</lpage>
          . doi:
          <volume>10</volume>
          .1007/s10489-015-0755-x.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>R.</given-names>
            <surname>Qu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Bai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <article-title>Computing semantic similarity based on novel models of semantic representation using Wikipedia</article-title>
          ,
          <source>Information Processing &amp; Management 54.6</source>
          (
          <year>2018</year>
          ):
          <fpage>1002</fpage>
          -
          <lpage>1021</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.ipm.
          <year>2018</year>
          .
          <volume>07</volume>
          .002.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Lastra-Díaz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Goikoetxea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Hadj Taieb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>García-Serrano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Ben</given-names>
            <surname>Aouicha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Agirre</surname>
          </string-name>
          ,
          <article-title>A reproducible survey on word embeddings and ontology-based methods for word similarity: Linear combinations outperform the state of the art</article-title>
          ,
          <source>Engineering Applications of Artificial Intelligence</source>
          <volume>85</volume>
          (
          <year>2019</year>
          ):
          <fpage>645</fpage>
          -
          <lpage>665</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.engappai.
          <year>2019</year>
          .
          <volume>07</volume>
          .010.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Hadj Taieb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Zesch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Ben</given-names>
            <surname>Aouicha</surname>
          </string-name>
          ,
          <article-title>A survey of semantic relatedness evaluation datasets and procedures</article-title>
          ,
          <source>Artificial Intelligence Review</source>
          <volume>53</volume>
          (
          <year>2020</year>
          ):
          <fpage>4407</fpage>
          -
          <lpage>4448</lpage>
          . doi:
          <volume>10</volume>
          .1007/s10462-019-09796-3.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>M.</given-names>
            <surname>Artetxe</surname>
          </string-name>
          , G. Labaka,
          <string-name>
            <given-names>I.</given-names>
            <surname>Lopez-Gazpio</surname>
          </string-name>
          , E. Agirre,
          <article-title>Uncovering Divergent Linguistic Information in Word Embeddings with Lessons for Intrinsic and Extrinsic Evaluation</article-title>
          ,
          <source>in: Proceedings of the 22nd Conference on Computational Natural Language Learning</source>
          , ACL, Brussels, Belgium,
          <year>2018</year>
          , pp.
          <fpage>282</fpage>
          -
          <lpage>291</lpage>
          . doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>K18</fpage>
          -1028.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Hadj Taieb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Ben</given-names>
            <surname>Aouicha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ben</surname>
          </string-name>
          <string-name>
            <surname>Hamadou</surname>
          </string-name>
          ,
          <article-title>Ontology-based approach for measuring semantic similarity</article-title>
          ,
          <source>Engineering Applications of Artificial Intelligence</source>
          <volume>36</volume>
          (
          <year>2014</year>
          ):
          <fpage>238</fpage>
          -
          <lpage>261</lpage>
          (
          <year>2014</year>
          ). doi:
          <volume>10</volume>
          .1016/j.engappai.
          <year>2014</year>
          .
          <volume>07</volume>
          .015.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>J.</given-names>
            <surname>Camacho-Collados</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. T.</given-names>
            <surname>Pilehvar</surname>
          </string-name>
          , From Word To Sense Embeddings:
          <article-title>A Survey on Vector Representations of Meaning</article-title>
          ,
          <source>Journal of Artificial Intelligence Research</source>
          <volume>63</volume>
          (
          <year>2018</year>
          ):
          <fpage>743</fpage>
          -
          <lpage>788</lpage>
          . doi:
          <volume>10</volume>
          .1613/jair.1.11259.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ben Aouicha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Hadj Taieb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ben</surname>
          </string-name>
          <string-name>
            <surname>Hamadou</surname>
          </string-name>
          ,
          <article-title>SISR: System for integrating semantic relatedness and similarity measures</article-title>
          ,
          <source>Soft Computing</source>
          <volume>22</volume>
          (
          <year>2016</year>
          ):
          <fpage>1855</fpage>
          -
          <lpage>1879</lpage>
          . doi:
          <volume>10</volume>
          .1007/s00500-016-2438-x.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>T.</given-names>
            <surname>Slimani</surname>
          </string-name>
          ,
          <article-title>Description and Evaluation of Semantic Similarity Measures Approaches</article-title>
          ,
          <source>International Journal of Computer Applications</source>
          <volume>80</volume>
          .10 (
          <year>2013</year>
          ):
          <fpage>25</fpage>
          -
          <lpage>33</lpage>
          . doi:
          <volume>10</volume>
          .5120/
          <fpage>13897</fpage>
          -
          <lpage>1851</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>