[论文解读] DeFRCN: Decoupled Faster R-CNN for Few-Shot Object Detection
DeFRCN 提出了一种用于少样本目标检测的解耦 Faster R-CNN 架构,引入梯度解耦层(GDL)以解耦主干网络、RPN 和 RCNN 之间的特征流,并提出原型校准模块(PCB)通过基于原型的成对分数来优化分类分数。该方法在 COCO 少样本基准上实现了最先进性能,显著优于先前方法。
Few-shot object detection, which aims at detecting novel objects rapidly from extremely few annotated examples of previously unseen classes, has attracted significant research interest in the community. Most existing approaches employ the Faster R-CNN as basic detection framework, yet, due to the lack of tailored considerations for data-scarce scenario, their performance is often not satisfactory. In this paper, we look closely into the conventional Faster R-CNN and analyze its contradictions from two orthogonal perspectives, namely multi-stage (RPN vs. RCNN) and multi-task (classification vs. localization). To resolve these issues, we propose a simple yet effective architecture, named Decoupled Faster R-CNN (DeFRCN). To be concrete, we extend Faster R-CNN by introducing Gradient Decoupled Layer for multi-stage decoupling and Prototypical Calibration Block for multi-task decoupling. The former is a novel deep layer with redefining the feature-forward operation and gradient-backward operation for decoupling its subsequent layer and preceding layer, and the latter is an offline prototype-based classification model with taking the proposals from detector as input and boosting the original classification scores with additional pairwise scores for calibration. Extensive experiments on multiple benchmarks show our framework is remarkably superior to other existing approaches and establishes a new state-of-the-art in few-shot literature.
研究动机与目标
- 为解决标准 Faster R-CNN 在少样本目标检测中因各阶段和任务间优化目标冲突而导致的性能限制。
- 通过在可学习层中解耦梯度流,缓解端到端训练中 RPN 与 RCNN 之间的多阶段冲突。
- 通过校准模块解耦分类与定位任务的优化,缓解多任务冲突。
- 通过使用预训练分类器和新型支持原型,提升数据稀缺场景下的泛化能力和鲁棒性。
- 建立一个简单而有效的框架,在少样本检测任务中超越元学习和微调基线方法。
提出的方法
- 引入梯度解耦层(GDL),对前向特征应用可学习仿射变换,并通过可学习参数 λ 控制反向梯度缩放,实现主干网络与后续模块之间的可控解耦。
- 在主干网络与 RPN 之间、主干网络与 RCNN 之间部署 GDL,以解耦多阶段优化,减少阶段间的干扰。
- 提出原型校准模块(PCB),接收区域建议作为输入,并通过计算建议与预计算类别原型之间的成对相似度分数,增强原始分类分数。
- 使用预训练的 ImageNet 分类器初始化 PCB,实现对预训练阶段未见的新类别的零样本泛化能力。
- 通过结合原始 softmax 输出与基于原型的成对分数,校准最终分类分数,提升在少样本样本上的置信度与准确性。
- 采用两阶段微调策略,保持主干网络权重不变,仅微调检测头和校准组件。
实验结果
研究问题
- RQ1标准 Faster R-CNN 中的端到端联合优化为何因 RPN 与 RCNN 之间目标冲突而阻碍少样本目标检测?
- RQ2在低数据环境下,通过解耦阶段间梯度流在多大程度上能改善特征表示与检测精度?
- RQ3基于原型的校准模块是否能在不重新训练主检测头的情况下提升分类性能?
- RQ4与现有最先进方法相比,该方法在跨域和少样本检测场景中的有效性如何?
- RQ5使用预训练模型结合新型原型,是否能实现在少样本检测中对未见类别的零样本泛化?
主要发现
- DeFRCN 在 COCO 10-shot 少样本目标检测基准上实现了最先进性能,显著优于先前方法。
- 在 Cityscapes 到 FoggyCityscapes 的跨域检测任务中,引入 GDL 后 mAP 提升了 +2.8%,证明其泛化能力超越少样本检测场景。
- 原型校准模块即使在 ImageNet 1K 中未包含的新类别上,也能成功提升分类分数,可视化激活图证实了这一点。
- 可视化结果表明,不同原型在特征图中激活不同区域,验证了在数据稀缺环境下成对分数机制的有效性。
- 实验表明,当 λ 值在 1 到 5 之间时,性能因过拟合和优化不稳定而下降,最优性能在 λ ∈ [0,1] 范围内实现。
- 该方法在少样本目标检测和跨域检测任务中均取得优异结果,表明其在少样本场景外也具有广泛适用性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。