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

神经交互定律:深度-宽度形状、交互效率与泛化

The Model Shape Behind Scaling Laws: A Gradient Superposition Perspective

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(深圳先进技术研究院);New Jersey Institute of Technology(新泽西理工学院)

Wenjie Sun, Jinning Yang, Shuai Zhang, Mengnan Du

AI总结:

通过将叠加原理从参数空间扩展到梯度空间定义为神经交互,发现固定预算下良好泛化伴随高效神经交互,且可通过调整深度-宽度比(R_D/W)使模型处于高效交互区间,该区间随预算扩展保持稳定,为模型形状初始化和泛化机制提供见解。

摘要:

缩放定律的指导增加了现代大型语言模型(LLMs)的资源需求,但在固定预算下这些模型是否有效利用资源仍存疑问。先前研究证明叠加是损失的关键贡献者。通过利用神经特征假设,我们将叠加从参数空间扩展到梯度空间,并将其定义为神经交互。我们发现,在固定预算下,良好的泛化通常伴随着高效的神经交互,并且可以通过调整模型的深度-宽度比($R_{D/W}$)将模型置于高效交互区间。此外,随着预算扩大,模型的高效交互区间保持相对稳定。通过比较现有小规模密集LLMs,我们观察到接近该区间的模型在MMLU-Pro基准上表现更好。我们的发现揭示了$R_{D/W}$影响资源利用效率,进而影响泛化,为模型形状初始化和理解模型泛化机制提供了见解。神经交互定律的代码可在:https://anonymous.4open.science/r/Neural_Interaction_Law-D788 获取。

英文摘要:

Neural scaling laws guide resource allocation, but how should a fixed parameter budget be divided between depth and width? Motivated by inverse-width representation-error scaling under strong superposition, we study this allocation through the network's end-to-end response. The Neural Feature Ansatz links weight and gradient geometry, motivating the Frobenius norm $F$ of the input average gradient outer product (AGOP) as an observable of response strength and overlap. By reproducing Anthropic's toy-model double-descent experiment, we find that $F$ and test reconstruction loss follow an approximately affine relationship across the full sample-size sweep and share an interpolation peak. Through Gaussian minimum-norm regression experiments, we further show that this correlation arises from a fitted-noise amplification term shared by prediction error and $F$. By pretraining language models spanning different shapes and parameter budgets, we find a strong positive correlation between loss and $F$ among the best shapes selected by validation loss. This supports interpreting effective parameter allocation as preserving task-relevant computation while reducing the amplification of error responses. Our results identify error-response amplification as a mechanism linking gradient superposition to generalization, providing a functional account of depth-width allocation and efficient parameter utilization. The code is availale at: $\hyperlink{https://github.com/wenjie1835/Shape_Scaling}{https://github.com/wenjie1835/Shape_Scaling}$.

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

↑