atlas

Research map / Image generation / Autoregressive and latent generation

Efficient Deformable ConvNets: Rethinking Dynamic and Sparse Operator for Vision Applications

CVPR 2024 · Image generation › Autoregressive and latent generation · approach: Hierarchical VQ-VAE generation · 257 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DCNv4, a faster deformable convolution operator that removes softmax normalization of aggregation weights and optimizes GPU memory access, and evaluates it across classification, detection, segmentation, 3D detection, and diffusion.

Problem

Deformable convolution (DCNv3) is slow due to memory-access overhead and converges more slowly than attention and convolution, limiting its adoption as a backbone operator.

Approach

Remove softmax normalization from DCNv3's spatial aggregation weights so they are unbounded and dynamic like convolution weights, and restructure the CUDA kernel so one thread processes all channels in a group, sharing offsets and weights, with vectorized loads and half precision.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Remove softmax normalization from spatial aggregation weights (ablation)DCNv3 · ImageNet-1K classificationconvergence speed and final performanceHelped
Apply softmax to the depthwise convolution weights (ablation)ConvNeXt · ImageNet-1K, 300 epochsaccuracy: 83.8 -> 81.6Hurt
Replace DCNv3 with DCNv4InternImage · ImageNet-1K classificationthroughput: +64%/ + 80%Helped
Replace DCNv3 with DCNv4InternImage · ImageNet-1K classificationTop-1 accuracy: 83.5 -> 83.6; 84.2 -> 84.4; 84.9 -> 84.9; 87.7 -> 88.1Mixed
Replace depthwise convolution with DCNv4 (ablation)ConvNeXt-B · ImageNet-1KTop-1 accuracy: 83.8 -> 84.0Helped
Replace attention module with DCNv4 (ablation)ViT-B · ImageNet-1KTop-1 accuracy: 81.8 -> 81.9Helped
Replace attention and regular 3 × 3 convolution with DCNv4 (ablation)U-Net · ImageNet 256x256 class-conditional generationFID: 2.94 -> 2.44Helped
Replace DCNv3 with DCNv4DCN operator · 56 × 56 × 128 input, FP16runtime: 1.52 -> 0.404Helped
Remove the softmax operation and improve micro design by merging linear layers and removing LN-GELU (ablation)DCNv3 module · DCN runtime, 56 × 56 × 128module runtime (ms): 3.28 -> 2.12Helped
Process 8 channels per thread to reduce redundant memory access (ablation)DCNv3 kernel · DCN runtime, 56 × 56 × 128module runtime (ms): 2.12 -> 2.20Hurt
Reuse bilinear interpolation coefficients to remove redundant computation (ablation)DCNv3 kernel · DCN runtime, 56 × 56 × 128module runtime (ms): 2.20 -> 2.18Helped
Use vectorized load/store to remove redundant memory instructions (ablation)DCNv3 kernel · DCN runtime, 56 × 56 × 128module runtime (ms): 2.18 -> 1.28Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K ImageNet-22K COCO ADE20K nuScenes

Benchmarks: ImageNet-1K COCO val2017 ADE20K nuScenes

Metrics: top-1 accuracy box AP mask AP mIoU NDS mAP FPS throughput runtime (ms) FID

Baselines: DCNv3 FlashAttention-2 Window attention DWConv Swin Transformer ConvNeXt InternImage ViT U-Net

Builds on: DCNv3 InternImage FlashAttention ConvNeXt U-ViT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy