<!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>An Empirical Study on Cross-Data Transferability of Adversarial Attacks on Object Detectors</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alexander Michael Staf</string-name>
          <email>alexandermstaf@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jin Zhang</string-name>
          <email>jin.zhang@ntnu.no</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jingyue Li</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jing Xie</string-name>
          <email>jxie@squareup.com</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Elizabeth Ann Traiger</string-name>
          <email>elizabeth.traiger@dnv.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jon Arne Glomsrud</string-name>
          <email>jon.arne.glomsrud@dnv.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kristian Bertheussen Karolius</string-name>
          <email>kristian.bertheussen.karolius@dnv.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computer Science Department, Norwegian University of Science and Technology</institution>
          ,
          <addr-line>Trondheim,7050</addr-line>
          ,
          <country country="NO">Norway</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Group Technology and Research, DNV GL</institution>
          ,
          <addr-line>Høvik, 1363</addr-line>
          ,
          <country country="NO">Norway</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Tidal</institution>
          ,
          <addr-line>Square, Oslo, 0187</addr-line>
          ,
          <country country="NO">Norway</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Object detectors are increasingly deployed in safety-critical systems, including autonomous vehicles. Recent studies have found that object detectors based on convolutional neural networks are fundamentally vulnerable to adversarial attacks. Adversarial attacks on object detectors involve adding a carefully chosen perturbation to the input, which causes the object detector to make mistakes. The potential consequences of adversarial attacks must be known to make sure these safety-critical systems are reliable. This paper investigates the influence of transfer attacks on object detectors, where the attacker does not access the target detector and its training set. Devising an attack with this assumption requires the attacker to train their model on data that resembles the target detector's training set. Using their model as a surrogate, attackers can generate adversarial attacks without accessing the target detector. Our study investigates whether one can efectively attack a black box model using publicly available data. We have performed targeted objectness gradient attacks on the state-of-the-art object detector (i.e., YOLO V3). Initial transferability between the attacking and target model is low. However, increasing attack strength from 8 to 24 strengthens transferability and reduces the target detector performance by about half. Transferability is also studied when the datasets for the attacking and the target model intersect. Attack performance is proportional to the size of the intersection. With the stronger transferability caused by intersecting datasets, attack strength can be dropped to 16 and retain the attack performance.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Object detector</kwd>
        <kwd>adversarial examples</kwd>
        <kwd>transfer attacks</kwd>
        <kwd>targeted objectness gradient(TOG) dataset intersection</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Object detection and classification have seen a rapid improvement since the ImageNet
competition in 2012, where the introduction of deep convolutional networks almost halved the error
rates of the best competing approaches [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], causing a paradigm shift in the field of computer
vision. With the increased performance, object detectors have seen wide deployment in a range
of areas, including safety-critical applications like autonomous vehicles [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. However, despite
the increased performance, it has been proven that object detectors can misdetect the targets if
imperceptible non-random perturbations are added to the input. These inputs, first described
in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] are called adversarial samples. It turns out that all neural networks are fundamentally
susceptible to making critical errors if exposed to these adversarial samples. Furthermore, it
became apparent that adversarial samples that emerged to attack a particular model were even
efective on models with entirely diferent architectures [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ].
      </p>
      <p>
        Object detectors are diferent from classifiers because they are multi-task learners performing
a more complex task than classifiers. Recently, attacks have been developed that target object
detectors directly [
        <xref ref-type="bibr" rid="ref5 ref6 ref7">5, 6, 7</xref>
        ]. However, there is a significant research gap on cross-data blackbox
attacks, where the attacker cannot use the same dataset as the target detector. This scenario
is essential, as it is unlikely that an attacker would have access to the dataset used to train an
autonomous commercial vehicle.
      </p>
      <p>
        This study aims to find the level of exposure one can expect if an attacker tries to attack a
model they have no direct access to and do not know essential model details. We investigate
whether it is possible to transfer attacks across models trained on diferent data, i.e., models
are trained to detect the same semantic class, namely boat, with various datasets. In addition,
the efect on attack performance when the surrogate and target models are trained on datasets
with intersections is investigated. We trained some models on datasets that share images, while
others were trained on entirely disjoint datasets. The adversarial samples are generated using a
source model trained to detect ships on one dataset. Then the target model trained to detect
ships on a separate dataset attempts to make predictions on the sample. We employ Targeted
Objectness Gradient (TOG) attack [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] to generate adversarial samples.
      </p>
      <p>The results show that perturbations generated with an epsilon=8 of the TOG attack under the
