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

像素级对比蒸馏

Pixel-Wise Contrastive Distillation

Shopee(虾皮)

Junqiang Huang, Zichao Guo

AI总结:

本文提出像素级自监督蒸馏框架 PCD,通过 SpatialAdaptor 和多头自注意力增强逐像素知识迁移,在 COCO 密集预测任务上超过既有自监督蒸馏方法。

摘要:

我们提出了一个简单但有效的像素级自监督蒸馏框架,适用于密集预测任务。我们的方法称为 Pixel-Wise Contrastive Distillation(PCD),通过拉近学生网络与教师网络输出特征图中的对应像素来蒸馏知识。PCD 包含一种名为 SpatialAdaptor 的新颖设计,它在保留教师网络输出特征分布的同时,对教师网络的一部分进行“重塑”。我们的消融实验表明,这种重塑行为能够实现信息量更高的像素到像素蒸馏。此外,我们采用了一个即插即用的多头自注意力模块,显式地关联学生特征图中的像素,以增强有效感受野,从而得到更具竞争力的学生网络。PCD 在多种密集预测任务上优于以往的自监督蒸馏方法。经 PCD 蒸馏的 ResNet-18-FPN 主干网络在 COCO 数据集上使用 Mask R-CNN 检测器取得了 37.4 AP^bbox 和 34.0 AP^mask。我们希望本研究能够启发未来关于如何以自监督方式预训练适合密集预测任务的小模型的研究。

英文摘要:

We present a simple but effective pixel-level self-supervised distillation framework friendly to dense prediction tasks. Our method, called Pixel-Wise Contrastive Distillation (PCD), distills knowledge by attracting the corresponding pixels from student's and teacher's output feature maps. PCD includes a novel design called SpatialAdaptor which ``reshapes'' a part of the teacher network while preserving the distribution of its output features. Our ablation experiments suggest that this reshaping behavior enables more informative pixel-to-pixel distillation. Moreover, we utilize a plug-in multi-head self-attention module that explicitly relates the pixels of student's feature maps to enhance the effective receptive field, leading to a more competitive student. PCD \textbf{outperforms} previous self-supervised distillation methods on various dense prediction tasks. A backbone of \mbox{ResNet-18-FPN} distilled by PCD achieves $37.4$ AP$^\text{bbox}$ and $34.0$ AP$^\text{mask}$ on COCO dataset using the detector of \mbox{Mask R-CNN}. We hope our study will inspire future research on how to pre-train a small model friendly to dense prediction tasks in a self-supervised fashion.

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

↑