Ternary Weight Networks
Authors:
Top Cited Papers
- 4 June 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-5
Abstract
We present a memory and computation efficient ternary weight networks (TWNs) - with weights constrained to +1, 0 and -1. The Euclidian distance between full (float or double) precision weights and the ternary weights along with a scaling factor is minimized in training stage. Besides, a threshold-based ternary function is optimized to get an approximated solution which can be fast and easily computed. TWNs have shown better expressive abilities than binary precision counterparts. Meanwhile, TWNs achieve up to 16× model compression rate and need fewer multiplications compared with the float32 precision counterparts. Extensive experiments on MNIST, CIFAR-10, and ImageNet datasets show that the TWNs achieve much better result than the Binary-Weight-Networks (BWNs) and the classification performance on MNIST and CIFAR-10 is very close to the full precision networks. We also verify our method on object detection task and show that TWNs significantly outperforms BWN by more than 10% mAP on PASCAL VOC dataset. The pytorch version of source code is available at: https://github.com/Thinklab-SJTU/twns.Keywords
All Related Versions
Funding Information
- National Natural Science Foundation of China
This publication has 12 references indexed in Scilit:
- EAutoDet: Efficient Architecture Search for Object Detection2022
- MergeNAS: Merge Operations into One for Differentiable Architecture Search2020
- ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devices2018
- Convolutional networks for fast, energy-efficient neuromorphic computingProceedings of the National Academy of Sciences, 2016
- SSD: Single Shot MultiBox Detector2016
- XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks2016
- Fixed-point feedforward deep neural network design using weights +1, 0, and −12014
- Microsoft COCO: Common Objects in Context2014
- The Pascal Visual Object Classes (VOC) ChallengeInternational Journal of Computer Vision, 2009
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998