基于交叉熵损失函数的类的可分性
On the Separability of Classes with the Cross-Entropy Loss Function
摘要:
在本文中,我们专注于分类问题的交叉熵损失函数的类的可分性,通过理论分析的类内距离和类间距离(即任何两个点之间的距离属于同一类和不同类,分别)在特征空间,即空间的表示学习的神经网络。具体来说,我们考虑一个任意的网络架构,它具有一个完全连接的最终层,使用Softmax激活并使用交叉熵损失进行训练。我们推导了网络依赖矩阵与随机类内和类间距离向量乘积的平方L2范数的值和分布的表达式(即,属于同一类和不同类的任何两个点之间的向量),分别在学习的特征空间(或原始数据的变换),作为交叉熵损失值的函数。我们的分析的主要结果是推导出的概率的下限,其中类间距离大于类内距离在这个特征空间中,作为损失值的函数。我们这样做是通过利用一些经验统计观察与温和的假设和健全的理论分析。根据直觉,类间距离大于类内距离的概率随着损失值的增加而减小,即当损失值较低时,类被更好地分离。据我们所知,这是第一个工作的理论性质,试图解释可分性的类学习的特征空间的神经网络训练的交叉熵损失函数。
英文摘要:
In this paper, we focus on the separability of classes with the cross-entropy loss function for classification problems by theoretically analyzing the intra-class distance and inter-class distance (i.e. the distance between any two points belonging to the same class and different classes, respectively) in the feature space, i.e. the space of representations learnt by neural networks. Specifically, we consider an arbitrary network architecture having a fully connected final layer with Softmax activation and trained using the cross-entropy loss. We derive expressions for the value and the distribution of the squared L2 norm of the product of a network dependent matrix and a random intra-class and inter-class distance vector (i.e. the vector between any two points belonging to the same class and different classes), respectively, in the learnt feature space (or the transformation of the original data) just before Softmax activation, as a function of the cross-entropy loss value. The main result of our analysis is the derivation of a lower bound for the probability with which the inter-class distance is more than the intra-class distance in this feature space, as a function of the loss value. We do so by leveraging some empirical statistical observations with mild assumptions and sound theoretical analysis. As per intuition, the probability with which the inter-class distance is more than the intra-class distance decreases as the loss value increases, i.e. the classes are better separated when the loss value is low. To the best of our knowledge, this is the first work of theoretical nature trying to explain the separability of classes in the feature space learnt by neural networks trained with the cross-entropy loss function.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。