Manuscript Offprint
arXiv:2610.12115Credal Machine Learning for Risk-Averse Decision Making
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
A PREPRINT
Timo Löhr
LMU Munich, MCML
Maximilian Muschalik
LMU Munich, MCML
Paul Hofman
LMU Munich, MCML
Eyke Hüllermeier
LMU Munich, MCML, DFKI
October 9, 2026
ABSTRACT
In many machine learning applications, it is necessary to guard against worst-case scenarios and predictions that could result in substantial losses. In principle, this can be achieved by training risk-averse predictive models that minimize loss functions such as conditional value-at-risk (CVaR), rather than relying on models that perform well on average. In practice, however, the effectiveness of this approach to risk aversion is undermined by the learner's uncertainty regarding the true loss distribution and, consequently, the true CVaR. To achieve reliable risk-aversion, we propose a method in which this (epistemic) uncertainty is represented in terms of credal sets, i.e., sets of probability distributions. More specifically, we develop an efficient yet reliable learner that produces predictions in the form of credal sets and combine it with a novel decision rule that maps each credal set to a single predictive distribution for CVaR minimization. Across classification, under distribution shift, and in reinforcement learning, our approach reliably avoids catastrophic decisions, while sacrificing little in expected performance.
1 Introduction
Machine learning (ML) models deployed in safety-critical domains are typically judged by their average performance, yet an average is rarely a sufficient criterion of quality. A treatment policy in medicine, for example, must not merely be effective in expectation over patients, but also guarantee that no individual patient receives care which leads to a worst-case outcome (cf. Figure 1). What is needed, in other words, is a form of risk aversion, a preference for predictions and decisions whose worst outcomes remain controlled.
A standard way to operationalize this preference is the conditional value-at-risk (CVaR), which, broadly speaking, averages the losses in the upper tail of the loss distribution (Rockafellar et al., 2000). Optimal prediction under this criterion requires a transformation of the ground-truth distribution that shifts probability mass towards severe outcomes, thereby correcting for over-confidence. Yet such a transformation requires knowledge about the ground-truth distribution which is rarely available in practice. Training data may be scarce, and deployment conditions may differ from those at training time, leaving the learner epistemically uncertain about the true data generating distribution. Existing approaches to risk-averse learning do not account for such epistemic uncertainty, and may therefore fail exactly where the model knows least (Chow et al., 2015; Curi et al., 2020).
Epistemic uncertainty is naturally represented by credal sets, namely sets of probability distributions which are plausible under the available evidence. Several methods for credal prediction have recently been proposed in machine
Equal contribution.
A PREPRINT

Figure 1: Risk-averse decision making. Exemplary medical setting where our method shows lower conditional value-at-risk and avoids catastrophic decisions.
learning (Wang et al., 2025a; Löhr et al., 2025; Hofman et al., 2026). These methods face a trade-off between expressiveness and cost. Approaches that reflect epistemic uncertainty faithfully typically rely on training an ensemble of models, whereas computationally cheaper alternatives are limited in the construction of the credal set.
The present paper exploits the complementarity of credal prediction and CVaR minimization for risk-averse decision making: credal sets account for epistemic uncertainty about the ground truth distribution, whereas CVaR guards against worst-case outcomes once a distribution is fixed. Neither suffices alone. Trusting a precise loss distribution is dangerous when it may be misspecified, and focusing on the mean while disregarding the tail exposes a decision maker to precisely the outcomes it seeks to avoid. Building on this analysis, we develop a credal predictor that faithfully reflects epistemic uncertainty while requiring only a single forward pass, and complement it with a risk-averse decision rule that maps credal sets to single distributions for CVaR minimization.
In summary, our contributions are as follows: ① We establish a formal connection between credal prediction and CVaR minimization, arguing that their combination is essential for risk-averse decision making under both known and unknown risk. ② We introduce a new method for credal prediction producing expressive credal sets at low computational cost. ③ We propose a novel risk-averse decision rule that maps a credal set to a single predictive distribution for risk-averse decision making. ④ In experiments on classification, under distribution shift, and in reinforcement learning, our approach reliably avoids catastrophic decisions while sacrificing little in expected performance.
ML models are usually evaluated in terms of expected risk , where is a proper scoring rule (Gneiting and Raftery, 2007) such as log-loss (cross-entropy) or 0/1-loss. However, when it comes to safety-critical applications such as medical decision support and autonomous driving, it is not enough to merely consider average performance. From an operational perspective, a model with a low mean error but a loss distribution with a heavy upper tail is unsafe.
2.1 Conditional-Value-at-Risk
A natural idea is to replace the expectation by a different aggregation of the loss distribution, which places more emphasis on critical outcomes. A canonical choice is the CVaR at a level , which, roughly speaking, is the mean of the upper -tail of the loss distribution. The same functional is also known as expected shortfall (Acerbi and
A PREPRINT
Tasche, 2002), average value-at-risk (Shapiro et al., 2014), or superquantile (Laguel et al., 2021). It is defined as
where is the value-at-risk (VaR), and . Following Rockafellar et al. (2000), it can also be written as
Note that the minimum in (2) is attained at . The essential supremum is recovered by and the expected risk by . The CVaR is a coherent risk measure in the sense of Artzner et al. (1999) and is part of a larger family of convex risk measures (Föllmer and Schied, 2002), which also contains the entropic risk measure (Föllmer and Knispel, 2011).
The CVaR has become a common metric in risk-averse ML, appearing in robust variants of support vector machines (Takeda and Kanamori, 2009), optimization of risk-averse learning objectives (Levy et al., 2020; Curi et al., 2020), reinforcement learning (Rigter et al., 2021; Greenberg et al., 2022), and the design of fairness-aware risk measures (Williamson and Menon, 2019). The functional in (1) is a population quantity. Empirically, it can be estimated by its plug-in on a sample of N losses. Writing for the ordered losses, the estimate is
that is, the average of the largest losses. For , this is precisely the (average) top-k loss of Fan et al. (2017). Also, statistical guarantees for learning under this criterion such as PAC-Bayesian bounds have been developed (Duchi and Namkoong, 2018; Mhammedi et al., 2020; Lee et al., 2020; Soma and Yoshida, 2020). Appendix A discusses variants of the CVaR.
2.2 Minimizing the CVaR
The goal is thus to find a predictor that minimizes (1). Unlike the expected loss, this problem does not decompose additively over instance-wise problems , because CVaR is not an expectation of an instance-wise loss. Instead, it is a functional of the entire loss distribution. Fortunately, the variational form (2) restores this decomposition. By interchanging the minimization over with one over such that
the objective (at fixed threshold v) becomes an expectation over the hinged loss and thus decomposes into independent instance-wise problems, which are coupled only through v. Given an instance x, this amounts to finding the distribution
From (4), the tension between the expected risk and the CVaR becomes immediately obvious.
Proposition 2.1. Let be the ground-truth distribution for instance and a strictly proper scoring rule, so that, by propriety of ,
Given a threshold , define
Then, if is tail non-degenerate, meaning that , and satisfies the regularity conditions stated in Appendix C.1,
A PREPRINT
In other words, the hinge in (4) destroys the propriety and causes losses below the threshold v to not matter. Therefore, the minimizer shifts probability mass from likely classes to classes in the tail set . This effect is strongest for highly peaked distributions, where a class with low probability is expensive. If the losses for all classes fall below the threshold, remains optimal. We provide a proof of Proposition 2.1 in Appendix C.1.
Example 2.1 (Log-loss). Consider the binary setting, i.e., , and let the ground-truth distribution be . For a threshold ,
Further examples can be found in Appendix C.2.
Importantly, the minimizer in (4) requires the ground-truth conditional distribution , and (through ) the joint distribution , neither of which is available in practice. Estimates are prone to error precisely in those regions where the objective is sensitive, namely in the tail of the loss distribution. This calls for caution when computing CVaR-optimal distributions.
3 Credal Prediction
Committing to a single estimate of in (4) treats it as the truth — ignoring the learner’s epistemic uncertainty about its predictions . Since a single probability distribution cannot express this uncertainty, a second-order formalism is required.
3.1 Credal Sets from Relative Likelihood
Epistemic uncertainty can be represented by credal sets, that is, (closed and convex) sets of probability distributions (Levi, 1978; Walley, 1991; Augustin et al., 2014). In addition to representing partial knowledge, such sets are the natural object for decision making under ambiguity: robust Bayesian decision theory evaluates against precisely such sets of distributions (Grünwald and Dawid, 2004; Berger, 2013). Given an instance x, credal sets may be induced by class-wise probability intervals (de Campos et al., 1994)
specified by lower and upper probabilities and .
The construction of should strictly reflect the evidence in the training data, specifically in settings with little data or distribution shifts in test environments. To this end, we follow an approach that has recently been advocated by (Löhr et al., 2025; Hofman et al., 2026). This approach is based on the notion of relative likelihood, a well-established concept in statistical inference (Wasserman, 1990). With the maximum likelihood estimate , the relative likelihood of a model is defined as
Thus, a model is deemed plausible to the degree to which it explains the data as well as the maximum likelihood estimate, which is a classical measure of evidence in the likelihood paradigm (Royall, 1997). For a fixed plausibility level , the -cut of the hypothesis space, , is known as likelihood region in statistics. According to Wilks' theorem (Wilks, 1938), stating that, under regularity conditions, -2 times the log of the likelihood ratio in (5), evaluated at the ground-truth model, is asymptotically -distributed, can be seen as a confidence region for the ground-truth model. This region induces the class-wise probability bounds
The plausible model class , and hence the induced probability intervals (6), are nested in , shrinking from the entire probability simplex to only the maximum likelihood predictions .
A PREPRINT
3.2 Learning and Approximation
Since computing the bounds (6) over the full hypothesis space is infeasible, any practical credal predictor must approximate them — specifically in the case of neural networks, which we will focus on for the remainder of this work. Ideally, such an approximation is efficient, since the hypothesis space becomes increasingly high-dimensional with the scale of current models, and even an approximate search for plausible models grows correspondingly costly. It should be faithful to the evidence: the CVaR objective (4) is driven by the probabilities of the tail classes, precisely the small probabilities for which point estimates are least reliable, so the bounds should be attainable by actually plausible models. Lastly, the sets should be sensitive to changes in the shifts of the test distribution and out-of-distribution instances.
To meet these requirements, we assess plausibility locally rather than globally. Instead of approximating over the hypothesis space consisting of all neural networks with a particular architecture, we consider the local likelihood of the test instance . The hypotheses are then no longer models, but conditional distributions at , that is, \mathcal{H}_\boldsymbol{x} = \Delta_K. Moreover, plausibility is judged by how well a candidate p \in \mathcal{H}_\boldsymbol{x} explains the training data in the proximity of , such that the resulting sets adapt, by construction, to test instances that are shifted or come from a different distribution altogether. Local likelihood estimation is a classical technique in statistics (Tibshirani and Hastie, 1987; Loader, 2006), and its combination with the relative likelihood has been explored in machine learning (Senge et al., 2014), albeit for simpler models.
To be efficient, we instantiate this idea using the feature embeddings of a trained network: given with feature extractor and linear head , we work with the training embeddings , in which locality is cheap to evaluate. This parallels Shaker and Hüllermeier (2020), who assess local regions of the feature space through leaves of decision trees. In our case, these regions are considered in the learned embedding space.
Concretely, embeddings are compared by a kernel, as is common when working with learned representations (Wilson et al., 2016). Given a test instance x and its embedding z, a training point with embedding , receives the weight
where is a Gaussian kernel on the (whitened) embeddings. We defer details about the pre-processing and efficiency of our method to Appendix D. The weights accumulate into class-wise evidence
with total evidence . From this, the local maximum likelihood estimate is . Note that this estimate is well-known — it coincides with the posterior of a kernel density classifier in the embedding space (Parzen, 1962) and is a nonparametric counterpart of the Gaussian generative classifiers more recently used for feature-space uncertainty (Lee et al., 2018). In analogy to Shaker and Hüllermeier (2020), we place a multinomial likelihood around this estimate, with the evidence acting as pseudo-count, which gives the local relative likelihood
and take the -cut, which admits a closed expression in the form of a KL-divergence ball around the local estimate whose radius is determined by the evidence:
When there is little evidence near x, due to few similar training points or distribution shifts, the ball will be large — vice versa, the more evidence, the smaller the ball. The class-wise intervals (6) are obtained as the extremes of over this ball, resulting in the credal set . We denote our method as CreWare.
4 From Credal Predictions to Risk-Averse Decisions
Given a credal predictor, a single conditional distribution is replaced by a set , encoding the belief over plausible distributions. A decision-theoretic questions remains: how to turn a set of distributions into a single risk-averse
A PREPRINT
decision? A natural answer is suggested by considering the CVaR itself, which, besides (2), also admits the dual representation (Shapiro et al., 2014)
The CVaR is thus a worst-case expectation over reweightings of the joint distribution P with bounded density ratio, and, in the sense of imprecise probability, a coherent upper prevision (Walley, 1991; Pelessoni and Vicig, 2003).
Risk-averse prediction in the sense of CVaR can, therefore, be understood as “guarding” against every distribution in a set. The rule in (4) builds this set around the maximum likelihood estimate, but if this estimate is off, the true conditional distribution may lie outside of this set, so the worst case in (7) offers no protection against this. The credal set fills this gap, since, by construction, it contains all distributions that are plausible given the training data. Naturally, an agent seeking to predict in a risk-averse manner should also consider the worst case over — applying the worst-case principle of (7) to the uncertainty about the ground truth distribution itself. This motivates the following decision rule:
The resulting decision rule is -maximin (Gilboa and Schmeidler, 1989) applied to the hinged loss from (4).
Special Cases. The rule (8) contains classical decision rules as special cases of the two parameters and . For , the credal set collapses to the maximum likelihood estimate and (8) reduces to the precise CVaR-optimal prediction (4) based on this estimate. For , the calibrated threshold falls below every attainable loss, and the hinge becomes inactive, reducing the rule to -maximin of the expected loss,
that is, the ambiguity-averse but outcome risk-neutral robust Bayes act (Berger, 2013). For losses convex in p (such as the log-loss and Brier score), this becomes the distribution in the credal set maximizing the generalized entropy of Grünwald and Dawid (2004):
For , the CVaR approaches the essential supremum of the loss, the threshold approaches, roughly speaking, the smallest value at which the hinge is inactive for each prediction, and the rule tends to Wald’s minimax act (Wald, 1950) over the outcomes deemed plausible by the credal set:
which is the most pessimistic rule at the outcome level. For , the Bayes act, the maximum likelihood prediction, is recovered. For , the credal set is the whole simplex, and the rule reduces to Wald's minimax act over all outcomes, independently of . In this sense, (8) is a two-parameter family interpolating between expected-risk minimization, the precise CVaR prediction, robust Bayes, and Wald's minimax.
Calibrating the threshold. The decision rule (8) presupposes , but says nothing about its value. As discussed in Section 2.2, the threshold is a single population-level scalar, rather than a per-instance quantity, whose role is twofold. It parameterizes the decision rule, determining which losses matter, and it is at the same time the variational variable of the CVaR itself, which is optimized exactly at the VaR of the loss distribution. Moreover, the roles are coupled: every threshold induces its own predictions, which we denote by via (8), these predictions induce a loss distribution, and the threshold in turn sits at the -quantile of this distribution. The predictions and the threshold are, therefore, determined jointly — for a fixed , the instance-wise problems are solved by the decision rule, so what remains is a one-dimensional problem in . Practically, we solve this using a hold-out dataset as
where is a finite grid of candidate thresholds. For every candidate threshold, the instance-wise problems (8) are solved on . Algorithm 1 provides the full procedure while we refer to Appendix D for additional practical implementation details.
A PREPRINT
Algorithm 1 Computation of on hold-out data.
Input: credal predictor , hold-out data , level , grid
Output: calibrated threshold
for do end for
for do for do end for end for
diagnostic: verify
5 Empirical Results
We evaluate the proposed credal predictor and decision rule in several environments. First, we assess the credal predictor in isolation, showing that it adapts to distribution shift and performs well in OoD detection. Second, we study the complete pipeline in risk-averse decision making under distribution shift, where it reduces CVaR relative to the baselines, with gains that grow as the shift severity increases. Third, we establish its applicability to offline reinforcement learning.
We consider credal ensembling [CreEns] (Nguyen et al., 2025), credal Bayesian deep learning [CreBNN] (Caprio et al., 2023), credal wrapper [CreWra] (Wang et al., 2025a), credal distributionally robust optimization [CreDro] (Wang et al., 2026b), credal relative likelihood [CreRL] (Löhr et al., 2025), and efficient credal prediction [EffCre] (Hofman et al., 2026) as credal baselines and SQwash (Laguel et al., 2022) and AdaCVaR (Curi et al., 2020) as risk-averse baselines. We publish the code for all experiments in GitHub while all experimental details are described in Appendix F.
5.1 Credal Sets under Distribution Shift
In order to assess the quality of the credal sets generated by our novel approach, we study them under distribution shifts. Such shifts typically degrade predictive (probabilistic) performance, and for a risk-averse system, this degradation should be noticed. As the incoming (test) data shifts away from the training distribution, the predictor becomes increasingly less able to make accurate probabilistic predictions, and a proper credal predictor should represent this by increasing epistemic uncertainty, i.e., by enlarging the sets.
We use a ResNet18 (He et al., 2016) trained on the BloodMNIST dataset from the MedMNIST collection (Yang et al., 2021) and use the corruptions provided by MedMNIST-C (Salvo et al., 2024) at test time. We measure the set size of the credal set by
and average over all corruptions of a given severity. We compute the accuracy at each severity as a reference.
Figure 2 shows the results. The baseline credal predictors increase their set size only slightly across severities, while the accuracy decreases significantly. Our method, in contrast, generates substantially larger sets as the severity increases, and is therefore more aligned with the decreasing accuracy. We provide results with additional datasets in Appendix G.1.
https://github.com/timoverse/credal-ml-risk-averse-dm
A PREPRINT

