<!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>Low-Impact Feature Reduction regularization term: How to improve Artificial Intelligence with Explainability</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Iván Sevillano-García</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Julian Luengo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francisco Herrera</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science and Artificial Intelligence, Andalusian Research Institute in Data Science and Computational Intelligence (DaSCI), University of Granada</institution>
          ,
          <addr-line>Granada, 18071</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The proliferation of Artificial Intelligence in various domains has led to a growing demand for explainability. However, most modern Artificial Intelligence models are complex and opaque, making it challenging to interpret their decision-making process. The lack of transparency and interpretability of AI systems can pose significant risks, such as erroneous decisions, biased outcomes, and ethical concerns. To address these issues, various proposals have been put forth to generate explanations for black box models, both agnostic and model-dependent, and to evaluate these explanations using qualitative or quantitative measures. While these proposals have been useful in generating and evaluating explanations for AI models, none has focused on improving model quality using these evaluations. Regularization techniques, employed to introduce a quality bias into a solution, involve incorporating an additional term into the loss function to ensure that the model satisfies certain quality criteria, such as augmenting explainability. In this paper, the LIFR regularization term to improve the quality of AI models with respect to explainability is presented. We demonstrate the efectiveness of our approach on a benchmark dataset and discuss its potential applications.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Explainable Artificial Intelligence</kwd>
        <kwd>Interpretability</kwd>
        <kwd>Regularization</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        The proliferation of Artificial Intelligence(AI) in various domains has led to a growing demand
