arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13693cs.LGcs.AIstat.ML
收藏

一次性校准:联合学习准确且校准良好的神经网络

Calibration in One Go: Jointly Learning Accurate and Calibrated Neural Networks

Saarland University(萨尔大学);Universidad Carlos III de Madrid(马德里卡洛斯三世大学)

Nektarios Kalampalikis, Pablo M. Olmos, Isabel Valera

AI总结:

本文提出通过双层Stackelberg公式将标准校准器与神经网络骨干端到端联合训练,以实现准确且校准良好的模型,该方法复杂度低、性能优于SOTA校准器,可避免单独校准组件的开销。

摘要:

神经网络(NNs)虽具有高度灵活性和通用性,但往往校准效果不佳。事后校准方法会使用单独的校准数据集和额外的校准参数调整已训练模型的输出,该过程会增加开销,需要单独优化校准器并进行后续模型选择。本文中,我们表明标准(事后)校准器可通过双层Stackelberg公式与骨干网络进行端到端训练,该公式无需单独的校准集或专用校准损失,通过使用交叉熵联合优化准确性和校准,仅引入一个额外超参数:校准器学习率。尽管我们的框架支持从温度缩放、矩阵缩放到神经网络层的各类校准器,但结果显示,将最终分类层本身用作校准器可得到准确、校准良好且无额外参数的模型。我们的方法在复杂度增加极小的情况下优于SOTA校准器,同时在多任务学习等场景中避免了单独校准组件的乘法开销。

英文摘要:

Neural networks (NNs), while highly flexible and versatile, are often poorly calibrated. Post-hoc calibration methods adjust the outputs of an already trained model using a separate calibration dataset and additional calibration parameters. This process adds overhead that requires separate optimization of the calibrator and subsequent model selection. In this paper, we show that standard (post-hoc) calibrators can be trained end-to-end with the backbone via a bilevel Stackelberg formulation. This formulation eliminates the need for a separate calibration set or a dedicated calibration loss by jointly optimizing accuracy and calibration using cross-entropy, introducing only one additional hyperparameter: the calibrator learning rate. Although our framework supports calibrators ranging from temperature and matrix scaling to NN layers, our results show that using the final classification layer itself as the calibrator yields accurate, well-calibrated models with no additional parameters. Our approach outperforms SOTA calibrators with minimal added complexity, while also avoiding the multiplicative overhead of separate calibration components in settings such as multi-task learning.

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

↑