Introduction
In the quest for high-performance computer vision models, Structural Re-parameterization (Rep) has become a popular "free lunch." The technique involves replacing standard convolutions with complex, multi-branch blocks during training, which are then mathematically fused back into efficient single convolutions for inference. This provides the representational power of a complex network with the speed of a simple one.
However, current Rep methods are often "coarse," applying these complex blocks to every layer from the start. This leads to a massive explosion in training time, memory usage, and FLOPs. Many of these added branches contribute little to final performance, acting as redundant noise. DyRep (Dynamic Re-parameterization) addresses this by asking: Can we get the benefits of re-parameterization without the expensive, over-parameterized training phase?
Methods
DyRep moves away from static architectures toward a "smooth evolution" approach, adding complexity only where it is needed most.
The strategy consists of three primary mechanisms:
- Dynamic Expansion: Instead of starting with a bloated network, DyRep begins with a simple model. It uses a saliency metric based on Synflow (a gradient-based importance score) to identify "high-impact" layers that are struggling to minimize loss. Only these layers are expanded into multi-branch Rep blocks.
- De-parameterization (Dep): To keep the model lean, DyRep includes a pruning mechanism that monitors the scale factors ($\gamma$) in the Batch Normalization layers of added branches. If a branch’s contribution drops below a threshold, its weights are absorbed back into the main branch, and the redundant structure is discarded.
- Training Stability: Changing a network's structure mid-training can cause convergence "shocks." DyRep solves this by initializing new branches with very small scale factors, allowing new structures to integrate gradually without disrupting existing learned weights.
Key Results
The researchers evaluated DyRep across standard benchmarks including ImageNet, CIFAR-10/100, and downstream tasks like COCO (object detection) and Cityscapes (semantic segmentation). DyRep consistently outperformed both standard baselines and static Rep methods like DBB (Diverse Branch Block).
- Accuracy Boost: On ImageNet, DyRep improved ResNet-18 accuracy by 2.04% over the baseline.
- Efficiency: Compared to the static DBB method on ResNet-50, DyRep achieved higher accuracy while reducing training costs by approximately 38% (8.5 GPU days vs. 13.7).
- Inference Speed: Because the final model is fused back into a "plain" structure, DyRep-trained models maintain high inference speeds (e.g., 1322 examples/second for DyRep-A2), matching the efficiency of standard models but with significantly higher precision.
Conclusion and Future Work
DyRep demonstrates that re-parameterization is most effective when applied adaptively. By focusing on layers with the highest saliency, the model grows "smarter" rather than just "bigger." While currently limited to mathematically fusable operations and sensitive to the rhythm of structural updates, DyRep provides a scalable path toward efficient, high-performance neural architecture evolution. Future work may expand the variety of branches DyRep can utilize or apply these principles to Transformer-based architectures.
Summary updated