TL;DR
This paper introduces a novel approach to Neural Architecture Search (NAS) that focuses on finding efficient re-parameterization operations for convolutional neural networks. By designing a more comprehensive search space and employing a directional evolutionary strategy, they achieve improved accuracy and faster inference speeds on standard datasets, making models easier to deploy on edge devices.
What Problem Does This Paper Address?
Neural Architecture Search (NAS) has shown great promise in discovering high-performing network architectures. However, many NAS-discovered architectures are complex and difficult to deploy on resource-constrained devices like mobile phones or embedded systems. While structural re-parameterization (Rep) techniques aim to address this by fusing complex structures into simpler ones, current methods often rely on human prior knowledge to select these operations, limiting their potential. This paper tackles the challenge of automatically finding optimal re-parameterization operations that enhance performance without sacrificing deployability, and also addresses limitations of existing re-parameterization operations that can hinder network optimization.
Methods
The core of this work lies in two main innovations:
- Improved Re-parameterization Search Space (IREPS): The authors expand the traditional search space for re-parameterization operations. Instead of relying on a limited set of known operations, they incorporate a wider variety of convolution types, including dilated convolutions (e.g., 1x2, 2x1) and residual-like structures, allowing for more diverse and potentially better re-parameterization strategies.
- Directional Evolutionary Strategy (DES): To efficiently explore this larger search space, they propose a novel evolutionary strategy. Unlike traditional evolutionary algorithms that rely on random mutations, DES learns the importance of different blocks and operations within the network during training. This learned importance guides the generation of new architectures, allowing the algorithm to converge faster and avoid suboptimal solutions. They also introduce a batch optimization method for training the SuperNet parameters, which balances efficiency and accuracy.
Datasets
The proposed methods were evaluated on the following datasets:
- CIFAR-10: Used for initial architecture search and ablation studies.
- ImageNet-1K: Used for evaluating the performance of the searched architectures on a larger-scale dataset.
- COCO: Used to demonstrate the generalization performance of the proposed models on a downstream task (object detection).
Key Insights and Ideas
- Expanding the search space is crucial: Simply using existing re-parameterization operations limits performance. A richer set of operations, including dilated convolutions, offers more potential for improvement.
- Learned guidance speeds up NAS: Random exploration in NAS is inefficient. By learning the importance of network components, evolutionary strategies can be directed towards better solutions more quickly.
- Re-parameterization can be layer-dependent: Visualizations suggest that re-parameterization operations are more heavily utilized in earlier layers of the network, likely for feature separation, while later layers focus on finer distinctions. This observation helps explain the structure of the found architectures.
- Fused operations improve evaluation: Fusing re-parameterization operations into fixed convolutions before evaluation significantly speeds up the process and eliminates performance discrepancies between the searched and deployed models.
Key Results
- ImageNet-1K Performance: The proposed IrepResNet-50 achieved a top-1 accuracy of 77.92%, which is 1.82% higher than the baseline ResNet-50, and also outperformed other state-of-the-art methods like DyRep and DDB.
- Inference Speed: The re-parameterized architectures (e.g., IrepResNet-18, IrepVGG-16) demonstrated significantly faster inference times compared to models like DARTS, making them more suitable for deployment. For instance, IrepResNet-18 achieved an inference time of 3.93ms on CIFAR-10.
- Downstream Task Performance: When used as a backbone for object detection on the COCO dataset, IrepResNet models showed competitive or superior performance compared to other backbones.
- Evaluation Speedup: The proposed method increased the speed of architecture evaluation by approximately 60% compared to naive methods.
Limitations and Future Work
- Matthew Effect Concern: The paper notes that in some cases, the "Matthew effect" (where good get better) in gradient-based learning might lead to dilated convolutions being replaced by other operations, potentially weakening performance compared to methods like RepNAS. This is attributed to the stronger enhancement effect of asymmetric convolutions (1x3 and 3x1) in certain layers.
- Future Directions: The authors suggest that their improved re-parameterization search space can serve as a bridge between coarse-grained and fine-grained search. They envision further utilizing this by dividing re-parameterized models into smaller components (like 1x1 and dilated convolutions) to create channel-pruning-friendly networks, further reducing FLOPs and inference time.
Summary updated