• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

用于自动损失感知模型压缩的单路径位共享

Single-Path Bit Sharing for Automatic Loss-Aware Model Compression.

作者信息

Liu Jing, Zhuang Bohan, Chen Peng, Shen Chunhua, Cai Jianfei, Tan Mingkui

出版信息

IEEE Trans Pattern Anal Mach Intell. 2023 Oct;45(10):12459-12473. doi: 10.1109/TPAMI.2023.3275159. Epub 2023 Sep 5.

DOI:10.1109/TPAMI.2023.3275159
PMID:37167046
Abstract

Network pruning and quantization are proven to be effective ways for deep model compression. To obtain a highly compact model, most methods first perform network pruning and then conduct quantization based on the pruned model. However, this strategy may ignore that the pruning and quantization would affect each other and thus performing them separately may lead to sub-optimal performance. To address this, performing pruning and quantization jointly is essential. Nevertheless, how to make a trade-off between pruning and quantization is non-trivial. Moreover, existing compression methods often rely on some pre-defined compression configurations (i.e., pruning rates or bitwidths). Some attempts have been made to search for optimal configurations, which however may take unbearable optimization cost. To address these issues, we devise a simple yet effective method named Single-path Bit Sharing (SBS) for automatic loss-aware model compression. To this end, we consider the network pruning as a special case of quantization and provide a unified view for model pruning and quantization. We then introduce a single-path model to encode all candidate compression configurations, where a high bitwidth value will be decomposed into the sum of a lowest bitwidth value and a series of re-assignment offsets. Relying on the single-path model, we introduce learnable binary gates to encode the choice of configurations and learn the binary gates and model parameters jointly. More importantly, the configuration search problem can be transformed into a subset selection problem, which helps to significantly reduce the optimization difficulty and computation cost. In this way, the compression configurations of each layer and the trade-off between pruning and quantization can be automatically determined. Extensive experiments on CIFAR-100 and ImageNet show that SBS significantly reduces computation cost while achieving promising performance. For example, our SBS compressed MobileNetV2 achieves 22.6× Bit-Operation (BOP) reduction with only 0.1% drop in the Top-1 accuracy.

摘要

网络剪枝和量化被证明是深度模型压缩的有效方法。为了获得高度紧凑的模型,大多数方法首先进行网络剪枝,然后基于剪枝后的模型进行量化。然而,这种策略可能忽略了剪枝和量化会相互影响,因此分别执行它们可能会导致次优性能。为了解决这个问题,联合执行剪枝和量化至关重要。然而,如何在剪枝和量化之间进行权衡并非易事。此外,现有的压缩方法通常依赖于一些预定义的压缩配置(即剪枝率或比特宽度)。已经有人尝试寻找最优配置,然而这可能会带来难以承受的优化成本。为了解决这些问题,我们设计了一种简单而有效的方法,名为单路径比特共享(SBS),用于自动损失感知模型压缩。为此,我们将网络剪枝视为量化的一种特殊情况,并为模型剪枝和量化提供统一的视角。然后,我们引入一个单路径模型来编码所有候选压缩配置,其中高比特宽度值将被分解为最低比特宽度值与一系列重新分配偏移量的总和。依靠单路径模型,我们引入可学习的二进制门来编码配置选择,并联合学习二进制门和模型参数。更重要的是,配置搜索问题可以转化为子集选择问题,这有助于显著降低优化难度和计算成本。通过这种方式,可以自动确定每一层的压缩配置以及剪枝和量化之间的权衡。在CIFAR - 100和ImageNet上进行的大量实验表明,SBS在显著降低计算成本的同时实现了良好的性能。例如,我们的SBS压缩的MobileNetV2实现了22.6倍的比特运算(BOP)减少,而Top - 1准确率仅下降0.1%。

相似文献

1
Single-Path Bit Sharing for Automatic Loss-Aware Model Compression.用于自动损失感知模型压缩的单路径位共享
IEEE Trans Pattern Anal Mach Intell. 2023 Oct;45(10):12459-12473. doi: 10.1109/TPAMI.2023.3275159. Epub 2023 Sep 5.
2
Pruning Self-Attentions Into Convolutional Layers in Single Path.在单路径中将自注意力机制精简为卷积层。
IEEE Trans Pattern Anal Mach Intell. 2024 May;46(5):3910-3922. doi: 10.1109/TPAMI.2024.3355890. Epub 2024 Apr 3.
3
Discrimination-Aware Network Pruning for Deep Model Compression.面向深度模型压缩的歧视感知网络剪枝。
IEEE Trans Pattern Anal Mach Intell. 2022 Aug;44(8):4035-4051. doi: 10.1109/TPAMI.2021.3066410. Epub 2022 Jul 1.
4
Ps and Qs: Quantization-Aware Pruning for Efficient Low Latency Neural Network Inference.Ps和Qs:用于高效低延迟神经网络推理的量化感知剪枝
Front Artif Intell. 2021 Jul 9;4:676564. doi: 10.3389/frai.2021.676564. eCollection 2021.
5
ReLeQ : A Reinforcement Learning Approach for Automatic Deep Quantization of Neural Networks.ReLeQ:一种用于神经网络自动深度量化的强化学习方法。
IEEE Micro. 2020 Sep-Oct;40(5):37-45. doi: 10.1109/mm.2020.3009475. Epub 2020 Jul 15.
6
Weak sub-network pruning for strong and efficient neural networks.弱子网络剪枝技术:构建强大而高效的神经网络
Neural Netw. 2021 Dec;144:614-626. doi: 10.1016/j.neunet.2021.09.015. Epub 2021 Sep 30.
7
Deep Neural Network Compression by In-Parallel Pruning-Quantization.通过并行剪枝-量化实现深度神经网络压缩。
IEEE Trans Pattern Anal Mach Intell. 2020 Mar;42(3):568-579. doi: 10.1109/TPAMI.2018.2886192. Epub 2018 Dec 12.
8
Dynamical Conventional Neural Network Channel Pruning by Genetic Wavelet Channel Search for Image Classification.基于遗传小波通道搜索的动态传统神经网络通道剪枝用于图像分类
Front Comput Neurosci. 2021 Oct 27;15:760554. doi: 10.3389/fncom.2021.760554. eCollection 2021.
9
MedQ: Lossless ultra-low-bit neural network quantization for medical image segmentation.MedQ:用于医学图像分割的无损超低比特神经网络量化。
Med Image Anal. 2021 Oct;73:102200. doi: 10.1016/j.media.2021.102200. Epub 2021 Aug 2.
10
Transform Quantization for CNN Compression.用于卷积神经网络压缩的变换量化
IEEE Trans Pattern Anal Mach Intell. 2022 Sep;44(9):5700-5714. doi: 10.1109/TPAMI.2021.3084839. Epub 2022 Aug 4.

引用本文的文献

1
Advances in neural architecture search.神经架构搜索的进展。
Natl Sci Rev. 2024 Aug 23;11(8):nwae282. doi: 10.1093/nsr/nwae282. eCollection 2024 Aug.