cs.LGNov 22, 2026

probly: Uncertainty-Aware Machine Learning

Authors: Paul Hofman, Clemens Damke, Timo Löhr, Santo M. A. R. Thies, Alireza Javanmardi, Valentin Margraf, Jakub Paplham, Yusuf Sale, 

Organizations: LMU Munich · Munich Center for Machine Learning (MCML) · Czech Technical University in Prague · German Research Center for Artificial Intelligence (DFKI)

Abstract

As machine learning systems are increasingly deployed in real-world applications, the question of how to represent and quantify uncertainty has moved from a methodological side issue to a central concern. In practice, however, making a model uncertainty-aware is still surprisingly difficult: relevant tools tend to be scattered across libraries, each tied to a particular framework and a particular approach to modeling uncertainty, and the choice of representation, quantification, and evaluation is typically left to the user without much guidance. In this paper, we present probly, a Python package that addresses these issues in a single, modular framework. probly offers (i) lightweight transformations that turn existing models into uncertainty-aware ones, currently supporting PyTorch, scikit-learn, and Flax, (ii) several representations, including second-order distributions, credal sets, and conformal prediction, (iii) the corresponding quantification measures, and (iv) a number of evaluation protocols, which can be combined more or less arbitrarily. Using probly, we conduct a benchmark study on three standard tasks --- selective prediction, out-of-distribution detection, and active learning. In addition, and unlike existing benchmarks, we evaluate suitable methods on first-order data, i.e., datasets for which the target itself is a distribution over outcomes. We further illustrate the flexibility of the package on a number of less standard case studies, including large language models, graph neural networks, and data streams. The package is publicly available at https://github.com/pwhofman/probly.

Figures & tables

Explore similar work

CardsList
  1. A Robust Evaluation of Probe Robustness: Lessons for Reliable OOD Uncertainty Quantification

    Apr 13, 2026Joe Stacey, Hadas Orgad, Kentaro Inui +2LLM EvaluationUncertainty Quantification

  2. ProbabilityBench: Model Evaluation and Calibration with Exact Ground-Truth Uncertainty

    Oct 12, 2026Yuyang Dai, Yuting Tang, Futoshi Futami +1LLM Uncertainty EstimationProbability Calibration

  3. Reading Calibrated Uncertainty from Language Model Trajectories

    May 19, 2026Aliai Eusebi, Alexander Herzog, Xiaoyu Liang +3Confidence Estimation in Language ModelsLLM Reliability