     Quantifying Aleatoric and Epistemic Uncertainty in Machine Learning:
    Are Conditional Entropy and Mutual Information Appropriate Measures?


     Lisa Wimmer1,3            Yusuf Sale2,3          Paul Hofman2,3          Bernd Bischl1,3           Eyke Hüllermeier2,3

                                       1
                                      Department of Statistics, LMU Munich, Germany
                                       2
                                       Institute of Informatics, LMU Munich, Germany
                                  3
                                    Munich Center for Machine Learning (MCML), Germany



                          Abstract                                  the outcome with certainty even assuming perfect knowl-
                                                                    edge of the data-generating process. In practice, the learner
                                                                    only finds an empirical estimate p̂(· | x) from a pre-defined
    The quantification of aleatoric and epistemic un-               hypothesis space H. Roughly speaking, EU then refers to
    certainty in terms of conditional entropy and mu-               a lack of knowledge about the discrepancy between p and
    tual information, respectively, has recently become             p̂ that can – in contrast to AU – be alleviated by gathering
    quite common in machine learning. While the prop-               more training samples1 [Senge et al., 2014]. Not least due to
    erties of these measures, which are rooted in in-               this potential reduction, the quantification of EU is helpful
    formation theory, seem appealing at first glance,               in many applications of AI, e.g., in order to invoke human
    we identify various incoherencies that call their               intervention in multi-stage decision processes [Gal et al.,
    appropriateness into question. In addition to the               2017, Budd et al., 2021, Kirsch et al., 2022].
    measures themselves, we critically discuss the idea
    of an additive decomposition of total uncertainty               A specific set of measures for TU, AU, and EU has found
    into its aleatoric and epistemic constituents. Ex-              broad consensus in the uncertainty quantification literature.
    periments across different computer vision tasks                Promoted by Houlsby et al. [2011] and Depeweg [2019],
    support our theoretical findings and raise concerns             among others, the core idea revolves around Shannon en-
    about current practice in uncertainty quantification.           tropy [Shannon, 1948] as a measure for TU, which can be
                                                                    shown to (additively) decompose into conditional entropy,
                                                                    interpreted as a measure of AU, and mutual information,
                                                                    resulting as a measure of EU [Kendall and Gal, 2017, Smith
1    INTRODUCTION                                                   and Gal, 2018, Charpentier et al., 2022]. Various applica-
                                                                    tions have recently used these measures (e.g., Michelmore
Estimating, analyzing, and handling uncertainty has always          et al. [2018], Shelmanov et al. [2021], Winkler et al. [2022]).
been an integral part of classical statistics. More recently, the
broader machine learning community has come to acknowl-             While the underlying ideas are well-established and math-
edge its vital role in producing reliable estimates, which is,      ematically well-founded, they originate from information
e.g., considered paramount in safety-critical applications          theory and are not necessarily suited to uncertainty quan-
[Senge et al., 2014, Kendall and Gal, 2017, Psaros et al.,          tification in statistical learning. In fact, we find that the
2022]. In the context of supervised learning, the focus is typi-    proposed entropy-related measures exhibit questionable be-
cally on predictive uncertainty, i.e., the learner’s uncertainty    havior in a number of settings. We thus argue for a critical
about the outcome y ∈ Y given a query instance x from               re-assessment of the established practice. Our contributions
an input space X . It is often expedient to decompose the           are as follows: We (i) point out numerous incoherencies
total amount of uncertainty (TU) into its aleatoric (AU) and        of uncertainty measures based on decomposing Shannon
epistemic (EU) parts [Hüllermeier and Waegeman, 2021].              entropy, (ii) shed light on why an additive disaggregation of
The aleatoric component of TU arises from the stochastic            TU might not be meaningful, and (iii) provide evidence for
nature of the mapping from X to Y, which implies that               the relevance of these observations in practical applications.
the “ground truth” is a (generally non-Dirac) conditional
probability distribution p(· | x) over Y. Potential sources of
AU include measurement errors, randomness in physical                  1
                                                                          An additional source of EU is model misspecification, mean-
quantities, and the simple fact that x may not suffice to           ing that p 6∈ H (e.g., Wilson [2020]); although important, it is
explain y [Malinin, 2019]. Thus, it is not possible to predict      difficult to tackle formally and often omitted from the analysis.


          Proceedings of the 39th Conference on Uncertainty in Artificial Intelligence (UAI 2023), PMLR 216:2282–2292.
2     BACKGROUND


2.1   UNCERTAINTY REPRESENTATIONS


In the following, we assume categorical target variables
from a finite label space Y = {y1 , . . . , yK }, K ∈ N.
The set P(Y) of (first-order) probability distributions over
Y                                                         .       Figure 1: Bi-level uncertainty representation in binary clas-
 can be identified withK the (K-1)-simplex ∆K .=
  θ = (θ1 , . . . , θK ) ∈ [0, 1] | kθk1 = 1 . For each θ ∈       sification. We pose a second-order distribution Q over
∆K , we can compute an associated degree of AU [Hüller-           Bernoulli distributions corresponding to the probability θ of
meier and Waegeman, 2021]. To capture EU, the learner             the positive class. In Bayesian inference, Q is given by the
must be able to express uncertainty about θ, which can be         posterior distribution (epistemic level), and a point predic-
accomplished by a (second-order) probability distribution         tion θ̂ (aleatoric level) is obtained by model averaging. On
over (first-order) distributions θ.                               level zero, only binary class labels are observed.

The canonical approach to such a bi-level representation
is Bayesian inference, where uncertainty about the (Bayes)
predictor is translated into uncertainty about a prediction ex-   2.2   ENTROPY-BASED INFORMATION
pressed in terms of the posterior predictive distribution [Gel-         MEASURES
man et al., 2021]. Another idea is to estimate EU directly
along with the prediction of the outcome. For instance, it is     Given a representation of an uncertain prediction in terms
possible to learn the parameters of a Dirichlet distribution      of a second-order distribution Q, one is often interested in
with a concentration parameter expressing EU [Malinin and         quantifying the learner’s uncertainty in terms of a single
Gales, 2018, Charpentier et al., 2020, Huseljic et al., 2020,     number, and decomposing the TU into its aleatoric and epis-
Kopetzki et al., 2021]. Either way, we arrive at a second-        temic contributions. One approach that is now commonly
                                                    (2)           adopted [Houlsby et al., 2011, Gal, 2016, Depeweg et al.,
order or second-order predictor F : X −→ ∆K , where
  (2)
∆K = P(P(Y)) denotes the set of second-order distribu-            2018, Smith and Gal, 2018, Mobiny et al., 2021] is based
tions over Y. For the sake of simplicity, we subsequently         on information-theoretic quantities derived from Shannon
omit the conditioning on the query instance x.                    entropy. Let Y signify the random outcome variable with
                                                                  marginal probability