Figure 2: Distribution shift on BloodMNIST. Set size and accuracy against shift severity, mean and standard deviation over three seeds. CreWare's sets grow as accuracy declines, while the baselines' barely grow.
Table 1: Out-of-distribution detection with CIFAR-10 as iD data. AUROC, mean and standard deviation over three runs, best in bold. CreWare (ours) outperforms all baselines on near- and far-OoD data.
| Method | Near-OOD | Far-OOD | ||
|---|---|---|---|---|
| CIFAR-100 | T.ImageNet | SVHN | Places365 | |
| .917±.000 | .911±.001 | .970±.003 | .919±.003 | |
| CreBNN | .867±.007 | .866±.006 | .892±.016 | .872±.006 |
| CreWra | .918±.000 | .912±.001 | .971±.003 | .920±.003 |
| CreDro | .918±.001 | .911±.001 | .972±.001 | .920±.003 |
| .913±.003 | .908±.001 | .969±.007 | .917±.003 | |
| .859±.001 | .857±.001 | .911±.006 | .871±.003 | |
| .931±.002 | .929±.001 | .980±.005 | .941±.002 | |
5.2 Out-of-Distribution Detection
Beyond predicting in a risk-averse manner on in-distribution (iD) data from the training distribution or shifted versions thereof, a credal predictor should also recognize when predictions can not be trusted at all. That is, when it is faced with OoD data, the credal sets should expand and the epistemic uncertainty should increase accordingly, separating iD from OoD inputs, a task commonly used to assess the quality of credal sets (Wang et al., 2025a, 2026a; Löhr et al., 2025). We use the epistemic uncertainty measure
where with Shannon entropy (Abellán et al., 2006). OoD detection is then binary classification between iD and OoD instances based on (11), and evaluated by the area under the receiver operating characteristic curve (AUROC).
We follow the setup from the OpenOOD benchmark (Zhang et al., 2024) — using a ResNet18 — with CIFAR-10 (Krizhevsky, 2009) as the iD dataset, while CIFAR-100 (Krizhevsky, 2009), and TinyImageNet (Le and Yang, 2015) are near-OoD datasets and SVHN (Netzer et al., 2011), and Places365 (Zhou et al., 2018) are far-OoD datasets.
Table 1 shows the results. Our method achieves the highest AUROC in near- and far-OoD settings, demonstrating that the credal sets adapt suitably to OoD instances. We provide results for additional datasets in Appendix G.3. In addition, we perform OoD detection with different measures of uncertainty in Appendix G.3.1, as (11) has recently been criticized for violating desirable properties (Hüllermeier et al., 2022).
While the evaluation here is standard, it deserves a caveat. Recent work has argued that supervised OoD detection is inherently misspecified, because the (epistemic) uncertainty of Bayesian and ensemble methods concerns the labels rather than whether an instance stems from another distribution (Li et al., 2025). We do not claim to resolve this issue, yet, unlike ensemble-based credal sets, the local relative likelihood explicitly compares a test instance with the training data. Thus, our credal sets widen exactly when the feature embeddings disagree with the training embeddings. Complementing the OoD results, we assess the quality of credal sets by their coverage of the ground-truth distribution and their efficiency in Appendix G.2.
A PREPRINT

Figure 3: Risk-averse prediction under distribution shift with PathMNIST. Our method beats baselines in terms of CVaR, while sacrificing little in mean loss.
5.3 Risk-Aversion under Distribution Shift
The previous section assessed the credal sets in isolation, showing their adaptability to distributions shifts and OoD instances. We now focus on the complete pipeline, which combines the novel credal predictor and the proposed CVaR decision rule. Risk-aversion is particularly important in medical settings, because a single catastrophic decision may outweigh many good ones and, importantly, distribution shifts are not uncommon (Koh et al., 2021; Finlayson et al., 2021).
We therefore train a ResNet18 on PathMNIST from the MedMNIST collection (Yang et al., 2021) and evaluate the complete pipeline on the clean test split as well as on its corrupted versions from MedMNIST-C at five levels of severity. Note that not even the clean split is free of shift as it stems from different patients (Yang et al., 2021). For each severity, we compute the empirical CVaR (3) of the test losses at with the threshold of our decision rule calibrated on hold-out data based on Algorithm 1. Since risk-averse prediction inherits an intrinsic trade-off between tail and average performance, we also report the mean loss.
The results are shown in Figure 3. Our method (CreWare + rule) outperforms or equals the risk-averse baselines and the CreWra method (equipped with our decision rule), at each level , and across corruption severities in terms of CVaR. At the same time, it attains a better mean loss at high corruption severities, while sacrificing little at low corruption severities. Appendix G.5 provides results with an additional dataset, the Brier loss, and an ablation for and .
5.4 Risk-Averse Reinforcement Learning
We instantiate our pipeline in a reinforcement learning setting, where the loss is a negated task reward rather than a proper scoring rule. The CVaR construction of (3) and (8) is agnostic to this distinction. In this setup, an agent aims to drive a car safely to a target cell (Figure 4). A short route crosses three hazard cells, beats the cost of a longer, safe detour in expectation, but crashes in of the drives. The agent plans offline from a fixed dataset. Each non-hazard cell is well sampled while a hazard cell is observed times, hence epistemic uncertainty about the hazard persists for small . Per cell , the observed counts yield an MLE of the crash probability, and a relative-likelihood -cut yields the credal set .
We compare three agents. MLE maximizes the expected reward under the point estimates. Credal + rule (ours) applies the decision rule (8) to the per-cell credal sets minimizing CVaR over the negated reward. The MLE + rule serves as an ablation. It replaces the credal set by the MLE prediction and thus optimizes, under the estimated model, the CVaR objective pursued by risk-averse reinforcement learning methods such as CeSoR (Greenberg et al., 2022).
The point-estimate risk-averse agent, MLE + rule, is unsafe exactly while the hazard is under-observed (see Figure 4). As long as no crash has been recorded, , it perceives no tail and drives into it. Credal + rule (ours), in contrast,
A PREPRINT

