<!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>Is Uncertainty Quantification in Deep Learning Sufficient for Out-of-Distribution Detection?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Adrian Schwaiger</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Poulami Sinhamahapatra</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jens Gansloser</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Karsten Roscher</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fraunhofer IKS</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fraunhofer Institute for Cognitive Systems</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>Reliable information about the uncertainty of predictions from deep neural networks could greatly facilitate their utilization in safety-critical applications. Current approaches for uncertainty quantification usually focus on in-distribution data, where a high uncertainty should be assigned to incorrect predictions. In contrast, we focus on out-ofdistribution data where a network cannot make correct predictions and therefore should always report high uncertainty. In this paper, we compare several state-of-the-art uncertainty quantification methods for deep neural networks regarding their ability to detect novel inputs. We evaluate them on image classification tasks with regard to metrics reflecting requirements important for safety-critical applications. Our results show that a portion of out-ofdistribution inputs can be detected with reasonable loss in overall accuracy. However, current uncertainty quantification approaches alone are not sufficient for an overall reliable out-of-distribution detection.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Many state-of-the-art methods for solving perceptual tasks
are based on Deep Neural Networks (DNNs). However, the
lack of interpretability of these networks is still a problem
when DNNs are employed in safety-critical applications, e.g.,
for autonomous driving or in medical diagnosis. In these
domains, mistakes are not just a minor annoyance but can have
severe consequences. Therefore, thorough safety analysis and
argumentation are an integral part of the development of such
systems. Unfortunately, the black-box nature of DNNs and
the fact that already slight changes in the input can have
drastic effects on the output make this task almost impossible for
complex DNN-based computer vision pipelines.</p>
      <p>One approach to address this problem is quantifying the
predictive uncertainty of a DNN for each given input.
Reliable uncertainty estimates can be utilized by a
safetyenvelope [Weiss et al., 2018] that encapsulates the
highperformance DNN. Whenever the uncertainty of a prediction
is high, the result of the DNN is discarded and the
prediction of a verified, lower-performance safety path is used
instead. In this context, the performance of different
Uncertainty Quantification (UQ) approaches for DNNs have
already been investigated on In-Distribution (ID) data, i.e., data
that is conceptually similar to the data the network has been
trained on [Henne et al., 2020]. However, the viability of UQ
to detect Out-of-Distribution (OOD) inputs, i.e., data that
differs strongly from the training data, is still an open question.
The detection of such inputs is important, as DNNs are not
able to provide a correct prediction for them. For instance,
a network trained to distinguish between cats and dogs will
always output one or the other, and very often with high
confidence, even when challenged with an OOD sample, e.g.,
with the image of a car. As it is not feasible to construct a
dataset that guarantees the coverage of all relevant concepts
in sufficient quantity for open world scenarios, approaches to
detect OOD inputs are important to ensure the safety of the
overall system and to detect violations of its operational
design domain.</p>
      <p>In this paper, we investigate several state-of-the-art
methods for UQ in combination with popular DNN architectures
for image classification. We use three datasets from different
application domains to train the models and apply them to test
sets containing in- and out-of-distribution samples. We focus
on the trade-off between remaining accuracy and remaining
error under the assumption that inputs with uncertain
predictions are handled by a fallback mechanism and therefore
account to neither of them. Since the acceptable remaining error
or minimal performance may vary from application to
application we highlight the relationship between the two instead
of assuming arbitrary limits.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>Machine Learning in Safety-Critical Domains Arguing
the safety of Machine Learning (ML) algorithms for complex
tasks still remains an open research question.
Insufficiencies of DNNs on perception tasks include, e.g., susceptibility
towards distributional shifts and lack of interpretability, and
general mitigation strategies for e.g., the incorporation of
uncertainty and proper specification of the data acquisition
process, as discussed in [Willers et al., 2020]. One way to argue
the safety is by formulating confidence arguments to gather
evidence for the performance of an ML system [Burton et
al., 2019]. To aid the formulation of such arguments, the
authors provide an overview of the most common failure cases
and propose assurance claim points to further break down the
task. Another direction in the domain of autonomous
vehicles to assure the safety is the creation of a specification
based on formal rules and physical constraints, as it is done
within RSS [Shalev-Shwartz et al., 2018]. As this approach
implicitly requires perfect perception, which in a real-world
scenario is unattainable, PURSS [Salay et al., 2020] has been
proposed as an extension to allow the integration of
perceptual uncertainty into the otherwise rigid specifications.
Interpretability The lack of interpretability of DNNs is a
hindrance for using them in safety-critical applications, as
it makes thorough safety analyses almost impossible. One
approach to address this problem is the visualization of the
learned features and their interplay with each other [Olah et
al., 2020]. While this only enables qualitative analyses, the
authors suggest that it can aid in gaining a better
understanding of DNNs and facilitate other work in this domain. A
different direction is the formation of human-understandable
features in DNNs. For instance, by specifying desired
concepts a network can be incentivized to learn corresponding
features which in turn can be used for quantitative
analyses [Kim et al., 2018].</p>
      <p>Verification of DNNS The ability to verify DNNs would
facilitate any safety argumentation greatly. Approaches
concerning the verification include linear approximations of the
learned function in order to subsequently solve them using
existing verification tools [Katz et al., 2017]. The problems
of scalability and the definition of proper specifications,
however, prevent their application to complex perception tasks.
Nevertheless, it is an active field of research and promising
approaches exist, e.g., for the verification of direct
perception utilizing an input property characterizer and an approach
to verification based on assumed guarantees [Cheng et al.,
2019].</p>
      <sec id="sec-2-1">
        <title>Out-of-Distribution Detection In real-world machine</title>
        <p>learning applications, the importance of detecting OOD
