mlsanityData to 7 Oct 2026

Analysis of Quantization on MLP-based Vision Models

arXiv 2209.06383 ↗First posted 14 Sep 2022cs.CVcited by 5

Not on the map. Why?

Abstract (arXiv)

Quantization is wildly taken as a model compression technique, which obtains efficient models by converting floating-point weights and activations in the neural network into lower-bit integers. Quantization has been proven to work well on convolutional neural networks and transformer-based models. Despite the decency of these models, recent works have shown that MLP-based models are able to achieve comparable results on various tasks ranging from computer vision, NLP to 3D point cloud, while achieving higher throughput due to the parallelism and network simplicity. However, as we show in the paper, directly applying quantization to MLP-based models will lead to significant accuracy degradation. Based on our analysis, two major issues account for the accuracy gap: 1) the range of activations in MLP-based models can be too large to quantize, and 2) specific components in the MLP-based models are sensitive to quantization. Consequently, we propose to 1) apply LayerNorm to control the quantization range of activations, 2) utilize bounded activation functions, 3) apply percentile quantization on activations, 4) use our improved module named multiple token-mixing MLPs, and 5) apply linear asymmetric quantizer for sensitive operations. Equipped with the abovementioned techniques, our Q-MLP models can achieve 79.68% accuracy on ImageNet with 8-bit uniform quantization (model size 30 MB) and 78.47% with 4-bit quantization (15 MB).

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 27 of its 33 references that are in the map. First posted on arXiv 14 Sep 2022.

Builds on

27 of 33 references.

References · 27

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  5. 2019Searching for MobileNetV3cited by 1,984
  6. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  7. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  8. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
  9. 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 456
  10. 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 387
  11. 2022Rethinking Network Design and Local Geometry in Point Cloud: A Simple Residual MLP Frameworkcited by 376
  12. 2021Pay Attention to MLPscited by 367
15 more
  1. 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
  2. 2019PyHessian: Neural Networks Through the Lens of the Hessiancited by 291
  3. 2021Post-Training Quantization for Vision Transformercited by 274
  4. 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 272
  5. 2020ZeroQ: A Novel Zero Shot Quantization Frameworkcited by 265
  6. 2019HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networkscited by 250
  7. 2017Incremental Network Quantization: Towards Lossless CNNs with Low-Precision Weightscited by 211
  8. 2022Patches Are All You Need?cited by 201
  9. 2021S2-MLP: Spatial-Shift MLP Architecture for Visioncited by 83
  10. 2017Adaptive Quantization for Deep Neural Networkcited by 67
  11. 2020EasyQuant: Post-training Quantization via Scale Optimizationcited by 57
  12. 2018Value-aware Quantization for Training and Inference of Neural Networkscited by 49
  13. 2022pNLP-Mixer: an Efficient all-MLP Architecture for Languagecited by 19
  14. 2021Rethinking Token-Mixing MLP for MLP-based Vision Backbonecited by 15
  15. 2021HAO: Hardware-aware neural Architecture Optimization for Efficient Inferencecited by 14

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 4.

5 papers.