[论文解读] Open-Vocabulary One-Stage Detection with Hierarchical Visual-Language Knowledge Distillation
本文提出HierKD,一种用于开放词汇单阶段目标检测的分层视觉-语言知识蒸馏方法,通过引入全局级别的语言到视觉知识蒸馏,将预训练视觉-语言模型(CLIP)中未见类别的语义知识迁移至检测器。结合实例级别的知识蒸馏,HierKD实现了最先进性能,在零样本检测和广义零样本检测下的AP50分别超越先前单阶段检测器11.9%和6.7%,并将与最佳两阶段检测器之间的性能差距从14%缩小至7.3%。
Open-vocabulary object detection aims to detect novel object categories beyond the training set. The advanced open-vocabulary two-stage detectors employ instance-level visual-to-visual knowledge distillation to align the visual space of the detector with the semantic space of the Pre-trained Visual-Language Model (PVLM). However, in the more efficient one-stage detector, the absence of class-agnostic object proposals hinders the knowledge distillation on unseen objects, leading to severe performance degradation. In this paper, we propose a hierarchical visual-language knowledge distillation method, i.e., HierKD, for open-vocabulary one-stage detection. Specifically, a global-level knowledge distillation is explored to transfer the knowledge of unseen categories from the PVLM to the detector. Moreover, we combine the proposed global-level knowledge distillation and the common instance-level knowledge distillation to learn the knowledge of seen and unseen categories simultaneously. Extensive experiments on MS-COCO show that our method significantly surpasses the previous best one-stage detector with 11.9\% and 6.7\% $AP_{50}$ gains under the zero-shot detection and generalized zero-shot detection settings, and reduces the $AP_{50}$ performance gap from 14\% to 7.3\% compared to the best two-stage detector.
研究动机与目标
- 为缩小单阶段检测器与两阶段检测器在开放词汇目标检测中的性能差距,因为单阶段模型在未见类别上的知识蒸馏能力有限,传统上表现较差。
- 通过引入全局级别的知识蒸馏机制,解决单阶段检测器固有的缺陷——稀疏正样本点无法覆盖新类别区域的问题。
- 在无需实例级标注的情况下,实现从预训练视觉-语言模型(如CLIP)到检测器特征的有效语义知识迁移,尤其针对未见(新)类别。
- 开发一种分层蒸馏框架,结合全局级别与实例级别知识蒸馏,实现单阶段检测器的端到端、统一训练。
提出的方法
- 提出全局级别知识蒸馏(GKD),将检测器的全局图像表征与预训练视觉-语言模型(PVLM,如CLIP)的文本表征对齐。
- 利用图像字幕作为新类别语义知识的来源,使检测器即使在训练标注中不存在的物体也能学习其语义。
- 引入语言到视觉的蒸馏损失,最小化PVLM的字幕嵌入与检测器全局图像嵌入之间的对比距离。
- 以分层方式将GKD与标准实例级别视觉到视觉知识蒸馏(IKD)结合,实现对已见类别与未见类别语义的同步学习。
- 采用双分支训练策略:一个分支用于实例级别蒸馏(在正样本点上),另一个分支用于全局级别蒸馏(在图像级字幕上)。
- 使用CLIP作为教师模型,提供零样本分类能力,蒸馏过程在检测器训练期间应用,以提升对新类别的泛化能力。
实验结果
研究问题
- RQ1尽管单阶段检测器效率高且结构简单,为何其在开放词汇检测中仍表现不如两阶段检测器?
- RQ2当实例级别监督有限时,全局级别的视觉-语言知识蒸馏是否能有效将未见类别的语义知识迁移至单阶段检测器?
- RQ3如何将全局级别与实例级别知识蒸馏相结合,以提升单阶段检测器在已见类别与新类别上的检测性能?
- RQ4从图像字幕进行的全局级别蒸馏在多大程度上能缩小单阶段与两阶段开放词汇检测器之间的性能差距?
主要发现
- 在零样本检测(ZSD)设置下,HierKD在48/17的基类/新类划分中,新类别AP50达到25.3%,比之前最佳的单阶段方法(ZSD-YOLO)高出11.9%的AP50。
- 在广义零样本检测(GZSD)设置下,HierKD在新类别上达到27.3%的AP50,较ZSD-YOLO提升6.7%,且与最佳两阶段检测器(ViLD)的性能差距缩小7.3%。
- 该方法将单阶段与两阶段检测器之间的AP50性能差距从14%降至7.3%,展现出与最先进两阶段方法相当的竞争力。
- 通过将训练扩展至3×调度并引入尺度抖动,结合ResNet-101主干网络,性能进一步提升,新类别AP50达到27.3%,表明其与标准检测优化技术兼容。
- 尽管结果优异,HierKD与理想上限(68.0% AP50)仍存在显著差距,表明在模仿CLIP的零样本能力方面仍有改进空间。
- 在小物体上性能有限(AP_S = 11.4%),表明当前蒸馏机制可能尚未充分捕捉小尺度实例的细粒度语义线索。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。