TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Pyramid Vision Transformer: A Versatile Backbone for Dense...

Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions

Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping Luo, Ling Shao

2021-02-24ICCV 2021 10Image ClassificationSemantic SegmentationInstance Segmentationobject-detectionObject Detection
PaperPDFCodeCodeCodeCodeCodeCodeCodeCodeCode(official)CodeCode

Abstract

Although using convolutional neural networks (CNNs) as backbones achieves great successes in computer vision, this work investigates a simple backbone network useful for many dense prediction tasks without convolutions. Unlike the recently-proposed Transformer model (e.g., ViT) that is specially designed for image classification, we propose Pyramid Vision Transformer~(PVT), which overcomes the difficulties of porting Transformer to various dense prediction tasks. PVT has several merits compared to prior arts. (1) Different from ViT that typically has low-resolution outputs and high computational and memory cost, PVT can be not only trained on dense partitions of the image to achieve high output resolution, which is important for dense predictions but also using a progressive shrinking pyramid to reduce computations of large feature maps. (2) PVT inherits the advantages from both CNN and Transformer, making it a unified backbone in various vision tasks without convolutions by simply replacing CNN backbones. (3) We validate PVT by conducting extensive experiments, showing that it boosts the performance of many downstream tasks, e.g., object detection, semantic, and instance segmentation. For example, with a comparable number of parameters, RetinaNet+PVT achieves 40.4 AP on the COCO dataset, surpassing RetinNet+ResNet50 (36.3 AP) by 4.1 absolute AP. We hope PVT could serve as an alternative and useful backbone for pixel-level predictions and facilitate future researches. Code is available at https://github.com/whai362/PVT.

Results

TaskDatasetMetricValueModel
Object DetectionCOCO minivalAP5063.6PVT-Large (RetinaNet 3x,MS)
Object DetectionCOCO minivalAP7546.1PVT-Large (RetinaNet 3x,MS)
Object DetectionCOCO minivalAPL59.5PVT-Large (RetinaNet 3x,MS)
Object DetectionCOCO minivalAPM46PVT-Large (RetinaNet 3x,MS)
Object DetectionCOCO minivalAPS26.1PVT-Large (RetinaNet 3x,MS)
Object DetectionCOCO minivalbox AP43.4PVT-Large (RetinaNet 3x,MS)
Object DetectionCOCO minivalAP5063.7PVT-Large (RetinaNet 1x)
Object DetectionCOCO minivalAP7545.4PVT-Large (RetinaNet 1x)
Object DetectionCOCO minivalAPL58.4PVT-Large (RetinaNet 1x)
Object DetectionCOCO minivalAPM46PVT-Large (RetinaNet 1x)
Object DetectionCOCO minivalAPS25.8PVT-Large (RetinaNet 1x)
Object DetectionCOCO minivalbox AP42.6PVT-Large (RetinaNet 1x)
3DCOCO minivalAP5063.6PVT-Large (RetinaNet 3x,MS)
3DCOCO minivalAP7546.1PVT-Large (RetinaNet 3x,MS)
3DCOCO minivalAPL59.5PVT-Large (RetinaNet 3x,MS)
3DCOCO minivalAPM46PVT-Large (RetinaNet 3x,MS)
3DCOCO minivalAPS26.1PVT-Large (RetinaNet 3x,MS)
3DCOCO minivalbox AP43.4PVT-Large (RetinaNet 3x,MS)
3DCOCO minivalAP5063.7PVT-Large (RetinaNet 1x)
3DCOCO minivalAP7545.4PVT-Large (RetinaNet 1x)
3DCOCO minivalAPL58.4PVT-Large (RetinaNet 1x)
3DCOCO minivalAPM46PVT-Large (RetinaNet 1x)
3DCOCO minivalAPS25.8PVT-Large (RetinaNet 1x)
3DCOCO minivalbox AP42.6PVT-Large (RetinaNet 1x)
2D ClassificationCOCO minivalAP5063.6PVT-Large (RetinaNet 3x,MS)
2D ClassificationCOCO minivalAP7546.1PVT-Large (RetinaNet 3x,MS)
2D ClassificationCOCO minivalAPL59.5PVT-Large (RetinaNet 3x,MS)
2D ClassificationCOCO minivalAPM46PVT-Large (RetinaNet 3x,MS)
2D ClassificationCOCO minivalAPS26.1PVT-Large (RetinaNet 3x,MS)
2D ClassificationCOCO minivalbox AP43.4PVT-Large (RetinaNet 3x,MS)
2D ClassificationCOCO minivalAP5063.7PVT-Large (RetinaNet 1x)
2D ClassificationCOCO minivalAP7545.4PVT-Large (RetinaNet 1x)
2D ClassificationCOCO minivalAPL58.4PVT-Large (RetinaNet 1x)
2D ClassificationCOCO minivalAPM46PVT-Large (RetinaNet 1x)
2D ClassificationCOCO minivalAPS25.8PVT-Large (RetinaNet 1x)
2D ClassificationCOCO minivalbox AP42.6PVT-Large (RetinaNet 1x)
2D Object DetectionCOCO minivalAP5063.6PVT-Large (RetinaNet 3x,MS)
2D Object DetectionCOCO minivalAP7546.1PVT-Large (RetinaNet 3x,MS)
2D Object DetectionCOCO minivalAPL59.5PVT-Large (RetinaNet 3x,MS)
2D Object DetectionCOCO minivalAPM46PVT-Large (RetinaNet 3x,MS)
2D Object DetectionCOCO minivalAPS26.1PVT-Large (RetinaNet 3x,MS)
2D Object DetectionCOCO minivalbox AP43.4PVT-Large (RetinaNet 3x,MS)
2D Object DetectionCOCO minivalAP5063.7PVT-Large (RetinaNet 1x)
2D Object DetectionCOCO minivalAP7545.4PVT-Large (RetinaNet 1x)
2D Object DetectionCOCO minivalAPL58.4PVT-Large (RetinaNet 1x)
2D Object DetectionCOCO minivalAPM46PVT-Large (RetinaNet 1x)
2D Object DetectionCOCO minivalAPS25.8PVT-Large (RetinaNet 1x)
2D Object DetectionCOCO minivalbox AP42.6PVT-Large (RetinaNet 1x)
16kCOCO minivalAP5063.6PVT-Large (RetinaNet 3x,MS)
16kCOCO minivalAP7546.1PVT-Large (RetinaNet 3x,MS)
16kCOCO minivalAPL59.5PVT-Large (RetinaNet 3x,MS)
16kCOCO minivalAPM46PVT-Large (RetinaNet 3x,MS)
16kCOCO minivalAPS26.1PVT-Large (RetinaNet 3x,MS)
16kCOCO minivalbox AP43.4PVT-Large (RetinaNet 3x,MS)
16kCOCO minivalAP5063.7PVT-Large (RetinaNet 1x)
16kCOCO minivalAP7545.4PVT-Large (RetinaNet 1x)
16kCOCO minivalAPL58.4PVT-Large (RetinaNet 1x)
16kCOCO minivalAPM46PVT-Large (RetinaNet 1x)
16kCOCO minivalAPS25.8PVT-Large (RetinaNet 1x)
16kCOCO minivalbox AP42.6PVT-Large (RetinaNet 1x)

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17DiffOSeg: Omni Medical Image Segmentation via Multi-Expert Collaboration Diffusion Model2025-07-17SCORE: Scene Context Matters in Open-Vocabulary Remote Sensing Instance Segmentation2025-07-17