arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2309.13482cs.LGstat.ML
收藏

ResNet与Softmax的统一方案

A Unified Scheme of ResNet and Softmax

Adobe Research(Adobe研究院);Johns Hopkins University(约翰斯·霍普金斯大学);Boston University(波士顿大学)

Zhao Song, Weixin Wang, Junze Yin

AI总结:

本文首次提出将Softmax回归与ResNet结合的统一回归方案,推导其损失函数的梯度、Hessian及Lipschitz性质,证明Hessian半正定且可分解为低秩矩阵与对角矩阵之和,从而支持高效近似牛顿法,为过参数化神经网络的损失景观与优化提供新见解。

摘要:

大型语言模型(LLMs)已为人类社会带来重大变革。Softmax回归与残差神经网络(ResNet)是深度学习中的两项重要技术:它们不仅是支撑LLMs功能的重要理论组成部分,还与许多其他机器学习和理论计算机科学领域相关,包括但不限于图像分类、目标检测、语义分割以及张量。以往的研究工作分别研究这两个概念。在本文中,我们对如下回归问题进行了理论分析:$\\| \langle \exp(Ax) + A x , {\bf 1}_n \rangle^{-1} ( \exp(Ax) + Ax ) - b \\|_2^2$,其中$A$是$\mathbb{R}^{n \times d}$中的矩阵,$b$是$\mathbb{R}^n$中的向量,${\bf 1}_n$是$n$维全1向量。该回归问题是一个将softmax回归与ResNet相结合的统一方案,此前从未有人提出。我们推导了损失函数的梯度、Hessian矩阵及Lipschitz性质。证明了Hessian矩阵是半正定的,并将其结构刻画为一个低秩矩阵与一个对角矩阵之和。这使得高效的近似牛顿法成为可能。因此,这一统一方案有助于连接两个此前被认为不相关的领域,并为新兴的过参数化神经网络的损失景观与优化提供了新颖的见解,这对未来深度学习模型的研究具有重要意义。

英文摘要:

Large language models (LLMs) have brought significant changes to human society. Softmax regression and residual neural networks (ResNet) are two important techniques in deep learning: they not only serve as significant theoretical components supporting the functionality of LLMs but also are related to many other machine learning and theoretical computer science fields, including but not limited to image classification, object detection, semantic segmentation, and tensors. Previous research works studied these two concepts separately. In this paper, we provide a theoretical analysis of the regression problem: $\| \langle \exp(Ax) + A x , {\bf 1}_n \rangle^{-1} ( \exp(Ax) + Ax ) - b \|_2^2$, where $A$ is a matrix in $\mathbb{R}^{n \times d}$, $b$ is a vector in $\mathbb{R}^n$, and ${\bf 1}_n$ is the $n$-dimensional vector whose entries are all $1$. This regression problem is a unified scheme that combines softmax regression and ResNet, which has never been done before. We derive the gradient, Hessian, and Lipschitz properties of the loss function. The Hessian is shown to be positive semidefinite, and its structure is characterized as the sum of a low-rank matrix and a diagonal matrix. This enables an efficient approximate Newton method. As a result, this unified scheme helps to connect two previously thought unrelated fields and provides novel insight into loss landscape and optimization for emerging over-parameterized neural networks, which is meaningful for future research in deep learning models.

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

↑