Lune

ICML2023Top-tier venue

SpeedDETR: Speed-aware Transformers for End-to-end Object Detection

Peiyan Dong, Zhenglun Kong, Xin Meng, Peng Zhang, Hao Tang, Yanzhi Wang, Chih-Hsien Chou

Abstract

Vision Transformers (ViTs) have continuously achieved new milestones in object detection. However, the considerable computation and memory burden compromise their efficiency and generalization of deployment on resource-constraint devices. Besides, efficient transformer-based detectors designed by existing works can hardly achieve a realistic speedup, especially on multicore processors (e.g., GPUs). The main issue is that the current literature solely concentrates on building algorithms with minimal computation, oblivious that the practical latency can also be affected by the memory access cost and the degree of parallelism. Therefore, we propose SpeedDETR, a novel speed-aware transformer for end-to-end object detectors, achieving high-speed inference on multiple devices. Specifically, we design a latency prediction model which can directly and accurately estimate the network latency by analyzing network properties, hardware memory access pattern, and degree of parallelism. Following the effective local-to-global visual modeling process and the guidance of the latency prediction model, we build our hardware-oriented architecture design and develop a new family of SpeedDETR. Experiments on the MS COCO dataset show SpeedDETR outperforms current DETR-based methods by 1.5%∼9.2% AP with 1.09×∼3.6× speedup on Tesla V100. Even acceptable speed inference can be achieved on edge GPUs, i.e., 4 FPS for NVIDIA JETSON TX2 (1.4×∼4×faster than other counterparts), 1 FPS for NVIDIA NANO (1.5×∼6.7×faster). Codes release SpeedDETR.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HotBEV: Hardware-oriented Transformer-based Multi-View 3D Detector for BEV Perception cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • HotBEV: Hardware-oriented Transformer-based Multi-View 3D Detector for BEV Perception cites MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer
  • HotBEV: Hardware-oriented Transformer-based Multi-View 3D Detector for BEV Perception cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • DECO: Unleashing the Potential of ConvNets for Query-based Detection and Segmentation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • DECO: Unleashing the Potential of ConvNets for Query-based Detection and Segmentation cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • DECO: Unleashing the Potential of ConvNets for Query-based Detection and Segmentation cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • DECO: Unleashing the Potential of ConvNets for Query-based Detection and Segmentation cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. HotBEV: Hardware-oriented Transformer-based Multi-View 3D Detector for BEV PerceptionPeiyan Dong, Zhenglun Kong, Xin Meng, Pinrui Yu et al.NeurIPS 2023 · 6 citations
  2. DECO: Unleashing the Potential of ConvNets for Query-based Detection and SegmentationXinghao Chen, Siwei Li, Yijing Yang, Yunhe WangICLR 2025

Builds on23

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
  4. Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan et al.ICCV 2021 · 4,909 citations
  5. MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision TransformerSachin Mehta, Mohammad RastegariICLR 2022 · 2,162 citations

Related papers

  1. DETRs Beat YOLOs on Real-time Object DetectionYian Zhao, Wenyu Lv, Shangliang Xu, Jinman Wei et al.CVPR 2024 · 3,046 citations
  2. Revisiting Real-Time Detection Transformer with Efficient Encoder DesignJiannan Huang, Aditya Kane, Fengzhe Zhou, Yunchao Wei, Humphrey ShiCVPR Findings 2026
  3. Latency-aware Spatial-wise Dynamic NetworksYizeng Han, Zhihang Yuan, Yifan Pu, Chenhao Xue et al.NeurIPS 2022 · 30 citations
  4. ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-DesignHaoran You, Zhanyi Sun, Huihong Shi, Zhongzhi Yu et al.HPCA 2023 · 124 citations
  5. EfficientFormer: Vision Transformers at MobileNet SpeedYanyu Li, Geng Yuan, Yang Wen, Ju Hu et al.NeurIPS 2022 · 742 citations
Dusk over the sea between two cliffs drawn in fine vertical lines