paper-with-me

홈 › Papers

McQueen : Mixed Precision Quantization of Early Exit Networks

2023-11-20 · British Machine Vision Conference (BMVC) 2023 11 · Utkarsh Saxena; Kaushik Roy

Mixed precision quantization offers a promising way of obtaining the optimal tradeoff between model complexity and accuracy. However, most quantization techniques do not support input adaptive execution of neural networks resulting in a fixed computational cost for all the instances in a dataset. On the other hand, early exit networks augment traditional architectures with multiple exit classifiers and spend varied computational effort depending on dataset instance complexity, reducing the computational cost. In this work, we propose McQueen, a mixed precision quantization technique for early exit networks. Specifically, we develop a Parametric Differentiable Quantizer (PDQ) which learns the quantizer precision, threshold, and scaling factor during training. Further, we propose a gradient masking technique that facilitates the joint optimization of exit and final classifiers to learn PDQ and network parameters. Extensive experiments on a variety of datasets demonstrate that our method can achieve significant reduction in BitOperations (BOPs) while maintaining the top-1 accuracy of the original floating-point model. Specifically, McQueen is able to reduce BOPs by 109x compared to floatingpoint baseline without accuracy degradation on ResNet-18 trained on ImageNet.

📄 PDF Abstract BibTeX

Code (1)

UtkarshSaxena1/McQueen pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

APTQ: Attention-aware Post-Training Mixed-Precision Quantization for Large Language Models

2024-02-21 · Ziyi Guan, Hantao Huang, Yupeng Su, Hong Huang 외

Large Language Models (LLMs) have greatly advanced the natural language processing paradigm. However, the high computational load and huge model sizes pose a grand challenge for deployment on edge devices. To this end, w…

Quantization

Patch-wise Mixed-Precision Quantization of Vision Transformer

2023-05-11 · Junrui Xiao, Zhikai Li, Lianwei Yang, Qingyi Gu

As emerging hardware begins to support mixed bit-width arithmetic computation, mixed-precision quantization is widely used to reduce the complexity of neural networks. However, Vision Transformers (ViTs) require complex …

QuantizationSensitivity

BOMP-NAS: Bayesian Optimization Mixed Precision NAS

2023-01-27 · David van Son, Floran de Putter, Sebastian Vogel, Henk Corporaal

Bayesian Optimization Mixed-Precision Neural Architecture Search (BOMP-NAS) is an approach to quantization-aware neural architecture search (QA-NAS) that leverages both Bayesian optimization (BO) and mixed-precision quan…

Bayesian OptimizationNeural Architecture SearchQuantization

Generalizable Mixed-Precision Quantization via Attribution Rank Preservation

2021-08-05 · ICCV 2021 10 · Ziwei Wang, Han Xiao, Jiwen Lu, Jie zhou

In this paper, we propose a generalizable mixed-precision quantization (GMPQ) method for efficient inference. Conventional methods require the consistency of datasets for bitwidth search and model deployment to guarantee…

Quantization

QuantuneV2: Compiler-Based Local Metric-Driven Mixed Precision Quantization for Practical Embedded AI Applications

2025-01-13 · Jeongseok Kim, Jemin Lee, Yongin Kwon, Daeyoung Kim

Mixed-precision quantization methods have been proposed to reduce model size while minimizing accuracy degradation. However, existing studies require retraining and do not consider the computational overhead and intermed…

Computational EfficiencyQuantization