TL;DR
RefConv (Re-parameterized Refocusing Convolution) is a plug-and-play, training-time technique that boosts CNN performance across various computer vision tasks without adding a single FLOP or parameter to inference. By applying a learnable transformation to the frozen weights of a pre-trained model, it allows independent convolution channels to "refocus" on each other, reducing parameter redundancy and smoothing the loss landscape for zero-cost accuracy gains.
What Problem Does This Paper Address?
Modern Convolutional Neural Networks (CNNs) often trade off representational capacity for computational efficiency. For example, depth-wise convolutions (DW Conv) process each feature channel independently. While this drastically reduces parameters and compute, it completely isolates the channels from one another, limiting the model's ability to learn complex cross-channel correlations.
Existing structural re-parameterization methods (like RepVGG or ACNet) try to solve architectural limitations by adding extra parallel branches during training and fusing them together for inference. However, these methods operate on large feature maps, making the training phase highly compute- and memory-intensive.
RefConv introduces a shift in perspective: instead of re-parameterizing the network by adding branches over the data space, why not re-parameterize directly within the weight space?
Methods
RefConv uses a clever two-stage pipeline to enhance an existing network:
- Pre-training: A standard CNN is trained normally (or an off-the-shelf pre-trained model is selected).
- Refocusing Learning: The original pre-trained weights are frozen and treated as basis weights ($W_b$). The standard convolutional layers are replaced with RefConv layers, which introduce a trainable Refocusing Transformation ($T$) parameterized by learnable weights ($W_r$).
The transformation follows a residual design pattern: $$Wt = Wb * Wr + Wb$$
For a depth-wise convolution, $W_r$ acts as a dense convolution over the kernel channels. This allows previously isolated kernel channels to scan and learn from the parameters of all other channels.
Because this transformation is applied directly to the compact kernel weights rather than large batches of training images, the training overhead is incredibly light. Once training is complete, the transformed weights ($W_t$) are mathematically collapsed back into the original kernel shape. The extra training parameters are discarded, leaving an inference-time model structurally identical to the original baseline.
Datasets
The authors validated RefConv across several standard computer vision benchmarks:
- Image Classification: ImageNet-1K, CIFAR-10, CIFAR-100, and Tiny-ImageNet-200.
- Object Detection: Pascal VOC (evaluated using the SSD framework).
- Semantic Segmentation: Cityscapes (evaluated using DeepLabv3+).
Key Insights and Ideas
- Weight-Space Efficiency: Operating on kernel weights rather than feature maps keeps training incredibly cheap. For a typical depth-wise layer on ImageNet, the baseline convolution requires 925M FLOPs, while RefConv’s weight transformation layer requires just 21M FLOPs—a minor fraction of the total compute.
- Breaking Channel Isolation: In a standard depth-wise layer, channel $i$ never interacts with channel $j$. RefConv allows kernels to "attend" to other channels. Visualizing the connection matrix reveals that channels successfully learn diverse combinations of existing representations.
- Reducing Redundancy: By calculating the Kullback-Leibler (KL) divergence between kernel channels, the authors proved that RefConv significantly increases channel diversity, directly mitigating the common issue of channel redundancy in deep networks.
- Smoother Loss Landscapes: Visualizations show that models optimized with RefConv possess significantly flatter loss curvatures, which explains their superior generalization ability and more stable training dynamics.
Key Results
RefConv consistently delivered performance boosts across a massive suite of popular architectures (including MobileNet, ShuffleNet, ResNet, DenseNet, and ConvNeXt):
- ImageNet-1K Classification: RefConv achieved a +1.47% top-1 accuracy boost for MobileNetv3-S, +1.26% for ShuffleNetv2, and +0.94% for ResNet-18.
- Downstream Tasks: When transferring ImageNet-trained backbones to downstream tasks, RefConv improved ResNet-18 by +0.72% mAP on Pascal VOC object detection and +0.83% mIOU on Cityscapes semantic segmentation.
- Zero Inference Overhead: In all cases, the final parameter count, FLOP count, and latency during inference remained exactly equal to the baseline models.
Limitations and Future Work
- Simple Transformation Design: The current implementation relies on a single, linear convolution to handle the Refocusing Transformation. The authors note that exploring non-linearities or more sophisticated meta-operations within the transformation block could unlock even higher representational capacity.
- Two-Stage Training Requirement: RefConv requires a pre-trained model to act as a base. This introduces a two-stage training dependency, which is slightly more complex than training a model entirely from scratch in a single run.
Summary updated