probly:统一框架下的不确定性感知机器学习Python包
probly: Uncertainty-Aware Machine Learning
probly是一个模块化Python包,可将现有模型转为不确定性感知模型,目前支持PyTorch、scikit-learn和Flax。它整合了二阶分布、credal sets与保形预测等表示方法及对应量化度量,并在选择性预测、分布外检测和主动学习三项标准任务上开展基准测试,还评估了目标本身为分布的一阶数据方法。
arXiv:2611.29762v1 Announce Type: new 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org