2025-07-23 · 专家 · 计算机视觉 · 机器学习

Task-Specific Zero-shot Quantization-Aware Training for Object Detection

该论文提出了一种针对目标检测任务的特定任务零样本量化框架,通过生成特定任务的校准集和特定任务的量化网络蒸馏,显著提高了量化检测网络的性能。

更新于 2025-07-30。作者:Changhao Li、Xinrui Chen、Ji Wang、Kang Zhao、Jianfei Chen。

中文摘要

量化是一种关键技术,通过用更低精度来表示网络参数,从而减小网络尺寸和计算复杂度。传统的量化方法依赖于访问原始训练数据,但这一需求通常受到隐私关注或安全挑战的限制。零样本量化(ZSQ)通过使用从预训练模型生成的合成数据来解决这个问题,消除了对真实训练数据的需要。最近,ZSQ已被扩展到目标检测领域。然而,现有方法使用未标记的任务无关合成图像,这些图像缺乏目标检测所需的特定信息,导致性能不佳。在本文中,我们提出了一种新的针对目标检测网络的任务特定ZSQ框架,该框架包括两个主要阶段。首先,我们引入了一种边界框和类别采样策略,从预训练网络中合成一个针对特定任务的重校准集,无需任何先验知识即可重建目标位置、尺寸和类别分布。其次,我们将针对特定任务的训练整合到知识蒸馏过程中,以恢复量化检测网络的性能。在MS-COCO和Pascal VOC数据集上进行的广泛实验证明了我们方法的效率和最先进的性能。我们的代码在以下网址公开提供:https://github.com/DFQ-Dojo/dfq-toolkit 。

英文摘要

Quantization is a key technique to reduce network size and computational complexity by representing the network parameters with a lower precision. Traditional quantization methods rely on access to original training data, which is often restricted due to privacy concerns or security challenges. Zero-shot Quantization (ZSQ) addresses this by using synthetic data generated from pre-trained models, eliminating the need for real training data. Recently, ZSQ has been extended to object detection. However, existing methods use unlabeled task-agnostic synthetic images that lack the specific information required for object detection, leading to suboptimal performance. In this paper, we propose a novel task-specific ZSQ framework for object detection networks, which consists of two main stages. First, we introduce a bounding box and category sampling strategy to synthesize a task-specific calibration set from the pre-trained network, reconstructing object locations, sizes, and category distributions without any prior knowledge. Second, we integrate task-specific training into the knowledge distillation process to restore the performance of quantized detection networks. Extensive experiments conducted on the MS-COCO and Pascal VOC datasets demonstrate the efficiency and state-of-the-art performance of our method. Our code is publicly available at: https://github.com/DFQ-Dojo/dfq-toolkit .

解读

一句话总结

该论文提出了一种针对目标检测任务的特定任务零样本量化框架,通过生成特定任务的校准集和特定任务的量化网络蒸馏,显著提高了量化检测网络的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源