samples in the test data, which basically indicates distributional
shift from training data, is paramount. It has been recognized
as an important problem for AI safety [Amodei et al., 2016].
Neural Network classifiers tend to incorrectly classify OOD
samples with high confidence. The high-confidence
predictions are often the result from the softmax functions, since
these probabilities are computed with the fast-growing
exponential function, where minor input addition can lead to
substantial increase in output. In this direction, [Hendrycks and
Gimpel, 2018] proposed a baseline method to detect OOD
samples based on an observation that a well-trained neural
network tends to assign higher softmax scores to ID samples
than OOD samples. This approach was further extended in
ODIN [Liang et al., 2018] by using temperature scaling in
the softmax function [Guo et al., 2017], and adding small
controlled perturbations to inputs such that the softmax score
gap between ID and OOD samples is further enlarged. Here,
while the network is trained with the default softmax,
during test phase the tempered softmax forces the network to be
sure with its decisions. In [DeVries and Taylor, 2018], the
authors propose Learned Confidence estimates to classify a
sample as ID or OOD sample by appending a confidence
estimation branch to the network. Similar to this, Metric
Learning [Masana et al., 2018] adds an additional output branch
and maps it into a manifold where the Euclidean distance
from such manifolds is used as a measure of detecting
possible OOD samples. A probabilistic approach given in [Lee
et al., 2018] uses features (lower and upper level) from any
pre-trained classifier and maps them into class conditional
Gaussian distributions under Gaussian discriminant analysis,
which result in a confidence score based on the Mahalanobis
distance. Finally, the most popular method of computing
probabilistic statistics uses the ensembles of predictions of
discriminative classifiers trained on ID data, as proposed by
[Lakshminarayanan et al., 2017]. It has emerged as
popular non-Bayesian approach for predictive UQ, also used for
detecting OOD samples during inference. An alternative
direction of approaching the OOD detection problem is the use
of generative model-based methods, which are appealing as
they do not require labeled data and directly model the input
distribution. These methods fit a generative model p(x) to the
ID data, and then evaluate the likelihood of new OOD inputs
under that model as in [Ren et al., 2019], [Serra` et al., 2019].
Moreover, many self-supervised approaches [Hendrycks et
al., 2019], [Mohseni et al., 2020], which also do not need
labeled data, have shown promise in OOD detection, often
with accuracy comparable to supervised methods.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Uncertainty Quantification for OOD</title>
    </sec>
    <sec id="sec-4">
      <title>Detection</title>
      <p>In the previous section, dedicated OOD detection techniques
have been presented. However, it is reasonable to investigate
the usage of UQ for this task as well. The idea is that a DNN
should assign a high uncertainty to OOD inputs, as nothing
comparable has been encountered before.</p>
      <p>In [Osawa et al., 2019] the authors, i.a., compare Bayesian
UQ methods wrt. to their performance of detecting OOD
samples. Although their results are promising, the chosen
task is not as complex, because the defined datasets for ID
and OOD are very dissimilar. The performance of different
uncertainty quantifiers to distinguish samples from more
similar distributions have been investigated in [Pawlowski et al.,
2017]. Their findings are promising and also encourage
further research in that area.
3.1</p>
      <sec id="sec-4-1">
        <title>Predictive Uncertainty Quantification of DNNs</title>
        <p>A common approach to probabilistic UQ for neural networks
is to rely on Bayesian methods (e.g., variational Bayes or
Markov chain Monte Carlo), where the posterior
distribution over the network parameters is computed. However,
exact Bayesian inference is usually intractable, thus the
posterior can only be computed approximately. Recently,
nonBayesian methods gained in popularity, which often allow for
simpler implementation and faster training. In this work, we
focus on methods for predictive UQ that are fast to train,
reasonably easy to implement and suitable for large-scale
problems often seen in image classification tasks.</p>
        <p>A straightforward approach to UQ is to interpret the
classification scores as probabilities, e.g., by applying the softmax
function to the prediction scores. However, modern DNNs
tend to be not well calibrated, i.e., the predicted probability
for an input sample does not represent the true accuracy of the
network. This is especially true for DNNs with high model
capacity and lack of regularization [Guo et al., 2017]. One
approach for DNN calibration is to learn a scaling of the
predicted probabilities using a validation set, where the
parameters of the DNN are fixed.</p>
        <p>In addition to that, softmax probabilities viewed alone are
often overconfident for OOD samples [Gal and Ghahramani,
2016]. Nevertheless, for a given network ID samples tend to
have greater softmax values than OOD samples, which can be
used as a baseline for OOD detection [Hendrycks and
Gimpel, 2018].</p>
        <p>Deep Ensembles Ensembles of deep neural networks, i.e.
deep ensembles, is a well-known method to improve
prediction accuracy. However, deep ensembles can also be used
as a non-Bayesian uncertainty estimator [Lakshminarayanan
et al., 2017]. A number of randomly initialized neural
networks are trained independently on the same training data. To
compute the predictive distribution, the individual prediction
probabilities of all neural networks in the ensemble are
averaged. Additionally, [Lakshminarayanan et al., 2017] propose
to use proper scoring functions as loss functions and
adversarial training to smooth the predictive distributions.
Monte-Carlo Dropout MC-Dropout can be interpreted as
a form of ensembles with shared network parameters or
alternatively, as approximate Bayesian inference [Gal and
Ghahramani, 2016]. Usually, dropout is used during training
for regularization to prevent overfitting. However, dropout
can also be used during inference to estimate the predictive
distribution. The empirical predictive mean and variance are
calculated from multiple stochastic forward passes, where
each forward pass can be seen as sampling from a posterior
distribution over the network weights. Since MC-Dropout
does not require any change in the network architecture, it is
easy to implement and to use with existing architectures.
Learned Confidence A different, sampling-free approach
to estimate uncertainty is proposed in [DeVries and Taylor,
2018] where the network learns an explicit confidence score
as second optimization objective. A confidence layer is added
after the last network layer, in parallel to the class prediction
layer. The optimization objective is then the sum of the
classification loss and the confidence loss.</p>
        <p>Evidential Deep Learning Evidential Deep
Learning [Sensoy et al., 2018] is inspired by the Dempster-Shafer
theory and another sampling-free approach. For classification
tasks the parameters of a Dirichlet distribution are learned,
from which the total evidence for each of the classes and the
epistemic uncertainty regarding the prediction as a whole can
be calculated. The authors also conducted some experiments
regarding OOD detection and showed that their method
generally assigned higher uncertainties to OOD inputs.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Evaluation</title>
      <p>In the following, the previously presented UQ methods, Deep
Ensembles (DE), Monte-Carlo Dropout (MCDO), Learned
Confidence (LC), and Evidential Deep Learning (EDL), are
compared to each other and to the default softmax
confidences, which serve as a baseline. The task, hereby, is to
classify images correctly and confidently.</p>
      <sec id="sec-5-1">
        <title>4.1 Experimental Setup</title>
        <p>To provide a comprehensive comparison, we trained each
of the UQ methods on three different model architectures.
VGG16 [Simonyan and Zisserman, 2015] as a standard
network architecture, SqueezeNet [Iandola et al., 2016] for its
small size and suitability for embedded systems, and the
recently introduced EfficientNet [Tan and Le, 2019] as a
highperforming and efficient architecture. The model variant B0
for EfficientNet was adopted for our use-cases. All models
use dropout regularization to allow the application of MCDO.
Each deep ensemble consists of 5 networks and the number
of sampling steps for MCDO has been set to 50. Increasing
the number of members or sampling steps further lead only
to minor improvements. For LC the last dense layer of each
model is replaced by a prediction and a confidence branch,
which then are concatenated again to form the final
prediction, as in [DeVries and Taylor, 2018]. Additionally we set
the hyperparameters for the loss function of LC to = 0:1
and = 0:3, which generally showed the best results in our
experiments. For EDL, using softplus as evidence function in
combination with the expected cross entropy loss employing
the digamma function, as described in [Sensoy et al., 2018],
yielded the best results and is used in all experiments
presented in this paper.</p>
        <p>As training datasets we used CIFAR-10, German Traffic
Sign Recognition Benchmark (GTSRB) [Stallkamp et al.,
2011], and NWPU-RESISC45 [Cheng et al., 2017].
CIFAR10 contains small images separated into 10 different classes,
e.g., automobile, truck or dog. GTSRB is a collection of
German traffic signs. The number of classes amounts to 43.
NWPU-RESISC45 has larger aerial images which are
categorized into 45 different classes, e.g., forest, freeway or
railway station. Additionally, we used images from CIFAR-100
as OOD samples for CIFAR-10 and Belgium Traffic Signs
(BTSRB) [Timofte et al., 2014] as OOD samples for
GTSRB. While CIFAR-100 and CIFAR-10 already have
distinct classes, for BTSRB we only included classes that had
no equivalent in GTSRB. As we found no suitable OOD
datasets for NWPU-RESISC45, we split it into two datasets.
The OOD dataset includes 9 classes, airplane, airport, beach,
harbor, island, lake, river, sea ice, and ship. These are
semantically separated from the remaining 39 classes used as
ID dataset. Overall, the ID and OOD dataset pairs are quite
similar to each other, which makes the task of OOD detection
more difficult. This was done purposefully, as it transfers
better to safety-critical applications, where OOD inputs must be
detected, coming from the exact same sensor in similar
environments.</p>
        <p>We trained the models from scratch using random
initializations and used Adam as optimizer. Early stopping has been
applied if the validation loss did not change for several epochs
to prevent overfitting whilst ensuring fully trained networks.
Augmentations have not been applied, to rule out potential
side effects introduced by the specific configuration used.
4.2</p>
      </sec>
      <sec id="sec-5-2">
        <title>Evaluation Metrics</title>
        <p>Following the cue of our previous work in [Henne et al.,
2020], similar evaluation metrics have been used in this paper.
It constitutes of maximizing Remaining Accuracy Rate (RAR)
along with minimizing the Remaining Error Rate (RER).
RAR takes into account the number of samples which have
been correctly classified by the classifier as well as declared
confident (“certain” and “correct”) for a given threshold by
the respective UQ method. RER on the other hand is the
fraction of inputs that is classified incorrectly but with a high
confidence (“certain” and “incorrect”).</p>
        <p>All trained networks were evaluated first on a test set with
only ID data. Subsequently, the same model was tested on a
second test set where OOD samples corresponding to 17:65%
of the size of the ID data were added, to obtain a dataset with
85% ID and 15% OOD samples. The amount of ODD
samples was chosen arbitrarily to improve the visual presentation
of the plots. However, it has no impact on the overall
observations since we focus on the relative performance between
best and worst case.
4.3</p>
      </sec>
      <sec id="sec-5-3">
        <title>Results and Discussion</title>
      </sec>
      <sec id="sec-5-4">
        <title>Remaining Accuracy and Error</title>
        <p>The results are shown in Figure 1. Due to space restrictions,
the graphs for VGG16 could not be included. Each curve
consists of the RAR and RER plotted for each threshold t 2 [0; 1]
with a sampling step size of 0:001. The blue curves represent
the performance on the ID dataset, the green curves show the
performance on the dataset with combined ID and OOD
samples. Furthermore, the green curves have been normalized
regarding the RAR by the amount of OOD samples. Thereby,
the influence on the accuracy due to additional OOD samples
is eliminated and only the error introduced by them is factored
in. For one, this better represents the application case, as the
DNNs are not supposed to classify OOD samples correctly
and only have to detect them. Second, due to the
normalization, the behavior regarding the OOD detection can be better
interpreted visually. Given a perfect OOD detection method,
both curves would be the same, as all OOD samples would
be rejected. The black curves show the worst case, i.e., if
none of the OOD samples are rejected. They also have been
normalized like the green curves.</p>
        <p>On GTSRB, DE can detect most of the OOD samples, with
a minor loss in accuracy. Although SqueezeNet has a slightly
lower base accuracy, it is slightly better in rejecting OOD
samples. For GTSRB, this also holds for MCDO and
softmax. EDL on the other hand shows a better OOD
discrimination ability in the other two architectures for higher RER,
but can reduce the error almost completely with the highest
accuracy left. LC performs sub-par with SqueezeNet, which
might be due to the low number of parameters, as we already
noticed in [Henne et al., 2020].</p>
        <p>On CIFAR-10 using EfficientNet, all but DE perform
equally with only minor differences. An exception to this are
softmax and MCDO, which for an RER of &lt; 3:5% drop in
a straight line, suggesting that there are no thresholds which
can produce error rates in that range. For error rates &lt; 0:5%,
all but softmax show the same accuracy. Upon further
investigation, we noticed the distribution of classes among the
undetected OOD samples were similar, hinting towards
samples that are universally hard to reject. For SqueezeNet, DE
significantly shows the best performance, followed by EDL.
Softmax and MCDO perform equally and LC again performs
the worst using this architecture. Using VGG16, DE still
outperforms the other methods but the difference is much less
significant. EDL and MCDO more or less perform equally,
with EDL being slightly better for high RER and MCDO
being slightly better for really low RER. LC and softmax also
show similar performance. Softmax again is not able to
produce different RER in lower ranges, however, this can mostly
be attributed to the ID samples.</p>
        <p>On NWPU-RESISC45, DE performs the best for
EfficientNet in terms of maximum RAR achieved. Next, softmax and
MCDO behave similarly but with a slight decrease in RAR.
For RER &lt; 5%, both of these methods show a slight kink in
the curve showing their sensitivity to certain range of
thresholds. But even in this range, DE clearly achieves much better
RAR at the cost of &lt; 1% RER. LC tries to achieve close
to 80% RAR, but at the cost of much higher RER. Finally,
EDL performs similarly as others in RER &lt; 5%, but is vastly
outperformed in terms of overall RAR. For SqueezeNet, DE
again performs the best followed by MCDO, EDL and
softmax in close proximity. Nonetheless, LC as pointed out
earlier performs the worst with this architecture. For VGG16, all
the methods perform sub-optimally in comparison to other
architectures with maximum RAR of nearly 75% achieved
by DE. Similar to the trend above, DE is followed by EDL
with comparable RAR, as DE, in RER &lt; 5%. Softmax and
MCDO follow them, but spread over larger RER. LC is not
again able to produce RER in lower ranges and has much
larger RER as compared to similar RAR achieved by other
UQ methods.</p>
        <p>Based on the observations above, DE performs best across
all methods and datasets. LC had been originally proposed as
an OOD detection method rather than being an UQ method.
However, LC has shown consistent sub-optimal performance
in almost all the scenarios above, particularly with smaller
architectures like SqueezeNet or higher resolution dataset, like
NWPU-RESISC45. MCDO and softmax perform averagely
in most cases. Most UQ methods including EDL tend to have
quite competent RAR for lower RER ranges, but on initial
investigation it has been also observed there always exist some
harder sample categories which are almost too difficult to
certainly reject for most UQ methods.</p>
      </sec>
      <sec id="sec-5-5">
        <title>Quality of Uncertainty Estimation</title>
        <p>To further assess the novelty detection capabilities of the
methods, we show the ratio of inputs marked as uncertain
for a given threshold. We, thereby, show the comparison for
the three possible cases: ID inputs predicted correctly, ID
inputs predicted incorrectly and OOD inputs. Corresponding to
each of the three cases we plot, over all thresholds, the
fraction of samples having high uncertainty. An ideal method, for
some given threshold, is certain for all correct predictions and
RA0.5
R
RA0.5
R
RA0.5
R
Learned Confidence
0.0
0.1
0.2
t
e
tN B
n R
e S
i
c T
ffi G
E
t
e
N B
e R
ez S
e T
u
q G
S
t
e 0
tN -1
n R
ie A
c F
ffiE IC
t
e 0
eN -1
z R
ee A
Squ IFC
0.0
0.1
0.2
0.3 00.2.0
0.1
0.2
0.30.04.0
0.1
0.2
0.03.60.0
0.1
0.2
00.3.8 0.0
0.1
0.2
10.30
loD tyR0.6
r in
-aC trae 0.4
teon cnU0.2
uncertain for all incorrect predictions as well as predictions
for OOD inputs. In Figure 2, the uncertainty ratios are shown
only for CIFAR-10 and EfficientNet, but we observe the same
findings in our other considered configurations. Most
interestingly, the curves for incorrectly classified and ood inputs
match very closely. Obviously, this raises the question: How
correlated are these two categories and will better UQ
methods be able to better detect novel inputs? This could be
subject for future research. The plots again indicate that very
low error rates can only be achieved at the cost of sacrificing
a lot of accuracy. It is also worth mentioning, that EDL and
LC exhibit a smoother behavior over the range of thresholds,
especially compared to Softmax and MCDO, and therefore,
are less sensitive towards small changes in the choice of a
threshold.</p>
      </sec>
      <sec id="sec-5-6">
        <title>Influence of Model Architecture</title>
        <p>While the choice of architecture is important for the
performance wrt. accuracy, its influence on the OOD detection
ability is not as significant, visually represented by how close
the blue and green curves match. An exception to this are
some configurations with LC, especially with SqueezeNet.
On CIFAR-10, all architectures perform mostly the same
regarding their novelty detection ability and on the easier
dataset GTSRB SqueezeNet has a slight edge. For
NWPURESISC45, VGG16 rejects OOD samples slightly better,
however, its baseline accuracy is about 20% lower for all UQ
methods. Figure 3 shows the overall performance of DE for
all architectures on the combined ID + OOD datasets.
5</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusion and Future Work</title>
      <p>In this paper, we investigated the question, whether
uncertainty quantification is sufficient for detecting
out-ofdistribution inputs. To that end, we applied different
stateof-the-art methods and network architectures to three image
classification tasks. While all tested UQ methods assign high
uncertainty to some of the ODD samples, their rejection
capabilities will not suffice for most safety-critical applications,
especially considering that in the real-world even more
difficult OOD inputs can occur. If UQ should be applied, deep
ensembles consistently showed the best trade-off between
performance and remaining error, but mostly due to its better
accuracy baseline to begin with.</p>
      <p>A closer look at our results revealed that in many cases
all methods fail on ODD inputs from the same classes. This
hints at the possibility that certain ODD inputs are
conceptually harder (or even impossible) to identify either by UQ
methods or even in general. However, further research is
needed to provide more evidence. In addition, many novelty
detection approaches have been proposed in recent years. It
would be interesting to see how they perform compared to the
UQ methods presented here. Furthermore, their error patterns
may provide additional insights into the difficulties of OOD
detection in general.</p>
      <p>Additionally, it is worthwhile investigating, whether our
findings also transfer to other tasks, e.g., object detection or
instance segmentation, and to other types of input data, for
instance, radar or lidar point clouds. While there are similar
base components at play —object detectors even use the
investigated networks as feature extractors—, the
transferability of our results is not guaranteed.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This work was partially supported by the Bavarian
Ministry of Economic Affairs, Regional Development and
Energy through the Center for Analytics—Data—Applications
(ADA-Center) within the framework of “BAYERN DIGITAL
II” and within the Intel Collaborative Research Institute—
Safe Automated Vehicles.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [Amodei et al.,
          <year>2016</year>
          ]
          <string-name>
            <given-names>Dario</given-names>
            <surname>Amodei</surname>
          </string-name>
          , Chris Olah, Jacob Steinhardt, Paul Christiano, John Schulman, and Dan Mane´. Concrete Problems in AI Safety.
          <source>ArXiv160606565 Cs</source>
          ,
          <year>July 2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [Burton et al.,
          <year>2019</year>
          ]
          <string-name>
            <given-names>Simon</given-names>
            <surname>Burton</surname>
          </string-name>
          , Lydia Gauerhof, Bibhuti Bhusan Sethy, Ibrahim Habli, and Richard Hawkins.
          <article-title>Confidence Arguments for Evidence of Performance in Machine Learning for Highly Automated Driving Functions</article-title>
          . In Computer Safety, Reliability, and Security, LNCS, pages
          <fpage>365</fpage>
          -
          <lpage>377</lpage>
          , Cham,
          <year>2019</year>
          . Springer International Publishing.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [Cheng et al.,
          <year>2017</year>
          ] Gong Cheng, Junwei Han, and
          <string-name>
            <given-names>Xiaoqiang</given-names>
            <surname>Lu</surname>
          </string-name>
          .
          <article-title>Remote Sensing Image Scene Classification: Benchmark and State of the Art</article-title>
          .
          <source>Proc. IEEE</source>
          ,
          <volume>105</volume>
          (
          <issue>10</issue>
          ):
          <fpage>1865</fpage>
          -
          <lpage>1883</lpage>
          ,
          <year>October 2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [Cheng et al.,
          <year>2019</year>
          ] Chih-Hong Cheng,
          <string-name>
            <surname>Chung-Hao</surname>
            <given-names>Huang</given-names>
          </string-name>
          , Thomas Brunner, and
          <string-name>
            <given-names>Vahid</given-names>
            <surname>Hashemi</surname>
          </string-name>
          .
          <article-title>Towards Safety Verification of Direct Perception Neural Networks</article-title>
          .
          <source>ArXiv190404706 Cs</source>
          ,
          <year>November 2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <source>[DeVries and Taylor</source>
          , 2018]
          <string-name>
            <given-names>Terrance</given-names>
            <surname>DeVries and Graham</surname>
          </string-name>
          <string-name>
            <given-names>W.</given-names>
            <surname>Taylor</surname>
          </string-name>
          .
          <article-title>Learning Confidence for Outof-Distribution Detection in Neural Networks</article-title>
          .
          <source>ArXiv180204865 Cs Stat</source>
          ,
          <year>February 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <source>[Gal and Ghahramani</source>
          , 2016]
          <string-name>
            <given-names>Yarin</given-names>
            <surname>Gal</surname>
          </string-name>
          and
          <string-name>
            <given-names>Zoubin</given-names>
            <surname>Ghahramani</surname>
          </string-name>
          .
          <article-title>Dropout as a bayesian approximation: Representing model uncertainty in deep learning</article-title>
          .
          <source>In Proc. ICML</source>
          <year>2016</year>
          , volume
          <volume>48</volume>
          , pages
          <fpage>1050</fpage>
          -
          <lpage>1059</lpage>
          . PMLR,
          <year>June 2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [Guo et al.,
          <year>2017</year>
          ]
          <string-name>
            <given-names>Chuan</given-names>
            <surname>Guo</surname>
          </string-name>
          , Geoff Pleiss,
          <string-name>
            <given-names>Yu</given-names>
            <surname>Sun</surname>
          </string-name>
          , and
          <string-name>
            <surname>Kilian</surname>
            <given-names>Q.</given-names>
          </string-name>
          <string-name>
            <surname>Weinberger</surname>
          </string-name>
          .
          <article-title>On Calibration of Modern Neural Networks</article-title>
          .
          <source>In Proc. ICML</source>
          <year>2017</year>
          , pages
          <fpage>1321</fpage>
          -
          <lpage>1330</lpage>
          . JMLR.org,
          <year>August 2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <source>[Hendrycks and Gimpel</source>
          , 2018]
          <string-name>
            <given-names>Dan</given-names>
            <surname>Hendrycks</surname>
          </string-name>
          and
          <string-name>
            <given-names>Kevin</given-names>
            <surname>Gimpel</surname>
          </string-name>
          .
          <article-title>A Baseline for Detecting Misclassified and Outof-Distribution Examples in Neural Networks</article-title>
          .
          <source>In Proc. ICML</source>
          <year>2017</year>
          .
          <article-title>JMLR</article-title>
          .org,
          <year>October 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [Hendrycks et al.,
          <year>2019</year>
          ]
          <string-name>
            <given-names>Dan</given-names>
            <surname>Hendrycks</surname>
          </string-name>
          , Mantas Mazeika, Saurav Kadavath, and
          <string-name>
            <given-names>Dawn</given-names>
            <surname>Song</surname>
          </string-name>
          .
          <article-title>Using Self-Supervised Learning Can Improve Model Robustness and Uncertainty</article-title>
          .
          <source>In Advances in Neural Information Processing Systems</source>
          <volume>32</volume>
          , pages
          <fpage>15663</fpage>
          -
          <lpage>15674</lpage>
          . Curran Associates, Inc.,
          <year>October 2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [Henne et al.,
          <year>2020</year>
          ]
          <string-name>
            <given-names>Maximilian</given-names>
            <surname>Henne</surname>
          </string-name>
          , Adrian Schwaiger, Karsten Roscher, and
          <string-name>
            <given-names>Gereon</given-names>
            <surname>Weiss</surname>
          </string-name>
          .
          <article-title>Benchmarking Uncertainty Estimation Methods for Deep Learning With Safety-Related Metrics</article-title>
          .
          <source>In Proc. SafeAI@AAAI</source>
          <year>2020</year>
          , volume
          <volume>2560</volume>
          <source>of CEUR Workshop Proceedings</source>
          , pages
          <fpage>83</fpage>
          -
          <lpage>90</lpage>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [Iandola et al.,
          <year>2016</year>
          ]
          <string-name>
            <given-names>Forrest N.</given-names>
            <surname>Iandola</surname>
          </string-name>
          , Matthew W. Moskewicz, Khalid Ashraf, Song Han, William J.
          <string-name>
            <surname>Dally</surname>
          </string-name>
          , and Kurt Keutzer.
          <article-title>SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and &lt;1MB model size</article-title>
          .
          <source>CoRR, abs/1602.07360</source>
          ,
          <year>2016</year>
          . eprint:
          <volume>1602</volume>
          .
          <fpage>07360</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [Katz et al.,
          <year>2017</year>
          ]
          <string-name>
            <given-names>Guy</given-names>
            <surname>Katz</surname>
          </string-name>
          , Clark Barrett, David L. Dill, Kyle Julian, and
          <string-name>
            <given-names>Mykel J.</given-names>
            <surname>Kochenderfer</surname>
          </string-name>
          .
          <article-title>Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networks</article-title>
          . In Computer Aided Verification, LNCS, pages
          <fpage>97</fpage>
          -
          <lpage>117</lpage>
          , Cham,
          <year>2017</year>
          . Springer International Publishing.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [Kim et al.,
          <year>2018</year>
          ]
          <string-name>
            <given-names>Been</given-names>
            <surname>Kim</surname>
          </string-name>
          , Martin Wattenberg, Justin Gilmer, Carrie Cai, James Wexler, Fernanda Viegas, and
          <string-name>
            <given-names>Rory</given-names>
            <surname>Sayres</surname>
          </string-name>
          .
          <article-title>Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)</article-title>
          .
          <source>In Proc. ICML</source>
          <year>2018</year>
          , pages
          <fpage>2668</fpage>
          -
          <lpage>2677</lpage>
          ,
          <year>July 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [Lakshminarayanan et al.,
          <year>2017</year>
          ]
          <string-name>
            <given-names>Balaji</given-names>
            <surname>Lakshminarayanan</surname>
          </string-name>
          , Alexander Pritzel, and
          <string-name>
            <given-names>Charles</given-names>
            <surname>Blundell</surname>
          </string-name>
          .
          <article-title>Simple and scalable predictive uncertainty estimation using deep ensembles</article-title>
          .
          <source>In Advances in Neural Information Processing Systems</source>
          <volume>30</volume>
          , pages
          <fpage>6402</fpage>
          -
          <lpage>6413</lpage>
          . Curran Associates, Inc.,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <string-name>
            <surname>[Lee</surname>
          </string-name>
          et al.,
          <year>2018</year>
          ]
          <string-name>
            <given-names>Kimin</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Kibok</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Honglak</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and Jinwoo</given-names>
            <surname>Shin</surname>
          </string-name>
          .
          <article-title>A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks</article-title>
          . ArXiv180703888 Cs Stat,
          <year>October 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [Liang et al.,
          <year>2018</year>
          ]
          <string-name>
            <given-names>Shiyu</given-names>
            <surname>Liang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Yixuan</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>R.</given-names>
            <surname>Srikant</surname>
          </string-name>
          .
          <article-title>Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networks</article-title>
          .
          <source>In arXiv:1706</source>
          .02690 [Cs, Stat],
          <year>February 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [Masana et al.,
          <year>2018</year>
          ]
          <string-name>
            <given-names>Marc</given-names>
            <surname>Masana</surname>
          </string-name>
          , Idoia Ruiz, Joan Serrat, Joost van de Weijer, and Antonio M. Lopez.
          <article-title>Metric Learning for Novelty and Anomaly Detection</article-title>
          .
          <source>In Proc. BMVC</source>
          <year>2018</year>
          ,
          <year>August 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [Mohseni et al.,
          <year>2020</year>
          ]
          <string-name>
            <given-names>Sina</given-names>
            <surname>Mohseni</surname>
          </string-name>
          , Mandar Pitale, JBS Yadawa, and
          <string-name>
            <given-names>Zhangyang</given-names>
            <surname>Wang</surname>
          </string-name>
          .
          <article-title>Self-Supervised Learning for Generalizable Out-of-Distribution Detection</article-title>
          .
          <source>In Proc. AAAI</source>
          <year>2020</year>
          , page
          <issue>8</issue>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [Olah et al.,
          <year>2020</year>
          ]
          <string-name>
            <given-names>Chris</given-names>
            <surname>Olah</surname>
          </string-name>
          , Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov, and
          <string-name>
            <given-names>Shan</given-names>
            <surname>Carter</surname>
          </string-name>
          . Zoom In: An Introduction to Circuits. Distill,
          <volume>5</volume>
          (
          <issue>3</issue>
          ):
          <fpage>10</fpage>
          .23915/distill.00024.001,
          <year>March 2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [Osawa et al.,
          <year>2019</year>
          ]
          <string-name>
            <given-names>Kazuki</given-names>
            <surname>Osawa</surname>
          </string-name>
          , Siddharth Swaroop, Mohammad Emtiyaz E Khan, Anirudh Jain, Runa Eschenhagen, Richard E Turner, and
          <string-name>
            <given-names>Rio</given-names>
            <surname>Yokota</surname>
          </string-name>
          .
          <article-title>Practical Deep Learning with Bayesian Principles</article-title>
          .
          <source>In Advances in Neural Information Processing Systems</source>
          <volume>32</volume>
          , pages
          <fpage>4287</fpage>
          -
          <lpage>4299</lpage>
          . Curran Associates, Inc.,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [Pawlowski et al.,
          <year>2017</year>
          ]
          <string-name>
            <given-names>Nick</given-names>
            <surname>Pawlowski</surname>
          </string-name>
          , Miguel Jaques, and
          <string-name>
            <given-names>Ben</given-names>
            <surname>Glocker</surname>
          </string-name>
          .
          <article-title>Efficient variational Bayesian neural network ensembles for outlier detection</article-title>
          .
          <source>In Proc. ICLR</source>
          <year>2017</year>
          .
          <article-title>OpenReview</article-title>
          .net,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [Ren et al.,
          <year>2019</year>
          ]
          <string-name>
            <given-names>Jie</given-names>
            <surname>Ren</surname>
          </string-name>
          ,
          <string-name>
            <surname>Peter J. Liu</surname>
            , Emily Fertig, Jasper Snoek, Ryan Poplin, Mark Depristo, Joshua Dillon, and
            <given-names>Balaji</given-names>
          </string-name>
          <string-name>
            <surname>Lakshminarayanan</surname>
          </string-name>
          .
          <article-title>Likelihood ratios for out-ofdistribution detection</article-title>
          .
          <source>In Advances in Neural Information Processing Systems</source>
          <volume>32</volume>
          , pages
          <fpage>14707</fpage>
          -
          <lpage>14718</lpage>
          . Curran Associates, Inc.,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [Salay et al.,
          <year>2020</year>
          ]
          <string-name>
            <given-names>Rick</given-names>
            <surname>Salay</surname>
          </string-name>
          , Krzysztof Czarnecki, Maria Soledad Elli,
          <string-name>
            <given-names>Ignacio J.</given-names>
            <surname>Alvarez</surname>
          </string-name>
          , Sean Sedwards, and
          <string-name>
            <given-names>Jack</given-names>
            <surname>Weast</surname>
          </string-name>
          . PURSS:
          <article-title>Towards Perceptual Uncertainty Aware Responsibility Sensitive Safety with ML</article-title>
          .
          <source>In Proc. SafeAI@AAAI</source>
          <year>2020</year>
          , volume
          <volume>2560</volume>
          <source>of CEUR Workshop Proceedings</source>
          , pages
          <fpage>91</fpage>
          -
          <lpage>95</lpage>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [Sensoy et al.,
          <year>2018</year>
          ]
          <string-name>
            <given-names>Murat</given-names>
            <surname>Sensoy</surname>
          </string-name>
          , Lance Kaplan, and
          <string-name>
            <given-names>Melih</given-names>
            <surname>Kandemir</surname>
          </string-name>
          .
          <article-title>Evidential Deep Learning to Quantify Classification Uncertainty</article-title>
          .
          <source>In Advances in Neural Information Processing Systems</source>
          <volume>31</volume>
          , pages
          <fpage>3179</fpage>
          -
          <lpage>3189</lpage>
          . Curran Associates, Inc.,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          <string-name>
            <surname>[Serra</surname>
          </string-name>
          ` et al.,
          <year>2019</year>
          ] Joan Serra`,
          <string-name>
            <surname>David</surname>
            <given-names>A</given-names>
          </string-name>
          ´lvarez, Vicenc¸ Go´mez, Olga Slizovskaia, Jose´
          <string-name>
            <given-names>F.</given-names>
            <surname>Nu</surname>
          </string-name>
          <article-title>´n˜ez, and Jordi Luque. Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models</article-title>
          .
          <source>In Proc. ICLR</source>
          <year>2020</year>
          ,
          <year>September 2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [
          <string-name>
            <surname>Shalev-Shwartz</surname>
          </string-name>
          et al.,
          <year>2018</year>
          ]
          <string-name>
            <given-names>Shai</given-names>
            <surname>Shalev-Shwartz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Shaked</given-names>
            <surname>Shammah</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Amnon</given-names>
            <surname>Shashua</surname>
          </string-name>
          .
          <article-title>On a Formal Model of Safe and Scalable Self-driving Cars. ArXiv170806374 Cs Stat</article-title>
          ,
          <year>October 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <source>[Simonyan and Zisserman</source>
          , 2015]
          <string-name>
            <given-names>Karen</given-names>
            <surname>Simonyan</surname>
          </string-name>
          and
          <string-name>
            <given-names>Andrew</given-names>
            <surname>Zisserman</surname>
          </string-name>
          .
          <article-title>Very Deep Convolutional Networks for Large-Scale Image Recognition</article-title>
          .
          <source>In Proc. ICLR</source>
          <year>2015</year>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [Stallkamp et al.,
          <year>2011</year>
          ]
          <string-name>
            <given-names>Johannes</given-names>
            <surname>Stallkamp</surname>
          </string-name>
          , Marc Schlipsing, Jan Salmen, and
          <string-name>
            <given-names>Christian</given-names>
            <surname>Igel</surname>
          </string-name>
          .
          <article-title>The German Traffic Sign Recognition Benchmark: A multi-class classification competition</article-title>
          .
          <source>In The 2011 International Joint Conference on Neural Networks</source>
          , pages
          <fpage>1453</fpage>
          -
          <lpage>1460</lpage>
          ,
          <year>July 2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          <source>[Tan and Le</source>
          , 2019]
          <string-name>
            <given-names>Mingxing</given-names>
            <surname>Tan</surname>
          </string-name>
          and
          <string-name>
            <given-names>Quoc</given-names>
            <surname>Le</surname>
          </string-name>
          .
          <article-title>EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks</article-title>
          .
          <source>In Proc. ICML</source>
          <year>2019</year>
          , volume
          <volume>97</volume>
          <source>of Proceedings of Machine Learning Research</source>
          , pages
          <fpage>6105</fpage>
          -
          <lpage>6114</lpage>
          . PMLR,
          <year>June 2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [Timofte et al.,
          <year>2014</year>
          ]
          <string-name>
            <given-names>Radu</given-names>
            <surname>Timofte</surname>
          </string-name>
          , Karel Zimmermann, and Luc Van Gool.
          <article-title>Multi-view traffic sign detection, recognition, and 3D localisation</article-title>
          .
          <source>Machine Vision and Applications</source>
          ,
          <volume>25</volume>
          (
          <issue>3</issue>
          ):
          <fpage>633</fpage>
          -
          <lpage>647</lpage>
          ,
          <year>April 2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [Weiss et al.,
          <year>2018</year>
          ]
          <string-name>
            <given-names>Gereon</given-names>
            <surname>Weiss</surname>
          </string-name>
          , Philipp Schleiss, Daniel Schneider, and
          <string-name>
            <given-names>Mario</given-names>
            <surname>Trapp</surname>
          </string-name>
          .
          <article-title>Towards integrating undependable self-adaptive systems in safety-critical environments</article-title>
          .
          <source>In Proc. SEAMS</source>
          <year>2018</year>
          , pages
          <fpage>26</fpage>
          -
          <lpage>32</lpage>
          . ACM, May
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [Willers et al.,
          <year>2020</year>
          ]
          <string-name>
            <given-names>Oliver</given-names>
            <surname>Willers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Sebastian</given-names>
            <surname>Sudholt</surname>
          </string-name>
          , Shervin Raafatnia, and
          <string-name>
            <given-names>Stephanie</given-names>
            <surname>Abrecht</surname>
          </string-name>
          .
          <article-title>Safety Concerns and Mitigation Approaches Regarding the Use of Deep Learning in Safety-Critical Perception Tasks. ArXiv200108001 Cs Stat</article-title>
          ,
          <year>January 2020</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>