arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.13709cs.CVcs.LG
收藏

通过最小熵和K-L散度正则化交叉熵损失

Regularizing cross entropy loss via minimum entropy and K-L divergence

Abdulrahman Oladipupo Ibraheem

AI总结:

提出两种基于最小熵和K-L散度正则化的交叉熵损失函数,在EMNIST-Letters上使VGG模型准确率提升至95.933%,跃居排行榜第二。

摘要:

我提出了两种用于深度学习分类的新型损失函数。这两种损失函数通过加入最小熵和Kullback-Leibler(K-L)散度项对标准交叉熵损失进行正则化扩展。第一种新型损失函数称为混合熵损失(简称MIX-ENT),第二种称为最小熵正则化交叉熵损失(简称MIN-ENT)。MIX-ENT函数引入了一个正则化项,可以证明其等价于最小熵项与K-L散度项之和。但需注意,这里的K-L散度项与标准交叉熵损失中的不同,因为它交换了目标概率和假设概率的角色。MIN-ENT函数则简单地将最小熵正则化项添加到标准交叉熵损失函数中。在MIX-ENT和MIN-ENT中,最小熵正则化项都会最小化神经网络输出的假设概率分布的熵。在EMNIST-Letters数据集上的实验表明,我对MIX-ENT和MIN-ENT的实现使VGG模型在paperswithcode排行榜上从之前的第3位攀升至第2位,超越了Spinal-VGG模型。具体而言,使用标准交叉熵时,VGG达到95.86%的准确率,Spinal-VGG达到95.88%;而使用VGG(非Spinal-VGG)时,我们的MIN-ENT达到95.933%,MIX-ENT达到95.927%的准确率。MIX-ENT和MIN-ENT的预训练模型位于https://github.com/rahmanoladi/minimum entropy project。

英文摘要:

I introduce two novel loss functions for classification in deep learning. The two loss functions extend standard cross entropy loss by regularizing it with minimum entropy and Kullback-Leibler (K-L) divergence terms. The first of the two novel loss functions is termed mixed entropy loss (MIX-ENT for short), while the second one is termed minimum entropy regularized cross-entropy loss (MIN-ENT for short). The MIX-ENT function introduces a regularizer that can be shown to be equivalent to the sum of a minimum entropy term and a K-L divergence term. However, it should be noted that the K-L divergence term here is different from that in the standard cross-entropy loss function, in the sense that it swaps the roles of the target probability and the hypothesis probability. The MIN-ENT function simply adds a minimum entropy regularizer to the standard cross entropy loss function. In both MIX-ENT and MIN-ENT, the minimum entropy regularizer minimizes the entropy of the hypothesis probability distribution which is output by the neural network. Experiments on the EMNIST-Letters dataset shows that my implementation of MIX-ENT and MIN-ENT lets the VGG model climb from its previous 3rd position on the paperswithcode leaderboard to reach the 2nd position on the leaderboard, outperforming the Spinal-VGG model in so doing. Specifically, using standard cross-entropy, VGG achieves 95.86% while Spinal-VGG achieves 95.88% classification accuracies, whereas using VGG (without Spinal-VGG) our MIN-ENT achieved 95.933%, while our MIX-ENT achieved 95.927% accuracies. The pre-trained models for both MIX-ENT and MIN-ENT are at https://github.com/rahmanoladi/minimum entropy project.

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

↑