Home | News

12.11.2026

Teaser image to One Toolbox for Many Kinds of Uncertainty

One Toolbox for Many Kinds of Uncertainty

MCML Research Insight – With Paul Hofman, Clemens Damke, Timo Löhr, Santo Thies, Alireza Javanmardi, Valentin Margraf, Yusuf Sale, Eyke Hüllermeier, and Maximilian Muschalik

Most machine learning models return a prediction but say little about what they don’t know. The Python package probly turns existing models into uncertainty-aware ones and brings many ways of representing, measuring, and evaluating uncertainty into one toolbox.


 Key Insight


Uncertainty methods are hard to use and compare when each lives in its own framework, with its own representation and its own evaluation. probly brings them together in one modular, framework-agnostic toolbox.


Understanding the Landscape

A machine learning model always produces a prediction. Whether that prediction deserves trust is a different question. It matters most when models leave controlled benchmarks and meet ambiguous, unfamiliar, or changing data.

Researchers have developed many ways to represent and measure this uncertainty. In practice, however, using them often means switching libraries, rebuilding models for a specific framework, and reconciling incompatible evaluation protocols.

MCML Junior Members Paul Hofman, Clemens Damke, Timo Löhr, Santo Thies, Alireza Javanmardi, Valentin Margraf, and Yusuf Sale, MCML Postdoc Maximilian Muschalik, MCML PI Eyke Hüllermeier, and collaborator Jakub Paplhám (Czech Technical University in Prague) tackle this problem with probly: Uncertainty-Aware Machine Learning. The paper introduces an open-source Python package that unifies these approaches in one modular framework and uses it to benchmark around 20 uncertainty methods side by side. It has been accepted as an oral presentation at NeurIPS 2026.


 Big Question


How can we compare approaches to uncertainty fairly when their methods, representations, and evaluation procedures all differ?


Why It Matters

Imagine an image classifier shown a photo of a dog. One model answers “dog” with 95% confidence. Another hesitates between “dog” (62%) and “fox” (29%), as in Figure 1. Both return the same label, but they carry very different information. Uncertainty tells us whether to trust a prediction, collect more data, or hand the decision to a human.

Uncertainty also comes in different kinds. Some of it lies in the data itself: a blurry photo can be genuinely ambiguous, and no amount of training will resolve that (aleatoric uncertainty). Some of it reflects the model’s limited knowledge, for example when an input looks nothing like the training data (epistemic uncertainty).

A dog photo, its predicted probabilities for dog, fox and cat, and the same prediction as a point on the probability simplex

Figure 1: A probabilistic model does not just output a label; it predicts a distribution over possible outcomes.

Importantly, methods also differ in how they represent uncertainty, and the representation decides what a method can express. A single predicted label carries no uncertainty at all. A set of plausible labels, as in conformal prediction, or a single probability distribution can express ambiguity. Only second-order representations can also express what the model does not know, and so separate aleatoric from epistemic uncertainty. These include samples of distributions, a distribution over distributions, and a set of plausible distributions (a credal set). Figure 2 shows these options side by side.

Six ways to represent uncertainty, from a single outcome to a set of probability distributions, for classification and regression

Figure 2: Figure 2: Uncertainty can be represented in different ways, from a single predicted outcome to sets of probability distributions.

Representations are therefore more than an implementation detail. They are a precise mathematical language for what a method can and cannot do, and probly is organized around them.

Until now, these approaches were scattered across separate code bases, each tied to one framework and usually to one representation. No existing library supported credal sets at all. Evaluation practices differed too, so results were hard to compare across papers.


 Core Idea


probly gives uncertainty methods a common language: each method produces one of a few mathematically well-defined representations, and a modular workflow builds on them across machine learning frameworks.


One Framework, Many Approaches

probly is organized around a four-stage workflow (Figure 3):

  1. Transform: Turn any existing model into an uncertainty-aware one, for example by adding dropout, building an ensemble, or adding post-hoc calibration. The model stays in its own framework.
  2. Represent: Extract the model’s uncertainty in a suitable form, such as a distribution, a credal set, or a prediction set.
  3. Quantify and decide: Measure total uncertainty, split it into aleatoric and epistemic parts where possible, and turn it into a decision such as a label, an abstention, or a set of candidate labels.
  4. Evaluate: Test whether the uncertainty is actually useful for a given task.
The four probly stages: transform, represent, quantify and decide, evaluate

Figure 3: probly enables a composable four-stage workflow.