hazard cell observations (k) MLE MLE + rule Credal + rule [ours]
Figure 4: Offline driving task. Left: mean reward, CVaR reward, and crash rate vs. hazard cell observations k. Right: routes at three values of k (decreasing epistemic uncertainty). Credal + rule (ours) acts safe, whereas the MLE always drives into the hazard and MLE + rule does so while the hazard is under-observed.
maintains a 0% crash rate across the entire range. Before any crash is observed, the credal set represents the epistemic uncertainty about hazard cells, thus avoiding the short route. Once the crash probability is known, the CVaR objective rejects the shortcut for its high risk. The comparison with MLE + rule isolates the contribution of the credal set, since under the same risk objective only the credal agent acts safe throughout. Results on a larger map show the same picture (Appendix G.7).
6 Additional Related Work
Credal sets originated in the imprecise probability literature (Levi, 1978; Walley, 1991; Augustin et al., 2014), and have entered ML to represent epistemic uncertainty (Corani et al., 2012; Hüllermeier and Waegeman, 2021). Existing credal predictors, whether built from ensembles (Wang et al., 2025a; Nguyen et al., 2025), sets of priors (Caprio et al., 2023), or relative likelihood (Löhr et al., 2025), derive the set from disagreement among models trained on the same data, so that its width is governed by the training procedure rather than the test instance. Our construction, in contrast, fits the set post hoc, similar to Hofman et al. (2026), but does so locally for each instance. Decision rules acting on credal sets, such as -maximin (Gilboa and Schmeidler, 1989), maximality (Walley, 1991), and E-admissibility (Levi, 1978), hedge against ignorance about the ground-truth distribution, yet aggregate outcomes by expectation over the population, and thus may accept a known but severe risk.
The aleatoric perspective is the subject of a largely separate literature, in which the CVaR is minimized directly (Fan et al., 2017; Curi et al., 2020) or as an instance of distributionally robust optimization (DRO) (Duchi and Namkoong, 2018; Kuhn et al., 2025). The ambiguity set of the latter reweights the empirical distribution rather than ranging over models, and is in this sense orthogonal to the credal set. Keeping the two apart is what allows the outcome tail and the credal set to be governed by distinct parameters and . The same distinction recurs in sequential settings (e.g. reinforcement learning), with risk-averse methods targeting the tail of the return (Chow et al., 2015; Greenberg et al., 2022), and robust methods optimizing against a set of plausible models (Iyengar, 2005; Wiesemann et al., 2013). Safety under epistemic uncertainty thus requires both. Closest to our work in RL is Rigter et al. (2023), which addresses both sources, though through a second-order posterior over models rather than the prior-free credal sets used here. Appendix B gives an extended discussion of related work.
7 Conclusion
We have introduced a novel approach to risk-averse prediction in settings of high epistemic uncertainty, arguing that such settings require a combination of both, risk-aversion and reliability. Indeed, risk-averse decisions are not very useful when they are based on incorrect probability predictions, which, however, is likely if the learner faces high epistemic uncertainty. To incentivize risk-aversion, we proposed to use the CVaR as a loss function — a challenge for learning, because this loss does not decompose over training instances. Moreover, to ensure reliability, we proposed a credal approach and developed a new credal predictor based on the local relative likelihood. Finally, combining these two components, we proposed a risk-averse decision rule to minimize the CVaR over a credal set.
A PREPRINT
Our approach comes with limitations which point to interesting directions for future work. Since the construction relies on the quality of the embeddings, its sensitivity deserves closer investigation. Another open question is whether the credal sets allow for formal guarantees similar to conformal prediction.
Acknowledgements
Timo Löhr, Maximilian Muschalik and Eyke Hüllermeier gratefully acknowledge funding by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation): TRR 318/3 2026 – 438445824. We acknowledge the Munich Center for Machine Learning (MCML) for their support of this work. The authors gratefully acknowledge LMU Klinikum for providing computing resources on their Clinical Open Research Engine (CORE).
References
Abellán, J., Klir, G. J., and Moral, S. (2006). Disaggregated total uncertainty measure for credal sets. Int. J. Gen. Syst., 35(1):29–44.
Acerbi, C. and Tasche, D. (2002). On the coherence of expected shortfall. Journal of banking & finance, 26(7):1487–1503.
Antonucci, A., Cattaneo, M. E., and Corani, G. (2012). Likelihood-based robust classification with bayesian networks. In International Conference on Information Processing and Management of Uncertainty in Knowledge-Based Systems, pages 491–500. Springer.
Artzner, P., Delbaen, F., Eber, J.-M., and Heath, D. (1999). Coherent measures of risk. Mathematical finance, 9(3):203–228.
Augustin, T., Coolen, F. P., De Cooman, G., and Troffaes, M. C. (2014). Introduction to imprecise probabilities. John Wiley & Sons.
Bäuerle, N. and Ott, J. (2011). Markov decision processes with average-value-at-risk criteria. Mathematical Methods of Operations Research, 74(3):361–379.
Berger, J. O. (2013). Statistical decision theory and Bayesian analysis. Springer Science & Business Media.
Caprio, M., Dutta, S., Jang, K. J., Lin, V., Ivanov, R., Sokolsky, O., and Lee, I. (2023). Credal bayesian deep learning. arXiv preprint arXiv:2302.09656.
Chen, M., Berrett, T. B., Damoulas, T., and Caprio, M. (2026). Bulk-calibrated credal ambiguity sets: Fast, tractable decision making under out-of-sample contamination. CoRR, abs/2601.21324.
Chow, Y., Tamar, A., Mannor, S., and Pavone, M. (2015). Risk-sensitive and robust decision-making: a cvar optimization approach. In Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, pages 1522–1530.
Cimpoi, M., Maji, S., Kokkinos, I., Mohamed, S., and Vedaldi, A. (2014). Describing textures in the wild. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, pages 3606–3613. IEEE Computer Society.
Corani, G., Antonucci, A., and Zaffalon, M. (2012). Bayesian Networks with Imprecise Probabilities: Theory and Application to Classification, pages 49–93. Springer.
Curi, S., Levy, K. Y., Jegelka, S., and Krause, A. (2020). Adaptive sampling for stochastic risk-averse learning. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems.
Cuzzolin, F. (2022). The intersection probability: betting with probability intervals. CoRR, abs/2201.01729.
de Campos, L. M., Huete, J. F., and Moral, S. (1994). Probability intervals: a tool for uncertain reasoning. Int. J. Uncertain. Fuzziness Knowl. Based Syst., 2(2):167–196.
Deneux, T. (2014). Likelihood-based belief function: Justification and some extensions to low-quality data. International Journal of Approximate Reasoning, 55(7):1535–1547. Special issue: Harnessing the information contained in low-quality data sources.
Dimitriadis, T. and Bayer, S. (2019). A joint quantile and expected shortfall regression framework. Electronic Journal of Statistics, 13(1):1823 – 1871.
Dubois, D., Moral, S., and Prade, H. (1997). A semantics for possibility theory based on likelihoods. Journal of Mathematical analysis and applications, 205(2):359–380.
A PREPRINT
Duchi, J. C. and Namkoong, H. (2018). Learning models with uniform performance via distributionally robust optimization. CoRR, abs/1810.08750.
Fan, Y., Lyu, S., Ying, Y., and Hu, B. (2017). Learning with average top-k loss. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems, pages 497–505.
Finlayson, S. G., Subbaswamy, A., Singh, K., Bowers, J., Kupke, A., Zittrain, J., Kohane, I. S., and Saria, S. (2021). The clinician and dataset shift in artificial intelligence. New England Journal of Medicine, 385(3):283–286.
Föllmer, H. and Knispel, T. (2011). Entropic risk measures: Coherence vs. convexity, model ambiguity and robust large deviations. Stochastics and Dynamics, 11(02n03):333–351.
Föllmer, H. and Schied, A. (2002). Convex measures of risk and trading constraints. Finance Stochastics, 6(4):429–447.
Gilboa, I. and Schmeidler, D. (1989). Maxmin expected utility with non-unique prior. Journal of mathematical economics, 18(2):141–153.
Gneiting, T. and Raftery, A. E. (2007). Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association, 102(477):359–378.
Greenberg, I., Chow, Y., Ghavamzadeh, M., and Mannor, S. (2022). Efficient risk-averse reinforcement learning. In Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems.
Grünwald, P. and Dawid, A. P. (2004). Game theory, maximum entropy, minimum discrepancy and robust bayesian decision theory. Annals of Statistics, 32:1367–1433.
He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, pages 770–778. IEEE Computer Society.
Hendrycks, D. and Dietterich, T. G. (2019). Benchmarking neural network robustness to common corruptions and perturbations. In 7th International Conference on Learning Representations, ICLR. OpenReview.net.
Hofman, P., Löhr, T., Muschalik, M., Sale, Y., and Hüllermeier, E. (2026). Efficient credal prediction through decalibration. CoRR, abs/2603.08495.
Hüllermeier, E., Destercke, S., and Shaker, M. H. (2022). Quantification of credal uncertainty in machine learning: A critical analysis and empirical comparison. In Uncertainty in Artificial Intelligence, Proceedings of the Thirty-Eighth Conference on Uncertainty in Artificial Intelligence, volume 180 of Proceedings of Machine Learning Research, pages 548–557. PMLR.
Hüllermeier, E. and Waegeman, W. (2021). Aleatoric and epistemic uncertainty in machine learning: an introduction to concepts and methods. Machine Learning, 110(3):457–506.
Iyengar, G. N. (2005). Robust dynamic programming. Mathematics of Operations Research, 30(2):257–280.
Kingma, D. P. and Ba, J. (2015). Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR.
Kiyani, S., Pappas, G. J., Roth, A., and Hassani, H. (2025). Decision theoretic foundations for conformal prediction: Optimal uncertainty quantification for risk-averse agents. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 30943–30965. PMLR.
Koh, P. W., Sagawa, S., Marklund, H., Xie, S. M., Zhang, M., Balsubramani, A., Hu, W., Yasunaga, M., Phillips, R. L., Gao, I., Lee, T., David, E., Stavness, I., Guo, W., Earnshaw, B., Haque, I. S., Beery, S. M., Leskovec, J., Kundaje, A., Pierson, E., Levine, S., Finn, C., and Liang, P. (2021). WILDS: A benchmark of in-the-wild distribution shifts. In Proceedings of the 38th International Conference on Machine Learning, ICML, volume 139 of Proceedings of Machine Learning Research, pages 5637–5664. PMLR.
Krizhevsky, A. (2009). Learning multiple layers of features from tiny images. Technical report, University of Toronto.
Kuhn, D., Shafiee, S., and Wiesemann, W. (2025). Distributionally robust optimization. Acta Numer., 34:579–804.
Laguel, Y., Malick, J., and Harchaoui, Z. (2022). Superquantile-based learning: A direct approach using gradient-based optimization. J. Signal Process. Syst., 94(2):161–177.
Laguel, Y., Pillutla, K., Malick, J., and Harchaoui, Z. (2021). Superquantiles at work: Machine learning applications and efficient subgradient computation. Set-Valued and Variational Analysis, 29(4):967–996.
Le, Y. and Yang, X. (2015). Tiny imagenet visual recognition challenge. CS 231n course report, Stanford University.
LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. (1998). Gradient-based learning applied to document recognition. Proc. IEEE, 86(11):2278–2324.
A PREPRINT
Lee, J., Park, S., and Shin, J. (2020). Learning bounds for risk-sensitive learning. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems.
Lee, K., Lee, K., Lee, H., and Shin, J. (2018). A simple unified framework for detecting out-of-distribution samples and adversarial attacks. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems, pages 7167–7177.
Levi, I. (1978). On Indeterminate Probabilities, pages 233–261. Springer, Dordrecht.
Levy, D., Carmon, Y., Duchi, J. C., and Sidford, A. (2020). Large-scale methods for distributionally robust optimization. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems.
Li, Y. L., Lu, D., Kirichenko, P., Qiu, S., Rudner, T. G. J., Bruss, C. B., and Wilson, A. G. (2025). Position: Supervised classifiers answer the wrong questions for OOD detection. In Forty-second International Conference on Machine Learning, ICML. OpenReview.net.
Loader, C. (2006). Local regression and likelihood. Springer Science & Business Media.
Löhr, T., Hofman, P., Mohr, F., and Hüllermeier, E. (2025). Credal prediction based on relative likelihood. Advances in Neural Information Processing Systems, 38:145184–145213.
Mhammedi, Z., Guedj, B., and Williamson, R. C. (2020). Pac-bayesian bound for the conditional value at risk. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems.
Netzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., and Ng, A. Y. (2011). Reading digits in natural images with unsupervised feature learning. In NIPS Workshop on Deep Learning and Unsupervised Feature Learning.
Nguyen, V.-L., Zhang, H., and Destercke, S. (2025). Credal ensembling in multi-class classification. Machine Learning, 114(1):19.
Ni, Y., Houssineau, J., Ong, Y. S., and Koniusz, P. (2026). Possibilistic predictive uncertainty for deep learning. CoRR, abs/2605.00600.
Ovadia, Y., Fertig, E., Ren, J., Nado, Z., Sculley, D., Nowozin, S., Dillon, J. V., Lakshminarayanan, B., and Snoek, J. (2019). Can you trust your model's uncertainty? evaluating predictive uncertainty under dataset shift. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems, pages 13969–13980.
Parzen, E. (1962). On estimation of a probability density function and mode. The annals of mathematical statistics, 33(3):1065–1076.
Patton, A. J., Ziegel, J. F., and Chen, R. (2019). Dynamic semiparametric models for expected shortfall (and value-at-risk). Journal of Econometrics, 211(2):388–413.
Pelessoni, R. and Vicig, P. (2003). Imprecise previsions for risk measurement. Int. J. Uncertain. Fuzziness Knowl. Based Syst., 11(4):393–412.
Peterson, J. C., Battleday, R. M., Griffiths, T. L., and Russakovsky, O. (2019). Human uncertainty makes classification more robust. In IEEE/CVF International Conference on Computer Vision, ICCV, pages 9616–9625. IEEE.
Radovanovic, M., Nanopoulos, A., and Ivanovic, M. (2010). Hubs in space: Popular nearest neighbors in high-dimensional data. J. Mach. Learn. Res., 11:2487–2531.
Rigter, M., Lacerda, B., and Hawes, N. (2021). Risk-averse bayes-adaptive reinforcement learning. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems, pages 1142–1154.
Rigter, M., Lacerda, B., and Hawes, N. (2023). One risk to rule them all: A risk-sensitive perspective on model-based offline reinforcement learning. Advances in neural information processing systems, 36:77520–77545.
Rockafellar, R. T., Uryasev, S., et al. (2000). Optimization of conditional value-at-risk. Journal of risk, 2:21–42.
Royall, R. (1997). Statistical evidence: a likelihood paradigm. Routledge.
Sagawa, S., Koh, P. W., Hashimoto, T. B., and Liang, P. (2019). Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. CoRR, abs/1911.08731.
Salvo, F. D., Doerrich, S., and Ledig, C. (2024). Medmnist-c: Comprehensive benchmark and improved classifier robustness by simulating realistic image corruptions. CoRR, abs/2406.17536.
Sculley, D. (2010). Web-scale k-means clustering. In Rappa, M., Jones, P., Freire, J., and Chakrabarti, S., editors, Proceedings of the 19th International Conference on World Wide Web, WWW, pages 1177–1178. ACM.
A PREPRINT
Senge, R., Bösner, S., Dembczynski, K., Haasenritter, J., Hirsch, O., Donner-Banzhoff, N., and Hüllermeier, E. (2014). Reliable classification: Learning classifiers that distinguish aleatoric and epistemic uncertainty. Inf. Sci., 255:16–29.
Shafer, G. (1976). A Mathematical Theory of Evidence. Princeton University Press.
Shaker, M. H. and Hüllermeier, E. (2020). Aleatoric and epistemic uncertainty with random forests. In Advances in Intelligent Data Analysis XVIII - 18th International Symposium on Intelligent Data Analysis, volume 12080 of Lecture Notes in Computer Science, pages 444–456. Springer.
Shapiro, A., Dentcheva, D., and Ruszczynski, A. (2014). Lectures on Stochastic Programming - Modeling and Theory, Second Edition, volume 16 of MOS-SIAM Series on Optimization. SIAM.
Sluijterman, L., Cator, E., and Heskes, T. (2025). Likelihood-ratio-based confidence intervals for neural networks. Mach. Learn., 114(4):116.
Soma, T. and Yoshida, Y. (2020). Statistical learning with conditional value at risk. CoRR, abs/2002.05826.
Sutton, R. S., Barto, A. G., et al. (1998). Reinforcement learning: An introduction, volume 1. MIT press Cambridge.
Takeda, A. and Kanamori, T. (2009). A robust approach based on conditional value-at-risk measure to statistical learning problems. Eur. J. Oper. Res., 198(1):287–296.
Tibshirani, R. and Hastie, T. (1987). Local likelihood estimation. Journal of the American Statistical Association, 82(398):559–567.
Troffaes, M. C. (2007). Decision making under uncertainty using imprecise probabilities. International journal of approximate reasoning, 45(1):17–29.
Wald, A. (1950). Statistical Decision Functions. John Wiley.
Walley, P. (1991). Statistical Reasoning with Imprecise Probabilities. Chapman & Hall.
Wang, K., Cuzzolin, F., Moens, D., and Hallez, H. (2026a). Credal ensemble distillation for uncertainty quantification. In Fortieth AAAI Conference on Artificial Intelligence, Thirty-Eighth Conference on Innovative Applications of Artificial Intelligence, Sixteenth Symposium on Educational Advances in Artificial Intelligence, AAAI, pages 26319–26327. AAAI Press.
Wang, K., Cuzzolin, F., Shariatmadar, K., Moens, D., and Hallez, H. (2025a). Credal wrapper of model averaging for uncertainty estimation in classification. In Yue, Y., Garg, A., Peng, N., Sha, F., and Yu, R., editors, International Conference on Learning Representations, pages 70290–70318.
Wang, K., Faza, G. A., Cuzzolin, F., Chau, S. L., Moens, D., and Hallez, H. (2026b). Learning credal ensembles via distributionally robust optimization. arXiv preprint arXiv:2602.08470.
Wang, K., Shariatmadar, K., Manchingal, S. K., Cuzzolin, F., Moens, D., and Hallez, H. (2025b). Creinns: Credal-set interval neural networks for uncertainty estimation in classification tasks. Neural networks, 185:107198.
Wasserman, L. A. (1990). Belief functions and statistical inference. The Canadian Journal of Statistics / La Revue Canadienne de Statistique, 18(3):183–196.
Wiesemann, W., Kuhn, D., and Rustem, B. (2013). Robust markov decision processes. Mathematics of Operations Research, 38(1):153–183.
Wilks, S. S. (1938). The Large-Sample Distribution of the Likelihood Ratio for Testing Composite Hypotheses. Annals Math. Statist., 9(1):60–62.
Williamson, R. C. and Menon, A. K. (2019). Fairness risk measures. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 6786–6797. PMLR.
Wilson, A. G., Hu, Z., Salakhutdinov, R., and Xing, E. P. (2016). Deep kernel learning. In Proceedings of the 19th International Conference on Artificial Intelligence and Statistics, volume 51 of JMLR Workshop and Conference Proceedings, pages 370–378. JMLR.org.
Yang, J., Shi, R., Wei, D., Liu, Z., Zhao, L., Ke, B., Pfister, H., and Ni, B. (2021). Medmnist v2: A large-scale lightweight benchmark for 2d and 3d biomedical image classification. CoRR, abs/2110.14795.
Zhai, R., Dan, C., Suggala, A. S., Kolter, J. Z., and Ravikumar, P. (2021). Boosted cvar classification. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems, pages 21860–21871.
Zhang, J., Yang, J., Wang, P., Wang, H., Lin, Y., Zhang, H., Sun, Y., Du, X., Li, Y., Liu, Z., Chen, Y., and Li, H. (2024). Openood v1.5: Enhanced benchmark for out-of-distribution detection. J. Data-centric Mach. Learn. Res., 2:(3):1–32.
A PREPRINT
Zhou, B., Lapedriza, A., Khosla, A., Oliva, A., and Torralba, A. (2018). Places: A 10 million image database for scene recognition. IEEE Trans. Pattern Anal. Mach. Intell., 40(6):1452–1464.
A PREPRINT
CREDAL MACHINE LEARNING FOR RISK-AVERSE DECISION MAKING: SUPPLEMENTARY MATERIALS
Contents
A Variations on the CVaR 17
B Extended Related Work 18
C Proofs and Derivations 19
C.1 Minimizer of Expected Risk versus CVaR 19
C.2 Derivations of Examples 19
D Algorithmic Details 21
E Implementation Details 23
E.1 Compute Resources 23
E.2 Data 23
E.3 Models 23
E.4 Methods 24
F Experimental Details 26
F.1 Distribution Shift 26
F.2 Out-of-Distribution Detection 26
F.3 Coverage versus Efficiency 26
F.4 Risk-Aversion under Distribution Shift 26
F.5 Cost-Sensitive Decision Making 27
F.6 Risk-Averse Reinforcement Learning 28
G Additional Results 30
G.1 Credal Sets under Distribution Shifts 30
G.2 Coverage-Efficiency of Credal Predictor 30
G.3 Out-of-distribution Detection 30
G.4 Computation Time Comparison 31
G.5 Risk-Aversion under Distribution Shift 33
G.6 Cost-Sensitive Decision Making 36
G.7 Risk-Averse Reinforcement Learning 38
A PREPRINT
A Variations on the CVaR
The loss inherits its randomness from two sources: the draw of the instance and, fixing an instance , the draw of the outcome . The tail in (1) is taken with respect to under the joint measure — marginalizing over instances and outcomes — and we therefore refer to (1) as the marginal CVaR. We make this distinction, because the two sources of randomness can also be aggregated separately, and different orders of aggregation yield different risk functionals. A first alternative applies the CVaR to the conditional loss with , and averages the resulting instance-wise tail risks
This quantity captures the aleatoric tail risk locally, but, crucially, its estimation relies on the presence of ground-truth conditional distributions, which are usually not available in machine learning. In econometrics, (12) arises as the natural estimand of expected shortfall regression (Dimitriadis and Bayer, 2019; Patton et al., 2019).
For our purposes, however, the outer averaging over instances in (12) is precisely the problem. A large CVaR at one instance can be compensated by a small CVaR at another instance. In practice, e.g., in a medical context, this means that large errors on a few patients may be offset by small errors on the remaining ones. The marginal CVaR permits no such compensation: any sufficiently large mass of high losses enters the tail of the loss distribution, it does not matter whether it is spread across many instances or concentrated on a single, systematically mishandled one.
The composition in (12) can also be transposed. Applying the CVaR to the expected risks across instances or subgroups yields worst-case subpopulation risks, which is used in fairness (Williamson and Menon, 2019; Laguel et al., 2022) and group-robust learning (Sagawa et al., 2019).
In this work, we deliberately consider the marginal CVaR. In safety-critical applications, what matters is that large errors are rare in the population as a whole, irrespective of their origin. In the remainder of the paper, we therefore refer to (1) and its estimate (3) when discussing CVaR.
A PREPRINT
B Extended Related Work
Credal sets originate in the imprecise probability literature as a representation of partial ignorance (Walley, 1991; Levi, 1978; Augustin et al., 2014), and have more recently been adopted in ML as a formalism for epistemic uncertainty (Hüllermeier and Waegeman, 2021; Corani et al., 2012). In ML, credal predictors are typically built at training time, by training networks to emit a lower and an upper probability per class (Wang et al., 2025b), by instantiating BNNs with a set of priors (Caprio et al., 2023), or by extracting class-wise intervals from a collection of ensemble predictions (Wang et al., 2025a; Nguyen et al., 2025; Wang et al., 2026b). A second line of work constructs credal sets based on relative likelihood, namely as an -cut of the normalized likelihood function. Before the notion was used in ML, it appeared in statistics as likelihood-based confidence regions (Wilks, 1938), in the reading of the likelihood as a belief function (Shafer, 1976; Wasserman, 1990; Denœux, 2014), and in likelihood-based decision functions and their -cuts (Antonucci et al., 2012), with a possibilistic view in Dubois et al. (1997). Recent methods instantiate it in neural networks (Löhr et al., 2025; Sluijterman et al., 2025; Ni et al., 2026). These existing methods derive the credal set from disagreement among models trained on the same data, so that its width is governed by the training procedure rather than by the characteristics of the test instance. Whether the resulting set is useful is a question rarely posed in decision-theoretic terms, evaluation instead relying on proxies such as OoD detection, whose suitability has been questioned (Li et al., 2025). What distinguishes our construction is that the set is fit post-hoc and per test instance.
Acting on a credal set requires a decision rule, and several have been proposed. The principal candidates are -maximin (Gilboa and Schmeidler, 1989), maximality (Walley, 1991), and E-admissibility (Levi, 1978), surveyed by Troffaes (2007). These rules differ in how they select a distribution from the set, but agree in what they do afterwards, in that outcomes are aggregated by expectation. Risk aversion is therefore exercised at one level only. The rule hedges against ignorance about the ground-truth distribution, yet it remains indifferent to the tail of the outcome distribution once a model has been fixed, and thus accepts a known but severe risk whenever that risk is favorable on average (cf. Section 4). A related perspective replaces the set of distributions by a set of labels, with Kiyani et al. (2025) studying worst-case loss minimization over conformal prediction sets.
The second, aleatoric perspective is the subject of a largely separate literature. The CVaR is the most common risk measure in ML (Rockafellar et al., 2000; Artzner et al., 1999), minimized directly (Fan et al., 2017; Curi et al., 2020; Zhai et al., 2021) or as an instance of a DRO problem whose ambiguity set is a reweighting of the empirical distribution (Duchi and Namkoong, 2018; Sagawa et al., 2019; Kuhn et al., 2025; Chen et al., 2026). In this sense the CVaR is itself a worst case over a set of distributions. That set, however, reweights the loss the data already exhibit rather than ranging over models, and is therefore orthogonal to the credal set of the previous paragraphs. Keeping the two apart is what allows the two forms of risk aversion to be governed by distinct parameters, for the outcome tail and for the credal set. The same distinction recurs in sequential settings, where risk-averse methods target the tail of the return under a known model (Chow et al., 2015; Greenberg et al., 2022), while robust Markov decision processes optimize against a set of plausible transition models at each state (Iyengar, 2005; Wiesemann et al., 2013). Safety under epistemic uncertainty thus requires both. Our decision rule based on credal sets combines them, and the case study in Section 5.4 illustrates that our two-level distinction governs sequential decisions, exhibiting the safety behavior of specialized RL methods. Closest among these is Rigter et al. (2023), which likewise addresses both sources, though through a second-order posterior over models rather than the prior-free credal set used here.
A PREPRINT
C Proofs and Derivations
C.1 Minimizer of Expected Risk versus CVaR
Given , for brevity, we write for and for , denote the expected loss as , and the objective of (4) as . Due to strict propriety is minimized by alone, for every (Gneiting and Raftery, 2007). Additionally, by tail non-degeneracy, the tail-conditional distribution is well defined, and , since .
Regularity conditions
(R1) Full support: for all .
(R2) Finiteness and continuity: is real-valued on relint and each map is continuous at .
(R3) Threshold regularity: and for all .
Proof. Let and , which lies in relint( ) for by (R1). Note that is not a probability vector but a vector in . By (R2) and (R3), as with for and otherwise, hence there is a such that, for all , the hinge is active at on exactly the tail classes:
We still have to show that is strictly decreasing on . Let denote the generalized entropy of (Gneiting and Raftery, 2007). For fixed , the map is affine in and, by strict propriety, dominates with equality exactly at . In other words, it is a line supporting from above, with slope , and evaluating it at gives
Given , evaluating the supporting line at in the point , and vice versa, yields
hence . Substituting then gives
since the bracket is negative by strict propriety and the second term is non-positive. Combining this with (13) and ,
thus . Since , is not even a local minimizer.
C.2 Derivations of Examples
We provide examples with derivations of how the minimizer changes when moving from expected risk to CVaR.
C.2.1 Log-loss
In the setting of Section 2.2, we have and , such that
The hinge of the first term is active iff , and the hinge of the second term is active iff , so is convex and piecewise smooth with breakpoints at these two points. At , the one-sided derivatives are
hence, by convexity, the minimum is attained exactly there: . The probability of the most likely class is thus reduced until its loss reaches the point at which the hinge would become active. Note also that the minimizer remains unchanged for every .
A PREPRINT
C.2.2 Brier score
Let , so that in the binary case and . With and ,
The hinge of the first term is active iff , and the hinge of the second term is active iff . On the interval where both are active, , since the unconstrained minimizer lies to its right, and beyond only the second term remains, which is increasing. Hence . As for the log-loss, the likely class is pushed down until its loss reaches the threshold, and the minimizer is for every . Note that for the one-coordinate binary Brier score , that is, half of the above, the same threshold coincides with the minimax value , so that both hinges are inactive at and the uniform distribution is the (unique) minimizer with .
A PREPRINT
D Algorithmic Details
Our novel credal predictor consists of two distinct procedures. Given an encoder or a pre-trained network that can be reduced to an encoder, e.g., by removing the linear head , using the method requires a fitting and prediction step.
Fitting. The credal predictor operates post hoc and fitting reduces to a single forward pass of the encoder over the training data to generate training embeddings with some embedding dimension. The embeddings are generated with test-time transforms and are L2-normalized and whitened. Concretely, let denote the class-wise centered (pooled within-class) covariance of the normalized embeddings, with ridge regularization of times its mean diagonal entry. The embeddings are mapped by , where corresponds to full Mahalanobis whitening and to no whitening ( ). Using full whitening sharpens the separation of far-away instances, but can induce “hubness” (Radovanovic et al., 2010), causing a few embeddings to become the nearest neighbors of most instances. Therefore, is selected at fit time as the largest value on the grid for which the leave-one-out kernel vote on the training data remains healthy, that is, its accuracy is within 0.02 of the accuracy at , and the share of the most frequently predicted class exceeds the true majority share by at most 0.1. The kernel is Gaussian, specifically , with the bandwidth set to 0.55 times the median distance of a reference point to its nearest other reference point in whitened space. The fitted predictor thus stores the whitened embeddings with their labels (in float16 format), the map , and , concluding the fitting step.
Prediction. Given a test instance , its embedding is normalized, whitened, and compared to the 200 nearest reference points. The weights are accumulated into the class-wise evidence , the total evidence , and the local maximum likelihood estimate as described in Section 3. Profiling the multinomial likelihood over the remaining classes collapses the local relative likelihood of class to the binomial
which increases on and decreases on , such that and are the two solutions of . The solutions are obtained using a simple bisection of 50 steps per bound. Prediction, therefore, costs one forward pass, one distance computation, and K fixed-step bisections per instance.
Efficiency and embedding compression. The most costly operation at test time is the distance computation against all stored reference embeddings. In the settings considered in this paper, the cost is rather modest — for example, for CIFAR-10, , and , but it scales linearly with training set size. However, this dependence can be easily removed by compressing the reference embeddings into landmarks. The whitened embeddings are partitioned by mini-batch -means (Sculley, 2010) with batch size of 4096, three initializations, and at most 60 passes. Each landmark stores its centroid together with the class histogram of its cluster, with the cluster assignment. The evidence is then computed with respect to the landmarks,
at a cost of per instance. We study the influence of the number of landmarks on the train time, test time, and performance of the credal predictor in terms of OoD detection. We fit the algorithm with over three seeds and show the results in Figure 5. As the number of landmark points decreases, the fitting step proceeds faster. Note, however, that in terms of total training time (training + fitting) our method was already on par with the most efficient credal prediction method (see Figure 8). Furthermore, the inference time, while noisy, does not decrease significantly, and, importantly, the AUROC remains largely the same. This highlights that for the scale of typical image benchmark datasets, our method does not require any compression of the reference embeddings.
Finding the CVaR-minimax distribution. Given a credal set Q, what remains is to find the CVaR-minimax prediction (8). For a fixed threshold v, the inner supremum in (8) is linear in q and can hence be solved exactly: by water-filling for interval-based credal sets — starting every class at its lower probability and assigning the remaining mass to the classes with the largest hinged loss, each up to its upper probability — and by enumeration of the vertices for convex hulls. The outer minimization over is convex. It is solved by 300 iterations of Adam (Kingma and Ba, 2015) with learning rate 0.1 on the parameterization , where, by Danskin's theorem, differentiating through the exact inner solution yields the gradient of the worst-case objective. The solver is warm-started
A PREPRINT



