arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.08958cs.LGcs.AI
收藏

关于在测试集上拟合视角评估分类器校准有用性的研究

On the Usefulness of the Fit-on-the-Test View on Evaluating Calibration of Classifiers

Institute of Computer Science, University of Tartu(塔尔图大学计算机科学研究所)

Markus Kängsepp, Kaspar Valk, Meelis Kull

AI总结:

本文提出“测试集上拟合”的校准评估视角,将ECE视为在测试数据上拟合函数,从而利用事后校准方法评估、交叉验证调箱数,并引入伪真实数据基准及PL和PL3校准映射族。

摘要:

每个未校准的分类器都有一个对应的真实校准映射,该映射可校准其置信度。这一理想映射与恒等映射之间的偏差揭示了失校准现象。此类校准误差可通过许多事后校准方法来减小,这些方法在验证数据集上拟合某一族校准映射。相比之下,在测试集上使用期望校准误差(ECE)评估校准并不显式涉及拟合。然而,正如我们所展示的,ECE仍可被视为在测试数据上拟合一族函数。这激发了评估中的“测试集上拟合”视角:首先,在测试数据上近似一个校准映射;其次,量化其与恒等映射的距离。利用这一视角使我们能够解锁被错过的机会:(1)使用大量事后校准方法进行校准评估;(2)通过交叉验证调整ECE中的分箱数量。此外,我们引入了:(3)在伪真实数据上进行基准测试,其中真实校准映射可以被非常精确地估计;(4)使用新的校准映射族PL和PL3的新颖校准与评估方法。

英文摘要:

Every uncalibrated classifier has a corresponding true calibration map that calibrates its confidence. Deviations of this idealistic map from the identity map reveal miscalibration. Such calibration errors can be reduced with many post-hoc calibration methods which fit some family of calibration maps on a validation dataset. In contrast, evaluation of calibration with the expected calibration error (ECE) on the test set does not explicitly involve fitting. However, as we demonstrate, ECE can still be viewed as if fitting a family of functions on the test data. This motivates the fit-on-the-test view on evaluation: first, approximate a calibration map on the test data, and second, quantify its distance from the identity. Exploiting this view allows us to unlock missed opportunities: (1) use the plethora of post-hoc calibration methods for evaluating calibration; (2) tune the number of bins in ECE with cross-validation. Furthermore, we introduce: (3) benchmarking on pseudo-real data where the true calibration map can be estimated very precisely; and (4) novel calibration and evaluation methods using new calibration map families PL and PL3.

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

↑