Representations are the backbone. Every method in probly produces one of a small set of well-defined representation types: categorical or Gaussian distributions, conformal prediction sets, samples, Dirichlet distributions, or one of several kinds of credal sets. Every later stage works on these types. A method’s representation therefore tells you directly what it supports: whether its uncertainty can be split into aleatoric and epistemic parts, which measures and decision rules apply, and which evaluations make sense. Methods that produce the same representation can be swapped and compared one-to-one. The representations also behave like ordinary NumPy or PyTorch arrays, so whole batches of distributions or credal sets are handled like any other array.

Your model stays your model. A transformation does not rewrite the model in a new modeling language. A PyTorch model stays a PyTorch model, and a scikit-learn model stays a scikit-learn model. probly records the added capabilities without wrapping the model in a class of its own, so custom methods keep working and the model still trains in your own training loop. Practitioners keep the tools and pipelines of their own domain; probly does not dictate how models are built or trained. Most other uncertainty libraries instead require expressing the model inside their own framework, for example as a custom training module.


 Key Finding


No uncertainty method wins everywhere. Which approach works best depends on the task, and simple baselines are often hard to beat.


Putting Uncertainty Methods to the Test

Using probly, the researchers compared around 20 uncertainty estimation methods across several machine learning tasks. The results challenge some common assumptions: ensemble-based approaches performed particularly well in identifying unreliable predictions and unfamiliar data, while popular evidential methods showed weaker results. In active learning, where models select which data should be labeled next, even sophisticated uncertainty methods often failed to outperform simple baselines.

The team also tested how well these methods capture ambiguity in data, using datasets where multiple people labeled the same examples. Such evaluations offer a more direct way to assess whether a model’s uncertainty estimates reflect genuine disagreement or ambiguity. probly includes eleven datasets designed for this purpose.


 Takeaway


probly offers a common foundation for applying and extending uncertainty methods, and for comparing them with each other and with task-specific baselines across models, tasks, and machine learning ecosystems.


Beyond Standard Classification

The paper also demonstrates probly in four less standard settings: For large language models, it measures uncertainty by comparing multiple answers while significantly reducing computation time. For graph neural networks, it helps identify uncertain regions where errors are more likely. In streaming data, it tracks how uncertainty changes as models adapt to new information. And by integrating with libraries such as river and torch-uncertainty, probly supports a wide range of existing workflows.

These case studies show the framework’s flexibility rather than treating each application exhaustively. The authors see probly as a living code base and invite contributions of new methods, representations, and evaluation protocols.


Further Reading & Reference

Want to try it? probly is open source on GitHub. The paper, which describes the package design, the full benchmark, and all case studies, has its own NeurIPS 2026 page with the oral and poster sessions.

A* Conference
P. Hofman • C. Damke • T. Löhr • S. M. A. R. Thies • A. Javanmardi • V. Margraf • J. Paplhám • Y. Sale • E. Hüllermeier • M. Muschalik
probly: Uncertainty-Aware Machine Learning.
NeurIPS 2026 - 40th Conference on Neural Information Processing Systems. Sydney, Australia, Dec 06-12, 2026. Oral Presentation. To be published. URL GitHub

Share Your Research!


Get in touch with us!

Are you an MCML Junior Member and interested in showcasing your research on our blog?

We’re happy to feature your work. Get in touch with us to present your paper.

#blog #research #huellermeier

Related

Link to Outstanding Paper Award at EMNLP 2026 for Work on Accent Bias in Audio Language Models

09.11.2026

Outstanding Paper Award at EMNLP 2026 for Work on Accent Bias in Audio Language Models

A paper co-authored by MCML PI Valentin Hofmann on accent bias in audio language models won an Outstanding Paper Award at EMNLP 2026.

Read more
Link to Best Thesis Award for Sohir Maskey

06.11.2026

Best Thesis Award for Sohir Maskey

Former MCML Junior Member Sohir Maskey received the Best Thesis Award of the DFG Priority Programme 2298 for his PhD on graph neural networks.

Read more
Tiny logo
Link to MCML at CIKM 2026

06.11.2026

MCML at CIKM 2026

MCML researchers are represented with 1 paper at CIKM 2026.

Read more
Link to Gitta Kutyniok Elected Member of acatech

02.11.2026

Gitta Kutyniok Elected Member of acatech

MCML PI Gitta Kutyniok has been elected a member of acatech, the German National Academy of Science and Engineering.

Read more
Tiny logo
Link to MCML at ACM SIGSPATIAL 2026

02.11.2026

MCML at ACM SIGSPATIAL 2026

MCML researchers are represented with 1 paper at ACM SIGSPATIAL 2026.

Read more
Back to Top