near-OOD (CIFAR-100, TIN) far-OOD (MNIST, SVHN, Textures, Places365)
Figure 5: AUROC, fitting time, and inference time (in seconds) of CreWare on CIFAR-10 as a function of the number of landmarks . Mean and standard deviation over three seeds are shown.
at the maximum-entropy element of , which is the exact solution for under log loss. For the calibration in Algorithm 1 we take to be a grid of 100 equally spaced values on , with the largest hold-out loss of the maximum-entropy prediction, beyond which the hinge vanishes and can only increase. Since does not depend on , a single sweep over serves all risk levels.
A PREPRINT
E Implementation Details
E.1 Compute Resources
We provide an overview of the compute resources used to perform the experiments in Table 2.
Table 2: Compute node used for the experiments. Jobs were scheduled with slurm and ran inside a Singularity container (PyTorch NGC 26.03). Each job was allocated a single GPU.
| Resources |
|---|
| GPU NVIDIA A100-SXM4, 40 GB HBM2 |
| CPU 2× AMD EPYC 7742 (64 cores each) |
| System RAM 1.0 TB |
| OS / driver Ubuntu (Linux 6.8), CUDA driver 580 |
E.2 Data
We provide an overview of all datasets including references and respective licenses in Table 3.
Table 3: Dataset Licenses.
| Dataset | Reference | License |
|---|---|---|
| CIFAR-10 | (Krizhevsky, 2009) | No formal license |
| CIFAR-10-C | (Hendrycks and Dietterich, 2019) | Creative Commons Attribution 4.0 International |
| CIFAR-10-H | (Peterson et al., 2019) | Creative Commons Attribution 4.0 International |
| MedMNIST | (Yang et al., 2021) | Creative Commons Attribution 4.0 International |
| MedMNIST-C | (Salvo et al., 2024) | Creative Commons Attribution 4.0 International |
| CIFAR-100 | (Krizhevsky, 2009) | No formal license |
| TinyImageNet | (Le and Yang, 2015) | Non-commercial research/educational use only |
| MNIST | (LeCun et al., 1998) | MIT License |
| SVHN | (Netzer et al., 2011) | Non-commercial use only |
| Textures | (Cimpoi et al., 2014) | Research use only |
| Places365 | (Zhou et al., 2018) | Non-commercial research and educational use |
E.3 Models
E.3.1 ResNet18
We use the ResNet18 implementation, which has been adapted to better support CIFAR-10. Specifically, the kernel size of the first convolutional layer has been adapted from to and the first max-pooling layer is removed to better support the size images.
Hyperparameters. Table 4 shows the hyperparameters for the ResNet18. All models were trained without early stopping and the checkpoint with the lowest validation loss is used.
Table 4: Hyperparameters for ResNet18.
| Dataset | Epochs | Batch Size | Val. Split | Optim. | LR | Momentum | Weight Dec. | Scheduler |
|---|---|---|---|---|---|---|---|---|
| CIFAR-10 | 200 | 128 | 0.1 | SGD | 0.1 | 0.9 | 5e-4 | Cosine |
| BloodMNIST | 100 | 128 | 0.1 | Adam | 0.001 | 0.0 | 0.0 | Factor 0.1 at 50, 75 |
| PathMNIST | 100 | 128 | 0.1 | Adam | 0.001 | 0.0 | 0.0 | Factor 0.1 at 50, 75 |
https://github.com/kuangliu/pytorch-cifar
A PREPRINT
E.4 Methods
The implementations of the credal prediction methods rely heavily on the probably library . All credal methods use the probably implementation, except for CreDro (Wang et al., 2026b). The base models for all methods are trained using the same hyperparameters listed in Table 4.
E.4.1 Credal Ensembling
This method relies on ensembling neural networks (Nguyen et al., 2025). We use 10 ensemble members. Given an input, the probabilistic outputs of the different ensemble members are collected. From these, a representative distribution is computed based on some distance, the outputs are ordered by their distance to the representative distribution, and an portion of the distributions is discarded. We set as previous works (Löhr et al., 2025; Hofman et al., 2026) showed this performs best on OoD detection. The credal set is obtained by taking the convex hull of the remaining portion of distributions. The representative distribution is used when a single distribution has to be predicted.
E.4.2 Credal Bayesian Neural Networks
This method is constructed by ensembling Bayesian neural networks with different prior distributions. The original paper (Caprio et al., 2023) does not list parameters of the priors, hence we use the ones suggested by probably — that is, we use 10 Bayesian neural networks with zero mean Gaussian priors that have standard deviations: 0.1, 0.15, 0.2, 0.3, 0.45, 0.7, 1.0, 1.5, 2.0, and 3.0. From each of the posteriors of the resulting 10 Bayesian neural networks, 20 samples are taken, which are averaged, resulting in 10 conditional distributions. The convex hull of these distributions generates the credal set. The mean of the 10 (conditional) distributions are then used when a single predictive distribution is required.
E.4.3 Credal Wrapper
This method is an ensembling method, which generates lower and upper probabilities based on the minimum and maximum class-wise probabilities across the ensemble members (Wang et al., 2025a). We use 10 ensemble members. These probability intervals are then turned into interval-based credal sets. When a single distribution is required, such as in Section 5.1, the intersection probability (Cuzzolin, 2022) is computed. In the risk-averse experiments, our decision rule is used.
E.4.4 Credal Distributionally Robust Optimization
The credal distributionally robust optimization method [CreDro] (Wang et al., 2026b) has been faithfully re-implemented based on the original implementation . The method relies on ensembling models that are trained with a loss function that optimizes based on only the portion of worst losses in a batch, where is varied across members. We use members and , as this was shown to be the best-performing value in the original paper. The lower and upper probabilities are based on the minimum and maximum class-wise probabilities across the ensemble members, and the probability intervals are turned into interval-based credal sets. This interval-based credal set may in turn be aggregated into the intersection probability when a single distribution is required.
E.4.5 Credal Relative Likelihood
This method also builds an ensemble using a specific initialization technique to promote diversity and an early stopping technique to reach the relative likelihood threshold (Löhr et al., 2025). We use 10 ensemble members and , as this was shown to perform best on OoD detection in the original paper. In case a single distribution has to be predicted, the MLE prediction is used.
E.4.6 Efficient Credal Prediction
This method uses a base predictor and constructs probability intervals by observing how far logits can be perturbed while the resulting model stays within the relative likelihood budget (Hofman et al., 2026). We use as
https://github.com/pwhofman/probly
https://github.com/Kaizheng-WANG/Learning-Credal-Ensembles-via-Distributionally-Robust-Optimization
A PREPRINT
this was shown to be the best performing setting for OoD detection. The resulting logit bounds are converted into probability intervals from which an interval-based credal set is constructed. The MLE predictions are used when a single distribution is required.
E.4.7 SQwash
This method makes the training objective itself risk-averse by replacing the mean of the mini-batch losses with their superquantile, that is, the empirical CVaR of the batch losses (Laguel et al., 2022). In each training step, only the worst -fraction of the cross-entropy losses within the batch is averaged. We use the implementation of the loss provided by the authors. In contrast to the credal methods, the result is a single network that outputs precise conditional distributions.
E.4.8 AdaCVaR
This method minimizes the CVaR of the loss distribution through adaptive sampling (Curi et al., 2020). Training is framed as a game between the learner and an adversarial sampler in which an Exp3-type bandit algorithm maintains weights per instance approximating a -DPP over the training instances with the largest losses. Then, in each step, a subset of size is sampled accordingly, and a mini-batch is drawn uniformly from this subset. The learner minimizes the mean cross-entropy on these batches and the sampler weights are updated on the observed losses. The method has been faithfully re-implemented based on the original implementation, using the sampler learning rate suggested in the original paper, where denotes the total number of training steps. Similar to SQwash, the result is a single network with precise conditional distributions as outputs.
https://github.com/krishnap25/sqwash
https://github.com/sebascuri/adacvar
A PREPRINT
F Experimental Details
F.1 Distribution Shift
We use a ResNet18 trained on the BloodMNIST and CIFAR-10 datasets. Table 4 shows the hyperparameters. The shifted test sets are taken from the corresponding corruption benchmarks, MedMNIST-C for BloodMNIST and CIFAR-10-C for CIFAR-10, providing 11 and 15 corruption types, respectively, each at five severity levels. Severity 0 refers to the clean test split of the respective dataset. The MedMNIST-C images ship at a resolution of and are downsampled to the native resolution the models are trained on, after which the same (test) transformations as for the clean data are applied. The CIFAR-10-C images are already at native resolution. For every corrupted test set we compute the credal set size, that is, the width of the class-wise probability intervals averaged over classes and instances, where for the methods producing a convex hull the intervals are given by the lower and upper envelope of that hull. Within a seed the set size is first averaged over the corruption types of a severity level and the curves show the mean and standard deviation over three seeds. In addition, we report the accuracy of the regular point prediction made by the respective method, which serves as a reference for the degradation of the underlying model.
F.2 Out-of-Distribution Detection
We use a ResNet18 trained on CIFAR-10 and one trained on BloodMNIST for the presented OoD detection tasks. Table 4 shows the hyperparameters. The task is framed as a binary classification task where the epistemic uncertainty is used to discriminate between iD and OoD instances, correspondingly the AUROC is computed. All OoD detection experiments are run three times and the mean and standard deviation are reported. The test splits of the respective datasets are used and both iD and OoD instances receive the same (test) transformations, except for the grayscale images, which receive an additional transformation duplicating the grayscale values into three channels. In order to make the binary classification task balanced, the minimum of the number of samples of both datasets is taken. The CIFAR-10 experiments follow the setup from Zhang et al. (2024).
F.2.1 MedMNIST
For the MedMNIST collection, we use BloodMNIST as the iD dataset, which is a collection of RGB images of blood cells. Following the setup used in CIFAR-10, we use two near-OoD datasets: PathMNIST and TissueMNIST. Both datasets show cells or tissue under a microscope, meaning low level image statistics should be comparable. The DermaMNIST, RetinaMNIST, OCTMNIST, and BreastMNIST are used as the far-OoD datasets.
F.3 Coverage versus Efficiency
We use the ResNet18 models trained on CIFAR-10 (Table 4) and treat the human soft labels of CIFAR-10-H (Peterson et al., 2019) as approximations of the ground-truth conditional distributions on the test set. Coverage is the fraction of test instances whose ground-truth distribution lies in the predicted credal set. Membership is tested exactly for each representation, by containment in the class-wise intervals for interval-based sets and by linear programming for convex sets. Efficiency is one minus the mean width of the credal set, so that higher values indicate tighter sets. Both are properties of the credal set alone, involving no decision rule or loss. For the methods parameterized by a plausibility level, the curve is traced over , whereas the ensemble-based methods yield a single point. All results are averaged over 3 seeds. Note, at the log-likelihood threshold is not defined, so this value is understood as the limiting case in which every hypothesis is deemed plausible and the credal set is the whole simplex.
F.4 Risk-Aversion under Distribution Shift
The experiments on risk-averse prediction under distribution shift are performed using the ResNet18 base model for each method. For all datasets, the training data and the clean test data are taken from MedMNIST. The models are trained on 90% of the training data, with the remaining 10% held out as validation data. The risk-averse baselines are trained with the same -level as the CVaR under which they are evaluated.
For the MLE and the risk-averse baselines, the predictive distribution produced by the model is taken as the prediction itself. When the MLE model is combined with the CVaR rule (4), the threshold v is first determined on the (clean) validation data, and the prediction are then derived as described in Section 2.2. The credal methods, including Cre-Ware, follow the same scheme: the threshold v is computed on the validation data as in Algorithm 1 and predictions are obtained from the CVaR-minimax decision rule (8). In both bases, the decision rule is applied with the same as
A PREPRINT
the CVaR under which the predictions are evaluated. As a reference, we also include a uniform prediction baseline, which predicts a uniform distribution regardless of the input, in order to detect trivial predictions from a method.
The corrupted test data come from MedMNIST-C, which specifies a set of modality-specific corruptions for each dataset at five levels of severity. For a given severity level, all methods are evaluated by applying each of these corruptions and averaging over corruption types, resulting in a single loss value per severity level. This aligns with the setup in (Ovadia et al., 2019). The performance of a method is then measured in terms of the CVaR at -level of the log-loss and the Brier-loss, computed separately on each corrupted test set prior to averaging.
We report the mean and standard deviation over three seeds.
F.5 Cost-Sensitive Decision Making
Setup. The cost matrix is given in Table 5. Sending a septic patient home is the (uniquely) worst action for its condition and hence the most catastrophic decision, following the critical-mistake notion of Kiyani et al. (2025). Mistreating a flu patient by sending them home or to ICU costs 4, so neither is catastrophic. Precaution costs 6–8 on a healthy patient, so admitting everyone to ICU realizes a CVaR of exactly 8 at every considered.
Table 5: Cost matrix of the triage problem (rows: true condition, columns: action).
| Send home | Treat flu | ICU | |
|---|---|---|---|
| Healthy | 0 | 6 | 8 |
| Flu | 4 | 1 | 4 |
| Sepsis | 20 | 14 | 2 |
Data. Instances have two informative features, drawn from the Gaussian mixture in Table 6, and six additional features drawn i.i.d. from representing noise. The class prior is (healthy / flu / sepsis). Typical healthy, flu, and septic patients form three separated clusters. A quarter of all septic patients are masked, that is, they present with almost healthy features and overlap the typical healthy subgroup. In addition, of the healthy and of the septic patients belong to a subgroup with an atypical presentation, far from all other components. The training data are scarce for the atypical septic patients, of which only are available in training ( of 120 instances). All other components, including the healthy patients of the subgroup, are used in full, so the training data show the atypical presentation almost exclusively as healthy. Validation and test data keep the natural frequencies. The splits contain instances.
Table 6: Components of the data-generating process (informative coordinates). Shares refer to the natural frequencies of the validation and test data. Within each condition they sum to , as do the shares of all patients. The last column gives the fraction of each component that is used in training.
| Condition | Presentation | Mean | Std. | Share of | Used in training | |
|---|---|---|---|---|---|---|
| condition | all patients | |||||
| Healthy | Typical | (0, 0) | 1.0 | 85% | 46.75% | 100% |
| Atypical (subgroup) | (-6, 4) | 0.8 | 15% | 8.25% | 100% | |
| Flu | Typical | (3, 0) | 1.0 | 100% | 25.00% | 100% |
| Sepsis | Typical | (3, 3) | 0.8 | 60% | 12.00% | 100% |
| Masked (resembles healthy) | (-1.8, 1.8) | 0.5 | 25% | 5.00% | 100% | |
| Atypical (subgroup) | (-9, 7) | 1.5 | 15% | 3.00% | 5% | |
Agents. All point predictors share the same backbone which is an MLP with two hidden layers of width 64, trained with Adam (learning rate , batch size 128, 150 epochs) on standardized inputs. The MLE decides by the risk-neutral best response. SQwash (Laguel et al., 2022) (smoothed reducer, smoothing 1.0) and AdaCVaR (Curi et al., 2020) are trained at a tail level equal to the evaluation . CreWra uses 10 ensemble members. Our predictor is fit as in Appendix D on the standardized inputs, with 200 neighbors, bandwidth 0.3 times the median 200th-neighbor distance, and . Thresholds are calibrated per method, seed, and on the validation split. We report the empirical CVaR (3) of the realized test costs, the mean cost, and the fraction of septic patients sent home, over 10 seeds.
A PREPRINT
Decision rule. For a finite action set and a cost function , the rule (8) becomes
which is exact by enumeration. v is calibrated by Algorithm 1 with realized costs in place of losses.
F.6 Risk-Averse Reinforcement Learning
Setup. The grid in Figure 4 has 64 free cells, six of which are hazard cells forming three rows by two columns on the direct road. The car moves deterministically in four directions and stays put at walls. Entering a hazard cell crashes with probability . Every step costs , a crash ends the episode with in place of the step cost, and reaching the goal pays in addition to it. The direct route (8 steps, three hazard cells) crashes with probability and attains an expected reward of 20.4, whereas the safe detour (26 steps) always returns a reward of 14.
Data and predictions. Every non-hazard cell is observed times without a crash, every hazard cell times with Binomial crashes, for . From the counts of a cell , the point estimate is , and is the -cut of the Bernoulli relative likelihood,
with . Without observed crashes, while , that is, 0.85 after one, 0.21 after eight, and 0.09 after twenty observations.
The non-hazard cells carry residual epistemic uncertainty as well, with , which accumulates to a worst-case crash probability of 0.046 over the 25 intermediate cells of the detour. The detour is preferred under the worst case only if these cells are sampled sufficiently often.
Agents. MLE maximizes the expected return under by value iteration on the Bellman equation (Sutton et al., 1998)
with . Credal + rule applies (8) to the negative return of a rollout. For a fixed threshold , the rule selects the policy that minimizes the worst-case hinged loss over the cell-wise credal sets. In the supervised setting, is calibrated on the realized losses of hold-out data according to Algorithm 1. An agent that plans offline has no realized returns of a candidate policy at its disposal, so is instead optimized jointly with the policy under the worst-case model,
with and . The plan thus depends on the observed counts only. By the variational form (2), the objective is an upper bound on the worst-case risk , as the minimum over is taken outside the supremum. The supremum itself is not obtained at the upper bounds in general. A crash ends the episode at a loss that is lower than that of any later crash, hence a larger crash probability in one cell does not stochastically increase . However, the hinged expectation is linear in the crash probability of each cell, and the credal sets are cell-wise, so the supremum is attained at an endpoint of each , which is selected by the recursion below. MLE + rule replaces the credal sets by . It is the exact optimum, under the estimated model, of the CVaR objective that risk-averse policy-gradient methods such as CeSoR (Greenberg et al., 2022) optimize by sampling.
Budget-augmented value iteration. In (16), the inner problem at fixed v is solved on the state augmented by the step count s, which equals the accumulated loss (Bäuerle and Ott, 2011). As s grows by one per step, a single backward pass over suffices, with and
A PREPRINT
where is the successor of under . The maximum picks where a crash in costs more than continuing and otherwise. We take , the number of free cells, which is exact since revisiting a cell is never optimal. The outer minimization scans in increasing order over the attainable losses, which are integers, and evaluates the objective of (16) for the route planned at each . As this objective is at least , the scan stops once exceeds the best value found. Routes that tie in the hinged loss are ordered by their expected loss.
Evaluation. The evaluation is done using 150 seeds, each drawing a dataset from which every agent plans a route that is then driven 1000 times under the true crash probabilities. The crash rate and mean reward are averaged over seeds, with bands of one standard deviation, whereas the CVaR reward is the population CVaR of all pooled returns, the marginal CVaR of Appendix A, and therefore has no band. Averaged over , the MLE attains a mean reward of 19.1 at a crash rate of 0.27, below the 20.4 of the direct route. For small , it avoids hazard cells with an observed crash, which leads it through a fourth hazard cell on a 10-step route in some seeds and onto the detour in a few others.
A PREPRINT
G Additional Results
G.1 Credal Sets under Distribution Shifts
We provide additional results with the credal predictors trained on the CIFAR-10 dataset using the corruptions from CIFAR-10-C. We use all corruptions and severities and report the set size and accuracy averaged over the corruptions for each severity level. We show the results in Figure 6. CreWare adapts suitably to the distribution shifts, increasing its sets accordingly with the diminishing accuracy.

