arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.03702stat.MLcs.LG
收藏

类式和简化校准方法

Class-wise and reduced calibration methods

appliedAI Institute gGmbH(应用人工智能研究所(非营利有限责任公司));appliedAI Initiative GmbH(应用人工智能倡议有限公司)

Michael Panchenko, Anes Benmerzoug, Miguel de Benito Delgado

摘要:

对于概率分类器的许多应用,重要的是预测的置信度向量反映真实的概率(一种说法是分类器被校准)。它已被证明,常见的模型不能满足这一属性,使可靠的方法来测量和改进校准的重要工具。不幸的是,对于有许多类的问题来说,获得这些值并不容易。我们提出了两种技术,可以串联使用。首先,简化的校准方法将原始问题转化为更简单的问题。我们证明了几个概念的校准,解决减少的问题,最大限度地减少了相应的概念,在完整的问题中的误校准,允许使用非参数重新校准方法,在更高的维度失败。其次,我们提出了类的校准方法,基于直觉建立在一种称为神经崩溃的现象和观察,即在实践中发现的大多数准确的分类器可以被认为是K个不同函数的联合,这些函数可以单独重新校准,每个类一个。这些方法通常优于非类的方法,特别是对于在不平衡数据集上训练的分类器。将这两种方法结合起来,得到了类间简化校准算法,这是减少预测和每类校准误差的有力工具。我们在真实和合成数据集上演示了我们的方法,并在https://github.com/appliedAI-Initiative上以开源形式发布了所有代码。

英文摘要:

For many applications of probabilistic classifiers it is important that the predicted confidence vectors reflect true probabilities (one says that the classifier is calibrated). It has been shown that common models fail to satisfy this property, making reliable methods for measuring and improving calibration important tools. Unfortunately, obtaining these is far from trivial for problems with many classes. We propose two techniques that can be used in tandem. First, a reduced calibration method transforms the original problem into a simpler one. We prove for several notions of calibration that solving the reduced problem minimizes the corresponding notion of miscalibration in the full problem, allowing the use of non-parametric recalibration methods that fail in higher dimensions. Second, we propose class-wise calibration methods, based on intuition building on a phenomenon called neural collapse and the observation that most of the accurate classifiers found in practice can be thought of as a union of K different functions which can be recalibrated separately, one for each class. These typically out-perform their non class-wise counterparts, especially for classifiers trained on imbalanced data sets. Applying the two methods together results in class-wise reduced calibration algorithms, which are powerful tools for reducing the prediction and per-class calibration errors. We demonstrate our methods on real and synthetic datasets and release all code as open source at https://github.com/appliedAI-Initiative

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