arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17989cs.LGstat.ML
收藏

学习具有稀疏激活的神经网络

Learning Neural Networks with Sparse Activations

Google Research(谷歌研究院);University of California, Los Angeles(加州大学洛杉矶分校)

Pranjal Awasthi, Nishanth Dikkala, Pritish Kamath, Raghu Meka

AI总结:

本文研究神经网络中MLP层激活稀疏现象,通过PAC学习理论证明其计算与统计优势,旨在推动实际应用。

摘要:

许多成功的神经网络架构中的一个核心组成部分是一个MLP块,由两个全连接层组成,中间夹着一个非线性激活函数。一个在经验上观察到的有趣现象,包括在Transformer架构中,是训练后该MLP块隐藏层中的激活在给定任何输入时往往极其稀疏。与传统的稀疏形式不同,在传统稀疏中,存在可以从网络中删除的神经元或权重,这种形式的动态激活稀疏似乎更难利用来获得更高效的网络。受此启发,我们启动了对表现出激活稀疏性的MLP层的PAC可学习性的正式研究。我们展示了多种结果,表明这类函数类确实相对于其非稀疏对应物带来了可证明的计算和统计优势。我们希望,对稀疏激活网络的更好理论理解将导致能够在实践中利用激活稀疏性的方法。

英文摘要:

A core component present in many successful neural network architectures, is an MLP block of two fully connected layers with a non-linear activation in between. An intriguing phenomenon observed empirically, including in transformer architectures, is that, after training, the activations in the hidden layer of this MLP block tend to be extremely sparse on any given input. Unlike traditional forms of sparsity, where there are neurons/weights which can be deleted from the network, this form of {\em dynamic} activation sparsity appears to be harder to exploit to get more efficient networks. Motivated by this we initiate a formal study of PAC learnability of MLP layers that exhibit activation sparsity. We present a variety of results showing that such classes of functions do lead to provable computational and statistical advantages over their non-sparse counterparts. Our hope is that a better theoretical understanding of {\em sparsely activated} networks would lead to methods that can exploit activation sparsity in practice.

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

↑