Each probability vector θ ∈ ∆K implies a categorical dis-                                R
tribution on Y, such that θk = p(yk | θ) is the probability of                  p(y) = ∆K p(y | θ) d Q(θ).                 (1)
outcome yk , and one of these distributions, θ ∗ , corresponds
                                                      (2)
to the (unknown) ground truth. If F (x) = Q ∈ ∆K is the           The (discrete) Shannon entropy of Y can be defined as
prediction for a query x, then Q assigns a probability Q(θ)                              P
                                                                              H(Y ) = − y∈Y p(y) · log p(y) ,           (2)
to each distribution θ ∈ ∆K . Q represents the epistemic
state of the learner about x, and a stronger concentration        where the logarithm is typically set to base 2. For continuous
of Q indicates more certainty about the true distribution θ ∗ .   label spaces, we obtain the differential entropy analogously
Note that we immediately regard the output distribution and       by replacing the sum in Eq. (2) with an integral over Y
omit from our notation any relation to objects that play a role   [Cover and Thomas, 2006].
in estimating θ (e.g., the Bayes posterior is often expressed
as a distribution over model parameters given data).              Shannon entropy can be interpreted as the degree of unifor-
                                                                  mity in the distribution of a random variable, or the amount
As an example, consider the case of binary classification         of information to be gained from observing its realization
(K = 2), where Y = {y0 , y1 } consists of only two classes,       (further analogies exist in physics and source coding). It
negative and positive (illustrated in Fig. 1). The conditional    enjoys a number of desirable properties: it is non-negative,
distribution p(· | x) is now determined by the probability        maximal for the uniform distribution, and invariant to per-
vector θ = (θ0 , θ1 ) = (p(y0 | x), p(y1 | x)). As the indi-      mutations of classes in Y [Cover and Thomas, 2006].
vidual class probabilities sum up to one, prediction in x
effectively comes down to inference about the ground-truth        Exploiting the fact that Y is the expectation of the condi-
probability θ1∗ = p(y1 | x) of the positive class, and hence      tional outcome (given θ) with respect to the second-order
about the success parameter θ of a Bernoulli distribution         distribution Q, the Shannon entropy, as a measure of TU,
B(θ). The corresponding second-order distribution Q could         can be computed as
be, for example, a Beta distribution (or, more generally, a                                               
Dirichlet distribution for K ≥ 2).                                                 H(Y ) = H EQ [Y | θ] .                 (3)


                                                              2283
A trivial result from information theory states that Shannon           conditional entropy as a measure of AU:
entropy additively decomposes into conditional entropy and                                                           
                                                                                             1
                                                                                               PM                  (m)
mutual information (e.g., Ash [1965]):                                         H(Y | Θ) = M      m=1  H   p  y | θ        .         (8)
                H(Y ) = H(Y | Θ) + I(Y, Θ).                     (4)
                                                                       The discrete EU is the Jensen-Shannon divergence
Here, Θ denotes the random variable of first-order distri-                  PM                             PM                  
                                                                         1                          (m)     1                  (j)
butions θ ∼ Q. Conditional entropy H(Y | Θ) expresses                    M      m=1 D KL   p  y | θ        M     j=1 p   y | θ        .
the uncertainty about Y that would remain if the realiza-                                                                            (9)
tion of Θ were known, and is therefore taken to quantify               Finite-ensemble EU still results as the difference between
AU. The motivation for expressing AU this way is as fol-               Eq. (7) and Eq. (8) under the conditions of Section 2.2.
lows: By fixing a first-order distribution θ ∈ ∆K , all EU             Obviously, ensemble learning provides a rather coarse ap-
is essentially removed
               PK        and only AU remains, such that                proximation to the expectation EQ (·), especially if the size
H(Y | θ) = − k=1 θk log θk is indeed a natural measure                 M of the ensemble is small. Consider, for example, deep
of AU. However, as θ is not precisely known, we take the               ensembles [Lakshminarayanan et al., 2017], which have
expectation with respect to the second-order distribution:             become a de facto gold standard in probabilistic machine
                                                                       learning [Ovadia et al., 2019, Ashukha et al., 2020, Psaros
  H(Y | Θ) = EQ [H (Y | θ)]                        (5)                 et al., 2022]. The cost of training each of their neural net-
              R P
           =      y∈Y −p(y | θ) log p(y | θ) d Q(θ).                   work members is typically so high that M remains in the
             ∆K |           {z
                                  H(Y | θ)
                                           }                           realm of five to ten (e.g., Abe et al. [2022], Turkoglu et al.
                                                                       [2022]). We must then expect certain (low-density) regions
Mutual information I(Y, Θ), proposed to embody EU, is                  in the space of first-order distributions to be systematically
a symmetric measure for the expected information gained                undersampled, affecting the estimate of EU in particular.
about one variable through observing the other and vanishes
if both variables are independent. Intuitively, it quantifies
the potential reduction in uncertainty about Y through ob-             3    RELATED WORK
serving Θ2 [Ash, 1965]:
                                                                       The decomposition in Eq. (4) is widely applied and often
            I(Y, Θ) = H(Y ) − H(Y | Θ)                                 used in conjunction with Bayesian learning, e.g., to ob-
                    = EQ [DKL (p(Y |Θ) k p(Y ))] .              (6)    tain more robust predictions by explicitly modeling both
                                                                       components of TU [Kendall and Gal, 2017], to design bet-
                                                                       ter optimization procedures by using the decomposition in
2.3       FINITE-ENSEMBLE APPROXIMATION
                                                                       stochastic differential equations [Winkler et al., 2022], or to
                                                                       improve the general understanding of neural networks [Woo,
In practice, it will hardly be possible to compute exact ex-
                                                                       2022]. In natural language processing, Wu et al. [2020] fil-
pectations with respect to Q due to the intractability of
                                                                       ter unreliable predictions in spoken language assessment
the corresponding integrals, so we must permit some kind
                                                                       caused by high EU, while Shelmanov et al. [2021] perform
