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

MP-Former:用于图像分割的掩模引导Transformer

MP-Former: Mask-Piloted Transformer for Image Segmentation

The Hong Kong University of Science and Technology(香港科技大学);The Chinese University of Hong Kong(香港中文大学);Tsinghua University(清华大学);International Digital Economy Academy (IDEA)(国际数字经济研究院(IDEA));The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Hao Zhang, Feng Li, Huaizhe Xu, Shijia Huang, Shilong Liu, Lionel M. Ni, Lei Zhang

摘要:

我们提出了一个掩码引导的Transformer,它提高了Mask 2Former的图像分割的掩蔽注意力。这种改进是基于我们的观察,即Mask 2Former在连续的解码器层之间遭受不一致的掩码预测,这导致不一致的优化目标和解码器查询的低利用率。为了解决这个问题,我们提出了一种mask-piloted训练方法,该方法还在masked-attention中提供噪声地面真实掩码,并训练模型以重建原始模型。与mask-attention中使用的预测面具相比,地面真实面具作为试点,有效地减轻了Mask 2Former中不准确面具预测的负面影响。基于这种技术,我们的\M在所有三个图像分割任务(实例,全景和语义)上实现了显着的性能改进,在Cityscapes实例上生成了$+2.3$ AP和$+1.6$ mIoU,并使用ResNet-50主干完成了语义分割任务。我们的方法还显著加快了训练速度,在使用ResNet-50和Swin-L主干的ADE 20 K上,其训练epoch数仅为前者的一半,优于Mask 2Former。此外,我们的方法在训练过程中只引入了很少的计算,在推理过程中没有额外的计算。我们的代码将在\url{https://github.com/IDEA-Research/MP-Former}上发布。

英文摘要:

We present a mask-piloted Transformer which improves masked-attention in Mask2Former for image segmentation. The improvement is based on our observation that Mask2Former suffers from inconsistent mask predictions between consecutive decoder layers, which leads to inconsistent optimization goals and low utilization of decoder queries. To address this problem, we propose a mask-piloted training approach, which additionally feeds noised ground-truth masks in masked-attention and trains the model to reconstruct the original ones. Compared with the predicted masks used in mask-attention, the ground-truth masks serve as a pilot and effectively alleviate the negative impact of inaccurate mask predictions in Mask2Former. Based on this technique, our \M achieves a remarkable performance improvement on all three image segmentation tasks (instance, panoptic, and semantic), yielding $+2.3$AP and $+1.6$mIoU on the Cityscapes instance and semantic segmentation tasks with a ResNet-50 backbone. Our method also significantly speeds up the training, outperforming Mask2Former with half of the number of training epochs on ADE20K with both a ResNet-50 and a Swin-L backbones. Moreover, our method only introduces little computation during training and no extra computation during inference. Our code will be released at \url{https://github.com/IDEA-Research/MP-Former}.

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

↑