Presented at AAAI-2025, DCCNeXt introduces a novel architectural paradigm that bridges the gap between the efficiency of Convolutional Neural Networks (CNNs) and the global modeling capabilities of Vision Transformers (ViTs). By grouping semantically similar image patches into clusters before convolving them, the proposed Dynamic Clustering Convolution (DCConv) enables a global receptive field without the computational burden of massive kernels or self-attention mechanisms.
Introduction
For over a decade, the computer vision landscape has been dominated by CNNs utilizing local sliding windows (typically $3 \times 3$ or $7 \times 7$). While computationally efficient, this local-only view limits the network's ability to capture long-range dependencies—such as recognizing that distant parts of an image belong to the same object.
Vision Transformers (ViTs) addressed this through global self-attention, but they often require massive datasets and incur high computational costs, particularly for high-resolution downstream tasks. Recent attempts to scale CNN kernels to massive sizes (e.g., $51 \times 51$) have yielded diminishing returns. DCCNeXt proposes a different path: providing CNNs with a global receptive field by dynamically clustering features based on semantic similarity rather than spatial proximity.
Methodology
Dynamic Clustering Convolution (DCConv)
The core innovation of DCCNeXt is the DCConv layer. Unlike standard convolution, which operates on a fixed spatial grid, DCConv processes clusters of related features. The process follows five key steps:
- Dynamic Clustering: Every image patch is treated as a potential cluster center. The model calculates the $\ell_2$ distance between a center and all other patches in the feature map.
- Top-K Selection: For each center, the $K$ most similar patches (regardless of their spatial distance) are selected to form a cluster.
- Cluster Convolution: A shared set of convolution kernels is applied to these clusters. This allows the network to process semantically related features (like the two eyes of a panda) together, even if they are far apart in the image.
- Efficient Subvector Sampling: To address the quadratic complexity ($O(N^2)$) of calculating distances between all patches, the authors utilize "subvector downsampling." By using only a subset of feature dimensions for clustering, the model drastically reduces FLOPs for high-resolution inputs.
Hybrid Architecture
DCCNeXt adopts a four-stage pyramid structure. To balance local feature extraction with global context, the first two stages utilize standard $7 \times 7$ depthwise convolutions. The final two stages transition to DCConv blocks to capture global dependencies as the feature maps become more abstract.
Experimental Results
The model was rigorously evaluated on ImageNet-1K (classification), MS COCO 2017 (detection/segmentation), and ADE20K (semantic segmentation).
ImageNet-1K Classification
DCCNeXt consistently outperformed modern baselines:
- DCCNeXt-B2 achieved 82.8% Top-1 accuracy, surpassing ConvNeXt V2-T (82.5%) and Swin-T (81.3%) with comparable parameter counts.
- DCCNeXt-B4 reached 84.5% Top-1 accuracy.
Downstream Tasks
In object detection and instance segmentation on COCO, DCCNeXt-B2 outperformed ConvNeXt V2-T by 1.3 AP and Swin-T by 1.5 AP within the RetinaNet framework. In Mask R-CNN experiments, it demonstrated a 2.1 AP$^b$ improvement over ConvNeXt V2-T, highlighting its superior feature representation for complex scenes.
Computational Efficiency
The subvector sampling technique proved highly effective. For a $1280 \times 800$ input, this optimization reduced computational costs from 79.5 GFLOPs to 39.2 GFLOPs without sacrificing accuracy, making the global clustering approach viable for high-resolution tasks.
Key Insights
- Semantic vs. Spatial Proximity: Traditional convolution assumes spatial neighbors are most related. DCConv demonstrates that "semantic proximity" is a powerful alternative, allowing the network to adapt its receptive field dynamically based on image content.
- Inductive Bias with Global Reach: By applying shared kernels to clusters, DCCNeXt retains the helpful inductive biases of CNNs (like translation invariance) while gaining the global reach typically reserved for Transformers.
- Visual Evidence: Visualizations confirm that the model naturally clusters semantically similar parts—such as the black fur of a panda or the specific texture of a leaf—across the entire image, regardless of distance.
Limitations and Future Work
While highly effective, DCConv is more complex to implement and optimize than standard sliding-window convolutions. Future work will likely focus on developing specialized CUDA kernels to further improve hardware efficiency. Additionally, exploring how this clustering approach scales with massive "foundation model" style pre-training (e.g., ImageNet-22K) remains an open area for research.
Summary updated