arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.10406cs.LGcs.AIcs.CV
收藏

变分分类

Variational Classification

ETH Zurich(苏黎世联邦理工学院)

Shehzaad Dhuliawala, Mrinmaya Sachan, Carl Allen

AI总结:

提出用于分类的潜在变量模型,通过泛化交叉熵的变分目标重塑潜在空间,在保持准确率的同时提升校准、鲁棒性和样本效率。

摘要:

我们提出了一种用于分类的潜在变量模型,为神经网络 softmax 分类器提供了新的概率解释。我们推导出训练该模型的变分目标,类似于训练变分自编码器的证据下界(ELBO),它泛化了 softmax 交叉熵损失。将 softmax 层的输入视为潜在变量的样本,我们的抽象视角揭示了其准确预测标签所需的预期分布与实践中发现的经验分布之间潜在的不一致性。我们增强变分目标以缓解这种不一致性,并引入选定的潜在分布,而非标准 softmax 层中的隐式假设。总体而言,我们对广泛使用的 softmax 分类器的内部机制提供了新的理论见解。在图像和文本分类数据集上的经验评估表明,我们提出的方法 variational classification 保持了分类准确率,同时重塑的潜在空间改善了分类器的其他理想属性,如校准、对抗鲁棒性、对分布偏移的鲁棒性以及在低数据设置中有用的样本效率。

英文摘要:

We present a latent variable model for classification that provides a novel probabilistic interpretation of neural network softmax classifiers. We derive a variational objective to train the model, analogous to the evidence lower bound (ELBO) used to train variational auto-encoders, that generalises the softmax cross-entropy loss. Treating inputs to the softmax layer as samples of a latent variable, our abstracted perspective reveals a potential inconsistency between their anticipated distribution, required for accurate label predictions, and their empirical distribution found in practice. We augment the variational objective to mitigate such inconsistency and induce a chosen latent distribution, instead of the implicit assumption found in a standard softmax layer. Overall, we provide new theoretical insight into the inner workings of widely-used softmax classifiers. Empirical evaluation on image and text classification datasets demonstrates that our proposed approach, variational classification, maintains classification accuracy while the reshaped latent space improves other desirable properties of a classifier, such as calibration, adversarial robustness, robustness to distribution shift and sample efficiency useful in low data settings.

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

↑