<!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>Use of Explainable AI to Re ne Arti cial Immune System Algorithms?</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Heriot-Watt University</institution>
          ,
          <addr-line>Edinburgh, EH14 4AS</addr-line>
          ,
          <country country="UK">UK</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Arti cial Immune System (AIS) algorithms o er distributed Arti cial Intelligence (AI) that can be e ectively used to solve real-world data segregation problems. Current unmet needs include (i) re ning the AIS algorithm using representative patterns based on deterministic features of the data and (ii) interpretability of the AIS based classi ers. Model agnostic eXplainable AI (XAI) approaches may cater to both of these unmet needs. Here, we propose building an AIS based classi er pipeline using XAI algorithms to identify deterministic feature patterns from data that can be used to improve the performance and interpretability of AIS classi ers.</p>
      </abstract>
      <kwd-group>
        <kwd>AIS</kwd>
        <kwd>NSA</kwd>
        <kwd>CSPRA</kwd>
        <kwd>DCA</kwd>
        <kwd>XAI</kwd>
        <kwd>LIME</kwd>
        <kwd>SHAP</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Arti cial Immune System (AIS) is a branch of biologically-inspired computation
for developing computational models and methodologies based on the principles
of the biological immune system (BIS). Self discrimination by distinguishing
own body cells (self) from foreign or transformed entities (non-self) is one of the
primary abilities of BIS [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. AIS is relatively a young eld of research where
each molecular player of BIS can potentially inspire at least one AIS model.
The molecular function of BIS, including self-discrimination, feature extraction,
pattern recognition, learning, memory, and distributive yet cooperative nature,
have been adapted in AIS to develop immune-inspired models. The AIS models
have a wide range of applications such as anomaly detection, pattern
recognition, clustering bases, data analyses, function optimisation, and computer
security [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Basic AIS algorithms such as the Negative Selection Algorithm (NSA)
that di erentiates self (normal) from non-self (abnormal) are ideal for real-world
problems where normal data is well de ned, and any alterations can be deemed
as anomalies. For example, cancer detection or labelling device performance as
good or bad.
      </p>
      <p>
        Although useful, the simple NSA algorithm su ers from a high false-positive
rate [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The proposed re nements include extending NSA to include an
additional check for pattern recognition. Brie y, in addition to the non-self detectors,
NSA can be re ned as Conserved Self Pattern Recognition Algorithm (CSPRA)
to include self pattern detectors that con rm the non-self classi cation. Such
an approach has previously been shown to decrease the false positive rate and
improve accuracy [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Similarly, the overall performance of AIS classi ers can be
improved by using both self and non-self patterns during training. Dendritic Cell
Algorithm (DCA) is one such algorithm that improves performance by including
both self and non-self data during classi er training [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. AI algorithms, including
AIS algorithms, su er from a lack of transparency. Hence, the eXplainable
Articial Intelligence (XAI) approaches are essential to improve the understanding
and interpretability of AIS classi ers. Among the XAI approaches available, the
model agnostic approaches are easier to incorporate into AI/ML pipeline. XAI
algorithms such as Local Interpretable Model-agnostic Explanations (LIME) and
SHapley Additive exPlanations (SHAP) can be used for the identi cation of
deterministic features [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Thus, LIME and SHAP based parallel approaches
can be used to understand how AIS classi ers segregate data as self and non-self.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Proposed Idea</title>
      <p>The current unmet need for AIS classi ers is two-fold- (i) re nement of
algorithms to include appropriate self and non-self patterns and (ii) apply XAI to
improve AIS interpretability. Based on the current limitation of AIS, we
propose the use of XAI to identify self and non-self patterns to re ne AIS
algorithms. Brie y, the idea includes creating a generalisable classi cation pipeline
for datasets with clearly anticipated (normal or self) data. The pipeline will
include NSA, CSPRA and DCA as the three AIS algorithms. Each AIS based
classi er is used to overcome the limitations of another classi er. For example,
CSPRA will be used to reduce the anticipated false positive rate of NSA.
Similarly, DCA will be used to overcome the limitation of using only one class to
train NSA and CSPRA. Both CSPRA and DCA use data patterns as the
deterministic factor for classi cation. We propose the use of LIME and SHAP to
identify deterministic features governing the self and non-self classi cation. Once
the deterministic features are identi ed, well-informed self and non-self patterns
can be generated for CSPRA and DCA. Thus, the XAI directed self and non-self
patterns will be used to re ne AIS algorithms to improve the classi er
performance and interpretability.</p>
      <p>The two signi cant anticipated limitations for the proposed idea include (i)
generalisability and (ii) coverage of the self and non-self patterns. Since LIME
and SHAP uses only a subset of samples, it is possible that the pattern identi ed
from the limited number of samples may not be representative of the entire
dataset and therefore not generalisable. Similarly, the number of samples to be
analysed by LIME and SHAP may not o er su cient coverage for the entire
dataset to identify appropriate self and non-self patterns. Thus, the number of
samples analysed using LIME and SHAP with NSA to identify self and non-self
patterns will be an anticipated challenge of the proposed approach, which is
shown in Figure 1.</p>
      <p>Use of Explainable AI to Re ne Arti cial Immune System Algorithms
Overall, we propose the combination of XAI methods to re ne AIS algorithm
based classi ers as a new way to improve data segregation to tackle real-world
problems. Further work on the proposed idea will enable us to identify best
approach to select deterministic features for AIS re nements.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>D.</given-names>
            <surname>Dasgupta</surname>
          </string-name>
          and
          <string-name>
            <given-names>N. L.</given-names>
            <surname>Fernando</surname>
          </string-name>
          ,
          <article-title>Immunological computation; theory and applications</article-title>
          , First. CRC Press Taylor Fransis Group,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>S.</given-names>
            <surname>Yu</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Dasgupta</surname>
          </string-name>
          , \
          <article-title>Conserved Self Pattern Recognition Algorithm with Novel Detection Strategy Applied to Breast Cancer Diagnosis,"</article-title>
          <source>J. Artif. Evol. Appl.</source>
          , vol.
          <year>2009</year>
          , pp.
          <volume>1</volume>
          {
          <issue>12</issue>
          ,
          <year>2009</year>
          , doi: 10.1155/
          <year>2009</year>
          /130498.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>J.</given-names>
            <surname>Greensmith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Aickelin</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Cayzer</surname>
          </string-name>
          , \
          <article-title>Introducing Dendritic Cells as a Novel Immune-Inspired Algorithm for Anomaly Detection</article-title>
          .," in Jacob C.,
          <string-name>
            <surname>Pilat</surname>
            <given-names>M.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bentley</surname>
            <given-names>P.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Timmis</surname>
            <given-names>J.I.</given-names>
          </string-name>
          <article-title>(eds) Arti cial Immune Systems</article-title>
          .
          <source>ICARIS 2005. Lecture Notes in Computer Science</source>
          , C. Jacob,
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Pilat</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. J.</given-names>
            <surname>Bentley</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J. I.</given-names>
            <surname>Timmis</surname>
          </string-name>
          , Eds. Berlin, Heidelberg: Springer.,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>A.</given-names>
            <surname>Adadi</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Berrada</surname>
          </string-name>
          , \
          <article-title>Peeking Inside the Black-Box: A Survey on Explainable Arti cial Intelligence (XAI),"</article-title>
          <source>IEEE Access</source>
          , vol.
          <volume>6</volume>
          , pp.
          <volume>52138</volume>
          {
          <issue>52160</issue>
          ,
          <year>2018</year>
          , doi: 10.1109/ACCESS.
          <year>2018</year>
          .
          <volume>2870052</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>M. T.</given-names>
            <surname>Ribeiro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Singh</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Guestrin</surname>
          </string-name>
          , \
          <article-title>`Why should i trust you?' Explaining the predictions of any classi er,"</article-title>
          <source>Proc. ACM SIGKDD Int. Conf. Knowl. Discov. Data Min.</source>
          , vol.
          <volume>13</volume>
          -17-Augu, pp.
          <volume>1135</volume>
          {
          <issue>1144</issue>
          ,
          <year>2016</year>
          , doi: 10.1145/2939672.2939778.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>P.</given-names>
            <surname>Linardatos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Papastefanopoulos</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Kotsiantis</surname>
          </string-name>
          , \
          <article-title>Explainable ai: A review of machine learning interpretability methods,"</article-title>
          <source>Entropy</source>
          , vol.
          <volume>23</volume>
          , no.
          <issue>1</issue>
          , pp.
          <volume>1</volume>
          {
          <issue>45</issue>
          ,
          <year>2021</year>
          , doi: 10.3390/e23010018.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>