arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1511.05042cs.NEcs.LGstat.ML
收藏

探索属于球形损耗族的Softmax替代方案

An Exploration of Softmax Alternatives Belonging to the Spherical Loss Family

MILA(蒙特利尔学习算法研究所);University of Montréal(蒙特利尔大学)

Alexandre de Brébisson, Pascal Vincent

摘要:

在多类分类问题中,将神经网络的输出建模为以输入为条件的分类分布是标准的。因此,输出必须是正的,并且总和为1,这通常由softmax强制执行。这种概率映射允许使用最大似然原理,这导致了众所周知的log-softmax损失。然而,softmax函数的选择似乎有些随意,因为有许多其他可能的归一化函数。因此,不清楚为什么log-softmax损失比其他损失替代方案表现更好。特别是Vincent等人(2015)最近引入了一类损失函数,称为球面族,对于球面族,存在一种有效的算法来计算输出权重的更新,而不管输出大小。在本文中,我们探讨了几个损失函数从这个家庭作为可能的替代传统的log-softmax。特别地,我们将研究重点放在log-softmax损失的球形边界和两个球形对数似然损失上,即Vincent等人提出的log-Spherical Softmax。(2015)和我们介绍的log-Taylor Softmax。虽然这些替代方案在两个语言建模任务上的效果不如log-softmax损失,但在我们对MNIST和CIFAR-10的实验中,它们的表现令人惊讶,这表明它们可能与广泛的应用相关。

英文摘要:

In a multi-class classification problem, it is standard to model the output of a neural network as a categorical distribution conditioned on the inputs. The output must therefore be positive and sum to one, which is traditionally enforced by a softmax. This probabilistic mapping allows to use the maximum likelihood principle, which leads to the well-known log-softmax loss. However the choice of the softmax function seems somehow arbitrary as there are many other possible normalizing functions. It is thus unclear why the log-softmax loss would perform better than other loss alternatives. In particular Vincent et al. (2015) recently introduced a class of loss functions, called the spherical family, for which there exists an efficient algorithm to compute the updates of the output weights irrespective of the output size. In this paper, we explore several loss functions from this family as possible alternatives to the traditional log-softmax. In particular, we focus our investigation on spherical bounds of the log-softmax loss and on two spherical log-likelihood losses, namely the log-Spherical Softmax suggested by Vincent et al. (2015) and the log-Taylor Softmax that we introduce. Although these alternatives do not yield as good results as the log-softmax loss on two language modeling tasks, they surprisingly outperform it in our experiments on MNIST and CIFAR-10, suggesting that they might be relevant in a broad range of applications.

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

↑