of approximation. The standard approach to this problem
                                                                       active learning with EU-based acquisition for label-efficient
is Monte Carlo integration with a finite number M ∈ N
                                                                       sequence tagging. Further fields of application include au-
of samples θ ∼ Q, whose induced mean, by the law of
                                                                       tonomous driving, where EU is found to be predictive of
large numbers, almost surely converges to the true integral
                                                                       forthcoming accidents [Michelmore et al., 2018], and medi-
[Andrieu et al., 2003]. In machine learning, this way of
                                                                       cal diagnostics, with a focus on identifying inherently am-
combining the predictions of multiple models is common
                                                                       biguous cases [Mobiny et al., 2021].
practice and known as ensemble learning (e.g., Breiman
[2001], Lakshminarayanan et al. [2017]). For TU, the en-               We find, however, that the entropy decomposition may lead
tropy over the approximate first-order distribution becomes            to unintended results discussed in the subsequent section.
                         P                                         While we do not dispute the mathematical correctness of
                          1    M             (m)
          H(Y ) = H M          m=1  p  y | θ        ,    (7)           Eq. (4)-(6), we argue that the individual quantities and their
                                                                       additive aggregation are not suitable for evaluating predic-
where θ (m) , m ∈ {1, . . . , M }, is the prediction of the m-th       tive uncertainty. Although previous work uncovered similar
ensemble member. Analogously, we obtain the ensemble                   shortcomings of measures in related uncertainty frameworks
      2
     It should be noted that Houlsby et al. [2011] proposed the
                                                                       (e.g., Pal et al. [1992] on evidential reasoning), the entropy-
entropy decomposition to inform uncertainty sampling in active         based measures – to the best of our knowledge – have drawn
learning, where mutual information has a slightly different purpose,   hardly any criticism in the machine learning community. In
namely reducing uncertainty about Θ, while we use I(Y, Θ) to           the following, we point out numerous inconsistencies that
quantify uncertainty about Y (which the symmetric nature of I(·)       cast doubt on the usefulness of the individual measures and
enables us to do).                                                     address the more general issue of additive decomposition.


                                                                   2284
4         CRITICAL ASSESSMENT                                         the uniform distribution on the unit interval, Q = U[0, 1]
                                                                      (Fig. 2a), which is commonly considered a representation of
Let TU, AU, and EU denote, respectively, measures                     complete ignorance (justified by the “principle of indiffer-
  (2)
∆K −→ R of total, aleatoric, and epistemic uncertainty                ence” invoked by Laplace, or by referring to the principle of
associated with a (second-order) uncertainty representation           maximum entropy), has the same TU as a mixture of Dirac
        (2)
