arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.01196cs.LGstat.ML
收藏

解耦特征提取层与分类层以实现校准的神经网络

Decoupling Feature Extraction and Classification Layers for Calibrated Neural Networks

Technical University of Denmark(丹麦技术大学);Universidad Carlos III de Madrid(马德里卡洛斯三世大学)

Mikkel Jordahn, Pablo M. Olmos

AI总结:

本文提出通过解耦特征提取层与分类层的训练,并在分类阶段引入高斯先验和变分训练,在保持准确率的同时显著改善过度参数化深度神经网络的校准性能。

摘要:

深度神经网络(DNN)在许多分类应用中展现出巨大潜力,但众所周知,当它们被过度参数化时,其预测校准效果较差。在不牺牲模型准确率的前提下改善DNN校准,对于医疗保健等安全关键应用具有极其重要的意义和关注价值。在本工作中,我们表明,在诸如宽残差网络(WRN)和视觉Transformer(ViT)等过度参数化的DNN架构中,解耦特征提取层和分类层的训练能够显著改善模型校准,同时保持准确率,并且训练成本较低。此外,我们还表明,在DNN最后一个隐藏层输出上放置高斯先验,并在分类训练阶段对模型进行变分训练,可以进一步改善校准。我们展示了这些方法在多个图像分类基准数据集上,在ViT和WRN架构中均能改善校准。

英文摘要:

Deep Neural Networks (DNN) have shown great promise in many classification applications, yet are widely known to have poorly calibrated predictions when they are over-parametrized. Improving DNN calibration without comprising on model accuracy is of extreme importance and interest in safety critical applications such as in the health-care sector. In this work, we show that decoupling the training of feature extraction layers and classification layers in over-parametrized DNN architectures such as Wide Residual Networks (WRN) and Visual Transformers (ViT) significantly improves model calibration whilst retaining accuracy, and at a low training cost. In addition, we show that placing a Gaussian prior on the last hidden layer outputs of a DNN, and training the model variationally in the classification training stage, even further improves calibration. We illustrate these methods improve calibration across ViT and WRN architectures for several image classification benchmark datasets.

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

↑