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

分类中深层神经网络的损失函数

On Loss Functions for Deep Neural Networks in Classification

Jagiellonian University(雅盖隆大学);DeepMind

Katarzyna Janocha, Wojciech Marian Czarnecki

摘要:

深度神经网络是目前最常用的分类器之一。尽管很容易实现非常好的性能,这些模型的最佳卖点之一是它们的模块化设计-人们可以方便地使其架构适应特定需求,更改连接模式,附加专门的层,试验大量的激活函数,规范化方案和许多其他。虽然人们可以发现深度网络的几乎每个方面的各种配置都令人印象深刻,但在作者看来,其中一个元素是代表性不足的-在解决分类问题时,绝大多数论文和应用程序只是简单地使用日志丢失。在本文中,我们试图研究损失函数的特定选择如何影响深度模型及其学习动态,以及由此产生的分类器对各种影响的鲁棒性。我们在经典数据集上进行了实验,并对这个问题提供了一些额外的理论见解。特别是,我们发现,L1和L2损失,相当令人惊讶的是,合理的分类目标的深度网络,通过提供概率解释的预期误分类。我们还介绍了两个损失,通常不被用作深网的目标,并表明他们是可行的替代现有的。

英文摘要:

Deep neural networks are currently among the most commonly used classifiers. Despite easily achieving very good performance, one of the best selling points of these models is their modular design - one can conveniently adapt their architecture to specific needs, change connectivity patterns, attach specialised layers, experiment with a large amount of activation functions, normalisation schemes and many others. While one can find impressively wide spread of various configurations of almost every aspect of the deep nets, one element is, in authors' opinion, underrepresented - while solving classification problems, vast majority of papers and applications simply use log loss. In this paper we try to investigate how particular choices of loss functions affect deep models and their learning dynamics, as well as resulting classifiers robustness to various effects. We perform experiments on classical datasets, as well as provide some additional, theoretical insights into the problem. In particular we show that L1 and L2 losses are, quite surprisingly, justified classification objectives for deep nets, by providing probabilistic interpretation in terms of expected misclassification. We also introduce two losses which are not typically used as deep nets objectives and show that they are viable alternatives to the existing ones.

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

↑