paper-with-me

홈 › Papers

GXNOR-Net: Training deep neural networks with ternary weights and activations without full-precision memory under a unified discretization framework

2017-05-25 · Lei Deng, Peng Jiao, Jing Pei, Zhenzhi Wu, Guoqi Li

There is a pressing need to build an architecture that could subsume these networks under a unified framework that achieves both higher performance and less overhead. To this end, two fundamental issues are yet to be addressed. The first one is how to implement the back propagation when neuronal activations are discrete. The second one is how to remove the full-precision hidden weights in the training phase to break the bottlenecks of memory/computation consumption. To address the first issue, we present a multi-step neuronal activation discretization method and a derivative approximation technique that enable the implementing the back propagation algorithm on discrete DNNs. While for the second issue, we propose a discrete state transition (DST) methodology to constrain the weights in a discrete space without saving the hidden weights. Through this way, we build a unified framework that subsumes the binary or ternary networks as its special cases, and under which a heuristic algorithm is provided at the website https://github.com/AcrossV/Gated-XNOR. More particularly, we find that when both the weights and activations become ternary values, the DNNs can be reduced to sparse binary networks, termed as gated XNOR networks (GXNOR-Nets) since only the event of non-zero weight and non-zero activation enables the control gate to start the XNOR logic operations in the original binary networks. This promises the event-driven hardware design for efficient mobile intelligence. We achieve advanced performance compared with state-of-the-art algorithms. Furthermore, the computational sparsity and the number of states in the discrete space can be flexibly modified to make it suitable for various hardware platforms.

📄 PDF Abstract BibTeX arXiv:1705.09283

Code (1)

AcrossV/Gated-XNOR 공식 구현

Similar Papers 제목 키워드 기반

Training of Quantized Deep Neural Networks using a Magnetic Tunnel Junction-Based Synapse

2019-12-29 · Tzofnat Greenberg Toledo, Ben Perach, Itay Hubara, Daniel Soudry 외

Quantized neural networks (QNNs) are being actively researched as a solution for the computational complexity and memory intensity of deep neural networks. This has sparked efforts to develop algorithms that support both…

Ternary Neural Networks for Resource-Efficient AI Applications

2016-09-01 · Hande Alemdar, Vincent Leroy, Adrien Prost-Boucle, Frédéric Pétrot

The computation and storage requirements for Deep Neural Networks (DNNs) are usually high. This issue limits their deployability on ubiquitous computing devices such as smart phones, wearables and autonomous drones. In t…

Soft Threshold Ternary Networks

2022-04-04 · Weixiang Xu, Xiangyu He, Tianli Zhao, Qinghao Hu 외

Large neural networks are difficult to deploy on mobile devices because of intensive computation and storage. To alleviate it, we study ternarization, a balance between efficiency and accuracy that quantizes both weights…

Quantization

Ternary Neural Networks with Fine-Grained Quantization

2017-05-02 · Naveen Mellempudi, Abhisek Kundu, Dheevatsa Mudigere, Dipankar Das 외

We propose a novel fine-grained quantization (FGQ) method to ternarize pre-trained full precision models, while also constraining activations to 8 and 4-bits. Using this method, we demonstrate a minimal loss in classific…

Quantization

Mixed Low-precision Deep Learning Inference using Dynamic Fixed Point

2017-01-31 · Naveen Mellempudi, Abhisek Kundu, Dipankar Das, Dheevatsa Mudigere 외

We propose a cluster-based quantization method to convert pre-trained full precision weights into ternary weights with minimal impact on the accuracy. In addition, we also constrain the activations to 8-bits thus enablin…

Deep LearningQuantization