Home

Awesome

DCNv4

News

Introduction

We introduce Deformable Convolution v4 (DCNv4), a highly efficient and effective operator designed for a broad spectrum of vision applications. DCNv4 addresses the limitations of its predecessor, DCNv3, with two key enhancements: 1. removing softmax normalization in spatial aggregation to enhance its dynamic property and expressive power and 2. optimizing memory access to minimize redundant operations for speedup. These improvements result in a significantly faster convergence compared to DCNv3 and a substantial increase in processing speed, with DCNv4 achieving more than three times the forward speed. DCNv4 demonstrates exceptional performance across various tasks, including image classification, instance and semantic segmentation, and notably, image generation. When integrated into generative models like U-Net in the latent diffusion model, DCNv4 outperforms its baseline, underscoring its possibility to enhance generative models. In practical applications, replacing DCNv3 with DCNv4 in the InternImage model to create FlashInternImage results in up to 80% speed increase and further performance improvement without further modifications. The advancements in speed and efficiency of DCNv4, combined with its robust performance across diverse vision tasks, show its potential as a foundational building block for future vision models.

Released Models

<details> <summary> ImageNet Image Classification </summary> <br> <div>
namepretrainresolutionacc@1#paramdownload
FlashInternImage-TImageNet-1K224x22483.630Mckpt | cfg
FlashInternImage-SImageNet-1K224x22484.450Mckpt | cfg
FlashInternImage-BImageNet-1K224x22484.997Mckpt | cfg
FlashInternImage-LImageNet-22K384x38488.1223Mckpt | cfg
</div> </details> <details> <summary> COCO Object Detection and Instance Segmentation </summary> <br> <div>
backbonemethodschdbox mAPmask mAPConfigDownload
FlashInternImage-TMask-RCNN1x48.043.1configckpt | log
FlashInternImage-TMask-RCNN3x49.544.0configckpt | log
FlashInternImage-SMask-RCNN1x49.244.0configckpt | log
FlashInternImage-SMask-RCNN3x50.544.9configckpt | log
FlashInternImage-BMask-RCNN1x50.144.5configckpt | log
FlashInternImage-BMask-RCNN3x50.645.4configckpt | log
backbonemethodschdbox mAPmask mAPConfigDownload
FlashInternImage-LCascade Mask R-CNN1x55.648.2configckpt | log
FlashInternImage-LCascade Mask R-CNN3x56.748.9configckpt
backbonemethodlr typepretrainschdbox mAPConfigDownload
FlashInternImage-TDINOlayer-wise lrImageNet-1K1x54.7configckpt | log
FlashInternImage-SDINOlayer-wise lrImageNet-1K1x55.3configckpt | log
FlashInternImage-BDINOlayer-wise lrImageNet-1K1x56.0configckpt | log
FlashInternImage-LDINO0.1x backbone lrImageNet-22K1x58.8configckpt | log
</div> </details> <details> <summary> ADE20K Semantic Segmentation </summary> <br> <div>
backbonemethodresolutionmIoU (ss/ms)ConfigDownload
FlashInternImage-TUperNet512x51249.3 / 50.3configckpt | log
FlashInternImage-SUperNet512x51250.6 / 51.6configckpt | log
FlashInternImage-BUperNet512x51252.0 / 52.6configckpt | log
FlashInternImage-LUperNet640x64055.6 / 56.0configckpt | log
backbonemethodresolutionmIoU (ss)ConfigDownload
FlashInternImage-TMask2Former512x51251.2configckpt | log
FlashInternImage-SMask2Former640x64052.6configckpt | log
FlashInternImage-BMask2Former640x64053.4configckpt | log
FlashInternImage-LMask2Former640x64056.7configckpt | log
</div> </details>

Citations

If this work is helpful for your research, please consider citing the following BibTeX entry.


@article{xiong2024efficient,
      title={Efficient Deformable ConvNets: Rethinking Dynamic and Sparse Operator for Vision Applications}, 
      author={Yuwen Xiong and Zhiqi Li and Yuntao Chen and Feng Wang and Xizhou Zhu and Jiapeng Luo and Wenhai Wang and Tong Lu and Hongsheng Li and Yu Qiao and Lewei Lu and Jie Zhou and Jifeng Dai},
      journal={arXiv preprint arXiv:2401.06197},
      year={2024}
}

@article{wang2022internimage,
  title={InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutions},
  author={Wang, Wenhai and Dai, Jifeng and Chen, Zhe and Huang, Zhenhang and Li, Zhiqi and Zhu, Xizhou and Hu, Xiaowei and Lu, Tong and Lu, Lewei and Li, Hongsheng and others},
  journal={arXiv preprint arXiv:2211.05778},
  year={2022}
}

@inproceedings{zhu2022uni,
  title={Uni-perceiver: Pre-training unified architecture for generic perception for zero-shot and few-shot tasks},
  author={Zhu, Xizhou and Zhu, Jinguo and Li, Hao and Wu, Xiaoshi and Li, Hongsheng and Wang, Xiaohua and Dai, Jifeng},
  booktitle={CVPR},
  pages={16804--16815},
  year={2022}
}

@article{zhu2022uni,
  title={Uni-perceiver-moe: Learning sparse generalist models with conditional moes},
  author={Zhu, Jinguo and Zhu, Xizhou and Wang, Wenhai and Wang, Xiaohua and Li, Hongsheng and Wang, Xiaogang and Dai, Jifeng},
  journal={arXiv preprint arXiv:2206.04674},
  year={2022}
}

@article{li2022uni,
  title={Uni-Perceiver v2: A Generalist Model for Large-Scale Vision and Vision-Language Tasks},
  author={Li, Hao and Zhu, Jinguo and Jiang, Xiaohu and Zhu, Xizhou and Li, Hongsheng and Yuan, Chun and Wang, Xiaohua and Qiao, Yu and Wang, Xiaogang and Wang, Wenhai and others},
  journal={arXiv preprint arXiv:2211.09808},
  year={2022}
}

@article{yang2022bevformer,
  title={BEVFormer v2: Adapting Modern Image Backbones to Bird's-Eye-View Recognition via Perspective Supervision},
  author={Yang, Chenyu and Chen, Yuntao and Tian, Hao and Tao, Chenxin and Zhu, Xizhou and Zhang, Zhaoxiang and Huang, Gao and Li, Hongyang and Qiao, Yu and Lu, Lewei and others},
  journal={arXiv preprint arXiv:2211.10439},
  year={2022}
}

@article{su2022towards,
  title={Towards All-in-one Pre-training via Maximizing Multi-modal Mutual Information},
  author={Su, Weijie and Zhu, Xizhou and Tao, Chenxin and Lu, Lewei and Li, Bin and Huang, Gao and Qiao, Yu and Wang, Xiaogang and Zhou, Jie and Dai, Jifeng},
  journal={arXiv preprint arXiv:2211.09807},
  year={2022}
}

@inproceedings{li2022bevformer,
  title={Bevformer: Learning bird’s-eye-view representation from multi-camera images via spatiotemporal transformers},
  author={Li, Zhiqi and Wang, Wenhai and Li, Hongyang and Xie, Enze and Sima, Chonghao and Lu, Tong and Qiao, Yu and Dai, Jifeng},
  booktitle={ECCV},
  pages={1--18},
  year={2022},
}