Alternating Multi-bit Quantization for Recurrent Neural Networks
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Feb 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 11; 2022: 6; 2023: 0; 2024: 4; 2025: 6; 2026: 3.
30 papers.
Sort:
By area:
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
- 2024ARB-LLM: Alternating Refined Binarizations for Large Language Modelscited by 30
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterizationcited by 27
- 2022AlphaTuning: Quantization-Aware Parameter-Efficient Adaptation of Large-Scale Pre-Trained Language Modelscited by 22
- 2021Spartus: A 9.4 TOp/s FPGA-based LSTM Accelerator Exploiting Spatio-Temporal Sparsitycited by 20
- 2021Demystifying and Generalizing BinaryConnectcited by 11
- 2021Mixed Precision of Quantization of Transformer Language Models for Speech Recognitioncited by 10
- 2021Finding the Task-Optimal Low-Bit Sub-Distribution in Deep Neural Networkscited by 9
- 2022What Do Compressed Multilingual Machine Translation Models Forget?cited by 9
- 2022QReg: On Regularization Effects of Quantizationcited by 9
18 more
- 2025AnyBCQ: Hardware Efficient Flexible Binary-Coded Quantization for Multi-Precision LLMscited by 8
- 20214-bit Quantization of LSTM-based Speech Recognition Modelscited by 7
- 2024QGen: On the Ability to Generalize in Quantization Aware Trainingcited by 7
- 2025Unifying Uniform and Binary-coding Quantization for Accurate Compression of Large Language Modelscited by 5
- 2021Low-bit Quantization of Recurrent Neural Network Language Models Using Alternating Direction Methods of Multiplierscited by 2
- 2022Vau da muntanialas: Energy-efficient multi-die scalable acceleration of RNN inferencecited by 2
- 2026LiftQuant: Continuous Bit-Width LLM via Dimensional Lifting and Projectioncited by 2
- 2021Encoding Weights of Irregular Sparsity for Fixed-to-Fixed Model Compressioncited by 1
- 2024Quantized Approximately Orthogonal Recurrent Neural Networkscited by 1
- 2021Modulating Regularization Frequency for Efficient Compression-Aware Model Trainingcited by 0
- 2021Quantized Neural Networks via {-1, +1} Encoding Decomposition and Accelerationcited by 0
- 2022Embedding Compression for Text Classification Using Dictionary Screeningcited by 0
- 2025HadamRNN: Binary and Sparse Ternary Orthogonal RNNscited by 0
- 2025Binary Quadratic Quantization: Beyond First-Order Quantization for Real-Valued Matrix Compressioncited by 0
- 2025ELUTQ: Optimizing Quantization Accuracy under LUT-Based Computation for Edge LLMscited by 0
- 2025Rethinking Output Alignment For 1-bit Post-Training Quantization of Large Language Modelscited by 0
- 2026When Quantization Breaks Memory: Recurrent-State Write-Back in Low-Precision Temporal Inferencecited by 0
- 2026JARQ: Joint Alternating Refinement for Quantizationcited by 0
- 2026JARQ: Joint Alternating Refinement for Quantization29 Sep 2026
- 2026When Quantization Breaks Memory: Recurrent-State Write-Back in Low-Precision Temporal Inference3 Sep 2026
- 2026LiftQuant: Continuous Bit-Width LLM via Dimensional Lifting and Projection2 Jun 2026
- 2025Rethinking Output Alignment For 1-bit Post-Training Quantization of Large Language Models25 Dec 2025
- 2025ELUTQ: Optimizing Quantization Accuracy under LUT-Based Computation for Edge LLMs22 Oct 2025
- 2025Binary Quadratic Quantization: Beyond First-Order Quantization for Real-Valued Matrix Compression21 Oct 2025
- 2025AnyBCQ: Hardware Efficient Flexible Binary-Coded Quantization for Multi-Precision LLMs12 Oct 2025
- 2025Unifying Uniform and Binary-coding Quantization for Accurate Compression of Large Language Models4 Jun 2025
- 2025HadamRNN: Binary and Sparse Ternary Orthogonal RNNs28 Jan 2025
- 2024ARB-LLM: Alternating Refined Binarizations for Large Language Models4 Oct 2024
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterization10 Jun 2024
- 2024QGen: On the Ability to Generalize in Quantization Aware Training17 Apr 2024
18 more
- 2024Quantized Approximately Orthogonal Recurrent Neural Networks5 Feb 2024
- 2022Embedding Compression for Text Classification Using Dictionary Screening23 Nov 2022
- 2022AlphaTuning: Quantization-Aware Parameter-Efficient Adaptation of Large-Scale Pre-Trained Language Models8 Oct 2022
- 2022QReg: On Regularization Effects of Quantization24 Jun 2022
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Models20 Jun 2022
- 2022What Do Compressed Multilingual Machine Translation Models Forget?22 May 2022
- 2022Vau da muntanialas: Energy-efficient multi-die scalable acceleration of RNN inference14 Feb 2022
- 2021Finding the Task-Optimal Low-Bit Sub-Distribution in Deep Neural Networks30 Dec 2021
- 2021Mixed Precision of Quantization of Transformer Language Models for Speech Recognition29 Nov 2021
- 2021Low-bit Quantization of Recurrent Neural Network Language Models Using Alternating Direction Methods of Multipliers29 Nov 2021
- 2021Demystifying and Generalizing BinaryConnect25 Oct 2021
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantization27 Sep 2021
- 20214-bit Quantization of LSTM-based Speech Recognition Models27 Aug 2021
- 2021Spartus: A 9.4 TOp/s FPGA-based LSTM Accelerator Exploiting Spatio-Temporal Sparsity4 Aug 2021
- 2021Quantized Neural Networks via {-1, +1} Encoding Decomposition and Acceleration18 Jun 2021
- 2021Modulating Regularization Frequency for Efficient Compression-Aware Model Training5 May 2021
- 2021Encoding Weights of Irregular Sparsity for Fixed-to-Fixed Model Compression5 May 2021
- 2021A Survey of Quantization Methods for Efficient Neural Network Inference25 Mar 2021
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
- 2024ARB-LLM: Alternating Refined Binarizations for Large Language Modelscited by 30
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterizationcited by 27
- 2022AlphaTuning: Quantization-Aware Parameter-Efficient Adaptation of Large-Scale Pre-Trained Language Modelscited by 22
- 2021Spartus: A 9.4 TOp/s FPGA-based LSTM Accelerator Exploiting Spatio-Temporal Sparsitycited by 20
- 2021Demystifying and Generalizing BinaryConnectcited by 11
- 2021Mixed Precision of Quantization of Transformer Language Models for Speech Recognitioncited by 10
- 2021Finding the Task-Optimal Low-Bit Sub-Distribution in Deep Neural Networkscited by 9
- 2022What Do Compressed Multilingual Machine Translation Models Forget?cited by 9
- 2022QReg: On Regularization Effects of Quantizationcited by 9
12 most cited of 29 All 29 (JSON)
- 2026JARQ: Joint Alternating Refinement for Quantization29 Sep 2026
- 2026When Quantization Breaks Memory: Recurrent-State Write-Back in Low-Precision Temporal Inference3 Sep 2026
- 2026LiftQuant: Continuous Bit-Width LLM via Dimensional Lifting and Projection2 Jun 2026
- 2025ELUTQ: Optimizing Quantization Accuracy under LUT-Based Computation for Edge LLMs22 Oct 2025
- 2025Binary Quadratic Quantization: Beyond First-Order Quantization for Real-Valued Matrix Compression21 Oct 2025
- 2025AnyBCQ: Hardware Efficient Flexible Binary-Coded Quantization for Multi-Precision LLMs12 Oct 2025
- 2025Unifying Uniform and Binary-coding Quantization for Accurate Compression of Large Language Models4 Jun 2025
- 2025HadamRNN: Binary and Sparse Ternary Orthogonal RNNs28 Jan 2025
- 2024ARB-LLM: Alternating Refined Binarizations for Large Language Models4 Oct 2024
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterization10 Jun 2024
- 2024QGen: On the Ability to Generalize in Quantization Aware Training17 Apr 2024
- 2024Quantized Approximately Orthogonal Recurrent Neural Networks5 Feb 2024
12 newest of 29 All 29 (JSON)