PokeBNN: A Binary Pursuit of Lightweight Accuracy
Yichi Zhang, Zhiru Zhang, Lukasz Lew
摘要
Optimization of Top-1 ImageNet promotes enormous networks that may be impractical in inference settings. Binary neural networks (BNNs) have the potential to significantly lower the compute intensity but existing models suffer from low quality. To overcome this deficiency, we propose Poke- Conv, a binary convolution block which improves quality of BNNs by techniques such as adding multiple residual paths, and tuning the activation function. We apply it to ResNet-50 and optimize ResNet's initial convolutional layer which is hard to binarize. We name the resulting network family PokeBNN <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup> <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup> Poke/pnki/is pronounced similarly to pocket. PokeConv, PokeBNN, and Pokemon are abbreviations of Pocket Convolution, Pocket Binary Neural Network, and Pocket Monster, respectively.. These techniques are chosen to yield favorable improvements in both top-1 accuracy and the network's cost. In order to enable joint optimization of the cost together with accuracy, we define arithmetic computation effort (ACE), a hardware- and energy-inspired cost metric for quantized and binarized networks. We also identify a need to optimize an under-explored hyper-parameter controlling the binarization gradient approximation. We establish a new, strong state-of-the-art (SOTA) on top-1 accuracy together with commonly-used CPU64 cost, ACE cost and network size metrics. ReActNet-Adam [33], the previous SOTA in BNNs, achieved a 70.5% top-1 accuracy with 7.9 ACE. A small variant of PokeBNN achieves 70.5% top-1 with 2.6 ACE, more than 3x reduction in cost; a larger PokeBNN achieves 75.6% top-1 with 7.8 ACE, more than 5% improvement in accuracy without increasing the cost. PokeBNN implementation in JAX/Flax [6, 18] and re-production instructions are open sourced. <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> Source code and reproduction instructions are available in AQT repos-itory: github.com/google/aqt.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 18 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Forward and Backward Information Retention for Accurate Binary Neural Networks 引用了 Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks
- SA-BNN: State-Aware Binary Neural Network 引用了 Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks
- BiBench: Benchmarking and Analyzing Network Binarization 引用了 Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks
- BiBench: Benchmarking and Analyzing Network Binarization 引用了 Forward and Backward Information Retention for Accurate Binary Neural Networks
- BiBench: Benchmarking and Analyzing Network Binarization 引用了 SA-BNN: State-Aware Binary Neural Network
引用它的顶会 Paper18
- BiBench: Benchmarking and Analyzing Network BinarizationHaotong Qin, Mingyuan Zhang, Yifu Ding, Aoyu Li 等ICML 2023 · 53 次引用
- SpikeLM: Towards General Spike-Driven Language Modeling via Elastic Bi-Spiking MechanismsXingrun Xing, Zheng Zhang, Ziyi Ni, Shitao Xiao 等ICML 2024 · 34 次引用
- Binarized Neural Machine TranslationYichi Zhang, Ankush Garg, Yuan Cao, Lukasz Lew 等NeurIPS 2023 · 21 次引用
- Are Conventional SNNs Really Efficient? A Perspective from Network QuantizationGuobin Shen, Dongcheng Zhao, Tenglong Li, Jindong Li 等CVPR 2024 · 8 次引用
- Can we get the best of both Binary Neural Networks and Spiking Neural Networks for Efficient Computer Vision?Gourav Datta, Zeyu Liu, Peter Anthony BeerelICLR 2024 · 6 次引用
它引用的 Paper4
- Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural NetworksRuihao Gong, Xianglong Liu, Shenghu Jiang, Tianxiang Li 等ICCV 2019 · 540 次引用
- SA-BNN: State-Aware Binary Neural NetworkChunlei Liu, Peng Chen, Bohan Zhuang, Chunhua Shen 等AAAI 2021 · 23 次引用
- Binarizing MobileNet via Evolution-Based SearchingHai Phan, Zechun Liu, Dang Huynh, Marios Savvides 等CVPR 2020
- Forward and Backward Information Retention for Accurate Binary Neural NetworksHaotong Qin, Ruihao Gong, Xianglong Liu, Mingzhu Shen 等CVPR 2020
相关 Paper
- Fast and Accurate Binary Neural Networks Based on Depth-Width ReshapingPing Xue, Yang Lu, Jingfei Chang, Xing Wei 等AAAI 2023 · 3 次引用
- Sub-bit Neural Networks: Learning to Compress and Accelerate Binary Neural NetworksYikai Wang, Yi Yang, Fuchun Sun, Anbang YaoICCV 2021 · 18 次引用
- PikeLPN: Mitigating Overlooked Inefficiencies of Low-Precision Neural NetworksMarina Neseem, Conor McCullough, Randy Hsin, Chas Leichner 等CVPR 2024 · 3 次引用
- How Do Adam and Training Strategies Help BNNs OptimizationZechun Liu, Zhiqiang Shen, Shichao Li, Koen Helwegen 等ICML 2021 · 100 次引用
- Elastic-Link for Binarized Neural NetworksJie Hu, Ziheng Wu, Vince Junkai Tan, Zhilin Lu 等AAAI 2022 · 6 次引用
