Sparse DETR: Efficient End-to-End Object Detection with Learnable Sparsity
Byungseok Roh, Jaewoong Shin, Wuhyun Shin, Saehoon Kim
摘要
DETR is the first end-to-end object detector using a transformer encoder-decoder architecture and demonstrates competitive performance but low computational efficiency on high resolution feature maps. The subsequent work, Deformable DETR, enhances the efficiency of DETR by replacing dense attention with deformable attention, which achieves 10× faster convergence and improved performance. Deformable DETR uses the multiscale feature to ameliorate performance, however, the number of encoder tokens increases by 20× compared to DETR, and the computation cost of the encoder attention remains a bottleneck. In our preliminary experiment, we observe that the detection performance hardly deteriorates even if only a part of the encoder token is updated. Inspired by this observation, we propose Sparse DETR that selectively updates only the tokens expected to be referenced by the decoder, thus help the model effectively detect objects. In addition, we show that applying an auxiliary detection loss on the selected tokens in the encoder improves the performance while minimizing computational overhead. We validate that Sparse DETR achieves better performance than Deformable DETR even with only 10% encoder tokens on the COCO dataset. Albeit only the encoder tokens are sparsified, the total computation cost decreases by 38% and the frames per second (FPS) increases by 42% compared to Deformable DETR. Code is available at https://github.com/kakaobrain/sparse-detr .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 46 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- IA-RED^2: Interpretability-Aware Redundancy Reduction for Vision Transformers 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- IA-RED^2: Interpretability-Aware Redundancy Reduction for Vision Transformers 引用了 DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification
- IA-RED^2: Interpretability-Aware Redundancy Reduction for Vision Transformers 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- ClusterFomer: Clustering As A Universal Visual Learner 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- ClusterFomer: Clustering As A Universal Visual Learner 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- CRN: Camera Radar Net for Accurate, Robust, Efficient 3D Perception 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Less is More: Focus Attention for Efficient DETR 引用了 IA-RED^2: Interpretability-Aware Redundancy Reduction for Vision Transformers
- Less is More: Focus Attention for Efficient DETR 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Less is More: Focus Attention for Efficient DETR 引用了 DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification
- Less is More: Focus Attention for Efficient DETR 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 Reformer: The Efficient Transformer
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification
- EfficientFormer: Vision Transformers at MobileNet Speed 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- DETRs Beat YOLOs on Real-time Object Detection 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Deformable DETR: Deformable Transformers for End-to-End Object Detection 引用了 Reformer: The Efficient Transformer
引用它的顶会 Paper46
- DETRs Beat YOLOs on Real-time Object DetectionYian Zhao, Wenyu Lv, Shangliang Xu, Jinman Wei 等CVPR 2024 · 3,046 次引用
- EfficientFormer: Vision Transformers at MobileNet SpeedYanyu Li, Geng Yuan, Yang Wen, Ju Hu 等NeurIPS 2022 · 742 次引用
- CRN: Camera Radar Net for Accurate, Robust, Efficient 3D PerceptionYoungseok Kim, Juyeb Shin, Sanmin Kim, In-Jae Lee 等ICCV 2023 · 134 次引用
- Less is More: Focus Attention for Efficient DETRDehua Zheng, Wenhui Dong, Hailin Hu, Xinghao Chen 等ICCV 2023 · 128 次引用
- ClusterFomer: Clustering As A Universal Visual LearnerJames Liang, Yiming Cui, Qifan Wang, Tong Geng 等NeurIPS 2023 · 63 次引用
它引用的 Paper8
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li 等ICLR 2021 · 7,353 次引用
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
- DynamicViT: Efficient Vision Transformers with Dynamic Token SparsificationYongming Rao, Wenliang Zhao, Benlin Liu, Jiwen Lu 等NeurIPS 2021 · 1,343 次引用
- IA-RED: Interpretability-Aware Redundancy Reduction for Vision TransformersBowen Pan, Rameswar Panda, Yifan Jiang, Zhangyang Wang 等NeurIPS 2021 · 209 次引用
相关 Paper
- Lite DETR : An Interleaved Multi-Scale Encoder for Efficient DETRFeng Li, Ailing Zeng, Shilong Liu, Hao Zhang 等CVPR 2023
- Not All Tokens Matter All The Time: Dynamic Token Aggregation Towards Efficient Detection TransformersJiacheng Cheng, Xiwen Yao, Xiang Yuan, Junwei HanICML 2025
- CF-DETR: Coarse-to-Fine Transformers for End-to-End Object DetectionXipeng Cao, Peng Yuan, Bailan Feng, Kun NiuAAAI 2022 · 59 次引用
- Conditional DETR for Fast Training ConvergenceDepu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng 等ICCV 2021 · 974 次引用
- DESTR: Object Detection with Split TransformerLiqiang He, Sinisa TodorovicCVPR 2022 · 63 次引用
