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

VQ4ALL:通过通用码本实现高效神经网络表示

VQ4ALL: Efficient Neural Network Representation via a Universal Codebook

Zhejiang University(浙江大学);vivo Mobile Communication Co., Ltd(维沃移动通信有限公司)

Juncan Deng, Shuaiting Li, Zeyu Wang, Hong Gu, Kedong Xu, Kejie Huang

AI总结:

针对分层 VQ 压缩码本冗余、内存访问频繁的问题,本文提出 VQ4ALL,用核密度估计提取通用码本并通过可微分配构建低比特网络,在多种架构上以超过16倍压缩保持高准确率。

摘要:

大型神经网络模型的快速增长对轻量级网络表示方法提出了新要求。基于模型压缩的传统方法已经取得巨大成功,尤其是 VQ 技术通过共享码字实现模型的高压缩比。然而,由于网络的每一层都需要构建一个码表,传统的自顶向下压缩技术缺乏对底层共性的关注,导致压缩率受限并引发频繁的内存访问。本文提出一种自底向上的方法,在多个神经网络之间共享通用码本;该方法不仅有效减少了码本数量,还通过将静态码表存储在内置 ROM 中,进一步降低内存访问和芯片面积。具体而言,我们提出 VQ4ALL,这是一种基于 VQ 的方法,利用码字构建各种神经网络并实现高效表示。该方法的核心思想是采用核密度估计方法提取通用码本,随后通过更新可微分配逐步构建不同的低比特网络。实验结果表明,VQ4ALL 在多种网络架构上保持较高准确率的同时,实现了超过 16 倍的压缩率,凸显了其有效性和通用性。

英文摘要:

The rapid growth of the big neural network models puts forward new requirements for lightweight network representation methods. The traditional methods based on model compression have achieved great success, especially VQ technology which realizes the high compression ratio of models by sharing code words. However, because each layer of the network needs to build a code table, the traditional top-down compression technology lacks attention to the underlying commonalities, resulting in limited compression rate and frequent memory access. In this paper, we propose a bottom-up method to share the universal codebook among multiple neural networks, which not only effectively reduces the number of codebooks but also further reduces the memory access and chip area by storing static code tables in the built-in ROM. Specifically, we introduce VQ4ALL, a VQ-based method that utilizes codewords to enable the construction of various neural networks and achieve efficient representations. The core idea of our method is to adopt a kernel density estimation approach to extract a universal codebook and then progressively construct different low-bit networks by updating differentiable assignments. Experimental results demonstrate that VQ4ALL achieves compression rates exceeding 16 $\times$ while preserving high accuracy across multiple network architectures, highlighting its effectiveness and versatility.

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

↑