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

OneFormer:一个Transformer来统治通用图像分割

OneFormer: One Transformer to Rule Universal Image Segmentation

SHI Labs(SHI实验室);Picsart AI Research(Picsart人工智能研究院)

Jitesh Jain, Jiachen Li, MangTik Chiu, Ali Hassani, Nikita Orlov, Humphrey Shi

摘要:

通用图像分割并不是一个新概念。在过去的几十年中,统一图像分割的尝试包括场景解析、全景分割以及最近的新全景架构。然而,这种全景架构并没有真正统一图像分割,因为它们需要在语义、实例或全景分割上单独训练以实现最佳性能。理想情况下,一个真正通用的框架应该只训练一次,并在所有三个图像分割任务中实现SOTA性能。为此,我们提出了OneFormer,这是一个通用的图像分割框架,它将分割与多任务训练一次设计相结合。我们首先提出了一个任务条件的联合训练策略,使训练的基础真理的每个领域(语义,实例,和全景分割)在一个单一的多任务训练过程。其次,我们引入了一个任务令牌来约束我们的模型,使我们的模型具有任务动态性,以支持多任务训练和推理。第三,我们建议在训练过程中使用查询文本对比损失来建立更好的任务间和类间区分。值得注意的是,我们的单个OneFormer模型在ADE20k、CityScapes和COCO上的所有三个分割任务中的性能都优于专门的Mask2Former模型,尽管后者在三个任务中的每一个上都进行了单独的训练,资源是前者的三倍。使用新的ConvNeXt和DiNAT主干,我们观察到更多的性能改进。我们相信OneFormer是使图像分割更加通用和可访问的重要一步。为了支持进一步的研究,我们在https://github.com/SHI-Labs/OneFormer上开源了我们的代码和模型。

英文摘要:

Universal Image Segmentation is not a new concept. Past attempts to unify image segmentation in the last decades include scene parsing, panoptic segmentation, and, more recently, new panoptic architectures. However, such panoptic architectures do not truly unify image segmentation because they need to be trained individually on the semantic, instance, or panoptic segmentation to achieve the best performance. Ideally, a truly universal framework should be trained only once and achieve SOTA performance across all three image segmentation tasks. To that end, we propose OneFormer, a universal image segmentation framework that unifies segmentation with a multi-task train-once design. We first propose a task-conditioned joint training strategy that enables training on ground truths of each domain (semantic, instance, and panoptic segmentation) within a single multi-task training process. Secondly, we introduce a task token to condition our model on the task at hand, making our model task-dynamic to support multi-task training and inference. Thirdly, we propose using a query-text contrastive loss during training to establish better inter-task and inter-class distinctions. Notably, our single OneFormer model outperforms specialized Mask2Former models across all three segmentation tasks on ADE20k, CityScapes, and COCO, despite the latter being trained on each of the three tasks individually with three times the resources. With new ConvNeXt and DiNAT backbones, we observe even more performance improvement. We believe OneFormer is a significant step towards making image segmentation more universal and accessible. To support further research, we open-source our code and models at https://github.com/SHI-Labs/OneFormer

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

↑