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

为何使用 ReLU?深度网络训练的位模型二元性

Why ReLU? A Bit-Model Dichotomy for Deep Network Training

MIT(麻省理工学院)

Ilan Doron-Arad, Elchanan Mossel

AI总结:

本研究揭示了深度网络训练的位模型二元性,表明ReLU等分段线性激活函数在有限精度下具有可计算性,而多项式激活函数则面临$\#P$-难的计算复杂性。

摘要:

经验风险最小化(ERM)的理论分析通常在Real-RAM计算模型中进行。在这种设定下,训练甚至简单的神经网络已知是$\exists \mathbb{R}$-完全的——一个被认为比NP更难的复杂性类,它描述了解决多项式不等式系统在实数上的难度。然而,这种代数框架与具有有限精度硬件的真实数字计算相悖。在本工作中,我们分析了在现实的位级模型($\mathsf{ERM}_{\text{bit}}$)下ERM的理论复杂性,其中网络参数和输入被限制为具有多项式有界位长度的有理数。在此模型下,我们揭示了可计算性在可处理性上的尖锐二元性,由网络的激活函数决定。我们证明,对于具有任何多项式激活函数(具有有理系数且次数至少为2)的深度网络,训练的位复杂性是严重的:决定$\mathsf{ERM}_{\text{bit}}$是$\#P$-难的,因此被认为比NP完全问题更难。此外,我们证明确定经验损失函数单个偏导数的符号是不可行的(很可能不在BPP中),而确定梯度中的特定位是$\#P$-难的。这为梯度爆炸和消失现象提供了复杂性理论的观点。相反,我们证明对于分段线性激活函数如ReLU,精度要求仍然可控:$\mathsf{ERM}_{\text{bit}}$包含在NP中(具体为NP完全),标准反向传播在多项式时间内运行。我们的结果表明,有限精度约束不仅仅是实现细节,而是学习性的根本决定因素。

英文摘要:

Theoretical analyses of Empirical Risk Minimization (ERM) are standardly framed within the Real-RAM model of computation. In this setting, training even simple neural networks is known to be $\exists \mathbb{R}$-complete -- a complexity class believed to be harder than NP, that characterizes the difficulty of solving systems of polynomial inequalities over the real numbers. However, this algebraic framework diverges from the reality of digital computation with finite-precision hardware. In this work, we analyze the theoretical complexity of ERM under a realistic bit-level model ($\mathsf{ERM}_{\text{bit}}$), where network parameters and inputs are constrained to be rational numbers with polynomially bounded bit-lengths. Under this model, we reveal a sharp dichotomy in tractability governed by the network's activation function. We prove that for deep networks with {\em any} polynomial activations with rational coefficients and degree at least $2$, the bit-complexity of training is severe: deciding $\mathsf{ERM}_{\text{bit}}$ is $\#P$-Hard, hence believed to be strictly harder than NP-complete problems. Furthermore, we show that determining the sign of a single partial derivative of the empirical loss function is intractable (unlikely in BPP), and deciding a specific bit in the gradient is $\#P$-Hard. This provides a complexity-theoretic perspective for the phenomenon of exploding and vanishing gradients. In contrast, we show that for piecewise-linear activations such as ReLU, the precision requirements remain manageable: $\mathsf{ERM}_{\text{bit}}$ is contained within NP (specifically NP-complete), and standard backpropagation runs in polynomial time. Our results demonstrate that finite-precision constraints are not merely implementation details but fundamental determinants of learnability.

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

↑