mlsanityData to 7 Oct 2026

Characterizing and Understanding the Behavior of Quantized Models for Reliable Deployment

arXiv 2204.04220 ↗First posted 8 Apr 2022cs.LG cs.AI cs.SEcited by 2

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2016Densely Connected Convolutional Networkscited by 6,691
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  6. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  7. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  8. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  9. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
  10. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  11. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  12. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
20 more
  1. 2013Network In Networkcited by 600
  2. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  3. 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
  4. 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 249
  5. 2018code2vec: Learning Distributed Representations of Codecited by 249
  6. 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
  7. 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 144
  8. 2019MNIST-C: A Robustness Benchmark for Computer Visioncited by 137
  9. 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 123
  10. 2018DLFuzz: Differential Fuzzing Testing of Deep Learning Systemscited by 64
  11. 2020Adversarial Robustness for Codecited by 36
  12. 2019An Empirical Study towards Characterizing Deep Learning Development and Deployment across Different Frameworks and Platformscited by 35
  13. 2019Test Selection for Deep Learning Systemscited by 27
  14. 2019Boosting Operational DNN Testing Efficiency through Conditioningcited by 22
  15. 2021Distribution-Aware Testing of Neural Networks Using Generative Modelscited by 22
  16. 2021An Empirical Study on Deployment Faults of Deep Learning Based Mobile Applicationscited by 20
  17. 2021Post-Training Sparsity-Aware Quantizationcited by 16
  18. 2021DeepMetis: Augmenting a Deep Learning Test Set to Increase its Mutation Scorecited by 12
  19. 2021Understanding and Testing Generalization of Deep Networks on Out-of-Distribution Datacited by 5
  20. 2018Secure Deep Learning Engineering: A Software Quality Assurance Perspectivecited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 1.

2 papers.