Figure 6: Distribution shift on CIFAR-10. The mean and standard deviation of the set size and accuracy are reported. The sets of CreWare increase accordingly with the diminishing accuracy, while the other sets increase less in size.
G.2 Coverage-Efficiency of Credal Predictor
We evaluate the coverage and efficiency of our novel credal predictor on the CIFAR-10 dataset, using the human annotations provided by CIFAR-10-H (Peterson et al., 2019), which we consider as (approximations of) the ground-truth distributions. Figure 7 shows the results.

Figure 7: Coverage versus efficiency for CIFAR-10-H. The CreWare method performs competitively, staying in the high coverage region while having a good efficiency.
G.3 Out-of-distribution Detection
In addition to the experiments on the CIFAR-10 benchmark, we perform further OoD detection experiments in order to evaluate our credal predictor.
Table 7 first completes Table 1 from the main text with the far-OoD datasets MNIST (LeCun et al., 1998) and Textures (Cimpoi et al., 2014).
A PREPRINT
Table 7: Out-of-distribution detection with CIFAR-10 on all near-OoD and far-OoD datasets. The mean and standard deviation of the AUROC over three runs are reported. The best method is shown in bold. Subscripts denote the method-specific parameter controlling the set size.
| Method | Near-OOD | Far-OOD | Places365 | |||
|---|---|---|---|---|---|---|
| CIFAR-100 | TinyImageNet | MNIST | SVHN | Textures | ||
| CreBNN | ||||||
| CreWra | ||||||
| CreDro | ||||||
G.3.1 Entropy-Based versus Set-Size-Based Measures
The measure of epistemic uncertainty (11) by Abellán et al. (2006) has recently been criticized for not fulfilling certain desirable properties (Hüllermeier et al., 2022). In particular, the measure is not shift invariant and, consequently, the epistemic uncertainty of a credal set will decrease if the credal set is shifted towards the center of the probability simplex (the uniform distribution) even though the probability intervals keep the same length. Therefore, we additionally perform experiments with the same setup, but using the set size of the credal set (10) as a discriminator for each method. Table 8 shows the results. In addition to outperforming every method with the entropy-based measure of uncertainty, CreWare also outperforms the methods across near-OoD and far-OoD when the set size is used.
Table 8: Out-of-distribution detection with CIFAR-10 using the set size as discriminator. The mean and standard deviation of the AUROC over three runs are reported. The best method is shown in bold. CreWare outperforms other methods across near-OoD and far-OoD datasets.
| Method | Near-OOD | Far-OOD | Places365 | |||
|---|---|---|---|---|---|---|
| CIFAR-100 | TinyImageNet | MNIST | SVHN | Textures | ||
| CreBNN | ||||||
| CreWra | ||||||
| CreDro | ||||||
G.3.2 MedMNIST
We perform OoD detection using datasets from the MedMNIST collection. In the medical domain in particular, it is critical that a credal predictor can differentiate iD instances from OoD instances to ensure that no (risk-averse) predictions are made on data it has not seen during training. We train a ResNet18 on BloodMNIST, and use PathMNIST and TissueMNIST as near-OoD datasets, while DermaMNIST, RetinaMNIST, OCTMNIST, and BreastMNIST serve as the far-OoD datasets. Table 9 shows the results. CreWare outperforms the other methods across near-OoD and far-OoD datasets. OoD detection with this suite of datasets proves to be a particularly difficult task, with many methods performing worse than random, that is, conveying higher epistemic uncertainty for iD instances than for OoD instances.
G.4 Computation Time Comparison
In addition to adapting to distribution shifts and OoD instances, a credal predictor should be efficient if it is to be used with increasingly large models. Whether it is by training an ensemble or by modifying the backbone and its training, approaches that cannot operate post-hoc on a single pre-trained network become prohibitive as backbones grow.
Therefore, we record the training time on CIFAR-10, as well as the inference time for producing credal sets on all test instances, across the credal baselines. The comparison thus includes the one-time training cost and the per-instance (test) cost. We refer to Appendix E for details about the compute resources on which all measurements are run.
A PREPRINT
Table 9: Out-of-distribution detection with BloodMNIST. The mean and standard deviation of the AUROC over three runs are reported. The best method is shown in bold. CreWare outperforms other methods across near-OoD and far-OoD datasets.
| Method | Near-OOD | Far-OOD | BreastMNIST | |||
|---|---|---|---|---|---|---|
| PathMNIST | TissueMNIST | DermaMNIST | RetinaMNIST | OCTMNIST | ||
| CreBNN | ||||||
| CreWra | ||||||
| CreDro | ||||||
| [ours] | ||||||
Figure 8 shows the recorded times in seconds, averaged over three runs. Since fitting CreWare amounts to training a single backbone followed by one encoder pass over the training data, it is an order of magnitude cheaper than the ensemble-based methods (CreEns, CreWra, CreDro, CreRL), which pay the full cost of training their members, and more than twenty times cheaper than CreBNN. Only EffCre, likewise built on a single network, trains at a comparable cost. At test time, every method except CreBNN produces its credal sets within a few seconds on the full test split.

