NATS (Neural Architecture Transformation Search) is a highly efficient algorithm designed specifically to optimize object detection backbones. By shifting from traditional path-level search to a fine-grained channel-level search and focusing on dilated convolutions, NATS repurposes ImageNet-pretrained weights to boost detection accuracy (up to +2.0% AP) without adding a single extra parameter or FLOP.
The Challenge of Detection Backbones
Most object detectors rely on "backbones" (like ResNet) originally designed for image classification. However, classification and detection are fundamentally different: classification identifies a single dominant object, while detection must locate and recognize multiple objects across vastly different scales.
Standard Neural Architecture Search (NAS) could theoretically find better backbones, but it faces two massive hurdles in detection:
- Computational Cost: Detection datasets are large, and training a detector from scratch is incredibly slow. Most researchers rely on ImageNet pretraining, but traditional NAS creates entirely new structures that render pretrained weights useless.
- The Receptive Field Gap: Classification networks often lack the optimal Effective Receptive Field (ERF) needed to handle the scale variance inherent in object detection.
The NATS Methodology
The authors introduce NATS, which moves away from "building" a network to "transforming" an existing one. Unlike standard NAS, which selects a single operation for an entire layer, NATS operates at the channel level.
Key Components:
- Channel-Level Search: NATS splits a layer’s channels into groups. Each group can be assigned a different operation (e.g., different dilation rates). The final output is a concatenation of these diverse channel groups.
- Dilation-Domain Search Space: The search focuses on varying the dilation rates of $3 \times 3$ convolutions. This allows the model to change its receptive field without changing kernel size or parameter count, enabling the reuse of standard ImageNet-pretrained weights.
- Gradient-Based Optimization: NATS uses a continuous relaxation of the search space. It learns an architecture parameter (genotype intensity) for each channel group, determining which dilation rate is most effective for that specific set of features.
Key Insights and Ideas
By allowing different channel groups within the same layer to have different dilations, a single convolutional layer can effectively "see" at multiple scales simultaneously. The search process determines the "intensity" of each genotype, which dictates how many channels are allocated to each specific dilation rate.
- Weight Reusability: By restricting the search to dilations, the authors bypassed the "ImageNet pretraining bottleneck" that hinders the efficiency of most NAS methods for detection.
- ERF Visualization: Analysis showed that NATS-transformed models naturally develop larger and more intense receptive fields than vanilla classification counterparts, explaining their superior performance in locating objects.
- Hardware Friendly: Since the final architecture is just a collection of standard dilated convolutions, it requires no specialized hardware kernels and maintains the same inference speed as the baseline.
Results and Impact
NATS consistently improved performance across various popular detection frameworks on the MS-COCO dataset with zero overhead in parameters or FLOPs:
- Faster R-CNN: ResNet-50 jumped from 36.4% to 38.4% AP (+2.0%); ResNet-101 went from 38.6% to 40.4% AP (+1.8%).
- Generalization: The method provided gains of +1.9% AP on Mask R-CNN and +1.3% AP on both Cascade R-CNN and RetinaNet.
- Scale Sensitivity: The most significant improvements were observed in large object detection ($AP_L$), where the optimized receptive fields provided the most benefit.
While NATS currently focuses on the backbone, future work could expand this transformation search to the "neck" (like FPN) or the "head" of the detector, as well as investigating transformations in depth and width.
Summary updated