for explainability, where users need to understand the reasoning behind AI systems decisions[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
However, most modern AI models are complex and opaque, making it challenging to interpret
their decision-making process. The lack of interpretability of AI systems can pose significant
risks, such as erroneous decisions, biased outcomes and ethical concerns. To address these issues,
various proposals have been put forth to generate explanations for black box models, both
agnostic and model-dependent[
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ], and to evaluate these explanations using qualitative[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]
or quantitative measures[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. While these proposals have been useful in generating and
evaluating explanations for AI models, none has focused on improving model quality using these
evaluations. Regularization techniques are commonly used to bias a solution by involving an
additional term to the objective function that ensure the model to fullfill some quality criterion
such as increasing explainability. In this work, the Low-Impact Feature Reduction(LIFR)
regularization term to improve the quality of AI models with respect to explainability is presented.
We demonstrate the efectiveness of our approach and discuss its potential applications.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>Explainable Artificial Intelligence (XAI) has gained significant attention in recent years, with
researchers striving to bring transparency and interpretability to complex AI models. The field
has witnessed remarkable progress in generating explanations that help users understand the
decision-making process of black box models.</p>
      <p>One of the most widely used approaches to generate explanations are LLEs, which generates
an importance matrix in which each term of the matrix is associated to the influence of feature i
for output j. Formally, let  :  →  be a model to be explained, where  ⊂ R is the feature
space and  ⊂ R is the output space. Then, an explanation is a matrix  ∈ R where each
, is the importance of the feature  for the output .</p>
      <p>
        There has been developed diferent criteria to be able to compare between explanations.
The conciseness metric, which is developed as a metric by REVEL[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], enables to diferentiate
between the most important features from the less important ones. The conciseness of an
explanation  is defined as  () = 1− 1 ∑︀=1 1 − | |1, where  is the column of
the explanation, that is, the vector of all the importances of the feature . However, those quality
criteria has not been used to impose a bias on training to improve intelligence models.
      </p>
      <p>
        On the other hand, regularization is a widely used method to impose quality criteria on
diferent models in machine learning[
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Most machine learning libraries already has regularization
terms implemented as default, such as weight decay.[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. These penalties are generally added to
the cost function as a term that does not depend on the output space as it follows:
_ (Θ, ,  ) = ( (),  ) + (Θ , ),
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Low-Impact Feature Reduction(LIFR) regularization term.</title>
      <p>In this work, we use the type of explanations based on importance matrix. We use the concept
of derivative as the importance matrix because locally the derivative of a feature with respect
to an output is the influence of this feature for this output. So, for an example , we consider
that the explanation of  for this example will be the matrix   () ⊂ R × R.</p>
      <p>For the LIFR metrics development, we focus on removing the less important features. If a
model uses exclusively the most important features and discards the least important ones, its
behavior should be similar. Formally, we consider important features to be those whose absolute
importance is greater than the conciseness. Reciprocally, the non-important features are those
whose absolute importance is less than the conciseness. Once the prediction of the model and
the explanation are obtained, we proceed to delete the non-important features and compare the
results of both predictions. The regularization is calculated as the sum of both Kullback-Leibler
divergences between the model predictions of the example and the model prediction with just
the important features and the original one:
( (),  (′)) = −
∑︁  (′) log(  ()
=1  (′)
) +  () log(
 (′)
 ()
)
(1)
where ′ is the example without non-important features and  () is the prediction for . A
experimental study is presented below to show the efectiveness of LIFR in image classification.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Experimental Setup</title>
      <p>
        We use as benchmark the CIFAR 10 image dataset [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], which has 50,000 images for training and
10,000 images for testing. As base experiment, we use the EficientNet B2[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and used AdamW
optimization [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. We also use diferent learning rates ( 1 − 05, 5 − 05, and 1 − 04).
      </p>
    </sec>
    <sec id="sec-5">
      <title>5. Results</title>
      <p>We evaluated the performance of LIFR to improve EficientNet B2 behavior on CIFAR-10 with
diferent learning rates. The performance of the model was measured using the classification
error on the test set. The results are shown in Table 1 for the test error and Figure 1 for the
training and validation scores on accuracy, loss and LIFR regularization, respectively.</p>
      <p>As shown in Table 1, the model achieved the best performance with a learning rate of
1 − 04 with the LIFR regularization, achieving a test Accuracy error of 0.88%. Among the
baseline models, the model with a learning rate of 5e-04 achieve its best performance of a 1.28%
Accuracy Error. These results suggest that the choice of using the LIFR regularization has a
significant impact on the performance of the model. To gain a deeper understanding of the
model’s performance, we also analyzed the training and validation accuracy, loss, and LIFR
regularization over time of the two learning rates with best performances. Figure 1 show these
metrics, respectively, as a function of the number of training epochs.</p>
      <p>Train/Accuracy</p>
      <p>Val/Accuracy</p>
      <p>Train/Accuracy</p>
      <p>Val/Accuracy
1
0.9
0.8
0
1
0.5
0
0</p>
      <p>Based on the Figure 1 of the training and validation metrics, we can observe that the models
without the LIFR regularization generally learn the dataset with fewer training epochs than the
models with LIFR. However, as the training progresses, the regularization technique starts to
catch up and eventually outperforms the baseline model in terms of validation accuracy.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusions</title>
      <p>In this work, we develop a theoretical basis for studying explainable artificial intelligence models.
Using this base, we develop a novel regularization term called LIFR, which restricts the learning
of the model and improves its stability compared to the baseline model.</p>
      <p>Our experimental results on the CIFAR 10 image dataset shows that LIFR regularization
outperforms the baseline model in terms of accuracy error. Additionally, we have shown that
LIFR regularization is efective in preventing overfitting, despite the initial slower learning. As
part of our ongoing development, we are currently studying the impact of LIFR on accuracy and
loss. Additionally, we aim to explore the development of a new set of LIFR-like regularizations.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This work was supported by the Spanish Ministry of Science and Technology under project
PID2020-119478GB-I00 financed by MCIN/AEI/10.13039/501100011033. This work was also
partially supported by the Contract UGR-AM OTRI-6717 and the Contract UGR-AM
OTRI5987. and projects P18-FR-4961 by Proyectos I+D+i Junta de Andalucia 2018. The hardware
used in this work is supported by the projects with reference EQC2018-005084-P granted by
Spain’s Ministry of Science and Innovation and European Regional Development Fund (ERDF)
and the project with reference SOMM17/6110/UGR granted by the Andalusian “Consejería
de Conocimiento, Investigación y Universidades” and European Regional Development Fund
(ERDF).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A. B.</given-names>
            <surname>Arrieta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Díaz-Rodríguez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. Del</given-names>
            <surname>Ser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bennetot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Tabik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Barbado</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>García</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gil-López</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Molina</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Benjamins</surname>
          </string-name>
          , et al.,
          <article-title>Explainable artificial intelligence (xai): Concepts, taxonomies, opportunities and challenges toward responsible ai</article-title>
          ,
          <source>Information fusion 58</source>
          (
          <year>2020</year>
          )
          <fpage>82</fpage>
          -
          <lpage>115</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Bohanec</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. K.</given-names>
            <surname>Borštnar</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Robnik-Šikonja, Explaining machine learning models in sales predictions</article-title>
          ,
          <source>Expert Systems with Applications</source>
          <volume>71</volume>
          (
          <year>2017</year>
          )
          <fpage>416</fpage>
          -
          <lpage>428</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Guidotti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Monreale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ruggieri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Turini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Giannotti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Pedreschi</surname>
          </string-name>
          ,
          <article-title>A survey of methods for explaining black box models, ACM computing surveys (CSUR) 51 (</article-title>
          <year>2018</year>
          )
          <fpage>1</fpage>
          -
          <lpage>42</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>R.</given-names>
            <surname>Confalonieri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Coba</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Wagner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. R.</given-names>
            <surname>Besold</surname>
          </string-name>
          ,
          <article-title>A historical perspective of explainable artificial intelligence</article-title>
          ,
          <source>Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery</source>
          <volume>11</volume>
          (
          <year>2021</year>
          )
          <article-title>e1391</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>I.</given-names>
            <surname>Sevillano-García</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Luengo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Herrera</surname>
          </string-name>
          ,
          <article-title>Revel framework to measure local linear explanations for black-box models: Deep learning image classification case study</article-title>
          ,
          <source>International Journal of Intelligent Systems</source>
          (
          <year>2023</year>
          ). doi:
          <volume>10</volume>
          .1155/
          <year>2023</year>
          /8068569.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , Regularization, Springer US, Boston, MA,
          <year>2010</year>
          , pp.
          <fpage>845</fpage>
          -
          <lpage>849</lpage>
          . URL: https://doi. org/10.1007/978-0-
          <fpage>387</fpage>
          -30164-8_
          <fpage>712</fpage>
          . doi:
          <volume>10</volume>
          .1007/978-0-
          <fpage>387</fpage>
          -30164-8\_
          <fpage>712</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Paszke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gross</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Massa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lerer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Bradbury</surname>
          </string-name>
          , G. Chanan,
          <string-name>
            <given-names>T.</given-names>
            <surname>Killeen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Gimelshein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Antiga</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Desmaison</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kopf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>DeVito</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Raison</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Tejani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chilamkurthy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Steiner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Bai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chintala</surname>
          </string-name>
          ,
          <string-name>
            <surname>Pytorch:</surname>
          </string-name>
          <article-title>An imperative style, high-performance deep learning library</article-title>
          ,
          <source>in: Advances in Neural Information Processing Systems</source>
          <volume>32</volume>
          ,
          <string-name>
            <surname>Curran</surname>
            <given-names>Associates</given-names>
          </string-name>
          , Inc.,
          <year>2019</year>
          , pp.
          <fpage>8024</fpage>
          -
          <lpage>8035</lpage>
          . URL: http://papers.neurips.cc/ paper/9015-pytorch
          <article-title>-an-imperative-style-high-performance-deep-learning-library</article-title>
          .pdf.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Krizhevsky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Nair</surname>
          </string-name>
          , G. Hinton, Cifar-
          <volume>10</volume>
          (
          <article-title>canadian institute for advanced research</article-title>
          ), URL http://www. cs. toronto. edu/kriz/cifar. html
          <volume>5</volume>
          (
          <year>2010</year>
          )
          <article-title>1</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>Tan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Le</surname>
          </string-name>
          , Eficientnet:
          <article-title>Rethinking model scaling for convolutional neural networks</article-title>
          ,
          <source>in: International conference on machine learning</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>6105</fpage>
          -
          <lpage>6114</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>D. P.</given-names>
            <surname>Kingma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Ba</surname>
          </string-name>
          ,
          <article-title>Adam: A method for stochastic optimization</article-title>
          .
          <source>iclr. 2015, arXiv preprint arXiv:1412.6980 9</source>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>