Figure 8: Train and test time in seconds (log-scale) on the full train and test splits of CIFAR-10. The mean and standard deviation over three runs are reported.
A PREPRINT
G.5 Risk-Aversion under Distribution Shift
We present additional results on risk-averse prediction under distribution shifts using the log-loss and the Brier-loss including an additional dataset, and provide an ablation on the effect of the -parameter in our credal predictor.
G.5.1 Log-loss
First, we complete Figure 3 in Section 5, with additional -values, resulting in . Figure 9 shows the complete results for the PathMNIST dataset. In addition, we perform the same experiment using the BloodMNIST dataset, which is also included in the MedMNIST collection. The results are shown in Figure 10.

Figure 9: Risk-averse prediction under distribution shift with PathMNIST evaluated by log-loss.

Figure 10: Risk-averse prediction under distribution shift with BloodMNIST evaluated by log-loss.
Our method outperforms or equals the risk-averse and credal baselines in terms of CVaR, while sacrificing little in terms of mean loss, and often outperforming the baselines in terms of mean loss. Importantly, the gap between our method and the baselines increases as the distribution shift becomes more pronounced. This is the result of our credal predictor increasing its epistemic uncertainty, and the CVaR-minimax rule responding accordingly. It should also be noted that, as increases, the difference between our method and baselines in terms of CVaR decreases, while for the mean loss it increases. This can be explained by recalling the special cases discussed in Section 4. As approaches 1, the CVaR tends towards the mean loss, such that the predictions produced by our pipeline approach the ones that
A PREPRINT
minimize the worst-case mean loss. As a result, the advantage of our method in terms of mean loss increases, while it diminishes in terms of CVaR.
G.5.2 Brier-loss
Besides the log-loss, we also evaluate our approach on another common proper scoring rule, the Brier-loss. This loss penalizes overconfident wrong predictions less extremely than the log-loss and is bounded. We provide results for the PathMNIST dataset in Figure 11. In addition, we provide results using the BloodMNIST dataset in Figure 12.

