[Paper Review] Network Sketching: Exploiting Binary Structure in Deep CNNs
This paper introduces network sketching, a novel method to generate binary-weight CNNs by exploiting binary structure in pre-trained filter banks via tensor expansion, enabling efficient and accurate inference. It achieves state-of-the-art performance on ImageNet with minimal memory overhead, outperforming existing binary-weight models like BWN and BinaryConnect on both AlexNet and ResNet.
Convolutional neural networks (CNNs) with deep architectures have substantially advanced the state-of-the-art in computer vision tasks. However, deep networks are typically resource-intensive and thus difficult to be deployed on mobile devices. Recently, CNNs with binary weights have shown compelling efficiency to the community, whereas the accuracy of such models is usually unsatisfactory in practice. In this paper, we introduce network sketching as a novel technique of pursuing binary-weight CNNs, targeting at more faithful inference and better trade-off for practical applications. Our basic idea is to exploit binary structure directly in pre-trained filter banks and produce binary-weight models via tensor expansion. The whole process can be treated as a coarse-to-fine model approximation, akin to the pencil drawing steps of outlining and shading. To further speedup the generated models, namely the sketches, we also propose an associative implementation of binary tensor convolutions. Experimental results demonstrate that a proper sketch of AlexNet (or ResNet) outperforms the existing binary-weight models by large margins on the ImageNet large scale classification task, while the committed memory for network parameters only exceeds a little.
Motivation & Objective
- To address the poor accuracy of existing binary-weight CNNs despite their efficiency, especially on large-scale datasets like ImageNet.
- To enable more faithful and accurate inference in binary-weight models without training from scratch.
- To provide a flexible, controllable method for balancing model efficiency and accuracy through precision regulation in sketching.
- To reduce computational cost in inference by proposing an associative implementation of binary tensor convolutions.
- To demonstrate that pre-trained models can be effectively converted into high-accuracy, low-precision binary networks via structural exploitation.
Proposed method
- Exploits binary structure directly within pre-trained filter banks using tensor expansion to generate binary-weight models in a coarse-to-fine approximation process.
- Applies a two-stage refinement protocol: direct sketching followed by fine-tuning using stochastic gradient descent with full-precision weight updates for improved convergence.
- Proposes an associative implementation of binary tensor convolutions that reduces the number of floating-point additions and subtractions (FADDs), enhancing inference speed.
- Uses a coarse-to-fine model approximation strategy analogous to pencil drawing (outlining then shading), enabling structured and precise binary weight assignment.
- Regulates sketching precision through theoretical algorithms to balance accuracy and efficiency, allowing trade-offs between model fidelity and resource usage.
- Converts full-precision pre-trained models (e.g., AlexNet, ResNet) into binary-weight versions while preserving performance through structural and parametric optimization.
Experimental results
Research questions
- RQ1Can binary-weight CNNs achieve high accuracy on ImageNet without significant accuracy drop, despite the constraints of binary weights?
- RQ2Can pre-trained models be effectively transformed into binary-weight networks by exploiting inherent binary structure in filter banks?
- RQ3How can the precision of sketching be regulated to achieve better trade-offs between model efficiency and accuracy?
- RQ4Can associative implementations of binary tensor convolutions significantly reduce FLOPs and FADDs during inference?
- RQ5Does network sketching outperform existing binary-weight CNN methods like BWN and BinaryConnect in both accuracy and efficiency on standard benchmarks?
Key findings
- The refined sketch of AlexNet achieves a top-1 accuracy of 55.2% and top-5 accuracy of 78.8% on ImageNet, outperforming BWN and BinaryConnect.
- The sketch of ResNet (18-layer) achieves a top-1 accuracy of 67.8% and top-5 accuracy of 88.4%, surpassing BWN’s 60.8% top-1 accuracy with significantly fewer parameters.
- The generated sketches require only slightly more memory than baseline binary models, with parameter counts reduced by roughly 10.1× for AlexNet and 7.4× for ResNet.
- The associative implementation of binary tensor convolutions reduces the number of FADDs, improving inference efficiency without sacrificing accuracy.
- Fine-tuning via stochastic gradient descent with full-precision updates leads to better convergence and improved performance compared to direct sketching.
- Network sketching enables faithful inference on large-scale datasets with minimal accuracy drop, demonstrating strong potential for mobile deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.