HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

PC-DARTS: Partial Channel Connections for Memory-Efficient Architecture Search

Yuhui Xu; Lingxi Xie; Xiaopeng Zhang; Xin Chen; Guo-Jun Qi; Qi Tian; Hongkai Xiong

PC-DARTS: Partial Channel Connections for Memory-Efficient Architecture Search

Abstract

Differentiable architecture search (DARTS) provided a fast solution in finding effective network architectures, but suffered from large memory and computing overheads in jointly training a super-network and searching for an optimal architecture. In this paper, we present a novel approach, namely, Partially-Connected DARTS, by sampling a small part of super-network to reduce the redundancy in exploring the network space, thereby performing a more efficient search without comprising the performance. In particular, we perform operation search in a subset of channels while bypassing the held out part in a shortcut. This strategy may suffer from an undesired inconsistency on selecting the edges of super-net caused by sampling different channels. We alleviate it using edge normalization, which adds a new set of edge-level parameters to reduce uncertainty in search. Thanks to the reduced memory cost, PC-DARTS can be trained with a larger batch size and, consequently, enjoys both faster speed and higher training stability. Experimental results demonstrate the effectiveness of the proposed method. Specifically, we achieve an error rate of 2.57% on CIFAR10 with merely 0.1 GPU-days for architecture search, and a state-of-the-art top-1 error rate of 24.2% on ImageNet (under the mobile setting) using 3.8 GPU-days for search. Our code has been made available at: https://github.com/yuhuixu1993/PC-DARTS.

Code Repositories

chenxin061/pdarts
pytorch
Mentioned in GitHub
ddghost/new_darts
pytorch
Mentioned in GitHub
aragakiyuiii/gumbel-pdarts-master
pytorch
Mentioned in GitHub
xkp793003821/PC-DARTS-COOPER
pytorch
Mentioned in GitHub
peteryuX/pcdarts-tf2
tf
Mentioned in GitHub
yuhuixu1993/PC-DARTS
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
neural-architecture-search-on-cifar-10PC-DARTS-CIFAR
Top-1 Error Rate: 2.51%
neural-architecture-search-on-cifar-10PC-DARTS
Parameters: 3.6M
Search Time (GPU days): 0.1
Top-1 Error Rate: 2.57%
neural-architecture-search-on-imagenetPC-DARTS (ImageNet)
Accuracy: 75.8
MACs: 597M
Params: 5.3M
Top-1 Error Rate: 24.2

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
PC-DARTS: Partial Channel Connections for Memory-Efficient Architecture Search | Papers | HyperAI