CATCH: Context-Based Meta Reinforcement Learning for Transferrable Architecture Search

Xin Chen, Yawen Duan, Zewei Chen, Hang Xu, Zihao Chen, Xiaodan Liang, Tong Zhang, Zhenguo Li

Neural Architecture Search (NAS) has significantly advanced the automated design of deep learning models, frequently surpassing human-engineered architectures. However, conventional NAS algorithms often suffer from a "goldfish memory" problem: they typically search from scratch for every new task or dataset. This lack of knowledge reuse leads to high computational costs and sub-optimal performance on diverse target domains.

To address these limitations, researchers have introduced CATCH (Context-bAsed meTa reinforcement learning for transferrable arChitecture searcH). CATCH is a meta-reinforcement learning framework designed to enable a search agent to learn from past experiences and rapidly adapt to novel tasks.

Overcoming the Bottlenecks of Traditional NAS

Current NAS research faces three primary challenges:

  1. Inefficiency: Most algorithms are "one-off" solutions that ignore potential cross-task knowledge.
  2. Sub-optimality: Finding a single "universal" architecture often fails when target tasks vary significantly from training data.
  3. Restricted Search Spaces: Many efficient "one-shot" methods are brittle and tied to narrow, specific search spaces.
CATCH addresses the inefficiencies and restrictions of traditional NAS by utilizing a meta-training approach that enables rapid adaptation to new tasks.

CATCH bridges these gaps by creating a search-space agnostic agent that treats NAS as a meta-learning problem. It learns a general search policy that can be fine-tuned for a specific task using only a few samples.

The CATCH Framework

The core of the system is the CATCHer agent, which consists of three end-to-end optimized components:

  • Context Encoder: This component utilizes amortized variational inference to transform a "search history"—pairs of architectures and their rewards—into a latent context vector ($z$). This vector serves as a task "fingerprint," capturing the underlying reward landscape.
  • RL Controller: Trained via Proximal Policy Optimization (PPO), this agent uses the context vector $z$ to generate informed candidate architectures rather than random guesses.
  • Network Evaluator: To minimize computational overhead, the evaluator predicts the performance of candidate architectures, acting as a filter to identify high-potential models for full training.

The framework operates in two distinct phases: Meta-training, where the agent learns to search across a diverse pool of tasks, and Adaptation, where the policy is quickly specialized for a target task.

Experimental Evaluation and Results

CATCH was evaluated against standard benchmarks, including NAS-Bench-201 (CIFAR-10, CIFAR-100, and ImageNet16-120), as well as large-scale tasks like ImageNet classification, COCO object detection, and Cityscapes semantic segmentation.

Superior Search Efficiency

On the NAS-Bench-201 benchmark, CATCH demonstrated remarkable efficiency. As shown in the performance curves below, CATCH-meta consistently reaches near-optimal validation accuracy much faster than traditional reinforcement learning (REINFORCE) or evolutionary algorithms (R-EA).

Comparison of CATCH-meta against baseline search algorithms across CIFAR-10, CIFAR-100, and ImageNet16-120. CATCH-meta (blue line) significantly outperforms other methods in search efficiency.

Performance Highlights

  • Beating One-Shot Methods: CATCH outperformed state-of-the-art one-shot methods. For instance, on ImageNet16-120, CATCH achieved 46.07% accuracy, significantly higher than DARTS-V1 (23.66%) and GDAS (44.81%).
  • High-Performance Architectures: The discovered CATCH-Net-A achieved 79.04% Top-1 accuracy on ImageNet. It offers performance comparable to EfficientNet-B1 while running 2.82x faster on a V100 GPU.
  • Cross-Domain Transfer: Architectures found by CATCH proved highly effective across domains, achieving 43.2 mAP on COCO and 81.12 mIoU on Cityscapes, surpassing specialized backbones like DetNAS and Auto-DeepLab.

Conclusion

CATCH introduces a paradigm shift in NAS by leveraging meta-reinforcement learning for task-adaptive architecture search. By encoding task properties into latent context, it enables efficient transfer of knowledge across domains. While the initial meta-training requires a one-time computational investment, the resulting ability to "catch" optimal architectures for new tasks with minimal samples represents a significant step toward more practical and scalable automated machine learning.

Summary updated

BibTeX
@inproceedings{chen2020catch,
  author = {Xin Chen and Yawen Duan and Zewei Chen and Hang Xu and Zihao Chen and Xiaodan Liang and Tong Zhang and Zhenguo Li},
  title = {{CATCH: Context-Based Meta Reinforcement Learning for Transferrable Architecture Search}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58529-7\_12},
}
Figure