Q ∈ ∆K . In the literature, it is common to define the                distributions Q = 21 δ0 + 12 δ1 (Fig. 2f) dividing all probabil-
fundamental properties of uncertainty measures through an             ity mass between the outcomes θ = 0 and θ = 1. While one
axiomatic approach (see also, for example, Bronevich and              may argue that the uncertainty about the target variable Y
Klir [2008], Pal et al. [1993]. In the following, we define           is indeed the same in both cases, it seems counter-intuitive
some properties these measures should naturally satisfy.              to obtain identical results when in one scenario, the learner
                                                                      (supposedly) knows nothing, whereas, in the other, it has
A0 TU, AU, and EU are non-negative.                                   substantial knowledge about the ground-truth distribution
A1 EU vanishes for Dirac measures Q = δθ .                            θ∗ . Likewise, it appears strange that any distribution Q not
                                                                      symmetric around 12 will have a lower TU, including, for ex-
A2 EU and TU are maximal for Q being the uniform dis-
                  (2)                                                 ample, U[0.45, 0.85] (Fig. 2e), when it arguably represents
   tribution on ∆K .
                                                                      a lower degree of informedness than the Dirac mixture.
A3 If Q0 is a mean-preserving spread3 of Q, then
   EU(Q0 ) ≥ EU(Q) (weak version) or EU(Q0 ) >
   EU(Q) (strict version); the same holds for TU.
A4 If Q0 is a center-shift4 of Q, then AU(Q0 ) ≥ AU(Q)
   (weak version) or AU(Q0 ) > AU(Q) (strict version);
   the same holds for TU.
A5 If Q0 is a spread-preserving location shift5 of Q, then
   EU(Q0 ) = EU(Q).

4.1       TOTAL UNCERTAINTY

Although Shannon entropy is widely established as a mea-
sure of uncertainty associated with a random variable, one
may wonder about its appropriateness for quantifying total            Figure 2: Different second-order distributions Q over the
predictive uncertainty in the scenario outlined above. As an          parameter θ of a Bernoulli distribution with associated un-
illustration, we pick up our previous example of binary clas-         certainty. (a) U[0, 1]; (b) N (0.5, 0.01); (c) Beta(8, 2); (d)
                                                          (2)
sification (note that properties A0-A5 apply to Q, Q0 ∈ ∆K            U[0.3, 0.7]; (e) U[0.45, 0.85]; (f) 12 δ0 + 12 δ1 .
but violations for K = 2 suffice to conclude that they do not
hold in general). Fig. 2 shows some exemplary second-order
distributions Q together with the values they induce for TU,
AU, and EU about the prediction of θ.                                 The root cause of these peculiarities is the role of the dis-
                                                                      tribution Q in the computation of TU – effectively, Q is
We first note that property A3 is violated by TU in terms of          marginalized over. In this sense, the reason for having max-
entropy, at least in its strict version, because (3) depends on       imal TU in the case of U[0, 1] is not that it (supposedly)
Q only through its expectation.                                       encodes the greatest lack of knowledge, but only its sym-
                                                                      metry around θ = 12 . Information about the second-order
Proposition 1. Total uncertainty defined in terms of Shan-
                                                                      distribution is thus compressed to a single number in the
non entropy (3) violates the strict version of A3.
                                                                      form of its expectation. On the other hand, the concentration
                                             (2)
                                                                      of Q is hardly reflected in the TU, although it should be an
For example, in the special case Q ∈ ∆2 , H(Y ) is maxi-              important indicator of the learner’s state of knowledge.
mal as soon as Q is symmetric around θ = 12 . Consequently,

    Let X ∼ Q, X 0 ∼ Q0 be two random variables, where
      3                                                               4.2   ALEATORIC UNCERTAINTY
         (2)
Q, Q0 ∈ ∆K . Then, Q0 is called a mean-preserving spread of Q
           d
iff X 0 = X + Z, for some random variable Z with E[Z|X =
                                                                      Noting that, in Eq. (5), Q represents the learner’s subjective
x] = 0 ∀x in the support of X.                                        belief about a supposedly objective ground-truth θ ∗ asso-
    4
      Q and Q0 differ only in their respective means, where the       ciated with query x, H(Y | Θ) can be seen as the learner’s
mean of Q0 is closer – in terms of L1 distance in Cartesian coordi-   (current) best guess of the true AU. Although this might
                              (2)
nates – to the barycenter of ∆K .                                     seem a sensible quantity, the relationship between this es-
    5          0
      Q and Q differ only in their respective means.                  timate and the true AU, H(Y | θ ∗ ), is by no means clear.


                                                                  2285
The problem is that AU estimates – even if the additive             Actually, the maximal EU (1.00) is reached only for the case
nature of the decomposition might suggest otherwise – can-          of Fig. 2f, in which Q is a mixture of two Dirac measures,
not be separated from the learner’s epistemic state. In the         one placed at θ = 0 and the other at θ = 1. This distribution
finite-sample case, the learner must fall short of perfect          suggests a deterministic dependency, where the outcome
knowledge, meaning that its belief Q will not coincide with         is either certainly positive or certainly negative – a case in
the Dirac distribution on θ ∗ that represents the true second-      which the learner undoubtedly knows more than nothing, so
order distribution. This, however, directly translates to the       again, the level of EU does not seem appropriate.
estimate of AU that is derived by taking the expectation over
                                                                    Also, note that EU is not invariant against a location shift
Q. Whenever there is EU, we must expect the AU estima-
                                                                    of the distribution Q, even though it would be reasonable to
tion to be compromised, and the absence of a ground-truth
                                                                    expect that EU remains constant when the spread of Q does
precludes us from knowing how it is affected exactly.
                                                                    not change.
In particular, conditional entropy is neither a true expecta-
tion nor a lower or upper bound on the true AU, and the re-                                                                (2)
                                                                    Proposition 3. There exist location shifts Q0 ∈ ∆K of
sulting point estimate suggests a degree of informedness that             (2)
                                                                    Q ∈ ∆K such that property A5 is violated.
is hardly justified. The limited ability of probability distri-
butions to properly distinguish between different subjective
beliefs adds to the problem. For example, if a uniform Q is         For example, the distributions in Fig. 2d and Fig. 2e (case
meant to represent complete ignorance, then all the learner         K = 2) are both uniform on an interval of length 0.4, sug-
can infer is that the true AU is between zero (for θ ∈ {0, 1})      gesting the same level of informedness about the ground
and one (for θ = 12 ). This is clearly a different situation than   truth θ. However, the respective degrees of EU (0.04 vs.
having perfect knowledge about all first-order distributions        0.08) differ. Of course, one may argue that the uncertainty
being equally probable. Ultimately, however, both lead to           will depend not only on the shape but also on the location of
the same average over the support of Q. Therefore, we must          the distribution. Then, however, U[0.3, 0.7] should arguably
conclude that AU is computed with respect to a belief that          exhibit higher uncertainty, as it puts more probability mass
the second-order distribution may fail to express, and that         close to θ = 12 than U[0.45, 0.85]. This is indeed the case
must be expected to be wrong.                                       for TU and AU but exactly reversed for EU.
                                                                    Lastly, we would expect EU to increase when Q’s mass
4.3   EPISTEMIC UNCERTAINTY                                         is spread over a larger support (all else being equal), such
                                                                    that more hypotheses are deemed likely. Such spreading
The definition of mutual information (Eq. (6)) may appear           happens, for example, in moving from 12 δ0.45 + 12 δ0.95 to
intuitively plausible at first sight: If the observation of Y       U[0, 1], while EU actually gets higher rather than lower.
reveals a sizeable amount of information about Θ, then the
learner’s uncertainty about Θ must be high (et vice versa).         Proposition 4. EU in terms of mutual information I(Y, Θ)
Likewise, a high divergence in the finite-ensemble version          violates property A3.
(Eq. (9)), i.e., in the predictions of different ensemble mem-
bers, can be viewed as indicating a high EU.
                                                                    Mathematically, the numbers are clearly correct and mean-
That said, the measures do not necessarily behave as one
                                                                    ingful: In Fig. 2f, for example, the ground-truth distribution
may expect. Looking at Fig. 2, a first observation is that EU
                                                                    θ is uniquely determined as soon as the outcome Y has been
tends to be relatively low, which is especially noticeable in
                                                                    observed, so mutual information should be maximal. What
the case of the standard uniform distribution (upper left).
                                                                    must be concluded is rather that mutual information may
As already mentioned, U[0, 1] is usually meant to represent
                                                                    not be the right measure of EU. Indeed, mutual information
complete ignorance, suggesting that the learner is as unin-
                                                                    is arguably more a measure of divergence or conflict than
formed as it could be, so we would expect a measure of EU
                                                                    of ignorance, as the common understanding of EU would
to fulfill property A2 (i.e., be maximal) in this case.
                                                                    suggest. This is quite obvious from Eq. (6) and even easier
Proposition 2. EU in terms of mutual information I(Y, Θ)            to see in the discrete version (Eq. (9)) for finite ensembles.
violates property A2.                                               Mutual information effectively quantifies the expected di-
                                                                    vergence of single hypotheses from the opinion given by
This violation holds in general, and can be seen very eas-          integrating over all of them. Consequently, it is much higher
ily for the case K = 2 in Fig. 2. In Bayesian inference,            for the Dirac mixture in Fig. 2f, with maximal divergence of
for example, the uniform distribution is commonly adopted           both hypotheses from the average θ = 12 , than for U[0, 1],
as a prior, representing knowledge before seeing any data.          which also assigns probability mass to many alternatives
In such a state, one would assume all uncertainty to epis-          that diverge only little from the expectation. Thus, mutual
temic, and hence the measure of EU to be very high. On the          information behaves as expected but does not seem well-
contrary, however, AU (at 0.72) is well above EU (at 0.28).         suited to measuring a quantity taken to represent ignorance.


                                                                2286
4.4   ADDITIVE DECOMPOSITION                                       for mutual information when starting with a uniform prior).
                                                                   Then, however, additivity implies that AU must be zero, at
