Representation Sharing for Fast Object Detector Search and Beyond

Yujie Zhong, Zelu Deng, Sheng Guo, Matthew R. Scott, Weilin Huang

Introduction

Neural Architecture Search (NAS) has significantly advanced deep learning model design, yet it often requires prohibitive computational resources. While searching for an optimal image classifier might take a few GPU-days, the complexity of object detection—characterized by large input images and multi-scale pipelines—can extend search times to weeks. In their paper, "Representation Sharing for Fast Object Detector Search and Beyond," researchers from Malong LLC introduce FAD (Fast And Diverse), a NAS framework that reduces search costs from weeks to hours without compromising accuracy.

The Challenge of Detection-Specific NAS

One-stage detectors, such as RetinaNet and FCOS, are favored for their speed but lack a Region Proposal Network (RPN) to handle objects across various scales. This places a significant burden on the detector's "heads" to capture diverse features. Existing NAS methods for detection are often slow (requiring 20–100+ GPU-days) and limited by search spaces borrowed from image classification, which do not prioritize the diverse receptive fields (RF) essential for detection tasks.

Methods: Fast and Diverse (FAD)

The FAD framework introduces two primary innovations to address these limitations: a detection-specific search space and the Representation Sharing (RepShare) algorithm.

Detection-Specific Search Space

FAD utilizes a search space comprising 13 diverse transformations, including standard and depthwise separable convolutions with varying dilation rates. This ensures coverage across four distinct receptive field sizes, enabling the model to process multi-scale information simultaneously. Unlike classification tasks that often rely on smaller, uniform RFs, detection requires a broader variety to handle objects of disparate sizes.

Representation Sharing (RepShare)

RepShare is the core mechanism for efficiency. Unlike standard differentiable NAS (e.g., DARTS) that computes every candidate operation independently, RepShare leverages filter decomposition. Large filters (e.g., $7 \times 7$) are broken down into stacks of $3 \times 3$ filters. Since many candidate paths share these underlying building blocks, RepShare computes them once and shares the resulting feature maps across different transformations. To prevent interference between shared features, a lightweight $1 \times 1$ convolution decouples the selection process.

Receptive field diversity in detection vs. classification and the RepShare mechanism.

Experimental Results

The researchers evaluated FAD on MS-COCO and PASCAL VOC benchmarks. FAD completed its architecture search in just 0.6 GPU-days, representing a 25x–50x speedup over previous state-of-the-art methods like Auto-FPN and NAS-FCOS.

Comparison of FAD with state-of-the-art NAS methods for object detection.

On the MS-COCO test-dev set, FAD achieved 46.4 AP, outperforming established models such as ATSS and FSAF. Furthermore, FAD proved versatile as a "plug-and-play" module for both anchor-based and anchor-free detectors. In instance segmentation tasks using Mask R-CNN, it improved mask AP by up to 1.8 points while reducing mask head parameters by 26.9%.

Analysis and Insights

A key finding is that receptive field diversity in the detector head is more critical than simply increasing layer depth or parameter count. FAD-searched architectures often feature fewer parameters and lower FLOPs than human-designed baselines, indicating that the performance gains stem from superior network "wiring." Interestingly, the searched models tend to place large receptive field operations near the input and smaller ones near the output, mirroring biological processing of global context before local details.

Conclusion and Future Work

FAD demonstrates that NAS for object detection can be both highly efficient and effective through intelligent computation sharing and domain-specific search space design. While the current work focuses on searching detector heads, future research could expand FAD to end-to-end pipeline searches or apply RepShare logic to other dense prediction tasks like semantic segmentation.

Summary updated

BibTeX
@inproceedings{zhong2020representation,
  author = {Yujie Zhong and Zelu Deng and Sheng Guo and Matthew R. Scott and Weilin Huang},
  title = {{Representation Sharing for Fast Object Detector Search and Beyond}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58529-7\_28},
}
Figure