Efficient Neural Architecture Transformation Search in Channel-Level for Object Detection

Junran Peng, Ming Sun, Zhaoxiang Zhang, Tieniu Tan, Junjie Yan

TL;DR

NATS (Neural Architecture Transformation Search) is a highly efficient gradient-based NAS framework that adapts existing image classification backbones for object detection by searching at the channel-level. By optimizing the dilation rates of specific channel groups, NATS improves detection performance (up to +2.0% AP on COCO) without adding any extra parameters or FLOPs, all while reusing pretrained ImageNet weights to keep search costs remarkably low.

What Problem Does This Paper Address?

Neural Architecture Search (NAS) has revolutionized image classification, but applying it to object detection is notoriously difficult. Two major hurdles exist:

  1. The Pretraining Bottleneck: Detectors usually require backbones pretrained on ImageNet to converge quickly and perform well. Standard NAS often searches for architectures from scratch, making the process prohibitively expensive for detection tasks.
  2. The Task Gap: Architectures optimized for classification aren't always ideal for detection. Detection requires a larger Effective Receptive Field (ERF) to handle objects of varying scales, a requirement often ignored by classification-centric NAS.

The authors aim to bridge this gap by creating a search method that is both computationally efficient and specifically tailored to the geometric requirements of object detection.

Methods

The core innovation is NATS, which moves away from searching for entirely new networks and instead focuses on transforming existing ones.

  • Channel-Level Search: Unlike traditional NAS (like DARTS) that chooses between different "paths" or operations for an entire layer, NATS splits a layer’s channels into groups. As shown below, this contrasts with traditional path-wise selection by allowing multiple operations to coexist within the same layer.
Comparison of architectural search strategies

Each group can be assigned a different operation (e.g., different dilation rates). This fine-grained approach allows for a "fusion" of operations within a single layer.

  • Dilation Search Space: The authors focus on searching for optimal dilation rates in the $3 \times 3$ convolutions of ResNet/ResNeXt bottlenecks. Changing dilation alters the receptive field without changing the kernel size, which means the model can reuse pretrained ImageNet weights during both the search and retraining phases.
  • Gradient-Based Optimization: NATS uses a continuous relaxation of the search space, allowing it to be optimized via gradient descent. After searching, they "decode" the architecture by calculating the intensity of each genotype across channel groups and re-allocating output channels accordingly, as illustrated below.
Decoding continuous search results into a discrete architecture

Datasets

The primary benchmark used is MS-COCO (2014 and 2017 versions).

  • Search Phase: Conducted on a subset of COCO (train2014 for weights, a portion of val2014 for architecture parameters).
  • Evaluation: Models are trained on the 118k images of train2017 and evaluated on the 5k "minival" set.
  • Pretraining: Models utilize standard ImageNet pretrained weights as a starting point.

Key Insights and Ideas

  • Granularity Matters: The authors demonstrate that path-level search (choosing one operation per layer) is too coarse. Channel-level search provides a much smoother and more flexible search space, leading to better performance (+1.5% AP improvement of channel-level over path-level).
  • ERF is the Key to Detection: By visualizing the Effective Receptive Fields, the authors show that NATS-searched models naturally develop larger and more intense receptive fields compared to vanilla ResNets. This confirms that the search successfully adapts the backbone to "look" at objects more effectively.
  • Zero-Cost Gains: Because the search only modifies dilation rates and channel allocations, the resulting "transformed" networks have the exact same number of parameters and FLOPs as the baseline models. It is essentially a "free" performance upgrade for hardware-optimized deployments.

Key Results

NATS achieves significant gains across various popular detection frameworks:

  • Faster R-CNN (ResNet-50): Improved AP from 36.4% to 38.4% (+2.0%).
  • Mask R-CNN (ResNet-50): Improved AP from 37.5% to 39.3% (+1.8%).
  • ResNet-101: Improved AP from 38.6% to 40.4% (+1.8%).
  • Efficiency: The search process is incredibly fast, requiring only 20 GPU days (on GTX 1080Ti). For comparison, earlier NAS methods like NASNet required 2,000 GPU days for a simpler classification task.

Limitations and Future Work

  • Fixed Macro-Architecture: NATS currently focuses on transforming existing layers (specifically dilation in bottlenecks). It does not search for the optimal number of layers (depth) or the total number of channels (width) from scratch.
  • Dilation-Centric: While effective, the search space is largely confined to dilation rates. The authors suggest that future work could expand this "transformation" philosophy to include searching for optimal depth and width configurations to further refine the backbone for detection.

Summary updated

BibTeX
@inproceedings{peng2019efficient,
  author = {Junran Peng and Ming Sun and Zhaoxiang Zhang and Tieniu Tan and Junjie Yan},
  title = {{Efficient Neural Architecture Transformation Search in Channel-Level for Object Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=_qQtA3CIK9g},
}
Figure