Let us conclude this section with a few remarks on another         least if the measures share a common scale with the same
potential problem of uncertainty quantification, which is re-      maximum value (which holds for entropy and mutual infor-
lated, though not restricted, to the quantification discussed in   mation). In a sense, the aleatoric part is already comprised
this paper. According to Eq. (4), TU (entropy) decomposes          in the epistemic part, suggesting that the difference between
additively into AU (conditional entropy) and EU (mutual in-        TU and EU can, at best, be interpreted as a lower bound to
formation). When combining distinct sources of uncertainty,        the true AU. This is depicted graphically in Fig. 3: With a
additive representations of this kind appear natural and can       growing sample size, we expect EU to decrease and even-
also be found for other measures of uncertainty, such as           tually vanish because the learner will gain full knowledge
variance (see, e.g., Depeweg et al. [2018] for a discussion        about the data-generating process, while both TU and TU
of entropy and variance decomposition). However, when              minus EU should converge to the true AU (the former from
considering Eq. (4) in a machine learning setting, where the       above and the latter from below).
(total) uncertainty is not fixed but decreases with increasing
                                                                   The above can be summarized as follows:
sample size, additivity might be less obvious because the
aleatoric part does not correspond to the true AU, but only        Proposition 5. If EU and TU attain their respective maxima
to an estimate thereof. Moreover, this estimate depends on         at the beginning of learning, and they are constructed to be
the EU, such that the two measures are tightly interwoven          on the same scale, then TU cannot decompose additively
and certainly not independent of each other. So, what is the       into EU and AU if AU is positive.
justification for simply adding them up?
                                                                   What these considerations suggest is that, in the finite-
                                                                   sample (machine learning) regime, additivity might in-
                                                                   evitably be violated by “ideal” measures of TU, EU, and
                                                                   (ground-truth) AU (again, note that entropy and mutual in-
                                                                   formation with a uniform prior are not ideal in this sense,
                                                                   which is what we criticized them for). Instead, additivity
                                                                   may only hold for the decomposition of TU into EU and a
                                                                   lower bound to AU, or might be relaxed to sub-additivity
                                                                   along the lines of Dubois et al. [1996]. Alternatively, ad-
                                                                   ditivity must be preserved by giving up other assumptions,
                                                                   e.g., that all measures share the same scale. Recently, for
                                                                   example, Hüllermeier et al. [2022] proposed a decomposi-
                                                                   tion for the uncertainty of sets of probability distributions
                                                                   (credal sets), in which EU can become twice as high as AU.
Figure 3: In the beginning, the learner is very uncertain
about the true class probability for the (green) query point       5         EXPERIMENTS
x (top-left), but this (epistemic) uncertainty disappears with
increasing sample size (top-right). The bottom plot shows
                                                                   5.1       EXPERIMENTAL SETUP
the expected qualitative behavior of uncertainty components.
The dotted line marks the difference of TU and EU (which
                                                                   We conduct a number of experiments that provide practical
equals AU when stipulating additivity).
                                                                   evidence about the incoherent behavior of entropy-based
                                                                   uncertainty measures. For further details on training con-
                                                                   figurations, see supplementary material. The experimental
The dependence between the measures can be seen most               code is available in full via a public repository6 .
clearly at the beginning of a learning process, during which
the number of observed samples increases when the learner          Datasets We consider image classification tasks for two
has seen very little or even no data. For example, take the        real-world datasets, CIFAR10 [Krizhevsky, 2009] and
case of binary classification, where the learner is still fully    MNIST [LeCun et al., 1998], containing ten classes of color
ignorant about the probability θ = p(y1 | x) of the positive       and gray-scale images, respectively. For a setting over which
class in a certain point x: it might be a clear positive case      we can exert full control, we further synthesize black-and-
(θ = 1), a clear negative case (θ = 0), but also everything        white images of rectangles, where one class is characterized
in between. In this situation, an ideal measure of TU should       by vertical extension (i.e., height > width) and the other
arguably assume its maximum value. Likewise, an ideal              vice versa, and simulate a bivariate classification problem
measure of EU should be maximal because the learner is             with tabular features and four classes.
                                                                         6
