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

链连接和树连接空间的松弛地球移动器距离及其在深度学习中作为损失函数的使用

Relaxed Earth Mover's Distances for Chain- and Tree-connected Spaces and their use as a Loss Function in Deep Learning

Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);University of Toronto(多伦多大学)

Manuel Martinez, Monica Haurilet, Ziad Al-Halah, Makarand Tapaswi, Rainer Stiefelhagen

摘要:

地球移动器距离(EMD)计算将一个分布转换为另一个分布的最佳成本,给定它们之间的已知运输度量。在深度学习中,EMD损失允许我们在训练过程中嵌入关于输出空间结构的信息,如层次或语义关系。这有助于实现更好的输出平滑度和泛化。但是EMD的计算量很大,而且解决EMD优化问题通常需要复杂的技术,如套索。这些性质限制了基于EMD的方法在大规模机器学习中的适用性。在这项工作中,我们解决了将基于EMD的损失纳入深度学习框架所面临的困难。此外,我们还提供了关于如何在训练深度神经网络时集成这种损失函数的见解和新的解决方案。具体来说,我们做了三个主要贡献:(i)我们提供了最快的最先进的EMD算法(Sinkhorn距离)的深入分析,并讨论了它在深度学习场景中的局限性。(ii)我们得到快速和数值稳定的封闭形式的解决方案,在输出空间的EMD梯度与链和树连接;和(iii)我们提出了一个宽松的形式的EMD梯度具有相等的计算复杂性,但更快的收敛速度。我们支持我们的说法与真实数据集上的实验。在ImageNet数据集上的受限数据设置中,我们训练了一个模型,使用50 K图像对1000个类别进行分类,并证明了我们放松的EMD损失比交叉熵损失实现了更好的Top-1准确性。总的来说,我们表明,我们放松的EMD损失标准是小数据范围内深度学习的强大资产。

英文摘要:

The Earth Mover's Distance (EMD) computes the optimal cost of transforming one distribution into another, given a known transport metric between them. In deep learning, the EMD loss allows us to embed information during training about the output space structure like hierarchical or semantic relations. This helps in achieving better output smoothness and generalization. However EMD is computationally expensive.Moreover, solving EMD optimization problems usually require complex techniques like lasso. These properties limit the applicability of EMD-based approaches in large scale machine learning. We address in this work the difficulties facing incorporation of EMD-based loss in deep learning frameworks. Additionally, we provide insight and novel solutions on how to integrate such loss function in training deep neural networks. Specifically, we make three main contributions: (i) we provide an in-depth analysis of the fastest state-of-the-art EMD algorithm (Sinkhorn Distance) and discuss its limitations in deep learning scenarios. (ii) we derive fast and numerically stable closed-form solutions for the EMD gradient in output spaces with chain- and tree- connectivity; and (iii) we propose a relaxed form of the EMD gradient with equivalent computational complexity but faster convergence rate. We support our claims with experiments on real datasets. In a restricted data setting on the ImageNet dataset, we train a model to classify 1000 categories using 50K images, and demonstrate that our relaxed EMD loss achieves better Top-1 accuracy than the cross entropy loss. Overall, we show that our relaxed EMD loss criterion is a powerful asset for deep learning in the small data regime.

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

↑