Figure 11: Risk-averse prediction under distribution shift with PathMNIST evaluated by Brier-loss.

Figure 12: Risk-averse prediction under distribution shift with BloodMNIST evaluated by Brier-loss.
Generally speaking, the results for the Brier-loss are less extreme due to its boundedness. Whereas for the log-loss a single overconfident error may cause a high loss, the Brier-loss never exceeds 2 and hence cannot blow up too much. Consequently, unlike for the log-loss, a growing distribution shift does not result in an exceedingly large gap between our method and the baselines.
A PREPRINT
G.5.3 Ablation on the effect of
Our relative-likelihood-based credal predictor involves the parameter , which determines the least plausible hypothesis — in terms of relative likelihood — that is accepted. Consequently, a larger results in smaller credal sets, and vice versa. To better understand the effect of , and the resulting interaction with our CVaR-minimax rule, on the performance in risk-averse prediction, we ablate it, considering the values . We perform the same experiment as before, using our rule in combination with the credal set — obtained from the respective -cut — induced by CreWare, and monitor the CVaR of the log-loss. Figures 13 and 14 show the results for the PathMNIST and BloodMNIST datasets, respectively.

Figure 13: Risk-averse prediction under distribution shift with PathMNIST using different -values.

Figure 14: Risk-averse prediction under distribution shift with BloodMNIST using different -values.
Our method, combining relative-likelihood-based credal prediction and a CVaR-minimax decision rule, admits a number of special cases, which Figures 13 and 14 illustrate well. As , it can be seen that the predictions of the pipeline tend toward the uniform prediction. This trivial prediction strategy performs well in terms of CVaR, but, obviously, sacrifices much in terms of mean loss. On the contrary, when , the resulting predictions reduce to the precise CVaR-optimal prediction based on the maximum likelihood estimate, which performs best in terms of mean loss on clean data, while attaining a higher CVaR. However, as the distribution shift becomes stronger, the predictions result in increasingly higher losses due to the MLE not being able to express its epistemic uncertainty.
A PREPRINT

