过度对齐 vs 过拟合:特征学习强度在泛化中的作用
Over-Alignment vs Over-Fitting: The Role of Feature Learning Strength in Generalization
AI总结:
本文通过实验和理论分析,揭示了深度网络中特征学习强度存在最优值,过大导致过度对齐、过小导致过拟合,从而影响泛化性能。
摘要:
特征学习强度(FLS),即模型有效输出缩放的倒数,在塑造神经网络的优化动态中起着关键作用。尽管其影响已在渐近区域(训练时间和FLS)得到广泛研究,但现有理论对FLS如何影响实际设置中的泛化(例如,当训练在达到目标训练风险时停止)提供的见解有限。在这项工作中,我们研究了在实际条件下FLS对深度网络泛化的影响。通过实证研究,我们首先发现了一个$ extit{最优FLS}$的存在——既不太小也不太大——它能带来显著的泛化收益。这一发现与更强的特征学习普遍改善泛化的主流直觉相悖。为了解释这一现象,我们开发了对使用逻辑损失训练的两层ReLU网络中的梯度流动力学的理论分析,其中FLS通过初始化尺度控制。我们的主要理论结果建立了最优FLS的存在性,它源于两种竞争效应之间的权衡:过大的FLS会导致$ extit{过度对齐}$现象,降低泛化性能,而过小的FLS则会导致$ extit{过拟合}$。
英文摘要:
Feature learning strength (FLS), i.e., the inverse of the effective output scaling of a model, plays a critical role in shaping the optimization dynamics of neural nets. While its impact has been extensively studied under the asymptotic regimes -- both in training time and FLS -- existing theory offers limited insight into how FLS affects generalization in practical settings, such as when training is stopped upon reaching a target training risk. In this work, we investigate the impact of FLS on generalization in deep networks under such practical conditions. Through empirical studies, we first uncover the emergence of an $\textit{optimal FLS}$ -- neither too small nor too large -- that yields substantial generalization gains. This finding runs counter to the prevailing intuition that stronger feature learning universally improves generalization. To explain this phenomenon, we develop a theoretical analysis of gradient flow dynamics in two-layer ReLU nets trained with logistic loss, where FLS is controlled via initialization scale. Our main theoretical result establishes the existence of an optimal FLS arising from a trade-off between two competing effects: An excessively large FLS induces an $\textit{over-alignment}$ phenomenon that degrades generalization, while an overly small FLS leads to $\textit{over-fitting}$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。