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

条件计算神经网络的泛化能力

Memorization Capacity of Neural Networks with Conditional Computation

University of Illinois Chicago(伊利诺伊大学芝加哥分校)

Erdem Koyuncu

摘要:

许多实证研究已经证明了条件计算在神经网络中的性能优势,包括减少推理时间和功耗。我们从记忆能力的角度研究了神经条件计算的基本限制。对于没有条件计算的整流线性单元(ReLU)网络,已知的是,可以经由具有$O(\sqrt{n})$神经元的神经网络来完成记忆$n$输入-输出关系的集合。计算该神经网络的输出可以使用针对每个输入的加法、乘法和比较的$O(\sqrt{n})$基本算术运算来完成。使用条件ReLU网络,我们证明了每个输入仅使用$O(\log n)$操作就可以完成相同的任务。与没有条件计算的网络相比,这代表了几乎指数级的改进。我们还表明,$Θ(\log n)$率是最好的。我们的可扩展性结果利用了一种通用的方法,以计算效率高的方式从无条件网络中合成出一个条件网络,弥合了无条件和条件架构之间的差距。

英文摘要:

Many empirical studies have demonstrated the performance benefits of conditional computation in neural networks, including reduced inference time and power consumption. We study the fundamental limits of neural conditional computation from the perspective of memorization capacity. For Rectified Linear Unit (ReLU) networks without conditional computation, it is known that memorizing a collection of $n$ input-output relationships can be accomplished via a neural network with $O(\sqrt{n})$ neurons. Calculating the output of this neural network can be accomplished using $O(\sqrt{n})$ elementary arithmetic operations of additions, multiplications and comparisons for each input. Using a conditional ReLU network, we show that the same task can be accomplished using only $O(\log n)$ operations per input. This represents an almost exponential improvement as compared to networks without conditional computation. We also show that the $Θ(\log n)$ rate is the best possible. Our achievability result utilizes a general methodology to synthesize a conditional network out of an unconditional network in a computationally-efficient manner, bridging the gap between unconditional and conditional architectures.

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

↑