Characterizing and Understanding the Behavior of Quantized Models for Reliable Deployment
Not on the map. Why?
Abstract (arXiv)
Deep Neural Networks (DNNs) have gained considerable attention in the past decades due to their astounding performance in different applications, such as natural language modeling, self-driving assistance, and source code understanding. With rapid exploration, more and more complex DNN architectures have been proposed along with huge pre-trained model parameters. The common way to use such DNN models in user-friendly devices (e.g., mobile phones) is to perform model compression before deployment. However, recent research has demonstrated that model compression, e.g., model quantization, yields accuracy degradation as well as outputs disagreements when tested on unseen data. Since the unseen data always include distribution shifts and often appear in the wild, the quality and reliability of quantized models are not ensured. In this paper, we conduct a comprehensive study to characterize and help users understand the behaviors of quantized models. Our study considers 4 datasets spanning from image to text, 8 DNN architectures including feed-forward neural networks and recurrent neural networks, and 42 shifted sets with both synthetic and natural distribution shifts. The results reveal that 1) data with distribution shifts happen more disagreements than without. 2) Quantization-aware training can produce more stable models than standard, adversarial, and Mixup training. 3) Disagreements often have closer top-1 and top-2 output probabilities, and Margin is a better indicator than the other uncertainty metrics to distinguish disagreements. 4) Retraining with disagreements has limited efficiency in removing disagreements. We opensource our code and models as a new benchmark for further studying the quantized models.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 32 of its 65 references that are in the map. First posted on arXiv 8 Apr 2022.
Builds on
32 of 65 references.
References · 32
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
20 more
- 2013Network In Networkcited by 600
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
- 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 249
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
- 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 144
- 2019MNIST-C: A Robustness Benchmark for Computer Visioncited by 137
- 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 123
- 2018DLFuzz: Differential Fuzzing Testing of Deep Learning Systemscited by 64
- 2020Adversarial Robustness for Codecited by 36
- 2019An Empirical Study towards Characterizing Deep Learning Development and Deployment across Different Frameworks and Platformscited by 35
- 2019Test Selection for Deep Learning Systemscited by 27
- 2019Boosting Operational DNN Testing Efficiency through Conditioningcited by 22
- 2021Distribution-Aware Testing of Neural Networks Using Generative Modelscited by 22
- 2021An Empirical Study on Deployment Faults of Deep Learning Based Mobile Applicationscited by 20
- 2021Post-Training Sparsity-Aware Quantizationcited by 16
- 2021DeepMetis: Augmenting a Deep Learning Test Set to Increase its Mutation Scorecited by 12
- 2021Understanding and Testing Generalization of Deep Networks on Out-of-Distribution Datacited by 5
- 2018Secure Deep Learning Engineering: A Software Quality Assurance Perspectivecited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 1.
2 papers.