通过CKA的超球能量最小化提升贝叶斯深度学习的多样性
Enhancing Diversity in Bayesian Deep Learning via Hyperspherical Energy Minimization of CKA
AI总结:
针对贝叶斯深度学习中朴素相似性度量的缺陷,提出基于CKA特征核结合超球能量的优化方法,解决梯度消失问题并提升训练稳定性,在离群检测的不确定性量化任务上效果优于基线。
摘要:
基于粒子的贝叶斯深度学习通常需要一种相似性度量来比较两个网络。然而,朴素的相似性度量缺乏排列不变性,不适用于网络比较。针对特征核的中心化核对齐(Centered Kernel Alignment,CKA)已被提出用于深度网络比较,但尚未被用作贝叶斯深度学习中的优化目标。本文探索了CKA在贝叶斯深度学习中的应用,用于生成多样化集成模型以及输出网络后验的超网络。我们注意到CKA将核投影到单位超球面上,且当两个网络非常相似时,直接优化CKA目标会导致梯度消失。我们提出在CKA核的基础上采用超球能量(hyperspherical energy,HE)方法来解决这一缺陷并提升训练稳定性。此外,通过利用基于CKA的特征核,我们推导了应用于合成生成的离群样本的特征排斥项。在多样化集成模型和超网络上的实验表明,在合成与真实离群检测任务的不确定性量化方面,我们的方法显著优于基线方法。
英文摘要:
Particle-based Bayesian deep learning often requires a similarity metric to compare two networks. However, naive similarity metrics lack permutation invariance and are inappropriate for comparing networks. Centered Kernel Alignment (CKA) on feature kernels has been proposed to compare deep networks but has not been used as an optimization objective in Bayesian deep learning. In this paper, we explore the use of CKA in Bayesian deep learning to generate diverse ensembles and hypernetworks that output a network posterior. Noting that CKA projects kernels onto a unit hypersphere and that directly optimizing the CKA objective leads to diminishing gradients when two networks are very similar. We propose adopting the approach of hyperspherical energy (HE) on top of CKA kernels to address this drawback and improve training stability. Additionally, by leveraging CKA-based feature kernels, we derive feature repulsive terms applied to synthetically generated outlier examples. Experiments on both diverse ensembles and hypernetworks show that our approach significantly outperforms baselines in terms of uncertainty quantification in both synthetic and realistic outlier detection tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。