<!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>Workshop on Artificial Intelligence and Cyber Security, December</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>An Assessment of Robustness for Adversarial Attacks and Physical Distortions on Image Classification using Explainable AI</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>K.T.Y. Mahima</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mohamed Ayoob</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Guhanathan Poravi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Software Engineering, Informatics Institute of Technology</institution>
          ,
          <addr-line>Colombo</addr-line>
          ,
          <country country="LK">Sri Lanka</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>14</volume>
      <issue>2021</issue>
      <abstract>
        <p>Introducing defence mechanisms to overcome the vulnerability of adversarial attacks is a highly focused research area. However recent research highlights that introducing defence approaches for man-made adversarial attacks is not suficient, because the deep learning models are vulnerable to the perturbations outside the scope of the training set and the physical world itself acts as an adversarial sample generator. Given this caveat, there is a necessity to introduce general defence approaches for both man-made and physical world adversarial samples. Prior to that, a brief explanation of how the model's decision-making process happens in the inference phase under the various adversarial perturbations is required. However, the deep learning models act as black boxes in the inference phase where the decision-making is not interpretable. As a result, research on model interpretability and explainability has been carried out in the domain which is collectively known as Explainable AI. Using a set of Explainable AI techniques, this study is investigating the deep learning networks' robustness; i.e., the decision-making process in neural networks and important pixel attributes for the predictions that are captured when the deep learning model inference gets adversarial inputs. These adversarial inputs are perturbed by adversarial attacks or the physical world adversaries using the deep learning network trained on the CIFAR10 dataset. The study reveals, that when the inference gets adversarial samples, the necessary pixel attributes for the prediction captured by the network vary everywhere in the image. However, when the network is re-trained using adversarial training or data transformation-based augmentation, it will be able to capture pixel attributes within the particular object or reduce the capture of negative pixel attributes. Based on the deductions gained from the findings, this paper states some potential research approaches to introduce a general adversarial defence method.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Computer Vision</kwd>
        <kwd>Adversarial Robustness</kwd>
        <kwd>General Robustness</kwd>
        <kwd>Explainable AI</kwd>
        <kwd>Model Interpretability</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Usage of Machine Learning (ML) has grown with the revolution of deep learning (DL) because
