We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CV

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computer Vision and Pattern Recognition

Title: PnP-DETR: Towards Efficient Visual Analysis with Transformers

Abstract: Recently, DETR pioneered the solution of vision tasks with transformers, it directly translates the image feature map into the object detection result. Though effective, translating the full feature map can be costly due to redundant computation on some area like the background. In this work, we encapsulate the idea of reducing spatial redundancy into a novel poll and pool (PnP) sampling module, with which we build an end-to-end PnP-DETR architecture that adaptively allocates its computation spatially to be more efficient. Concretely, the PnP module abstracts the image feature map into fine foreground object feature vectors and a small number of coarse background contextual feature vectors. The transformer models information interaction within the fine-coarse feature space and translates the features into the detection result. Moreover, the PnP-augmented model can instantly achieve various desired trade-offs between performance and computation with a single model by varying the sampled feature length, without requiring to train multiple models as existing methods. Thus it offers greater flexibility for deployment in diverse scenarios with varying computation constraint. We further validate the generalizability of the PnP module on panoptic segmentation and the recent transformer-based image recognition model ViT and show consistent efficiency gain. We believe our method makes a step for efficient visual analysis with transformers, wherein spatial redundancy is commonly observed. Code will be available at \url{this https URL}.
Comments: accepted by ICCV 2021
Subjects: Computer Vision and Pattern Recognition (cs.CV)
Cite as: arXiv:2109.07036 [cs.CV]
  (or arXiv:2109.07036v4 [cs.CV] for this version)

Submission history

From: Tao Wang [view email]
[v1] Wed, 15 Sep 2021 01:10:30 GMT (10423kb,D)
[v2] Thu, 16 Sep 2021 02:55:03 GMT (10423kb,D)
[v3] Fri, 7 Jan 2022 11:51:10 GMT (10423kb,D)
[v4] Wed, 2 Mar 2022 04:39:26 GMT (10423kb,D)

Link back to: arXiv, form interface, contact.