arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1611.05916cs.CV
收藏

基于距离损失的深度神经网络训练算法

Squared Earth Mover's Distance-based Loss for Training Deep Neural Networks

Stony Brook University(石溪大学);Harvard University(哈佛大学)

Le Hou, Chen-Ping Yu, Dimitris Samaras

摘要:

在单标签分类的背景下,尽管深度学习取得了巨大的成功,但常用的交叉熵损失函数忽略了年龄分类等现实任务中经常存在的错综复杂的类间关系。在这项工作中,我们建议通过使用精确的平方地球移动器距离(也称为Wasserstein距离)训练深度网络来利用类别之间的这些关系进行单标签分类。平方EMD损失使用所有类别的预测概率,并根据量化类别之间的差异的地面距离矩阵来惩罚错误预测。我们证明,在具有强类间关系(如类间排序)的数据集上,我们的精确平方EMD损失会产生新的最先进的结果。此外,我们提出了一种方法,在训练过程中使用CNN自己的特征自动学习这个矩阵。我们表明,我们的方法可以有效地学习地面距离矩阵,没有类间关系的先验知识,并产生相同的性能增益。最后,我们表明,我们的方法可以推广到应用程序,缺乏强大的类间关系,仍然保持最先进的性能。因此,在有限的计算开销下,人们总是可以在传统的交叉熵上在任何数据集上部署所提出的损失函数。

英文摘要:

In the context of single-label classification, despite the huge success of deep learning, the commonly used cross-entropy loss function ignores the intricate inter-class relationships that often exist in real-life tasks such as age classification. In this work, we propose to leverage these relationships between classes by training deep nets with the exact squared Earth Mover's Distance (also known as Wasserstein distance) for single-label classification. The squared EMD loss uses the predicted probabilities of all classes and penalizes the miss-predictions according to a ground distance matrix that quantifies the dissimilarities between classes. We demonstrate that on datasets with strong inter-class relationships such as an ordering between classes, our exact squared EMD losses yield new state-of-the-art results. Furthermore, we propose a method to automatically learn this matrix using the CNN's own features during training. We show that our method can learn a ground distance matrix efficiently with no inter-class relationship priors and yield the same performance gain. Finally, we show that our method can be generalized to applications that lack strong inter-class relationships and still maintain state-of-the-art performance. Therefore, with limited computational overhead, one can always deploy the proposed loss function on any dataset over the conventional cross-entropy.

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

↑