few catastrophes,
but high mean cost
few catastrophes,
at low mean cost
sepsis sent home (20) sepsis as flu (14) healthy in ICU (8) healthy as flu (6) flu mistreated (4)
Figure 15: Cost-sensitive decision making. CreWare shows lower CVaR and avoids catastrophic decisions.
G.6 Cost-Sensitive Decision Making
We evaluate the complete pipeline in realistic decision making, where, unlike in standard benchmarks, the cost of wrong decisions are rarely symmetric. In such cost-sensitive settings, the decision maker selects an action from a finite set, evaluated by a cost matrix over the true outcomes. The rule (8) carries over directly, with the cost of an action in place of the prediction loss. We simulate a triage scenario where a patient is in one of three heath conditions (healthy, flu, sepsis). The decision maker chooses between sending home, treating for flu, and ICU admission. While appropriate care costs at most 2 and precautionary interventions 6–8, sending a septic patient home costs 20. The scenario is difficult for two reasons: some septic patients present with features resembling those of healthy patients, and septic patients are underrepresented in the training data. We compare our pipeline to the maximum likelihood estimate (MLE), SQwash and AdaCVaR, and two ablations by applying our decision rule to the MLE prediction and to credal sets of CreWra. The detailed setup is described in Appendix F.5.
Figure 15 shows the results. Our approach attains the lowest tail cost, reducing the CVaR of the MLE from 10.2 to 6.7 at a mean cost of 1.97 against the MLE's 1.63. The rule applied to the point estimate or to CreWra sets lowers the tail as well, but at roughly three times the mean cost, since nearly every patient is then admitted to the ICU. The mean cost decomposition in Figure 15 shows that the mean cost of the risk-neutral baseline is dominated by catastrophic decisions (e.g., septic patients sent home), something that is minimized by our approach. Our approach acts at prediction time, hence ambiguous cases are hedged by the tail-aware rule, and the underrepresented class by the width of the credal set.
Figure 16 varies the training set coverage of the septic cases from 0 to 120 cases. The MLE improves only as data accumulate, SQwash avoids catastrophes at any positive coverage but collapses onto the MLE's failure when no sepsis was observed. The point-estimate baselines hedge against worst-case outcomes as soon as some sepsis cases are represented in the data. Our approach is nearly flat throughout (CVaR 6.9 to 6.4): risk-averse training can only act on evidence in the data, whereas the credal set avoids catastrophic decisions also if evidence is missing.
Figure 17 contrasts two levels of epistemic uncertainty. With 6 subgroup sepsis cases (the main-text setting), the ordering of Figure 15 holds. With 30 cases the MLE recovers (CVaR 7.4), the ablations no longer retreat to blanket admission, and the arms converge (CreWra+rule 6.36, ours 6.49). The credal advantage is largest where evidence is scarcest and diminishes as evidence accumulates.
A PREPRINT

MLE AdaCVaR SQwash MLE + rule CreWra + rule


CreWare + rule [ours]
Figure 16: Ablation over the training coverage of the underrepresented subgroup ( , 10 seeds): our approach is nearly invariant to the missing data, while SQwash's protection collapses at 0%. Shaded bands show the standard deviation of the mean over ten seeds.

(a) high epistemic uncertainty (6 sepsis cases)

(b) less epistemic uncertainty (30 sepsis cases)
Figure 17: The comparison at high (6 subgroup sepsis cases, a) and lower (30 cases, b) epistemic uncertainty: the credal advantage narrows as evidence accumulates.
A PREPRINT
G.7 Risk-Averse Reinforcement Learning
Figure 18 repeats the experiment of Section 5.4 on a larger map, a grid with 8126 free cells, an eight-directional car (diagonal moves are allowed unless they cut the corner of an obstacle), and two irregularly shaped obstacles with a pass between them. The pass is sealed by a hazard belt twelve rows deep (329 hazard cells) with crash probability per cell, so that the direct route, 91 steps through twelve hazard cells, crashes with probability , while the shortest safe detour, around the left obstacle, takes 136 steps. With , , and , the shortcut attains an expected return of 169.4 against 164 for the detour. Safe cells are observed times, which keeps the worst-case crash probability of the detour at 0.025. The hazard observations are . Apart from the single observation , they cover approximately the same range of expected observed crashes per cell, , as on the small map. The route cap is , and the results are over 30 seeds with 1000 episodes each. All other settings are as in Appendix F.6.
The picture is the same as on the small map. MLE takes the shortcut at every and crashes in of the episodes. MLE + rule does the same up to , begins to detour at , where it still crosses the hazard in of the seeds, and is safe only from on, once enough crashes have been observed. Credal + rule commits to the detour from the first observation on, with a crash rate at every .
A) Evaluation across hazard-observation levels

B) Illustration and interpretation at three EU levels

Figure 18: Offline driving task on the larger map: mean reward, CVaR reward, and crash rate vs. the number of hazard observations k (left), with route snapshots at three values of k (right) representing levels of epistemic uncertainty. Credal + rule (ours) is the only agent safe at every uncertainty level (robust to unobserved danger via the credal set and to known tail risk via CVaR), while MLE always takes the shortcut and the point-estimate risk-averse ablation MLE + rule drives into the hazard while it is under-observed.