深度神经网络的“无损”压缩:一种高维神经正切核方法
"Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel Approach
AI总结:
本文利用 NTK 与 RMT 证明高维高斯混合数据下宽深全连接网络的谱等价,并据此提出权重和激活仅取 {0,±1} 的“无损”压缩方法。
摘要:
现代深度神经网络(DNN)功能极其强大;然而,其代价是深度增加且每层参数更多,从而使其训练和推理在计算上更具挑战性。为解决这一关键限制,人们致力于压缩这些大规模机器学习模型(例如稀疏化和/或量化),以便将其部署在低功耗物联网设备上。本文基于神经正切核(NTK)和随机矩阵理论(RMT)的最新进展,为宽且全连接的深度神经网络提供了一种新颖的压缩方法。具体而言,我们证明,在数据点数量 n 及其维度 p 都很大的高维情形下,并且在数据服从高斯混合模型时,一大类 DNN 模型的 NTK 矩阵之间存在渐近谱等价。这一理论结果使给定 DNN 的“无损”压缩得以实现,即压缩后的网络产生与原始(稠密且未量化的)网络渐近相同的 NTK,同时其权重和激活在相差一个缩放因子的意义下仅取值于 {0, ±1}。我们在合成数据和真实世界数据上进行了实验,以支持所提压缩方案的优势,代码可在 https://github.com/Model-Compression/Lossless_Compression 获取。
英文摘要:
Modern deep neural networks (DNNs) are extremely powerful; however, this comes at the price of increased depth and having more parameters per layer, making their training and inference more computationally challenging. In an attempt to address this key limitation, efforts have been devoted to the compression (e.g., sparsification and/or quantization) of these large-scale machine learning models, so that they can be deployed on low-power IoT devices. In this paper, building upon recent advances in neural tangent kernel (NTK) and random matrix theory (RMT), we provide a novel compression approach to wide and fully-connected \emph{deep} neural nets. Specifically, we demonstrate that in the high-dimensional regime where the number of data points $n$ and their dimension $p$ are both large, and under a Gaussian mixture model for the data, there exists \emph{asymptotic spectral equivalence} between the NTK matrices for a large family of DNN models. This theoretical result enables "lossless" compression of a given DNN to be performed, in the sense that the compressed network yields asymptotically the same NTK as the original (dense and unquantized) network, with its weights and activations taking values \emph{only} in $\{ 0, \pm 1 \}$ up to a scaling. Experiments on both synthetic and real-world data are conducted to support the advantages of the proposed compression scheme, with code available at \url{https://github.com/Model-Compression/Lossless_Compression}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。