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

DPT:用于视觉识别的基于可变形块的Transformer

DPT: Deformable Patch-based Transformer for Visual Recognition

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);AnyVision;Peking University(北京大学)

Zhiyang Chen, Yousong Zhu, Chaoyang Zhao, Guosheng Hu, Wei Zeng, Jinqiao Wang, Ming Tang

摘要:

Transformer在计算机视觉中取得了巨大的成功,而如何分割图像中的补丁仍然是一个问题。现有的方法通常使用固定大小的补丁嵌入,这可能会破坏对象的语义。为了解决这个问题,我们提出了一个新的可变形补丁(DePatch)模块,学习自适应地分裂成不同的位置和规模的图像补丁在数据驱动的方式,而不是使用预定义的固定补丁。这样,我们的方法可以很好地保持补丁的语义。DePatch模块可以作为一个即插即用模块工作,可以很容易地集成到不同的Transformers中,以实现端到端的培训。我们将这种DePatch嵌入式Transformer称为基于可变形补丁的Transformer(DPT),并对DPT在图像分类和目标检测方面进行了广泛的评估。结果显示,DPT在ImageNet分类上可以达到81.9%的top-1准确率,在MSCOCO目标检测上,RetinaNet的box mAP为43.7%,Mask R-CNN为44.3%。代码已在https://github.com/CASIA-IVA-Lab/DPT上提供。

英文摘要:

Transformer has achieved great success in computer vision, while how to split patches in an image remains a problem. Existing methods usually use a fixed-size patch embedding which might destroy the semantics of objects. To address this problem, we propose a new Deformable Patch (DePatch) module which learns to adaptively split the images into patches with different positions and scales in a data-driven way rather than using predefined fixed patches. In this way, our method can well preserve the semantics in patches. The DePatch module can work as a plug-and-play module, which can easily be incorporated into different transformers to achieve an end-to-end training. We term this DePatch-embedded transformer as Deformable Patch-based Transformer (DPT) and conduct extensive evaluations of DPT on image classification and object detection. Results show DPT can achieve 81.9% top-1 accuracy on ImageNet classification, and 43.7% box mAP with RetinaNet, 44.3% with Mask R-CNN on MSCOCO object detection. Code has been made available at: https://github.com/CASIA-IVA-Lab/DPT .

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

↑