paper-with-me

Papers

Alternating Multi-bit Quantization for Recurrent Neural Networks

2018-02-01 · ICLR 2018 1 · Chen Xu, Jianqiang Yao, Zhouchen Lin, Wenwu Ou, Yuanbin Cao, Zhirong Wang, Hongbin Zha

Recurrent neural networks have achieved excellent performance in many applications. However, on portable devices with limited resources, the models are often too large to deploy. For applications on the server with large scale concurrent requests, the latency during inference can also be very critical for costly computing resources. In this work, we address these problems by quantizing the network, both weights and activations, into multiple binary codes {-1,+1}. We formulate the quantization as an optimization problem. Under the key observation that once the quantization coefficients are fixed the binary codes can be derived efficiently by binary search tree, alternating minimization is then applied. We test the quantization for two well-known RNNs, i.e., long short term memory (LSTM) and gated recurrent unit (GRU), on the language models. Compared with the full-precision counter part, by 2-bit quantization we can achieve ~16x memory saving and ~6x real inference acceleration on CPUs, with only a reasonable loss in the accuracy. By 3-bit quantization, we can achieve almost no loss in the accuracy or even surpass the original model, with ~10.5x memory saving and ~3x real inference acceleration. Both results beat the exiting quantization works with large margins. We extend our alternating quantization to image classification tasks. In both RNNs and feedforward neural networks, the method also achieves excellent performance.

📄 PDF Abstract BibTeX arXiv:1802.00150

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage ClassificationQuantization

Similar Papers 제목 키워드 기반

Low-bit Quantization of Recurrent Neural Network Language Models Using Alternating Direction Methods of Multipliers

2021-11-29 · Junhao Xu, Xie Chen, Shoukang Hu, Jianwei Yu 외

The high memory consumption and computational costs of Recurrent neural network language models (RNNLMs) limit their wider application on resource constrained devices. In recent years, neural network quantization techniq…

Quantization

Mixed Precision Low-bit Quantization of Neural Network Language Models for Speech Recognition

2021-11-29 · Junhao Xu, Jianwei Yu, Shoukang Hu, Xunying Liu 외

State-of-the-art language models (LMs) represented by long-short term memory recurrent neural networks (LSTM-RNNs) and Transformers are becoming increasingly complex and expensive for practical applications. Low-bit neur…

Neural Architecture SearchQuantizationSensitivityspeech-recognition+1

Dynamic Prediction of Alternating Recurrent Events via Neural Network

2026-06-29 · Abigail Loe, Susan Murry, Zhenke Wu arxiv

Alternating recurrent events -- event-times of a specific nature that trigger a secondary refractory period -- occur in a wide-range of fields, including behavioral science, criminal justice, and biostatistics. Analysis …

Alternating Direction Method of Multipliers for Quantization

2020-09-08 · Tianjian Huang, Prajwal Singhania, Maziar Sanjabi, Pabitra Mitra 외

Quantization of the parameters of machine learning models, such as deep neural networks, requires solving constrained optimization problems, where the constraint set is formed by the Cartesian product of many simple disc…

Quantization

Alternating Co-Quantization for Cross-Modal Hashing

2015-12-01 · ICCV 2015 12 · Go Irie, Hiroyuki Arai, Yukinobu Taniguchi

This paper addresses the problem of unsupervised learning of binary hash codes for efficient cross-modal retrieval. Many unimodal hashing studies have proven that both similarity preservation of data and maintenance of q…

Cross-Modal RetrievalDimensionality ReductionQuantizationRetrieval