as uninformed about θ as it can be (note this is not the case                https://github.com/lisa-wm/entropybaseduq


                                                               2287
Probabilistic Learners For the computer vision tasks, we          overall, despite limited information and consequently poor
employ deep ensembles of M neural networks with varying           performance. A notable exception is the Laplace approxi-
random initialization [Lakshminarayanan et al., 2017], as         mation for MNIST (Fig. 4, bottom), which resembles most
well as a Laplace approximation [Daxberger et al., 2021]          closely what we would have expected, though it appears
that fits a Gaussian approximate posterior to the location of     more susceptible to random changes (see close-up).
the maximum-a-posteriori estimator and draws M samples
from this distribution. Furthermore, we train a random forest
[Breiman, 2001] and an ensemble of single-hidden-layer
feedforward neural networks (MLPs) for the tabular clas-
sification problem. Ensemble predictions are computed by
averaging over the outputs of individual members. We set
M = 10. While this may seem small, note that this is in
accordance with common practice (e.g., Beluch et al. [2018],
Lee et al. [2021], Abe et al. [2022], Kristiadi et al. [2022],
Turkoglu et al. [2022]) because larger ensembles are rarely
affordable in the deep learning with architectures typically
numbering in the millions. Our ablations suggest that the
observed qualitative behavior is fairly robust with respect to
ensemble size (see supplementary material).

Evaluation The figures in the following paragraphs visu-          Figure 4: Entropy-based uncertainty for increasing sample
alize estimates for AU, EU, and TU (normalized to values          size (MNIST). Overlaying plot (top): re-scaled left y-axis.
in [0, 1]) alongside predictive performance in terms of ac-       Overlaying plot (bottom): empirical densities of observed
curacy (ACC) and expected calibration error (ECE; Naeini          instance-wise EU values (each curve represents one run of
et al. [2015]). The uncertainty estimates are depicted as         the experiment) with 10% sample size.
lines (averaged over all test samples, left y-axis), while the
bars represent performance (right y-axis). All results are
aggregrated over three independent runs, with error bars on
the uncertainty curves indicating one standard deviation.


5.2     RESULTS AND DISCUSSION

5.2.1    Increasing Sample Size

We first study how the components of total Shannon entropy
evolve with sample size, where we admit increasingly larger
training datasets from 1% to 100% of available samples
(randomly selected; the classes are balanced).

Expected Behavior TU and EU start from their highest
level and decrease gradually, while AU approaches its true
constant value from below (due to the additivity assumption).     Figure 5: Entropy-based uncertainty for increasing sample
The reported uncertainty is higher when accuracy is low.          size (CIFAR10).

Observed Behavior We observe the expected downward
slope of TU and EU as a general pattern, but the evidence         5.2.2   Increasing Data Noise
is otherwise not quite consistent. Most strikingly, the AU
estimates also assume high initial values and decrease for        Next, we modify the level of noise in the data, for which
larger sample size in three out of four cases. For CIFAR10,       we use different proxies. First, we vary image resolution in
this behavior is clearly visible (Fig. 5), underlining our con-   the computer vision tasks by downscaling (original sizes:
cern that AU estimates are unreliable in the light of limited     28×28 / 32× 32 for MNIST / CIFAR10); second, we shrink
knowledge. In the case of MNIST and the deep ensemble,            the relative class distance for the tabular data and thus en-
uncertainty is ultra-low from the beginning, but a close-up       force stronger overlap (Fig. 6); and lastly, we randomly
in the small overlaying plot of Fig. 4 (top) reveals the same     change class labels for a varying share of observations in
trend. Reported EU for small sample sizes seems quite low         the same dataset (see supplementary material).


                                                              2288
                                                                   Figure 9: Entropy-based uncertainty for for increasing class
                                                                   overlap (tabular data).
Figure 6: Tabular data with two features and four classes for
increasing class overlap.
                                                                   Observed Behavior More noise indeed prompts a rise in
                                                                   AU in all cases (Fig. 7-9). However, EU remains basically
Expected Behavior AU picks up with increasing noise                constant and very low, even when the data are so noisy that
level. Since learner capacity remains fixed, it is reasonable to   performance plummets. Note that, for instance, 10% resolu-
assume that EU also rises to some extent when the decision         tion corresponds to a compression into 3×3 pixels for both
boundaries become more complex with mounting degree of             MNIST and CIFAR10, and how the decision boundaries
dataset contamination.                                             become quite blurred in the tabular dataset when classes
                                                                   overlap more strongly (Fig. 6). Again, the Laplace approxi-
                                                                   mation for MNIST is something of an exception: here, EU
                                                                   increases for the lowest resolution values, but leaves AU re-
                                                                   markably small and even falling from 10% to 5% resolution.
                                                                   We find thus that the uncertainty measures behave, if not
                                                                   entirely implausible, again somewhat inconsistently.


                                                                   5.2.3   Test Distribution Shift


                                                                                Following a slightly different idea than in the
                                                                                previous experiment, we now train the learner
                                                                                on a well-separated dataset of synthetic rectan-
                                                                                gles and seek predictions for instances which in-
                                                                                terpolate between the classes. This is achieved
Figure 7: Entropy-based uncertainty for decreasing image
                                                                                by decreasing the rectangles’ side-length ratio,
resolution (MNIST). Overlaying plot: empirical densities of
                                                                                effectively pushing them towards a square.
observed instance-wise EU values (each curve represents
one run of the experiment) with 10% resolution.
                                                                   We further present the learner with samples that are from
                                                                   an entirely different class, namely random non-convex poly-
                                                                   gons with 3–5 vertices, and thus out-of-distribution (OOD)
                                                                   relative to the training data. Both settings create a form
                                                                   of distribution shift between training and test data that is
                                                                   associated with the presence of predictive uncertainty.

                                                                   Expected Behavior Class interpolation mainly affects
                                                                   AU through instances located close to the learned decision
                                                                   boundaries. In OOD detection, demanding predictions for
                                                                   samples from a previously unseen class should spike an
                                                                   increase in EU.

                                                                   Observed Behavior The deep ensemble and Laplace ap-
                                                                   proximation act quite differently in the presence of class
                                                                   interpolation (Fig. 10). While the former behaves roughly
                                                                   in line with our expectation, the Laplace learner attributes
Figure 8: Entropy-based uncertainty for decreasing image           most of the uncertainty to the epistemic component when
resolution (CIFAR10).                                              samples become increasingly quadratic, leaving AU almost


                                                               2289
unchanged. In OOD detection, both classifiers react appro-        6   CONCLUDING REMARKS
priately in principle by reporting higher uncertainty for the
polygon images. However, they allocate the majority of the        Despite the common use of Shannon entropy, conditional
uncertainty premium differently: Laplace almost exclusively       entropy, and mutual information for the quantification of
raises the epistemic component, the deep ensemble signals         predictive uncertainty, we observed and empirically con-
both higher AU and EU. In both ablations, a vast gap in           firmed that these measures behave neither coherently nor
overall levels of uncertainty is evident (e.g., for the OOD       always as expected. First, each of the measures itself can be
case, Laplace reports roughly five times higher TU).              criticized for (the lack of) certain properties. For example,
                                                                  we argued that mutual information is rather a measure of
                                                                  divergence than a measure of ignorance. Second, the discrep-
                                                                  ancy between (i) the ground-truth scenario concerning the
                                                                  true data-generating process with an objective ground-truth
                                                                  AU and zero EU, and (ii) the finite-sample setting in which
                                                                  AU is derived from (and hence depends on) subjective EU,
                                                                  leads to incoherencies and calls additivity of the decomposi-
                                                                  tion into question. With this in mind, we encourage a critical
                                                                  assessment of the existing framework and cautious use of
                                                                  these measures.
                                                                  When remaining committed to the basic (Bayesian) repre-
                                                                  sentational framework with second-order distributions for
Figure 10: Entropy-based uncertainty for synthetic data with      the epistemic part of uncertainty, an obvious alternative is to
increasing class interpolation (left) and OOD detection (ran-     look for measures with better properties, and indeed, some
dom polygons; right).                                             proposals can be found in the recent literature (e.g., Sicking
                                                                  et al. [2020]). Another option is to change not only the mea-
                                                                  sures for quantification, but also the underlying representa-
                                                                  tion, for example by moving beyond classical probability.
5.2.4   Discussion                                                In fact, the suitability of probability distributions to repre-
                                                                  sent ignorance in the sense of a lack of knowledge has been
Our experiments confirm empirically that the entropy-based        questioned by various scholars [Dubois et al., 1996], who
uncertainty measures exhibit some – sometimes subtle – in-        advocate the use of generalized, more expressive uncertainty
consistencies in different learning situations. While TU as a     formalisms. In particular, it has been argued that the uni-
whole behaves fairly sensibly, the attribution to its aleatoric   form distribution is not a suitable representation of complete
and epistemic components often appears implausible. We            ignorance, as it fails to distinguish the epistemic state of
further identify very low levels of EU as a global pattern.       zero knowledge and the state of perfect information, where
That said, we also find that the design of the probabilistic      the learner knows that all outcomes are equiprobable. In-
learner used can affect the results considerably, even when       deed, the averaging over conditional entropies, which is part
predictive performance remains similar. In particular, deep       of the problems with the aleatoric component, is arguably
ensembles draw from the opinions of various base learners         meaningful in the latter case but much less so in the former.
when they estimate predictive uncertainty, as opposed to          Seen from this perspective, one may indeed wonder whether
Laplace approximation, where a single base network deter-         classical probability is the right paradigm for modeling the
mines uncertainty quantification. Consequently, the behav-        epistemic part. On the other side, measuring uncertainty and
ior of explicit ensembles also depends on the complexity of       disaggregating total predictive uncertainty into its aleatoric
their base learners in that AU estimates decrease consider-       and epistemic components do not necessarily become sim-
ably when each ensemble member is granted more capacity           pler for generalized formalisms [Hüllermeier et al., 2022].
(see supplementary material). This relates to another insight     Clearly, we are not yet at the end of the path toward a truly
relevant for this kind of empirical studies: reasoning about      meaningful uncertainty representation and quantification.
uncertainty estimates must always occur in conjunction with
predictive accuracy and calibration, since we can hardly ex-
pect sensible uncertainty behavior when the learner fails on
the basic underlying task. Numerous practical aspects thus        Acknowledgements
interact to elicit or mitigate shortcomings of the discussed
measures and warrant caution in interpreting any predictive       This work was supported by the DAAD program Konrad
uncertainty estimate one may obtain in practice. Worryingly,      Zuse Schools of Excellence in Artificial Intelligence, spon-
this becomes all the more important with limited data, a          sored by the Federal Ministry of Education and Research
situation often encountered in, e.g., medical applications.       (LW, YS).


                                                              2290
References                                                    Y. Gal. Uncertainty in Deep Learning. PhD thesis, Univer-
                                                                 sity of Cambridge, 2016.
T. Abe, E. K. Buchanan, G. Pleiss, R. Zemel, and J. P. Cun-
   ningham. Deep Ensembles Work, But Are They Neces-          Y. Gal, R. Islam, and Z. Ghahramani. Deep Bayesian Active
   sary?, 2022.                                                  Learning with Image Data, 2017.

C. Andrieu, N. De Freitas, A. Doucet, and M. I. Jordan. An    A. Gelman, J. Carlin, H. Stern, D. Dunson, A. Vehtari, and
  Introduction to MCMC for Machine Learning. Machine            D. Rubin. Bayesian Data Analysis. CRC Press, 2021.
  Learning, 50:5–43, 2003.
                                                              N. Houlsby, F. Huszár, Z. Ghahramani, and M. Lengyel.
R. B. Ash. Information Theory. Dover Publications, 1965.        Bayesian Active Learning for Classification and Prefer-
                                                                ence Learning, 2011.
A. Ashukha, A. Lyzhov, D. Molchanov, and D. Vetrov. Pit-
  falls of In-Domain Uncertainty Estimation and Ensem-        D. Huseljic, B. Sick, M. Herde, and D. Kottke. Separation
  bling in Deep Learning. In ICLR, 2020.                        of Aleatoric and Epistemic Uncertainty in Deterministic
W. H. Beluch, T. Genewein, A. Nurnberger, and J. M. Kohler.     Deep Neural Networks. In ICPR, 2020.
  The Power of Ensembles for Active Learning in Image         E. Hüllermeier and W. Waegeman. Aleatoric and Epistemic
  Classification. In CVF Conference on Computer Vision           Uncertainty in Machine Learning: An Introduction to
  and Pattern Recognition. IEEE, 2018.                           Concepts and Methods. Machine Learning, 2021.
L. Breiman. Random Forests. Machine Learning, 45(1):
                                                              E. Hüllermeier, S. Destercke, and M. H. Shaker. Quan-
  5–32, 2001.
                                                                tification of Credal Uncertainty in Machine Learning: A
A. Bronevich and G. J. Klir. Axioms for uncertainty mea-        Critical Analysis and Empirical Comparison. In UAI,
  sures on belief functions and credal sets. In NAFIPS,         2022.
  pages 1–6. IEEE, 2008.
                                                              A. Kendall and Y. Gal. What Uncertainties Do We Need
S. Budd, E. C. Robinson, and B. Kainz. A Survey on Ac-          in Bayesian Deep Learning for Computer Vision? In
   tive Learning and Human-in-the-Loop Deep Learning for        NeurIPS, 2017.
   Medical Image Analysis. Medical Image Analysis, 71,
   2021.                                                      A. Kirsch, J. Kossen, and Y. Gal. Marginal and Joint Cross-
                                                                Entropies & Predictives for Online Bayesian Inference,
B. Charpentier, D. Zügner, and S. Günnemann. Posterior          Active Learning, and Active Sampling, 2022.
  Network: Uncertainty Estimation without OOD Samples
  via Density-Based Pseudo-Counts. In NeurIPS, pages          A.-K. Kopetzki, B. Charpentier, D. Zügner, S. Giri, and
  1103–1130, 2020.                                              S. Günnemann. Evaluating Robustness of Predictive Un-
                                                                certainty Estimation: Are Dirichlet-based Models Reli-
B. Charpentier, R. Senanayake, M. Kochenderfer, and
                                                                able? In ICML, pages 5707–5718, 2021.
  S. Günnemann. Disentangling Epistemic and Aleatoric
  Uncertainty in Reinforcement Learning, 2022.                A. Kristiadi, M. Hein, and P. Hennig. Being a Bit Frequentist
T. M. Cover and J. A. Thomas. Elements of Information           Improves Bayesian Neural Networks. In AISTATS, 2022.
  Theory. Wiley, 2 edition, 2006.                             A. Krizhevsky. Learning multiple layers of features from
E. Daxberger, A. Kristiadi, A. Immer, R. Eschenhagen,           tiny images. Technical report, University of Toronto,
  M. Bauer, and P. Hennig. Laplace Redux – Effortless           2009.
  Bayesian Deep Learning, 2021.
                                                              B. Lakshminarayanan, A. Pritzel, and C. Blundell. Sim-
S. Depeweg. Modeling Epistemic and Aleatoric Uncertainty        ple and Scalable Predictive Uncertainty Estimation using
   with Bayesian Neural Networks and Latent Variable. PhD       Deep Ensembles. In NeurIPS, 2017.
   thesis, TU München, 2019.
                                                              Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-
S. Depeweg, J. M. Hernández-Lobato, F. Doshi-Velez, and          Based Learning Applied to Document Recognition. In
   S. Udluft. Decomposition of Uncertainty in Bayesian          Proceedings of the IEEE, 1998.
   Deep Learning for Efficient and Risk-sensitive Learning,
   2018.                                                      K. Lee, M. Laskin, A. Srinivas, and P. Abbeel. SUNRISE:
                                                                A Simple Unified Framework for Ensemble Learning in
D. Dubois, H. M. Prade, and P. Smets. Representing partial      Deep Reinforcement Learning. In ICML, 2021.
  ignorance. IEEE Transactions on Systems, Man, and
  Cybernetics - Part A: Systems and Humans, 26(3):361–        Lightning AI. PyTorch Lightning: Train and Deploy Py-
  377, 1996.                                                    Torch at Scale, 2023.


                                                          2291
A. Malinin. Uncertainty Estimation in Deep Learning with       R. Senge, S. Bösner, K. Dembczyński, J. Haasenritter,
  Application to Spoken Language Assessment. PhD thesis,         O. Hirsch, N. Donner-Banzhoff, and E. Hüllermeier. Re-
  University of Cambridge, 2019.                                 liable classification: Learning classifiers that distinguish
                                                                 aleatoric and epistemic uncertainty. Information Sciences,
A. Malinin and M. Gales. Predictive Uncertainty Estimation       255:16–29, 2014.
  via Prior Networks. In NeurIPS, 2018.
                                                               C. E. Shannon. A Mathematical Theory of Communication.
R. Michelmore, M. Kwiatkowska, and Y. Gal. Evaluating            The Bell System Technical Journal, 27:379–423, 1948.
  Uncertainty Quantification in End-to-End Autonomous
                                                               A. Shelmanov, D. Puzyrev, L. Kupriyanova, D. Belyakov,
  Driving Control, 2018.
                                                                 D. Larionov, N. Khromov, O. Kozlova, E. Artemova, D. V.
A. Mobiny, P. Yuan, S. K. Moulik, N. Garg, C. C. Wu, and         Dylov, and A. Panchenko. Active Learning for Sequence
  H. Van Nguyen. DropConnect is effective in modeling            Tagging with Deep Pre-trained Models and Bayesian Un-
  uncertainty of Bayesian deep networks. Scientific Reports,     certainty Estimates. In Proceedings of the 16th Con-
  11, 2021.                                                      ference of the EACL, pages 1698–1712. Association for
                                                                 Computational Linguistics, 2021.
M. P. Naeini, G. Cooper, and M. Hauskrecht. Obtaining
                                                               J. Sicking, M. Akila, M. Pintz, T. Wirtz, A. Fischer,
 Well Calibrated Probabilities Using Bayesian Binning. In
                                                                  and S. Wrobel. Second-moment loss: A novel re-
 Proceedings of the AAAI Conference on Artificial Intelli-
                                                                  gression objective for improved uncertainties. CoRR,
 gence, volume 29, 2015.
                                                                  abs/2012.12687, 2020.
Y. Ovadia, E. Fertig, J. Ren, Z. Nado, D. Sculley,             L. Smith and Y. Gal. Understanding Measures of Uncer-
  S. Nowozin, J. V. Dillon, B. Lakshminarayanan, and             tainty for Adversarial Example Detection, 2018.
  J. Snoek. Can You Trust Your Model’s Uncertainty?
  Evaluating Predictive Uncertainty Under Dataset Shift.       M. Tan and Q. V. Le. EfficientNet: Rethinking Model Scal-
  In Advances in Neural Information Processing Systems          ing for Convolutional Neural Networks. In ICML, 2019.
  32 (NeurIPS 2019), 2019.
                                                               M. O. Turkoglu, A. Becker, H. A. Gündüz, M. Rezaei,
N. R. Pal, J. C. Bezdek, and R. Hemasinha. Uncertainty          B. Bischl, R. C. Daudt, S. D’Aronco, J. D. Wegner, and
  measures for evidential reasoning I: A review. Interna-       K. Schindler. FiLM-Ensemble: Probabilistic Deep Learn-
  tional Journal of Approximate Reasoning, 7(3-4):165–          ing via Feature-wise Linear Modulation. Accepted at the
  183, 1992.                                                    Thirty-sixth Conference on Neural Information Process-
                                                                ing Systems (NeurIPS), 2022.
N. R. Pal, J. C. Bezdek, and R. Hemasinha. Uncertainty
                                                               A. G. Wilson. The Case for Bayesian Deep Learning, 2020.
  measures for evidential reasoning ii: A new measure of
  total uncertainty. International Journal of Approximate      L. Winkler, C. Ojeda, and M. Opper. Stochastic Control for
  Reasoning, 8(1):1–16, 1993.                                     Bayesian Neural Network Training. Entropy, 24, 2022.

A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury,          J. O. Woo. Analytic Mutual Information in Bayesian Neural
  G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga,        Networks, 2022.
  A. Desmaison, A. Kopf, E. Yang, Z. DeVito, M. Raison,
                                                               X. Wu, K. M. Knill, M. J. Gales, and A. Malinin. Ensemble
  A. Tejani, S. Chilamkurthy, B. Steiner, L. Fang, J. Bai,
                                                                 Approaches for Uncertainty in Spoken Language Assess-
  and S. Chintala. PyTorch: An Imperative Style, High-
                                                                 ment. In Interspeech 2020, pages 3860–3864. ISCA,
  Performance Deep Learning Library. In Proceedings of
                                                                 2020.
  the 33rd Conference on Neural Information Processing
  Systems (NeurIPS 2019), 2019.

F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel,
  B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer,
  R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cour-
  napeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-
  learn: Machine learning in Python. Journal of Machine
  Learning Research, 12:2825–2830, 2011.

A. F. Psaros, X. Meng, Z. Zou, L. Guo, and G. E. Karni-
  adakis. Uncertainty Quantification in Scientific Machine
  Learning: Methods, Metrics, and Comparisons, 2022.


                                                           2292
