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

从神经元激活视角理解人工神经网络的行为

Understanding Artificial Neural Network's Behavior from Neuron Activation Perspective

Rice University(莱斯大学)

Yizhou Zhang, Yang Sui

AI总结:

本文提出概率框架分析DNN的神经元激活动态,推导激活数量与幂律分布,解释了过参数化泛化、相变及损失幂律衰减,为神经网络缩放提供理论基础。

摘要:

本文通过神经元激活动态的视角探讨了深度神经网络(DNNs)的复杂行为。我们提出了一个概率框架,能够将模型的神经元激活模式作为随机过程进行分析,揭示了关于神经缩放定律的理论见解,例如过参数化以及损失随数据集大小的幂律衰减。通过推导关键的数学关系,我们表明激活神经元的数量以 $N(1-(\ rac{bN}{D+bN})^b)$ 的形式增加,并且神经元激活应遵循幂律分布。基于这两个数学结果,我们证明了 DNNs 如何在过参数化下保持泛化能力,并阐明了当数据集大小在对数轴上绘制时(即数据量级线性增加)在损失曲线中观察到的相变现象。此外,通过结合上述两种现象和神经元激活的幂律分布,我们推导出了神经网络损失函数随数据规模增加的幂律衰减。进一步地,我们的分析弥合了经验观察与理论基础之间的差距,提供了关于参数效率和模型可压缩性的可实验测试预测。这些发现为理解神经网络缩放奠定了基础,并为优化 DNN 性能提供了新方向。

英文摘要:

This paper explores the intricate behavior of deep neural networks (DNNs) through the lens of neuron activation dynamics. We propose a probabilistic framework that can analyze models' neuron activation patterns as a stochastic process, uncovering theoretical insights into neural scaling laws, such as over-parameterization and the power-law decay of loss with respect to dataset size. By deriving key mathematical relationships, we present that the number of activated neurons increases in the form of $N(1-(\frac{bN}{D+bN})^b)$, and the neuron activation should follows power-law distribution. Based on these two mathematical results, we demonstrate how DNNs maintain generalization capabilities even under over-parameterization, and we elucidate the phase transition phenomenon observed in loss curves as dataset size plotted in log-axis (i.e. the data magnitude increases linearly). Moreover, by combining the above two phenomenons and the power-law distribution of neuron activation, we derived the power-law decay of neural network's loss function as the data size scale increases. Furthermore, our analysis bridges the gap between empirical observations and theoretical underpinnings, offering experimentally testable predictions regarding parameter efficiency and model compressibility. These findings provide a foundation for understanding neural network scaling and present new directions for optimizing DNN performance.

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

↑