distance metric ∞ have poor transference between the models. However, an epsilon in the
2030 range results in better transference and more efective attacks. Models trained on intersecting
datasets show transference which is proportional with the size of the intersection. Performing
a cross-resolution attack revealed that an attacker who does not know the resolution of the
target detector should choose a lower resolution like 416× 416 pixels to raise the probability of
the attack being upsampled rather than downsampled.</p>
      <p>Our evaluation demonstrates the potential consequences of cross-data transfer attacks on
object detectors. We provide the performance results for models trained with dataset
intersections, models without dataset intersections, and several high-performance single-class object
detection models.</p>
      <p>The remainder of the paper is organized as follows: Section 2 introduces background and
terminology related to adversarial attacks to object detectors and summarizes related work.
Section 3 describes the research design, and section 4 reports the experiment results. Section 5
discusses some insights about transfer attacks on object detectors. Finally, section 6 concludes
the study.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Background</title>
      <p>
        Object detection is a computer vision task that takes an image as input and gives bounding
boxes with class labels as output [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. To make real-time predictions one-stage object detectors
are developed, such as Single Shot MultiBox Detector (SSD) [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and You Only Look Once
(YOLO) [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]). One-stage detectors predict bounding boxes and object classes at the same time.
This section provides a brief overview of the TOG attacks developed to target real-time object
detectors and the transferability of attacks.
      </p>
      <sec id="sec-2-1">
        <title>2.1. Targeted Objectness Gradient (TOG) attacks</title>
        <p>
          The TOG attacks, developed by Chow et al. [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], are a class of adversarial attacks explicitly
developed to target object detectors. The attacks use an iterative gradient method to cause
object detectors to make mistakes. For example, with detection expressed as * () and attack
loss as ℒ* , TOG can be expressed as:
+1 = ∏︁[′ −   Γ( ∇′ ℒ* (′, * ();  ))],
′
,
(1)
where ′ is the adversarial sample at the t-th iteration, Γ is the sign function, and    is the
attack learning rate. Further details can be found in [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. Using this TOG can find adversarial
perturbations targeting diferent functions of object detectors. The untargeted attack is successful
when it causes the detector to misdetect, such as failing to detect misclassifying or fabricating
an object. The object-vanishing attack seeks to suppress detections and is successful when
the detector finds no objects which actually exist in the sample. The object-fabrication makes
the detector hallucinate multiple objects, making the prediction useless. Finally, the targeted
object-mislabeling attack can cause the detector to mislabel detected objects with the chosen
target class while maintaining the correct bounding boxes [
          <xref ref-type="bibr" rid="ref11 ref5">5, 11</xref>
          ]. This attack is less relevant to
this paper as most of the models being studied are single class models.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Transfer Attacks</title>
        <p>
          Transfer attacks are adversarial attacks with diferent source and target models. In this context,
diferent models mean that they have diferent model architectures or diferent training sets.
Even generating the adversarial sample at a diferent resolution than the detection operates
at can be seen as a transfer attack. Transfer attacks rely on the fact that even though two
models have been trained on diferent datasets to detect the same objects, it can be assumed
that the two models share commonalities. These can be exploited through adversarial attacks
when the attacker lacks access to the target model. Normally, to generate adversarial examples,
one needs to give the model input and read the output. If one lacks access to the model, one
technique is to train a stand-in model (the source model) to make similar predictions to the
target model. Then adversarial samples generated using the source model will also afect the
target model [
          <xref ref-type="bibr" rid="ref5 ref7">5, 7</xref>
          ]. For instance, [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] develops a cross-architecture transferable attack, called
relevance attack on detectors by using a YOLO model as a surrogate model to attack other object
detectors. [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] develops an attack that generates universal perturbations which can transfer
across tasks, models, and datasets.
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Research design</title>
      <p>This section explains the research strategy of data preparation, attack scenario considered, and
performance analysis metrics.</p>
      <sec id="sec-3-1">
        <title>3.1. Data preparation</title>
        <p>YOLO uses a fixed internal resolution and resizes the images before training and detection. This
results in changing the appearance of objects in the image. When one trains the model on a
dataset with the same aspect ratio as the images used to test it, this efect disappears as it learns
how objects look when they are warped. The issue arises when detecting images of an aspect
ratio not seen in the training set, and in this case recall and confidence drop.</p>
        <p>
          In this study, we use four data sources focused on autonomous ships. The images shared from
[
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] are compiled to train an object detector for the ReVolt, which is a conceptual autonomous
ship that has been developed by DNV1 since 20142. Most images are 1280× 720 and are captured
in Høvik, Norway. These images are also largely of smaller craft and kayaks. These images
were re-annotated to only buildings and boats to ensure consistent labeling. Figure 1 shows a
sample of the images from [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ].
        </p>
        <p>
          The Hurtigruten data is shared from DNV and contains images captured from the bow of
the Hurtigruten ferry as it travels up the Norwegian coast. These images are captured at a
resolution of 1920× 1080. The watercrafts in the images are largely small to medium-sized
pleasure craft. Figure 2 shows a sample of the images from DNV. Like the images from [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ],
most of the crafts will have water as the background.
        </p>
        <p>
          The third dataset is Singapore Maritime Dataset [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ], in which images were collected in the
Singapore harbour. These images are dominated by large freight ships.
        </p>
        <p>
          The fourth data source used is the Common Objects in Context (COCO) [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] dataset. The
COCO dataset is a large dataset used to benchmark and rank object detectors. It consists of
over 200000 labeled images divided into 80 categories. As the name implies, a focus for the
COCO dataset is presenting the objects in context. For the images in the boat class, this results
1DNV is a world-leading classification society and the independent expert in assurance and risk management.
2Webpage: https://www.dnv.com/technology-innovation/revolt.
in more watercrafts on the beach or docked in the harbour than is found in the other datasets.
In addition, the resolution of the images is not uniform, and the images are highly varied in
lighting, composition, and environment. These attributes make it much harder for an object
detector to achieve a high mAP on the COCO dataset.
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Attack Scenario</title>
        <p>The attack scenario considered in this paper is modeled to establish a worst-case scenario for
an autonomous ferry under attack where the attacker does not have access to the target model
or critical information about the model. The attacker can apply adversarial noise directly to
the input but cannot generate adversarial samples using the target model. The attacker uses
the same architecture as the target model. This efectively establishes a worst-case scenario
as no cross-model attack could be stronger than the attack with the same source and target
architecture. Additionally, there are not many diferent real-time object detection architectures
suitable for autonomous vehicles. YOLO is the best performing architecture on the COCO
dataset, which makes it reasonable for an attacker to guess that a YOLO model might be used.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Performance Analysis metrics</title>
        <p>For an image classifier or object detector, we use precision to measure how accurate the
predictions are. i.e., the percentage of the predictions is correct. Recall measures how well the
model finds all the positives. To better view model performance, one can plot a precision-recall
curve at diferent confidence thresholds. Calculating the area under the precision-recall curve
gives average precision.</p>
        <p>= ∑︀( − − 1),
where  and  represent recall and precision at nth threshold respectively. Since average
precision is generated for each query, one can take the mean to get a single number that
represents the models performance on the whole dataset.</p>
        <p>
          = ∑︀=1 () ,
where  is the number of queries. One of the reasons mAP became an essential metric for object
detection is that object detection challenges like PASCAL VOC [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] and COCO [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] rank object
detectors by mAP. In this paper, mAP is the primary metric to measure model performance.
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>3.4. Research questions</title>
        <p>To demonstrate the attack transferability, we ask the following two research questions:</p>
        <p>Research Question 1 (RQ1): Is it possible to transfer black box attacks across models and
particularly models trained on diferent data?</p>
        <p>Research Question 2 (RQ2): If the answer to RQ1 is yes, how does the image sharing of the
dataset afect the transference of the attack?</p>
        <p>
          RQ1 is based on the adversarial sample performance of the models compared to the clean
sample performance. First, models are trained using YOLO - Darknet as this implementation
produces real-time object detectors with leading performance [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. One model is trained purely
on private data to enable black box attacks. Other models are trained on various customized
datasets based on publicly available data. Then the performance of adversarial attacks using
these models is measured in mAP. Adversarial samples are generated with diferent combinations
of source and target models. Attack performance is inferred from the drop in mAP between
clean and adversarial sets.
        </p>
        <p>RQ2 is based on attack performance between the various public models. As these models
are trained on various compositions of public datasets, comparisons can be drawn between the
intersection of the datasets and the performance of the adversarial samples. The intersection
between the datasets is measured as the number of images that exist in both datasets, divided
by the size of the dataset. This is similar to Intersection Over Mean (IOU), but importantly, IOU
is a symmetric measure, i.e.,  (, ) =  (, ), while the measure we use reflects the
diference between attacking a model trained on a subset of the model’s own training set, and
attacking a model trained on a superset of the model’s training set.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Results of the empirical study</title>
      <p>This section presents the results of RQ1 and RQ2. The composition of datasets is detailed, and
the performance of black box attacks on YOLO using the TOG family of attacks is reported. The
initial performance of models on clean samples forms a baseline to compare the adversarial
attacks with. All mAP data is mAP .50. All the code used for generating adversarial samples
can be found here: https://github.com/alexmstaf/TOG/.</p>
      <sec id="sec-4-1">
        <title>4.1. Results of RQ1</title>
        <p>To demonstrate black box attacks and answer RQ1, there should be two disjointed datasets,
meaning no images appearing in both datasets. Furthermore, the performance between the
models should be as similar as possible. This is due to the assumption that models with similar
performance have higher attack transferability.</p>
        <p>Model performance before attack Data sources in Table 1 were compiled throughout this
study. The central goal was to obtain a dataset that would train a representative object detector
for autonomous ships. Additionally, another dataset was needed to train the surrogate model,
which would enable black box attacks. The assembled datasets for our study are shown in Table
2. Numbers in Table 2 include only images in the training set, images in the validation set are
excluded, and models with no intersections are highlighted in green.</p>
        <p>We trained six YOLO models (i.e., M1-M6) by using the assembled datasets D1-D6. In Table 3,
the Validation column shows the performance of M1-M6 on the validation set associated with
the training set for the model. The Benchmark column shows the performance of models on
the Benchmark dataset, i.e., the validation set associated with D1. M2 and M4 are highlighted,
as these models are the primary models used to answer RQ1. M2 is the highest performing
model trained on public data (i.e., D2), and M4 is trained on private data (i.e., D4). Thus, D2 and
D4 are two disjoint datasets. M1 does not have the same performance on the validation and
benchmark datasets because the images were resized to fit YOLO’s internal resolution in the
benchmark column. The input image must match the model dimensions to generate adversarial
samples, but annotations are not corrected for this diference.</p>
        <p>
          Attack Performance In the mathematical expression of TOG attacks (see Eq. 1), epsilon
represents the maximum change allowed to any point using an ∞ distance metric. For an
image, epsilon represents how much one can change a single pixel with no limit on the number
of pixels changed. Eight is the default value for the TOG attacks, and using this value makes
the numbers comparable to the data gathered by [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. Since a greyscale pixel can hold the values
from 0 to 255, an epsilon value of 8 means no pixel is changed more than 2585 = 0.031 [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ].
        </p>
        <p>Table 4 (a) shows the mAP achieved on the adversarial set generated by M2. The Target Model
column shows which model makes detections on the adversarial set. White-box attacks, where
the source and target model are the same, are highlighted in grey. Source model refers to the
model used to generate the adversarial set, also called the attacking model. The Clean column is
the model performance on the unperturbed but resized set. This is to ensure that the only efect
being compared is the adversarial perturbation. The Untargeted column refers to the model’s
performance on images perturbed by the TOG untargeted attack. Similarly, the Vanishing
column refers to the model’s performance on the TOG Vanishing attack. An explanation of
these attacks can be found in section 2.1. It is apparent from this table that transference is
very low. Although the white-box is very efective, M4 only takes a minor hit to its mAP. An
important aspect of these attacks is that there is also an element of cross-model transference to
the attack beyond testing attack performance with diferent source and target models. This is a
consequence of generating samples using the TensorFlow - YOLO model and detecting with the
Darknet - YOLO model. Table 4 (b) shows the mAP achieved on the adversarial set generated
by M4. In Table 4 (b), we see that only the untargeted attack is successful in white-box mode.
The untargeted and vanishing attacks do not transfer to M2 efectively.</p>
        <sec id="sec-4-1-1">
          <title>Untargeted 4.63 61.62</title>
        </sec>
        <sec id="sec-4-1-2">
          <title>Vanishing 3.27 63.55</title>
        </sec>
        <sec id="sec-4-1-3">
          <title>Target Model M2 M4</title>
        </sec>
        <sec id="sec-4-1-4">
          <title>Clean 26.32 68.29</title>
          <p>(b)</p>
        </sec>
        <sec id="sec-4-1-5">
          <title>Untargeted 24.13 14.57</title>
        </sec>
        <sec id="sec-4-1-6">
          <title>Vanishing 25.17 57.61</title>
          <p>
            Attack performance compared to epsilon Figure 3 (a) shows the mAP achieved by the
models on adversarial sets generated by M2 with increasing epsilon values. At the left extreme,
we see the clean set performance. The most significant mAP change is from clean to 8 epsilon
on M2. As this is the white-box attack, this is to be expected. An interesting observation is
that though mAP is not reduced to 0, increases in epsilon do not decrease performance further.
Looking at the line for M4, we see a steeper slope between 8 and 32 than between 0 and 8. This
indicates that the attack transference is poor while epsilon is small, but once epsilon is large
enough, the attack strength improves proportionally with epsilon. Attacking M4 efectively with
M2 requires a quite high epsilon, but by epsilon=24, the mAP of M4 is reduced to less than half.
On the other side, adversarial samples generated by M4 show worse transferability on M2, as
presented in Figure 3 (b). Epsilon in the 20-30 range is relatively high in comparison to the
whitebox attacks. However, when attacking object detectors, epsilon=20 is in line with other eforts
[
            <xref ref-type="bibr" rid="ref12 ref4">4, 12</xref>
            ]. The white-box attack stands out as mAP decreases much faster than for any other model.
          </p>
          <p>Answer to RQ1: The black-box attacks with disjoint datasets show a low transference
while epsilon is small. Increasing epsilon strengthens attack transferability.</p>
        </sec>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Results of RQ2</title>
        <p>To answer RQ2, we compare the performance of models trained with intersecting datasets to the
models trained with disjoint datasets. In particular, we investigate whether there is a correlation
between the relative size of the dataset intersection and the performance of the transfer attack.</p>
        <p>Dataset Intersection Table 6 shows the intersection between the six datasets. Each row
shows what percentage the intersection with the dataset on the column is of its total size. For
instance, D5 has 52.33% intersection with D2. and D4 has no intersection with D2.</p>
        <p>Attack Performance by Intersecting Models Attack transferability varies between source
models trained with diferent datasets. We report the attack performance of M5 and M1 as
representatives and show the results in Table 7. Performance of other models is included in https:
//github.com/alexmstaf/TOG/. In Table 7, rows highlighted in gray indicate the performance of
white box attacks. The others are the performance of black box attacks. M5 is trained on D5,
which is a superset of all other five datasets. Table 7 (a) shows that M5 achieves the greatest mAP
reduction on M2, i.e., of 26.32-7.31=19.01 for the untargeted attack and 16.67 mAP reduction for
the vanishing attack. On average, the black box attack of M5 achieves a 16.79 mAP reduction
for the untargeted attack and a 12.39 mAP reduction for the vanishing attack. M1 is the only
two-class model among all six models, which shows poor attack transfer performance. In Table
7 (b), the average mAP reduction for the untargeted attack is 8.01 and 4.35 for the vanishing
attack. M5 also shows a significant success on white box attack with 74.56-0.97=73.59 mAP
reduction for the untargeted attack and 63.69 mAP reduction for the vanishing attack. On the
contrary, the white box attack of M1 is not particularly efective (i.e., 16.77 mAP reduction for
the untargeted attack and 9.45 mAP reduction for the vanishing attack).</p>
        <p>Figure 4 plots the correlation between dataset intersection and attack performance. It is
apparent that a greater intersection leads to more transferable attacks. Training on the same
images should make the two object detectors make similar predictions, which make them
vulnerable to the same adversarial sample.</p>
        <p>Transfer attack performance compared to epsilon Figure 5 shows that although
epsilon=8 is a little too low to get a strong attack transference between some models, by epsilon=20,
the model performance has dropped of sharply. This is a good indication of how vital the
dataset intersection is to get stronger transference. Comparing Figure 3 (b) to Figure 5, it is
apparent that M5 generates adversarial samples that are more likely to fool M4 than M4 is to
generate adversarial samples that fool M5. The intersection between M5 and M4 allows for an
epsilon reduction of almost 10 to achieve the same mAP reduction as in Figure 3 (b).</p>
        <p>Together with Table 6, we can explain the performance diference of targeted models on
adversarial samples generated by diferent source models. That is the more intersection between
two datasets, the higher transferability of the attack is. In Figure 5, the performance curve of
M4 is steeper than in Figure 3 (a) due to the intersection between D4 and D5. This intersection
allows M5 to attack M4 more efectively than M2.</p>
        <p>Answer to RQ2: The more intersection between two datasets, the higher transferability
of the attack is.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Extra findings regarding diferent source and target resolution</title>
        <p>
          In our experiments to answer RQ1 and RQ2, we have datasets with images of diferent resolutions.
The data in Table 9 shows that a mismatch in resolution between source and target model incurs
a penalty in attack strength. Table 10 compares the relative mAP loss for samples generated
and detected at the same resolution (see Table 7 (a)) to samples generated and detected at
diferent resolutions (see Table 9). Table 10 shows that the average performance drop between
the identical resolution and diferent resolution attacks is on average 22.5 percentage points.
This is in line with the findings from [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. They found that downsampling an adversarial sample
to a lower resolution always produced a weaker attack than upsampling the image. This implies
that an attacker who does not know the victim detector’s resolution should choose a lower
resolution like 416× 416 to raise the probability of the attack being upsampled rather than
downsampled.
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Discussion</title>
      <p>This section describes the comparison to related work, as well as the implications contribution
of the findings presented in section 4.</p>
      <p>
        Comparison to Related Work Many studies have been done on transferable adversarial
attacks but few target real-time object detectors. Of the studies done on transferable samples
targeting object detectors [
        <xref ref-type="bibr" rid="ref12 ref5">5, 12</xref>
        ], none operate with the same black box model as used in
this paper, but rather perform cross-resolution and cross-architecture transference, but not
cross-dataset. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] studied the cross-dataset transference, and their attack method can reduce the
mAP of the target YOLO model by 30.9% at an ∞ epsilon of 20. Our method can reduce the
mAP of the target model by 49.7% at the same ∞ epsilon of 20. Cross-dataset transference on
real-time object detectors is largely unexplored and no other studies were found that examined
the correlation between attack transference and relative dataset intersection. [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] found they
could discover and filter adversarial dataset poisoning attacks. However, if the samples added to
the dataset had no perturbation added to them but only served to create an intersection between
the target detector and the attacker’s surrogate detector, such techniques would be useless.
      </p>
      <p>Implications to Academia This study shows expanded knowledge about cross-dataset
attacks. We found that the model trained on the superset of the other datasets generated
adversarial samples with better transference to the other models than vice versa. This indicates
that it is not simply the size of the intersection that matters but the size of the intersection
relative to the whole training set.</p>
      <p>Implications to Industry The training set for an object detector deployed in an autonomous
vehicle must be secured. The inclusion of public data must be carefully considered, as the public
data increases attack transference, allowing efective attacks with a smaller epsilon. Transfer
attacks with subtle perturbations may not be an immediate threat, while the transfer attacks
become efective at higher epsilon values.</p>
      <p>Threats to Validity External validity is susceptible to poor generalizability and replicability
of the results. This study is conducted with a single object detector and attack framework,
limiting the generalizability of the results. However, the fact that adversarial samples transfer
between dataset, architectures and even tasks show that results on one set of detectors and
attacks are relevant to other detectors and attacks. Additionally, the scenario described in section
3.2 severally constrained the object detectors and adversarial attacks, which were relevant to
this study. Since the mAP score an object detection model achieves is highly dataset-dependent,
several datasets were compiled and used to train models.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion and future work</title>
      <p>This paper studied cross-dataset transference by training Darknet models on disjoint training
sets. Then the TOG framework was used to generate adversarial sets. We compared the attack
performance on the source model with the target model and measured how well the attack
transfers. At an epsilon of 8, the attack barely transferred, leaving the target model unafected.
Raising the epsilon to the mid-20s makes the transference stronger and reduces mAP on the target
model by about half. Additional models were trained on datasets with various intersection sizes
to further investigate the impact of dataset intersection. The experimental results demonstrate
the correlation between attack transference and dataset intersection. Besides, we identified the
average penalty to attack strength associated with cross-resolution attacks.</p>
      <p>The natural next step for this research is to add additional architectures to the analysis.
For example, comparing YOLO results with SSD and testing cross-dataset transference on
adversarial patches would be interesting. Adversarial patches avoid the issue of minimizing
the perturbation, which could suggest that they ofer robust and cross-dataset transference. In
addition, studying physical patches would make the attack even more relevant to autonomous
vehicles.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Y.</given-names>
            <surname>LeCun</surname>
          </string-name>
          , Y. Bengio, G. Hinton,
          <article-title>Deep learning</article-title>
          , nature
          <volume>521</volume>
          (
          <year>2015</year>
          )
          <fpage>436</fpage>
          -
          <lpage>444</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Shafiee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Jeddi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Nazemi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Fieguth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Wong</surname>
          </string-name>
          ,
          <article-title>Deep neural network perception models and robust autonomous driving systems: Practical solutions for mitigation and improvement</article-title>
          ,
          <source>IEEE Signal Processing Magazine</source>
          <volume>38</volume>
          (
          <year>2021</year>
          )
          <fpage>22</fpage>
          -
          <lpage>30</lpage>
          . doi:
          <volume>10</volume>
          .1109/MSP.
          <year>2020</year>
          .
          <volume>2982820</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <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>
            <surname>I. Goodfellow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Fergus</surname>
          </string-name>
          ,
          <source>Intriguing properties of neural networks</source>
          ,
          <year>2014</year>
          . arXiv:
          <volume>1312</volume>
          .
          <fpage>6199</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Q.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Baker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , J. Hu,
          <article-title>Towards cross-task universal perturbation against black-box object detectors in autonomous driving</article-title>
          ,
          <source>Computer Networks</source>
          <volume>180</volume>
          (
          <year>2020</year>
          )
          <article-title>1</article-title>
          . URL: https://search.proquest.com/scholarly-journals/
          <article-title>towards-cross-task-</article-title>
          <string-name>
            <surname>universal-</surname>
          </string-name>
          perturbation-against/docview/2476554302/se-2? accountid=12870,
          <fpage>copyright</fpage>
          - Copyright
          <source>Elsevier Sequoia S.A. Oct</source>
          <volume>24</volume>
          ,
          <year>2020</year>
          ; Last updated - 2021-01-11.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>K.-H. Chow</surname>
            , L. Liu,
            <given-names>M. E.</given-names>
          </string-name>
          <string-name>
            <surname>Gursoy</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Truex</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          <string-name>
            <surname>Wei</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Wu</surname>
          </string-name>
          ,
          <article-title>Understanding object detection through an adversarial lens</article-title>
          ,
          <source>in: European Symposium on Research in Computer Security</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>460</fpage>
          -
          <lpage>481</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>C.</given-names>
            <surname>Xie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Xie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Yuille</surname>
          </string-name>
          ,
          <article-title>Adversarial examples for semantic segmentation and object detection</article-title>
          ,
          <source>in: Proceedings of the IEEE International Conference on Computer Vision</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>1369</fpage>
          -
          <lpage>1378</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>X.</given-names>
            <surname>Wei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Liang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Cao</surname>
          </string-name>
          ,
          <article-title>Transferable adversarial attacks for image and video object detection</article-title>
          ,
          <source>in: Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI-19, International Joint Conferences on Artificial Intelligence Organization</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>954</fpage>
          -
          <lpage>960</lpage>
          . URL: https://doi.org/10.24963/ijcai.
          <year>2019</year>
          /134. doi:
          <volume>10</volume>
          .24963/ijcai.
          <year>2019</year>
          /134.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Grigorescu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Trasnea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Cocias</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Macesanu</surname>
          </string-name>
          ,
          <article-title>A survey of deep learning techniques for autonomous driving</article-title>
          ,
          <source>Journal of Field Robotics</source>
          <volume>37</volume>
          (
          <year>2020</year>
          )
          <fpage>362</fpage>
          -
          <lpage>386</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>W.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Anguelov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Erhan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Szegedy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Reed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.-Y.</given-names>
            <surname>Fu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. C.</given-names>
            <surname>Berg</surname>
          </string-name>
          ,
          <source>Ssd: Single shot multibox detector, Lecture Notes in Computer Science</source>
          (
          <year>2016</year>
          )
          <fpage>21</fpage>
          -
          <lpage>37</lpage>
          . URL: http: //dx.doi.org/10.1007/978-3-
          <fpage>319</fpage>
          -46448-
          <issue>0</issue>
          _2. doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>319</fpage>
          -46448-
          <issue>0</issue>
          _
          <fpage>2</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>J.</given-names>
            <surname>Redmon</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. Farhadi,</surname>
          </string-name>
          <article-title>Yolov3: An incremental improvement</article-title>
          ,
          <source>arXiv</source>
          (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>K.-H. Chow</surname>
            , L. Liu,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Loper</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Bae</surname>
            ,
            <given-names>M. Emre</given-names>
          </string-name>
          <string-name>
            <surname>Gursoy</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Truex</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          <string-name>
            <surname>Wei</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Wu</surname>
          </string-name>
          ,
          <article-title>Adversarial objectness gradient attacks in real-time object detection systems</article-title>
          , in: IEEE International Conference on Trust,
          <source>Privacy and Security in Intelligent Systems, and Applications</source>
          , IEEE,
          <year>2020</year>
          , pp.
          <fpage>263</fpage>
          -
          <lpage>272</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , Relevance attack on detectors,
          <year>2021</year>
          . arXiv:
          <year>2008</year>
          .06822.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>S. V.</given-names>
            <surname>Grini</surname>
          </string-name>
          ,
          <article-title>Systematic training and testing of deep learning-based detection methods for vessels in camera images</article-title>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>D. K.</given-names>
            <surname>Prasad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Rajan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Rachmawati</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Rajabaly</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Quek</surname>
          </string-name>
          ,
          <article-title>Video processing from electrooptical sensors for object detection and tracking in maritime environment: A survey</article-title>
          ,
          <year>2016</year>
          . arXiv:
          <volume>1611</volume>
          .
          <fpage>05842</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>T.-Y. Lin</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Maire</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Belongie</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Hays</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Perona</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Ramanan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Dollár</surname>
            ,
            <given-names>C. L.</given-names>
          </string-name>
          <string-name>
            <surname>Zitnick</surname>
          </string-name>
          ,
          <article-title>Microsoft coco: Common objects in context</article-title>
          ,
          <source>in: European conference on computer vision</source>
          , Springer,
          <year>2014</year>
          , pp.
          <fpage>740</fpage>
          -
          <lpage>755</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M.</given-names>
            <surname>Everingham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. Van</given-names>
            <surname>Gool</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. K. I.</given-names>
            <surname>Williams</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Winn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zisserman</surname>
          </string-name>
          ,
          <article-title>The pascal visual object classes (voc) challenge</article-title>
          ,
          <source>International Journal of Computer Vision</source>
          <volume>88</volume>
          (
          <year>2010</year>
          )
          <fpage>303</fpage>
          -
          <lpage>338</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bochkovskiy</surname>
          </string-name>
          , C.-Y. Wang, H.
          <string-name>
            <surname>-Y. M. Liao</surname>
          </string-name>
          ,
          <article-title>Yolov4: Optimal speed and accuracy of object detection</article-title>
          ,
          <year>2020</year>
          . arXiv:
          <year>2004</year>
          .10934.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>N.</given-names>
            <surname>Carlini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Wagner</surname>
          </string-name>
          ,
          <article-title>Towards evaluating the robustness of neural networks</article-title>
          ,
          <year>2017</year>
          . arXiv:
          <volume>1608</volume>
          .
          <fpage>04644</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>A.</given-names>
            <surname>Paudice</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Muñoz-González</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gyorgy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. C.</given-names>
            <surname>Lupu</surname>
          </string-name>
          ,
          <article-title>Detection of adversarial training examples in poisoning attacks through anomaly detection</article-title>
          ,
          <year>2018</year>
          . arXiv:
          <year>1802</year>
          .03041.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>