paper-with-me

Papers

Improving Post-Training Quantization on Object Detection with Task Loss-Guided Lp Metric

2023-04-19 · Lin Niu, Jiawei Liu, Zhihang Yuan, Dawei Yang, Xinggang Wang, Wenyu Liu

Efficient inference for object detection networks is a major challenge on edge devices. Post-Training Quantization (PTQ), which transforms a full-precision model into low bit-width directly, is an effective and convenient approach to reduce model inference complexity. But it suffers severe accuracy drop when applied to complex tasks such as object detection. PTQ optimizes the quantization parameters by different metrics to minimize the perturbation of quantization. The p-norm distance of feature maps before and after quantization, Lp, is widely used as the metric to evaluate perturbation. For the specialty of object detection network, we observe that the parameter p in Lp metric will significantly influence its quantization performance. We indicate that using a fixed hyper-parameter p does not achieve optimal quantization performance. To mitigate this problem, we propose a framework, DetPTQ, to assign different p values for quantizing different layers using an Object Detection Output Loss (ODOL), which represents the task loss of object detection. DetPTQ employs the ODOL-based adaptive Lp metric to select the optimal quantization parameters. Experiments show that our DetPTQ outperforms the state-of-the-art PTQ methods by a significant margin on both 2D and 3D object detectors. For example, we achieve 31.1/31.7(quantization/full-precision) mAP on RetinaNet-ResNet18 with 4-bit weight and 4-bit activation.

📄 PDF Abstract BibTeX arXiv:2304.09785

Code (0)

등록된 구현이 없습니다.

Tasks

Objectobject-detectionObject DetectionQuantization

Similar Papers 제목 키워드 기반

Reg-PTQ: Regression-specialized Post-training Quantization for Fully Quantized Object Detector

2024-01-01 · CVPR 2024 1 · Yifu Ding, Weilun Feng, Chuyan Chen, Jinyang Guo 외

Although deep learning based object detection is of great significance for various applications it faces challenges when deployed on edge devices due to the computation and energy limitations. Post-training quantizat…

Objectobject-detectionObject DetectionQuantization+1

Inlier-Centric Post-Training Quantization for Object Detection Models

2026-02-03 · Minsu Kim, Dongyeun Lee, Jaemyung Yu, Jiwan Hur 외 arxiv

Object detection is pivotal in computer vision, yet its immense computational demands make deployment slow and power-hungry, motivating quantization. However, task-irrelevant morphologies such as background clutter and s…

Object Detection

Towards Accurate Post-training Network Quantization via Bit-Split and Stitching

2020-01-01 · ICML 2020 1 · Peisong Wang, Qiang Chen, Xiangyu He, Jian Cheng

Network quantization is essential for deploying deep models to IoT devices due to the high efficiency, no matter on special hardware like TPU or general hardware like CPU and GPU. Most existing quantization approaches re…

CPUGPUimage-classificationImage Classification+5

HPTQ: Hardware-Friendly Post Training Quantization

2021-09-19 · Hai Victor Habi, Reuven Peretz, Elad Cohen, Lior Dikstein 외

Neural network quantization enables the deployment of models on edge devices. An essential requirement for their hardware efficiency is that the quantizers are hardware-friendly: uniform, symmetric, and with power-of-two…

object-detectionObject DetectionPose EstimationQuantization+1

Post-Training Piecewise Linear Quantization for Deep Neural Networks

2020-01-31 · ECCV 2020 8 · Jun Fang, Ali Shafiee, Hamzah Abdel-Aziz, David Thorsley 외

Quantization plays an important role in the energy-efficient deployment of deep neural networks on resource-limited devices. Post-training quantization is highly desirable since it does not require retraining or access t…

image-classificationImage Classificationobject-detectionObject Detection+2