arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.04816cs.CV
收藏

Q-YOLO:面向实时目标检测的高效推理

Q-YOLO: Efficient Inference for Real-time Object Detection

Beihang University(北京航空航天大学)

Mingze Wang, Huixin Sun, Jun Shi, Xuhui Liu, Baochang Zhang, Xianbin Cao

AI总结:

本文提出Q-YOLO,通过端到端训练后量化流程和基于单边直方图的激活量化方案,缓解传统量化YOLO的激活分布不平衡问题,在COCO数据集上以更优的精度-计算成本平衡超越其他PTQ方法,助力边缘设备实时目标检测。

摘要:

实时目标检测在各种计算机视觉应用中发挥着至关重要的作用。然而,由于高计算量和内存需求,在资源受限平台上部署实时目标检测器面临挑战。本文描述了一种低比特量化方法,用于构建一个高效的单阶段检测器,称为Q-YOLO,它能够有效解决传统量化YOLO模型中由激活分布不平衡引起的性能下降问题。Q-YOLO引入了一个完全端到端的训练后量化(Post-Training Quantization, PTQ)流程,并设计了一种基于单边直方图(Unilateral Histogram-based, UH)的激活量化方案,该方案通过直方图分析确定最大截断值,以最小化均方误差(Mean Squared Error, MSE)量化误差。在COCO数据集上的大量实验证明了Q-YOLO的有效性,其性能优于其他PTQ方法,同时在准确率和计算成本之间取得了更有利的平衡。本研究有助于推动目标检测模型在资源受限的边缘设备上的高效部署,实现以更低的计算和内存开销进行实时检测。

英文摘要:

Real-time object detection plays a vital role in various computer vision applications. However, deploying real-time object detectors on resource-constrained platforms poses challenges due to high computational and memory requirements. This paper describes a low-bit quantization method to build a highly efficient one-stage detector, dubbed as Q-YOLO, which can effectively address the performance degradation problem caused by activation distribution imbalance in traditional quantized YOLO models. Q-YOLO introduces a fully end-to-end Post-Training Quantization (PTQ) pipeline with a well-designed Unilateral Histogram-based (UH) activation quantization scheme, which determines the maximum truncation values through histogram analysis by minimizing the Mean Squared Error (MSE) quantization errors. Extensive experiments on the COCO dataset demonstrate the effectiveness of Q-YOLO, outperforming other PTQ methods while achieving a more favorable balance between accuracy and computational cost. This research contributes to advancing the efficient deployment of object detection models on resource-limited edge devices, enabling real-time detection with reduced computational and memory overhead.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