Command Palette
Search for a command to run...
Xiyang Dai Yinpeng Chen Bin Xiao Dongdong Chen Mengchen Liu Lu Yuan Lei Zhang

Abstract
The complex nature of combining localization and classification in object detection has resulted in the flourished development of methods. Previous works tried to improve the performance in various object detection heads but failed to present a unified view. In this paper, we present a novel dynamic head framework to unify object detection heads with attentions. By coherently combining multiple self-attention mechanisms between feature levels for scale-awareness, among spatial locations for spatial-awareness, and within output channels for task-awareness, the proposed approach significantly improves the representation ability of object detection heads without any computational overhead. Further experiments demonstrate that the effectiveness and efficiency of the proposed dynamic head on the COCO benchmark. With a standard ResNeXt-101-DCN backbone, we largely improve the performance over popular object detectors and achieve a new state-of-the-art at 54.0 AP. Furthermore, with latest transformer backbone and extra data, we can push current best COCO result to a new record at 60.6 AP. The code will be released at https://github.com/microsoft/DynamicHead.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| object-detection-on-coco | DyHead (ResNet-101) | AP50: 64.5 AP75: 50.7 |
| object-detection-on-coco | DyHead (Swin-L, multi scale, self-training) | AP50: 78.5 AP75: 66.6 APL: 74.2 APM: 64.0 box mAP: 60.6 |
| object-detection-on-coco | DyHead (ResNet-50) | AP50: 60.7 AP75: 46.8 box mAP: 43 |
| object-detection-on-coco | DyHead (ResNeXt-64x4d-101) | AP50: 65.7 AP75: 51.9 box mAP: 47.7 |
| object-detection-on-coco | DyHead (Swin-L, multi scale) | AP50: 77.1 AP75: 64.5 APL: 72.8 APM: 62.0 box mAP: 58.7 |
| object-detection-on-coco | DyHead (ResNeXt-64x4d-101-DCN, multi scale) | AP50: 72.1 AP75: 59.3 box mAP: 54 |
| object-detection-on-coco-2017-val | DyHead (Swin-T, multi scale) | AP50: 68 AP75: 54.3 APL: 64.2 |
| object-detection-on-coco-minival | DyHead (Swin-L, multi scale, self-training) | AP50: 78.2 APL: 74.2 box AP: 60.3 |
| object-detection-on-coco-minival | DyHead (ResNet-101) | box AP: 46.5 |
| object-detection-on-coco-minival | DyHead (Swin-L, multi scale) | AP50: 76.8 APL: 73.2 APM: 62.2 APS: 44.5 box AP: 58.4 |
| object-detection-on-coco-minival | DyHead (ResNeXt-64x4d-101-DCN, multi scale) | APL: 66.3 |
| object-detection-on-coco-o | DyHead (ResNet-50) | Average mAP: 19.3 Effective Robustness: 0.16 |
| object-detection-on-coco-o | DyHead (Swin-L) | Average mAP: 35.3 Effective Robustness: 10.00 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.