of its superior generalization and applicability to perform advanced tasks in computer vision
and across other domains which used traditional ML technologies [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The ability of the DL/ML
to deliver its promises is, conditional on successfully mitigating the ethical and practical issues
that occur such as algorithm bias and model interpretability. Moreover recently there is a huge
discussion on Altruism AI which emphasizes how people can get a positive impact from the AI
without any biases and vulnerabilities [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. In domains such as healthcare, trustworthiness and
the transparency of the predicted outputs is of paramount importance and recent research have
given their full potential to uncover the questions of trustworthiness and the fairness of the AI
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        Recent research identified a significant drawback of these DL networks, the models’
performance is degraded when the inference gets the samples out of distribution from the training
set [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ]. Given priority to this phenomenon, a novel security threat for DL networks was
introduced namely adversarial attacks where the DL model’s predictions are able to be
completely altered using the deliberately synthesized adversarial attacks which are visually similar
to the clean inputs [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Moreover, recent research shows real-world computer vision
applications deployed in robotic systems like Unmanned Vehicles (UV) and mobile devices also
show considerable performance degradation under unintended physical world distortions also
known as common corruptions such as noises and lightning level changes [
        <xref ref-type="bibr" rid="ref5 ref7 ref8">5, 7, 8</xref>
        ]. These
physical adversarial conditions could appear as singular or mix-up instances. Further, there
could be multiple degradations that appear at the same time. Potentially these corruptions
are not stronger than digitally altered adversarial attacks, but strong enough to make security
impacts.
      </p>
      <p>
        To overcome the vulnerability of these two security threats in DL networks researchers
introduced several robustness improvement approaches separately for each category. However,
we identified that the integration of separate resilient approaches for adversarial attacks and
physical distortions could increase the computational power of the system in the inference.
In UV systems this would be a problem because those have various high resource-consuming
tasks. Thus afording a greater proportion of computational resources to adversarial resilience
is questionable and it could be allowed only if the defence method gives superior performance
against attacks [
        <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
        ]. Researchers tend to introduce general resilience approaches which
enhance the robustness of existing DL networks and networks which are implemented from
scratch against both human synthesized and naturally occurring adversarial inputs when these
kinds of requirements are prioritized [
        <xref ref-type="bibr" rid="ref11 ref12">11, 12</xref>
        ].
      </p>
      <p>
        Prior to introducing a general resilient approach to both the aforementioned types of
adversarial perturbations (i.e., digital and physical adversaries), it is able to understand that, a
comprehensive analysis of DL networks performance against both human synthesized and
physical adversarial perturbations is required to identify the DL model’s behavior under the
influence of adversaries and to verify the relationships between each perturbation. However,
the DL models act as black boxes in the inference phase where the decision-making process
of the model is not accessible or interpretable [
        <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
        ]. Explainable AI (XAI) as a field exists
to pique interest in transparent decision-making of DL networks to better understand it. This
has attracted increasing attention within the research community towards various XAI model
interpretability algorithms and visualization approaches such as Saliency Maps, Integrated
Gradients, Layer-wise Relevance Propagation (LRP), GradCam. . . etc. [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ].
      </p>
      <p>
        This is, to the best of our knowledge, the first paper to assess the general adversarial robustness
and identify a relationship between adversarial attacks and physical world distortions using
XAI. Consequently, we will assess previously presented model interpretation algorithms, using
a set of chosen model interpretability approaches. Thereafter, we will conduct a comprehensive
analysis of networks behavior and mark our observations on how it captures the pixel attributes
used to make the predictions under the human crafted digital adversaries and naturally occurring
physical adversaries using the DL network implemented on CIFAR10 [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] dataset. Based on the
main objectives of this study, the following research questions can be implied.
RQ1 - How to assess general adversarial robustness using XAI algorithms?
RQ2 - How to identify a relationship between adversarial attacks and physical distortions based
on positive and negative pixel attribution captured by the network?
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Works</title>
      <sec id="sec-2-1">
        <title>2.1. General Adversarial Robustness</title>
        <p>
          Data augmentation or transformation during the training phase is a wide research topic in the
present since it will help to increase performance, avoid generalization issues, and improve
the resistance against physical corruption [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. In contrast, adversarial training is one of the
most efective adversarial attack defence approaches where the network is re-trained using the
adversarial samples synthesized on a particular attack [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]. Laugros et.al examined whether
data augmentation is an appropriate way to improve the resilience against adversarial attacks
and vice versa, adversarial training is capable of only improving the resilience against physical
corruptions. However, the empirical results showed those two approaches are not mutually
exclusive from each other [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. Moreover, Daniel et al. also proved that model re-training
individually with adversarially improved physical distortions like fog, snow. . . etc. , or with ∞,
2 adversarial samples only improve the robustness for particular corruption [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ].
        </p>
        <p>
          Zhang et al. proposed a model robustification approach where the primary model is trained
with the use of several supplementary classifiers which learn from the physically corrupted
samples. Moreover, they showed when the primary classifier is trained using adversarial attack
samples, the proposed approach could be used to improve the general robustness. However, the
training time computational cost would be high in this approach [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ]. DeepMind by Google
proposed an adversarial data augmentation approach optimized by projected gradient ascent
[
          <xref ref-type="bibr" rid="ref21">21</xref>
          ]. The results showed this approach is able to efectively increase the robustness against
common physical corruptions. In particular, combined with other data augmentation techniques
like AugMix [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ] and DeepAugment [23] it improved the resilience against ∞ and 2 attacks.
Moreover, the proposed data augmentation approach is much robust than the ∞ and 2 aversarial
training for common corruptions.
        </p>
        <p>
          Laugros et.al introduced a unified general defence approach using targeted labeling adversarial
training with Fast Gradient Sign Method (FGSM) based adversarial assaults and image on image
mixup [24] data augmentation approach. The empirical results show that, while their approach
improves the general resilience, there is a slight performance degradation for some adversarial
attacks while integrating the adversarial training with the image mix-up method. Further,
exclusively using adversarial training alone, givesthe model more resilience to adversarial
attacksthan the integrated general approach [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. Park et.al showed, though data augmentation
improves the clean accuracy, it will reduce the performance against adversarial attack samples.
This emphasizes there is an internal corruption between adversarial attack perturbations and
data augmentation [25].
        </p>
        <p>The above-discussed works show general robustness on existing networks or DL networks
built from the scratch required more research. If there is a solution that improves the resiliency
of the network naturally without any modifications or no usage of any supporting tool, it is
able to save computation power in the inference and be re-deployed without any additional
dependencies. To achieve this, identifying the DL networks’ behavior under each adversary is
essential.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Model Interpretability</title>
        <p>
          As discussed earlier DL model inference is a complete black-box where the models’
decisionmaking is not transparent. Thus XAI technology was introduced. XAI is a reductive method
to improve the transparency of the network which allows to examine and visualize how the
model infers a particular prediction [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. In this section, we will briefly discuss the chosen
model interpretability algorithms for this study.
        </p>
        <p>Recent research demonstrates model interpretability methods are able to use as an adversarial
attack detector by analyzing the abnormal behavior of the pixel features captured by the network
[26, 27]. So this mainly motivates us to conduct this assessment using XAI methodologies.
For our study, we used the saliency maps-based XAI approaches which are post-hoc analysis
methods; they, produce heatmaps to represent the contribution of the input features to the
output of the network. By using the heatmaps it is possible to arrive at a fairly accurate picture
of the regions of interest in an image where the DL model has high gradient flows to make the
prediction [28]. Below we summarize the chosen XAI algorithms for this study.</p>
        <sec id="sec-2-2-1">
          <title>2.2.1. Saliency</title>
          <p>The Saliency [29] approach allows computing input features and output gradients concerning the
input features in a heatmap. The generated heatmap from this method is at a fine-grained pixel
level as we have gradients for each pixel [30]. However, this algorithm ignores the relevance of
a singular pixel in an image to its surrounding pixels. This would be particularly problematic for
any examination of fine-gradient classification models [ 31]. This would not be exactly relevant
to our research but rather a scafold to future works in accessing adversarial attacks using the
XAI domain. In this scope of research, we focus on non-fine-gradient image classification.</p>
        </sec>
        <sec id="sec-2-2-2">
          <title>2.2.2. DeepLift</title>
          <p>Using the activation of each neuron, the proposed algorithm assigns contribution scores which
are deliberated by comparing the output of the given input sample and a reference point
backpropagated to each neuron. In particular, DeepLift gives a separate reflection of the positive
and negative contributions. The state-of-the-art results exhibit DeepLifts superiority over
gradient-based methods using models trained on images and genomic samples [32].</p>
        </sec>
        <sec id="sec-2-2-3">
          <title>2.2.3. Integrated Gradients</title>
          <p>
            Integrated Gradients is an axiomatic attribution approach that requires no modification to the
network. The explanation was generated by attributing the predictions of the network to the
input features. By using a few standard gradient calls, the variation of the gradients of the
predicted output with respect to the input features was calculated [33]. The proposed approach
satisfied a fundamental axiom, the desired property of the generated explanations which is
known as completeness [
            <xref ref-type="bibr" rid="ref15">15</xref>
            ].
          </p>
        </sec>
        <sec id="sec-2-2-4">
          <title>2.2.4. GradientShap</title>
          <p>Shapley Additive explanations (SHAP) enhance the model’s interpretability by enumerating
the essential values/SHAP values for each feature for a single prediction. GradientShap
approximately estimates the SHAP values by computing the projection of gradients by randomly
sampling from the distribution of the baselines. The authors of SHAP proposed SHAP values as
a unified evaluation for calculating the feature importance [34].</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Methodology</title>
      <sec id="sec-3-1">
        <title>3.1. Standard Classification Model and Dataset</title>
        <p>
          For the experiments of the study, we have chosen the CIFAR10 dataset [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] which is a balanced
dataset, consisting 32x32 6000 RGB images classified into 10 classes. The standard classification
model is a self-composed network with 1 dropout layer, 3 max-pooling 2d layers, 3 conv2d
layers, and 2 linear layers with relu activation function. While training the initial model we
have not used any color transformation or noises and the model was trained until the testing
accuracy is unchanged throughout several epochs with model generalization.
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Adversarial Attacks</title>
        <p>
          For a fair assessment, we inspect both ∞ and 2 norm bounded adversarial attacks. As the ∞
norm attacks we choose Fast Gradient Sign Method (FGSM) [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], Basic Iterative Method (BIM)
[35], and Projected Gradient Descent (PGD) [36] attacks. Moreover as the 2 norm attack we
chose PGD 2 norm attack. Equation 1-3 demonstrate the hypothesis functions of the FGSM,
PGD and BIM attacks respectively. Here  is the adversarial input, ℎ is the DL network, 
input image,  ground truth,  epsilon,  the adversarial perturbation, ∇ the gradient of the
model, Π the project to the ball of interest (Clipping values between values [- , ],  the step size
and (ℎ(), ) the loss function of the network. For the evaluations of the ∞ attacks we kept
 = 0.005, number of iterations  = 10. Moreover we use worst case  value where  = 0.01.
For 2 attack  = 5.0,  = 0.5.
        </p>
        <p>=  + . sin(∇(ℎ(), ))
 =  + Π  (− 1 + . sin(∇(ℎ(− 1), )))
+1 = (, ){′ + . sin(∇(ℎ(′), ))}
′
(1)
(2)
(3)</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Physical World Corruptions</title>
        <p>Past research on DL network robustification used synthesized image transformations for the
evaluations for the physical corruptions [37]. Thus as physical world corruptions, we have
chosen 12 transformations classified into 3 categories. Table 1 summarizes the selected adversarial
image transformations we have chosen as physical corruptions.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiments and Results</title>
      <sec id="sec-4-1">
        <title>4.1. Experimental Setup</title>
        <p>The PyTorch library was mostly utilized to build the DL network. The SkImage library was used
to create physical corruptions via image transformations. To perform the above discussed XAI
algorithms for the inspection we have used the Captum library by FaceBook AI [38]. Captum
consists of various previously introduced model interpretability algorithms and appropriate
visualization methods as well. It also contains a set of evaluation metrics for evaluating these XAI
algorithms. This research used an image from CIFAR10’s "Plane" class to display the assessment
results. A particular picture of the “plane” class was chosen due to the high separation between
the class level pixels and non-class pixels. The plane object is also of uniform linear shapes
which helps us to qualitatively assess the XAI performance.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Assessment Results for Adversarial Attacks</title>
        <p>
          Initially, the performance of the composed CIFAR10 classification model under the chosen
adversarial attacks was assessed. Table 2 summarizes the Robustness Score ( : Equation 4)
[
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] of the model under diferent attack scenarios.
        </p>
        <p>=</p>
        <p />
        <p>Where  is the accuracy of the adversarially corrupted (Dataset with adversarial examples)
data set,  is the accuracy of the clean data set and N is the neural network.</p>
        <p>Next, we analyze the feature maps of each XAI algorithm under these attacks scenarios.
Initially, the network’s pixel feature’s inferring accuracy of a clean non-adverse sample was
examined. Based on the feature attributions generated by the XAI algorithms and displayed
(4)
in the saliency maps in Table 3, we elaborate that while input is perturbed by adversarial
attacks the important features captured are dispersed everywhere in the image. In addition, the
evaluated XAI algorithms (Except the Saliency method) showed the adversarial attacks limit
the capturing pixel feature attributions on top of the object in a particular image. According to
the samples displayed in Table 3, the essential features captured on top of the “Plane” object
while the input is a clean sample, are shifted and dispersed out of the “Plane” object while
the adversarial attacks are performed. Thus we could arrive with reasonable premises for the
following argument that this phenomenon would be the reason for misclassification of the
predictions while inference gets human synthesized adversarial assaults. In contrast, the feature
dispersing strength is relatively low under 2 norm adversarial settings.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Assessment Results for Physical World Corruptions</title>
        <p>For evaluating the physical world adversarial settings we used the same procedure as the
adversarial attacks and as mentioned earlier transformations presented in Table 1 were considered as
the physical distortions. These physical world adversarial samples are not stronger than the
adversarial attacks since they do use any knowledge about the model such as gradients. There is
an average of 10% accuracy degradation for the evaluated physical corruptions. Sample Saliency
maps of capturing feature attributes under the physical adverse conditions are demonstrated in
Table 4.</p>
        <p>Here we understood most of the physical world corruptions, act as the human synthesized
adversarial assaults. In particular, the empirical results showed the network has the same
behavior under contrast and scaling where it captures the pixel features dispersed out of the
object when compared to the other distortions. In contrast exposure limits the capturing of the
positive feature attributes withinside the object when analyzing the saliency approach. However
other XAI algorithms that demonstrate exposure also result in dispersing the features. Moreover,
under shearing, the captured feature attributes have shifted towards the angle between the
original and image corrupted by shearing. A complete explanation of this phenomenon is
displayed in Fig 1. In some scenarios, sharpening has increased the capturing feature attributes
of the network far-better than the clean samples.</p>
        <p>Among the assessed physical corruptions, the noise array was evaluated subjectively. There
we understood all the noises result in dispersing the feature attributes everywhere in the image.
Moreover, the behavior of the adversarial attack noises and these physical noise corruptions
is almost similar. Among the investigated noise corruptions, Speckle and Gaussian noise
transformations shifted and dispersed feature attributes away from the “Plane” object. In
addition, when Salt, Pepper, and Salt &amp; Pepper noise transformations are performed the feature
attributes tend to superimpose on top of the noise points.</p>
        <p>Overall, it can be deduced from the findings that the network’s feature selection will be
dispersed and shift away from the particular object, or that it would be limited while receiving
adversarial samples. In particular, the network’s feature attributes selected via backpropagation
have similar behavioral patterns under physical and adversarial attack noise settings. Thus to
overcome the adversarial noises and physical noises a mathematically optimized solution would
be ideal. A complete summary of the XAI assessment details under the physical adversarial
samples could be viewed at https://gitlab.com/a4855/xai-assessment.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Discussion</title>
      <p>This assessment was motivated by analyzing how the DL network captures and makes the
decisions by capturing the pixel feature attributes under both human synthesized and naturally
corrupted adversarial inputs prior to introducing a general defence approach. In summary,
we understand that the performance degradation happens under these adversaries due to the
networks capturing of the significant features dispersed everywhere in the image or limiting
the capturing of the features.</p>
      <p>Moreover, we conclude that the model has similar behaviors under the adversarial attack
noises and physical noises. In addition, blur, scaling, and contrast transformation have quite
similar behaviors to each other. Therefore we conclude, a correctly classified set of adversarial
perturbations with an array of improved noise perturbations could be used to enhance the
general resilience. In particular, training the given network along with Generative Adversarial
Network (GAN) would be a promising research idea. To elaborate further on how the adversarial
attack defence approaches and model robustification approaches improve resilience we analyze
the performance of the adversarial training and image augmentation for adversarial attacks and
physical distortions respectively.</p>
      <sec id="sec-5-1">
        <title>5.1. Impact of Adversarial Resilience Approaches</title>
        <sec id="sec-5-1-1">
          <title>5.1.1. Adversarial Training</title>
          <p>To perform the adversarial training we used PGD ∞ attack [36]. First, we have run several
epochs with the clean samples and then gradually increased the epsilon  value until  = 0.01
. Here the  values are placed in an exponential series and all the other parameters are kept
as constants. As the result, we got an average of 0.85  score for PGD  , FGSM and BIM
∞
attacks. Surprisingly we noticed adversarial training is able to improve the network’s ability to
capture the pixel features withinside the “Plane” object. Table 5 summarizes the pixel feature
capturing of the adversarially trained model under the PGD ∞ adversarial samples and the
same behavior was noticed under the other adversarial attack settings as well.</p>
        </sec>
        <sec id="sec-5-1-2">
          <title>5.1.2. Input Data Transformations &amp; Augmentation</title>
          <p>
            To perform the input augmentation-based model re-training using the selected image
transformation methods in section 3.3 a separate training set was augmented. Given priority to that as
did by Laugros et al. [
            <xref ref-type="bibr" rid="ref11">11</xref>
            ] an array of severity levels of each transformation (except-swirl) was
used while augmenting the dataset. Thereafter, we trained the initial classification model using
the new training set. Moreover, to avoid generalization issues, clean samples to the training set
were included randomly. As shown in Table 6, we noticed there is a robustness increment for
most of the physical corruptions. Even in the shear condition, the model is now able to capture
the pixel features within the “Plane” object and in other corruptions instances also there is
a relatively low feature dispersing of the network. In contrast under the noise and exposure
perturbations, the feature dispersing phenomena is still active, but now the features captured
withinside the “plane” object are increased, and due to that models’ robustness is increased.
Though the data augmentation approach improves the robustness for physical corruptions, we
noticed that it will increase or keep the same vulnerability for adversarial attacks as shown by
the literature [
            <xref ref-type="bibr" rid="ref11 ref19">11, 19</xref>
            ]. For PGD ∞ attack  is decreased by approximately 2% ( = 0.458).
          </p>
          <p>Both model resilience approaches which were assessed, are able to decrease the feature
dispersing phenomena or it could improve the number of features captured within the object.
These results gained by the assessment clearly emphasize the relationships and important
insights of human synthesized adversarial attacks and naturally corrupted physical adversaries.
Based on the insights obtained from the performance analysis of the adversarial training and
data augmentation/transformation based robustification approaches, it is possible to further
afirm the notion that, rather than mixing images perturbed by adversarial attacks and physical
world distortions, a properly optimized and well-classified set of both adversarial attack and
natural perturbation based training after analyzing the aforementioned model’s behavior could
improve the models’ resilience naturally. We hope this will help to avoid using any auxiliary
classifiers or tools in the inference which causes increasing cost and computation power in the
inference. Another phenomenon observed was that these adversarial training acts as a sort of
semantic segmentation of the objects (Plane in the above example). This could alternatively be
due to the fact that this study choose to run the experiments on the relatively low-resolution
CIFAR-10 dataset (due to practical, temporal, and cost constraints of running adversarial training
on a high-resolution image dataset), however theoretically when scaling the networks should
be able to extrapolate the results.</p>
          <p>While conducting this assessment we have noticed these XAI approaches (Especially Saliency
Method) are meticulously fragile to adversarial attacks and physical noise corruption when
compared to other adversarial perturbations. Even for attacks with small  values, the
interpretability is given as the dispersed feature attributes. According to [39, 40] the high fragility
of the XAI algorithms to adversarial attacks is a common and an open research problem in
feature attribution-based model interpretability approaches. This issue has to be addressed
broadly in future research as this has raised a question about the model interpretability-based
adversarial detection approaches. In addition, as a promising future research direction, an
adversarially perturbed image detection with a model restoration method or a neural network
model adaptation method could try out for both adversarial types as a general adversarial
defence mechanism.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>This research study empirically showed the connection between adversarial attacks and
physical world corruptions using four feature attribution-based XAI algorithms. In particular, we
demonstrated how each XAI approach visualizes the captured pixel features by the network
under adverse conditions, and based on those heatmaps we further elaborated on several
useful insights about the patterns of the model’s feature capturing ability. In conclusion, this
study demonstrates potential future research directions on model adaptation and restoration
methodologies, or an optimization form of noise perturbations to introduce a general adversarial
defence method for human-crafted adversarial attacks and physical adversarial corruptions.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>The first author would like to thank Ms. Suresha Perera (Lecturer at the Open University Sri
Lanka) for proofreading and guiding the revisions to this paper.
mix: A simple data processing method to improve robustness and uncertainty, ArXiv
abs/1912.02781 (2020).
[23] D. Hendrycks, S. Basart, N. Mu, S. Kadavath, F. Wang, E. Dorundo, R. Desai, T. L. Zhu,
S. Parajuli, M. Guo, D. X. Song, J. Steinhardt, J. Gilmer, The many faces of robustness: A
critical analysis of out-of-distribution generalization, ArXiv abs/2006.16241 (2020).
[24] H. Zhang, M. Cissé, Y. Dauphin, D. Lopez-Paz, mixup: Beyond empirical risk minimization,</p>
      <p>ArXiv abs/1710.09412 (2018).
[25] S. Park, J. So, On the efectiveness of adversarial training in defending against adversarial
example attacks for image classification, Applied Sciences 10 (2020) 8079.
[26] C. Zhang, Z. Yang, Z. Ye, Detecting adversarial perturbations with saliency, 2018 IEEE 3rd</p>
      <p>International Conference on Signal and Image Processing (ICSIP) (2018) 271–275.
[27] S. Wang, Y. Gong, Adversarial example detection based on saliency map features, Applied</p>
      <p>Intelligence (2021).
[28] E. Tjoa, C. Guan, Quantifying explainability of saliency methods in deep neural networks,</p>
      <p>ArXiv abs/2009.02899 (2020).
[29] K. Simonyan, A. Vedaldi, A. Zisserman, Deep inside convolutional networks: Visualising
image classification models and saliency maps, CoRR abs/1312.6034 (2014).
[30] S. Z. S. Samuel, V. Kamakshi, N. Lodhi, N. C. Krishnan, Evaluation of saliency-based
explainability method, ArXiv abs/2106.12773 (2021).
[31] K. K. Nakka, M. Salzmann, Towards robust fine-grained recognition by maximal separation
of discriminative features, in: ACCV, 2020.
[32] A. Shrikumar, P. Greenside, A. Kundaje, Learning important features through propagating
activation diferences, in: ICML, 2017.
[33] M. Sundararajan, A. Taly, Q. Yan, Axiomatic attribution for deep networks, ArXiv
abs/1703.01365 (2017).
[34] S. M. Lundberg, S.-I. Lee, A unified approach to interpreting model predictions, ArXiv
abs/1705.07874 (2017).
[35] A. Kurakin, I. J. Goodfellow, S. Bengio, Adversarial examples in the physical world, ArXiv
abs/1607.02533 (2017).
[36] A. Madry, A. Makelov, L. Schmidt, D. Tsipras, A. Vladu, Towards deep learning models
resistant to adversarial attacks, ArXiv abs/1706.06083 (2018).
[37] D. Temel, T. A. Alshawi, M.-H. Chen, G. Al-Regib, Challenging environments for trafic
sign detection: Reliability assessment under inclement conditions, ArXiv abs/1902.06857
(2019).
[38] N. Kokhlikyan, V. Miglani, M. Martin, E. Wang, B. Alsallakh, J. Reynolds, A. Melnikov,
N. Kliushkina, C. Araya, S. Yan, O. Reblitz-Richardson, Captum: A unified and generic
model interpretability library for pytorch, ArXiv abs/2009.07896 (2020).
[39] A. Ghorbani, A. Abid, J. Y. Zou, Interpretation of neural networks is fragile, in: AAAI,
2019.
[40] H. Rasaee, H. Rivaz, Explainable ai and susceptibility to adversarial attacks: a case study in
classification of breast ultrasound images, 2021 IEEE International Ultrasonics Symposium
(IUS) (2021) 1–4.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>N.</given-names>
            <surname>Sharma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sharma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Jindal</surname>
          </string-name>
          ,
          <article-title>Machine learning and deep learning applications-a vision</article-title>
          ,
          <source>Global Transitions Proceedings</source>
          <volume>2</volume>
          (
          <year>2021</year>
          )
          <fpage>24</fpage>
          -
          <lpage>28</lpage>
          . URL: https://www.sciencedirect. com/science/article/pii/S2666285X21000042. doi:https://doi.org/10.1016/j.gltp.
          <year>2021</year>
          .
          <volume>01</volume>
          .004, 1st International Conference on Advances in Information,
          <article-title>Computing and Trends in Data Engineering (AICDE -</article-title>
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H.</given-names>
            <surname>Jeremie</surname>
          </string-name>
          ,
          <article-title>Efective altruism, ai safety, and learning human preferences from the world's state, Towards Data Science (</article-title>
          <year>2020</year>
          ). URL: https://is.gd/zPYOFZ.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Kerasidou</surname>
          </string-name>
          ,
          <article-title>Ethics of artificial intelligence in global health: Explainability, algorithmic bias and trust</article-title>
          ,
          <source>Journal of Oral Biology and Craniofacial Research</source>
          <volume>11</volume>
          (
          <year>2021</year>
          )
          <fpage>612</fpage>
          -
          <lpage>614</lpage>
          . URL: https://www.sciencedirect.com/science/article/pii/S2212426821000920. doi:https: //doi.org/10.1016/j.jobcr.
          <year>2021</year>
          .
          <volume>09</volume>
          .004.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>C.</given-names>
            <surname>Szegedy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Zaremba</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Sutskever</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Bruna</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Erhan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I. J.</given-names>
            <surname>Goodfellow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Fergus</surname>
          </string-name>
          ,
          <article-title>Intriguing properties of neural networks</article-title>
          ,
          <source>CoRR abs/1312</source>
          .6199 (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Hendrycks</surname>
          </string-name>
          , T. G. Dietterich,
          <article-title>Benchmarking neural network robustness to common corruptions and perturbations</article-title>
          , ArXiv abs/
          <year>1903</year>
          .12261 (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>I. J.</given-names>
            <surname>Goodfellow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Shlens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Szegedy</surname>
          </string-name>
          ,
          <article-title>Explaining and harnessing adversarial examples</article-title>
          ,
          <source>CoRR abs/1412</source>
          .6572 (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Shu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. C.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Goldstein</surname>
          </string-name>
          ,
          <article-title>Adversarial diferentiable data augmentation for autonomous systems</article-title>
          ,
          <source>2021 IEEE International Conference on Robotics and Automation (ICRA)</source>
          (
          <year>2021</year>
          )
          <fpage>14069</fpage>
          -
          <lpage>14075</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>D.</given-names>
            <surname>Liu</surname>
          </string-name>
          , B. Cheng,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , T. S. Huang,
          <article-title>Enhance visual recognition under adverse conditions via deep networks</article-title>
          ,
          <source>IEEE Transactions on Image Processing</source>
          <volume>28</volume>
          (
          <year>2019</year>
          )
          <fpage>4401</fpage>
          -
          <lpage>4412</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Deng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zheng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , C. Chen, G. Lou,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <article-title>An analysis of adversarial attacks and defenses on autonomous driving models</article-title>
          ,
          <source>2020 IEEE International Conference on Pervasive Computing and Communications (PerCom)</source>
          (
          <year>2020</year>
          )
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Deng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , G. Lou,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zheng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Jin</surname>
          </string-name>
          , Q.-L. Han,
          <article-title>Deep learning-based autonomous driving systems: A survey of attacks and defenses</article-title>
          ,
          <source>IEEE Transactions on Industrial Informatics</source>
          <volume>17</volume>
          (
          <year>2021</year>
          )
          <fpage>7897</fpage>
          -
          <lpage>7912</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Laugros</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Caplier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ospici</surname>
          </string-name>
          ,
          <article-title>Are adversarial robustness and common perturbation robustness independent attributes</article-title>
          ?,
          <year>2019</year>
          IEEE/CVF International Conference on Computer Vision Workshop (ICCVW) (
          <year>2019</year>
          )
          <fpage>1045</fpage>
          -
          <lpage>1054</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Laugros</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Caplier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ospici</surname>
          </string-name>
          ,
          <article-title>Addressing neural network robustness with mixup and targeted labeling adversarial training</article-title>
          ,
          <source>in: ECCV Workshops</source>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>G.</given-names>
            <surname>Vilone</surname>
          </string-name>
          , L. Longo,
          <article-title>Explainable artificial intelligence: a systematic review</article-title>
          , ArXiv abs/
          <year>2006</year>
          .00093 (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>S.</given-names>
            <surname>Chakraborty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. J.</given-names>
            <surname>Tomsett</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Raghavendra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Harborne</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alzantot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Cerutti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. B.</given-names>
            <surname>Srivastava</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. D.</given-names>
            <surname>Preece</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. J.</given-names>
            <surname>Julier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. M.</given-names>
            <surname>Rao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. D.</given-names>
            <surname>Kelley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Braines</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sensoy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. J.</given-names>
            <surname>Willis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. K.</given-names>
            <surname>Gurram</surname>
          </string-name>
          ,
          <article-title>Interpretability of deep learning models: A survey of results, 2017 IEEE SmartWorld</article-title>
          ,
          <source>Ubiquitous Intelligence &amp; Computing</source>
          ,
          <string-name>
            <given-names>Advanced &amp; Trusted</given-names>
            <surname>Computed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Scalable</given-names>
            <surname>Computing</surname>
          </string-name>
          &amp;
          <article-title>Communications, Cloud &amp; Big Data Computing, Internet of People and Smart City Innovation (SmartWorld/SCALCOM</article-title>
          /UIC/ATC/CBDCom/IOP/SCI) (
          <year>2017</year>
          )
          <fpage>1</fpage>
          -
          <lpage>6</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>P.</given-names>
            <surname>Linardatos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Papastefanopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. B.</given-names>
            <surname>Kotsiantis</surname>
          </string-name>
          ,
          <article-title>Explainable ai: A review of machine learning interpretability methods</article-title>
          ,
          <source>Entropy</source>
          <volume>23</volume>
          (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>A.</given-names>
            <surname>Krizhevsky</surname>
          </string-name>
          ,
          <article-title>Learning multiple layers of features from tiny images</article-title>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>C.</given-names>
            <surname>Shorten</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. M.</given-names>
            <surname>Khoshgoftaar</surname>
          </string-name>
          ,
          <article-title>A survey on image data augmentation for deep learning</article-title>
          ,
          <source>Journal of Big Data</source>
          <volume>6</volume>
          (
          <year>2019</year>
          )
          <fpage>1</fpage>
          -
          <lpage>48</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>T.</given-names>
            <surname>Bai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Luo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Wen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <article-title>Recent advances in adversarial training for adversarial robustness</article-title>
          ,
          <source>in: IJCAI</source>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>D.</given-names>
            <surname>Kang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Hendrycks</surname>
          </string-name>
          , T. B.
          <string-name>
            <surname>Brown</surname>
          </string-name>
          , J. Steinhardt,
          <article-title>Testing robustness against unforeseen adversaries</article-title>
          , ArXiv abs/
          <year>1908</year>
          .08016 (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>L.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Shi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bao</surname>
          </string-name>
          , K. Ma, Auxiliary training:
          <source>Towards accurate and robust models</source>
          ,
          <source>2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)</source>
          (
          <year>2020</year>
          )
          <fpage>369</fpage>
          -
          <lpage>378</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>D. A.</given-names>
            <surname>Calian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Stimberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Wiles</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.-A.</given-names>
            <surname>Rebufi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gyorgy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. A.</given-names>
            <surname>Mann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gowal</surname>
          </string-name>
          ,
          <article-title>Defending against image corruptions through adversarial augmentations</article-title>
          ,
          <source>ArXiv abs/2104</source>
          .01086 (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>D.</given-names>
            <surname>Hendrycks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Mu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. D.</given-names>
            <surname>Cubuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zoph</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gilmer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Lakshminarayanan</surname>
          </string-name>
          , Aug-
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>