arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.14074stat.MLcs.LGmath.OCmath.PR
收藏

多类随机梯度下降的精确动力学

Exact Dynamics of Multi-class Stochastic Gradient Descent

Department of Mathematics(数学系);University of Oregon(俄勒冈大学);School of Mathematical Science and Computer Science(数学科学与计算机科学学院);Tel-Aviv University(特拉维夫大学)

Elizabeth Collins-Woodfin, Inbar Seroussi

AI总结:

研究多类随机梯度下降在高维问题中的学习动力学,通过确定性常微分方程组给出感兴趣量的精确表达式,研究数据各向异性对二元逻辑回归和最小二乘损失的影响,揭示结构相变等现象。

摘要:

我们开发了一个框架,用于分析使用单通道随机梯度下降(SGD)训练的高维问题的学习动力学,数据来自多个各向异性类别。我们的主要定理提供了感兴趣量的精确表达式,包括风险和与真实信号的重叠,用一个确定性常微分方程组表示,在高维极限下有效。该定理适用于广泛的优化问题,并扩展到类别数量随维度增长的设置。为说明其效用,我们详细研究了数据各向异性结构对二元逻辑回归和最小二乘(LS)损失问题的影响。在二元逻辑回归中,我们研究了三种情况:各向同性协方差、具有大部分零特征值的数据协方差矩阵(零一模型)和具有幂律谱的协方差矩阵。我们表明发生了结构相变。特别是,对于零一模型和具有足够大幂次的幂律模型,SGD与投影到“干净方向”(即方差较小方向)上的类别均值更紧密对齐。这得到了分析研究和数值模拟的支持,它们显示了高维极限下损失的精确渐近行为。我们展示的数据各向异性影响可能超出这些示例,并说明了我们证明的更广泛定理的一个应用。

英文摘要:

We develop a framework for analyzing the learning dynamics of high-dimensional problems trained using one-pass stochastic gradient descent (SGD) with data from multiple anisotropic classes. Our main theorem provides exact expressions for quantities of interest, including the risk and the overlap with the true signal, in terms of a deterministic system of ODEs, valid in the high-dimensional limit. The theorem holds for a broad class of optimization problems and extends to settings where the number of classes grows with dimension. To illustrate its utility, we investigate in detail the effect of the data's anisotropic structure on the problems of binary logistic regression and least-squares (LS) loss. We study the LS in a linear multiclass setup and derive a learning-rate threshold that depends on the average eigenvalue of the covariance matrices. In the binary logistic regression, we study three cases: isotropic covariances, data covariance matrices with a large fraction of zero eigenvalues (denoted as the zero-one model), and covariance matrices with power-law spectra. We show that a structural phase transition occurs. In particular, for the zero-one model and the power-law model with sufficiently large power, SGD aligns more closely with values of the class mean that are projected onto the ``clean directions'' (i.e., directions of smaller variance). This is supported by analytical studies and numerical simulations, which show the exact asymptotic behavior of the loss in the high-dimensional limit. The effects of data anisotropy that we demonstrate are likely to hold beyond these examples and illustrate one application of the broader theorem that we prove.

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

↑