跳到正文
arXiv (Robotics + Hardware + Signal)· Omer Nezih Gerek·· 8 天前AI 评分8

交叉熵损失在末层呈锥形结构,而在整流骨干网络中缺失

Conic Structure of the Cross-Entropy Loss at the Final Layer and Its Absence in Rectifier Backbones

AI 导读

研究分析softmax交叉熵在分类器两个层级上的几何形态:在仿射末层权重上,损失等于多面体锥加一个沿每条射线单调指数递减的偏移,并给出闭式极限;渐近壁到达起点高度处的距离(核心半径)等于该方向偏好类别的平均惊奇度除以壁斜率。

正文 · 原文

arXiv:2611.20696v1 Announce Type: cross Abstract: Slices of the loss along lines and planes in parameter space are widely used to visualize deep networks. They often show a single basin with nearly straight walls, which raises the question of whether such a loss is a cone rounded at its apex, or a lower envelope of several cones that meet along creases. We answer this question for softmax cross-entropy at two levels of a classifier. Over the weights of an affine final layer, the loss equals a polyhedral cone plus an offset that decreases monotonically and exponentially along every ray, towards a limit in closed form. The distance at which the asymptotic wall reaches the height of the starting point, which we call the core radius, equals the mean surprisal of the classes that the direction favours, divided by the slope of the wall. Over the parameters of a rectifier backbone, the loss along a line has a kink wherever the activation pattern of a sample changes. Using the dimension theory of semialgebraic sets, we show that, along almost every line, the samples that switch at one point share an irreducible factor of their pre-activation polynomials. Under a coprimality condition, each kink therefore carries the share of one sample among $n$, so creases comparable to the slope do not form. Measurements on ResNet-18 and ResNet-56 trained on CIFAR-10 illustrate both results, with a test that bounds the size of any crease that sampled loss values can hide.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org