Abstract
Mixed-precision neural networks offer a path to high-efficiency deployment on edge devices, yet finding optimal bitwidths per layer remains computationally expensive and hardware-incompatible. We present Efficient Bitwidth Search (EBS), which reduces search complexity through weight sharing, and Binary Decomposition (BD), which enables efficient execution on standard CPUs. Our framework achieves state-of-the-art accuracy-efficiency trade-offs on ImageNet while significantly reducing search time and memory overhead.
Introduction
Quantization—reducing the precision of neural network weights and activations from 32-bit floats to low-bit integers—is essential for deploying AI on mobile and edge devices. However, not all layers require the same precision; some need more bits to maintain accuracy, while others can be compressed aggressively. This creates two major hurdles: the combinatorial nightmare of searching for optimal per-layer bitwidths and the lack of hardware support for mixed-precision arithmetic on standard mobile CPUs.
This paper introduces a two-part solution: Efficient Bitwidth Search (EBS), which slashes the memory and time required to find optimal bit-depths, and Binary Decomposition (BD), a method to make these mixed-precision models run fast on standard hardware.
Methodology
Efficient Bitwidth Search (EBS)
Previous differentiable search methods, such as DNAS, were memory-intensive because they required multiple copies of weights for every possible bitwidth. EBS overcomes this by maintaining a single "meta weight" tensor. During the search phase, this meta weight is quantized into different bitwidths, which are then combined using a weighted sum (via Softmax) before a single convolution is performed.
As shown in the comparison above, EBS reduces memory complexity from $O(N)$ to $O(1)$ and computational complexity from $O(N^2)$ to $O(1)$, where $N$ is the number of candidate bitwidths. By forcing different bitwidths to share the same underlying weights, the search process becomes significantly more stable and efficient.
Binary Decomposition (BD)
To solve the hardware bottleneck, the authors decompose multi-bit weights and activations into several binary matrices. For example, a 2-bit weight can be represented as two 1-bit (binary) planes. Convolution then becomes a series of ultra-fast bitwise operations (AND and bitcount) followed by a simple depthwise convolution to shift and sum the results. This allows mixed-precision math to run efficiently on generic ARM CPUs without specialized hardware.
Experimental Results
The researchers evaluated their approach on standard computer vision benchmarks, including CIFAR-10 and ImageNet (ILSVRC-2012).
- Superior Accuracy: On ImageNet with ResNet-18, EBS-Det achieved 70.2% Top-1 accuracy with a 3.26x FLOPs saving, outperforming 4-bit uniform quantization (69.2%) while using fewer resources.
- Efficiency Gains: Compared to the state-of-the-art DNAS search, EBS reduced GPU memory usage by nearly 10x and training time by 5x on a ResNet-18 search task.
- Real-World Latency: Testing on a Raspberry Pi 3B (ARM Cortex-A53) showed that Binary Decomposition made 1-bit weight / 2-bit activation (W1-A2) convolutions roughly twice as fast as standard binary convolutions.
Discussion and Future Work
The core insight of this work is that weight sharing and binary decomposition can bridge the gap between theoretical mixed-precision benefits and practical deployment. By breaking the problem into binary planes, the framework leverages bit-manipulation instructions present in almost every modern processor.
However, challenges remain. There is currently no open-source library that fully supports mixed-precision computation on ARM CPUs, necessitating custom implementations. Future work could integrate bitwidth search with other architectural parameters, such as channel counts or layer depths, within a broader Neural Architecture Search (NAS) framework.
Summary updated