arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.02105cs.LGcs.AIcs.ITmath.ITstat.ML
收藏

核方法能否解释数据如何影响神经坍缩?

Can Kernel Methods Explain How the Data Affects Neural Collapse?

Courant Institute of Mathematical Sciences(Courant数学科学研究所);New York University(纽约大学);Faculty of Engineering(工程学院);Bar-Ilan University(巴伊兰大学)

Vignesh Kothapalli, Tom Tirer

AI总结:

本文利用核方法分析神经坍缩,证明NTK对高斯数据不比NNGP更坍缩,提出数据感知核可降低NC1,并发现激活函数影响坍缩程度。

摘要:

近期大量文献聚焦于“神经坍缩”(NC)现象,该现象在训练神经网络(NN)分类器超过零训练误差点后出现。NC的核心组成部分是网络最深特征类内方差的减小,称为NC1。研究NC的理论工作通常基于简化的无约束特征模型(UFM),这些模型掩盖了数据对坍缩程度的影响。为解决UFM的这一局限性,本文探索使用与浅层神经网络相关的核来分析NC1的可能性。我们首先将NC1度量表述为核的函数。然后,将其专门应用于神经网络高斯过程核(NNGP)和神经正切核(NTK),分别对应于宽网络在初始化时以及在小学习率下基于梯度的训练过程中。作为关键结果,我们证明对于任意维数的高斯数据,NTK所表示的特征坍缩程度并不比NNGP更严重。这展示了诸如NTK之类的数据无关核在近似神经网络NC行为方面的局限性。作为NTK的替代方案,我们随后实证探索了一种最近提出的数据感知高斯过程核,该核推广了NNGP以建模特征学习。我们表明,该核产生的NC1低于NNGP,但可能不遵循浅层神经网络的趋势。我们的研究表明,对数据的适应性可能允许基于核的NC分析,尽管该领域仍需进一步进展。我们研究的一个附带成果是,从理论和实证两方面证明了非线性激活函数的选择会影响NC1(其中ERF产生的值低于ReLU)。代码可在以下网址获取:https://github.com/kvignesh1420/shallow_nc1

英文摘要:

A vast amount of literature has recently focused on the "Neural Collapse" (NC) phenomenon, which emerges when training neural network (NN) classifiers beyond the zero training error point. The core component of NC is the decrease in the within-class variability of the network's deepest features, dubbed as NC1. The theoretical works that study NC are typically based on simplified unconstrained features models (UFMs) that mask any effect of the data on the extent of collapse. To address this limitation of UFMs, this paper explores the possibility of analyzing NC1 using kernels associated with shallow NNs. We begin by formulating an NC1 metric as a function of the kernel. Then, we specialize it to the NN Gaussian Process kernel (NNGP) and the Neural Tangent Kernel (NTK), associated with wide networks at initialization and during gradient-based training with a small learning rate, respectively. As a key result, we show that the NTK does not represent more collapsed features than the NNGP for Gaussian data of arbitrary dimensions. This showcases the limitations of data-independent kernels such as NTK in approximating the NC behavior of NNs. As an alternative to NTK, we then empirically explore a recently proposed data-aware Gaussian Process kernel, which generalizes NNGP to model feature learning. We show that this kernel yields lower NC1 than NNGP but may not follow the trends of the shallow NN. Our study demonstrates that adaptivity to data may allow kernel-based analysis of NC, though further advancements in this area are still needed. A nice byproduct of our study is showing both theoretically and empirically that the choice of nonlinear activation function affects NC1 (with ERF yielding lower values than ReLU). The code is available at: https://github.com/kvignesh1420/shallow_nc1

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

↑