MNIST数据库
三元运算
帕斯卡(单位)
计算机科学
二进制数
算法
计算
编码(集合论)
缩放比例
功能(生物学)
模式识别(心理学)
人工智能
深度学习
数学
算术
进化生物学
生物
集合(抽象数据类型)
程序设计语言
几何学
出处
期刊:Cornell University - arXiv
日期:2016-01-01
被引量:694
标识
DOI:10.48550/arxiv.1605.04711
摘要
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$\times$ 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.
科研通智能强力驱动
Strongly Powered by AbleSci AI