paper-with-me

홈 › Papers

Sub-bit Neural Networks: Learning to Compress and Accelerate Binary Neural Networks

2021-10-18 · ICCV 2021 10 · Yikai Wang, Yi Yang, Fuchun Sun, Anbang Yao

In the low-bit quantization field, training Binary Neural Networks (BNNs) is the extreme solution to ease the deployment of deep models on resource-constrained devices, having the lowest storage cost and significantly cheaper bit-wise operations compared to 32-bit floating-point counterparts. In this paper, we introduce Sub-bit Neural Networks (SNNs), a new type of binary quantization design tailored to compress and accelerate BNNs. SNNs are inspired by an empirical observation, showing that binary kernels learnt at convolutional layers of a BNN model are likely to be distributed over kernel subsets. As a result, unlike existing methods that binarize weights one by one, SNNs are trained with a kernel-aware optimization framework, which exploits binary quantization in the fine-grained convolutional kernel space. Specifically, our method includes a random sampling step generating layer-specific subsets of the kernel space, and a refinement step learning to adjust these subsets of binary kernels via optimization. Experiments on visual recognition benchmarks and the hardware deployment on FPGA validate the great potentials of SNNs. For instance, on ImageNet, SNNs of ResNet-18/ResNet-34 with 0.56-bit weights achieve 3.13/3.33 times runtime speed-up and 1.8 times compression over conventional BNNs with moderate drops in recognition accuracy. Promising results are also obtained when applying SNNs to binarize both weights and activations. Our code is available at https://github.com/yikaiw/SNN.

📄 PDF Abstract BibTeX arXiv:2110.09195

Code (1)

yikaiw/snn 공식 구현 pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

Binary-decomposed DCNN for accelerating computation and compressing model without retraining

2017-09-14 · Ryuji Kamiya, Takayoshi Yamashita, Mitsuru Ambai, Ikuro Sato 외

Recent trends show recognition accuracy increasing even more profoundly. Inference process of Deep Convolutional Neural Networks (DCNN) has a large number of parameters, requires a large amount of computation, and can be…

MST-compression: Compressing and Accelerating Binary Neural Networks with Minimum Spanning Tree

2023-08-26 · ICCV 2023 1 · Quang Hieu Vo, Linh-Tam Tran, Sung-Ho Bae, Lok-Won Kim 외

Binary neural networks (BNNs) have been widely adopted to reduce the computational cost and memory storage on edge-computing devices by using one-bit representation for activations and weights. However, as neural network…

Edge-computing

Sample Compression Scheme Reductions

2024-10-16 · Idan Attias, Steve Hanneke, Arvind Ramaswami

We present novel reductions from sample compression schemes in multiclass classification, regression, and adversarially robust learning settings to binary sample compression schemes. Assuming we have a compression scheme…

Binary Classification

BiViT: Extremely Compressed Binary Vision Transformer

2022-11-14 · Yefei He, Zhenyu Lou, Luoming Zhang, Jing Liu 외

Model binarization can significantly compress model size, reduce energy consumption, and accelerate inference through efficient bit-wise operations. Although binarizing convolutional neural networks have been extensively…

Binarizationobject-detectionObject Detection

BiViT: Extremely Compressed Binary Vision Transformers

2023-01-01 · ICCV 2023 1 · Yefei He, Zhenyu Lou, Luoming Zhang, Jing Liu 외

Model binarization can significantly compress model size, reduce energy consumption, and accelerate inference through efficient bit-wise operations. Although binarizing convolutional neural networks have been extensi…

Binarizationobject-detectionObject Detection