Introduction
In the landscape of modern deep learning, a persistent tension exists between model accuracy and deployment efficiency. While Neural Architecture Search (NAS) has successfully automated the discovery of high-performing models, the resulting architectures are often complex, multi-path structures that suffer from high latency on edge hardware. Structural Re-parameterization (Rep) offers a compelling alternative, allowing for the training of multi-branch networks that mathematically "collapse" into simple, single-path structures for inference. However, the design of these re-parameterizable branches has historically relied on manual intuition. This paper introduces De-IReps, a method to automate this process through an improved search space and a novel evolutionary strategy.
Methodology
The authors propose two primary innovations to automate the design of deployable networks: the Improved Re-parameterization Search Space (IREPS) and the Directional Evolutionary Strategy (DES).
IREPS: Expanding the Search Space
Traditional Rep methods like RepVGG use a limited set of branches (e.g., $3 \times 3$ conv, $1 \times 1$ conv, and identity). IREPS expands this library to include dilated convolutions ($2 \times 2$, $2 \times 1$, and $1 \times 2$). The authors demonstrate that because the centers of these dilated kernels can be aligned with a standard $3 \times 3$ kernel, they can be perfectly fused into the final weights during deployment, adding zero computational cost to the inference-time model while enhancing the "cruciform" weight distribution critical for feature extraction.
DES: Directional Evolutionary Strategy
To navigate this expanded search space efficiently, the authors developed the Directional Evolutionary Strategy (DES). Unlike standard evolutionary algorithms that rely on random mutations, DES utilizes a differentiable approach. It assigns importance weights—$\alpha$ for specific operations and $eta$ for entire blocks—and uses gradients to identify high-potential architectures. This gradient-guided search is supplemented by random perturbations to maintain diversity and avoid premature convergence.
To further accelerate the search, the authors optimize a "SuperNet" using batch gradients and perform re-parameterization during the evaluation phase, reportedly speeding up architecture verification by approximately 60%.
Experimental Results
The researchers validated De-IReps across CIFAR-10, ImageNet-1k, and MS COCO benchmarks. The results demonstrate a significant improvement in the accuracy-to-speed trade-off compared to both standard baselines and existing NAS methods.
Performance and Efficiency
- Accuracy Gains: The discovered "IrepResNet-50" achieved 77.92% top-1 accuracy on ImageNet-1k, representing a 1.82% improvement over the standard ResNet-50 baseline without increasing inference-time complexity.
- Inference Speed: Models generated via De-IReps maintain the high efficiency of their backbones. For instance, IrepVGG-16 achieves an inference time of 1.76ms on an A100 GPU, drastically faster than NAS models like DARTS, which can exceed 130ms on similar tasks.
Generalization and Insights
Beyond classification, Irep-backbones showed robust performance on MS COCO object detection tasks. An interesting architectural insight emerged during the search for IrepResNet-50: the algorithm favored complex re-parameterization in shallow layers but excluded them in the final eight layers, suggesting that the benefits of structural enhancement are depth-dependent.
Conclusion
De-IReps successfully bridges the gap between coarse-grained operation search and fine-grained deployment optimization. By automating the discovery of re-parameterizable branches, the method eliminates the need for manual design while delivering state-of-the-art performance. Future work will explore integrating this structural search with channel pruning to further refine model efficiency for the most resource-constrained environments.
Summary updated