arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.16658cs.LG
收藏

神经坍缩的扰动分析

Perturbation Analysis of Neural Collapse

Bar-Ilan University(巴伊兰大学);New York University(纽约大学)

Tom Tirer, Haoxiang Huang, Jonathan Niles-Weed

AI总结:

本文提出带预定义特征邻域约束的新模型,通过扰动分析研究神经坍缩,证明优化后类内变异性降低并揭示正则化超参数对坍缩接近程度的影响。

摘要:

训练用于分类的深度神经网络通常包括在超过零训练误差点之后继续最小化训练损失。在这一训练阶段,已观察到一种“神经坍缩”行为:类内样本特征(倒数第二层的输出)的变异性减小,不同类别的均值特征趋近于某种紧框架结构。近期工作通过理想化的无约束特征模型分析这一行为,其中所有极小值点都表现出精确坍缩。然而,在实际网络和数据集上,特征通常不会达到精确坍缩,例如因为深层网络无法任意修改远未坍缩的中间特征。在本文中,我们提出了一个更丰富的模型,通过强制特征保持在预定义特征矩阵(例如中间特征)的邻域内来捕捉这一现象。我们通过扰动分析在小邻域情形下探索该模型,并建立了先前研究的模型无法得到的结果。例如,我们证明了与预定义输入特征相比,优化后特征的类内变异性有所降低(通过在最小假设下分析“中心路径”上的梯度流),分析了近坍缩状态下的极小值点,并提供了关于正则化超参数对坍缩接近程度影响的见解。我们通过实际深度学习设置中的实验支持了我们的理论。

英文摘要:

Training deep neural networks for classification often includes minimizing the training loss beyond the zero training error point. In this phase of training, a "neural collapse" behavior has been observed: the variability of features (outputs of the penultimate layer) of within-class samples decreases and the mean features of different classes approach a certain tight frame structure. Recent works analyze this behavior via idealized unconstrained features models where all the minimizers exhibit exact collapse. However, with practical networks and datasets, the features typically do not reach exact collapse, e.g., because deep layers cannot arbitrarily modify intermediate features that are far from being collapsed. In this paper, we propose a richer model that can capture this phenomenon by forcing the features to stay in the vicinity of a predefined features matrix (e.g., intermediate features). We explore the model in the small vicinity case via perturbation analysis and establish results that cannot be obtained by the previously studied models. For example, we prove reduction in the within-class variability of the optimized features compared to the predefined input features (via analyzing gradient flow on the "central-path" with minimal assumptions), analyze the minimizers in the near-collapse regime, and provide insights on the effect of regularization hyperparameters on the closeness to collapse. We support our theory with experiments in practical deep learning settings.

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

↑