arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.15207cs.CVcs.LG
收藏

利用梯度匹配推广Few-Shot NAS

Generalizing Few-Shot NAS with Gradient Matching

The Chinese University of Hong Kong(香港中文大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);National University of Singapore(新加坡国立大学)

Shoukang Hu, Ruochen Wang, Lanqing Hong, Zhenguo Li, Cho-Jui Hsieh, Jiashi Feng

摘要:

从大的搜索空间中提取的结构的有效性能估计对于神经结构搜索是必不可少的。One-Shot方法通过训练一个超网来解决这个挑战,通过权重共享来近似搜索空间中每个架构的性能,从而大大降低搜索成本。然而,由于权重共享引起的子架构之间的耦合优化,One-Shot超网的性能估计可能不准确,导致搜索结果下降。为了解决这个问题,Few-Shot NAS通过逐边(逐层)穷举分区将One-Shot超网拆分为多个独立的子超网,从而降低了权重共享的级别。由于超网的每一个划分都不是同等重要的,因此需要设计一个更有效的划分准则。在这项工作中,我们提出了一个梯度匹配分数(GM),利用梯度信息在共享的权重作出明智的分裂决定。直观地说,来自不同子模型的梯度可以用来识别它们是否同意如何更新共享模块,并随后决定它们是否应该共享相同的权重。与穷举分割相比,该准则显著降低了每条边的分支因子。这使我们能够在给定的预算下分割更多的边(层),从而大大提高了性能,因为NAS搜索空间通常包括数十个边(层)。在广泛的搜索空间(NASBench-201,DARTS,MobileNet Space),数据集(cifar 10,cifar 100,ImageNet)和搜索算法(DARTS,SNAS,RSPS,ProxylessNAS,OFA)上对所提出的方法进行了广泛的实证评估,结果表明,它显着优于其Few-Shot同行,同时在衍生架构的准确性方面超过了以前的可比方法。

英文摘要:

Efficient performance estimation of architectures drawn from large search spaces is essential to Neural Architecture Search. One-Shot methods tackle this challenge by training one supernet to approximate the performance of every architecture in the search space via weight-sharing, thereby drastically reducing the search cost. However, due to coupled optimization between child architectures caused by weight-sharing, One-Shot supernet's performance estimation could be inaccurate, leading to degraded search outcomes. To address this issue, Few-Shot NAS reduces the level of weight-sharing by splitting the One-Shot supernet into multiple separated sub-supernets via edge-wise (layer-wise) exhaustive partitioning. Since each partition of the supernet is not equally important, it necessitates the design of a more effective splitting criterion. In this work, we propose a gradient matching score (GM) that leverages gradient information at the shared weight for making informed splitting decisions. Intuitively, gradients from different child models can be used to identify whether they agree on how to update the shared modules, and subsequently to decide if they should share the same weight. Compared with exhaustive partitioning, the proposed criterion significantly reduces the branching factor per edge. This allows us to split more edges (layers) for a given budget, resulting in substantially improved performance as NAS search spaces usually include dozens of edges (layers). Extensive empirical evaluations of the proposed method on a wide range of search spaces (NASBench-201, DARTS, MobileNet Space), datasets (cifar10, cifar100, ImageNet) and search algorithms (DARTS, SNAS, RSPS, ProxylessNAS, OFA) demonstrate that it significantly outperforms its Few-Shot counterparts while surpassing previous comparable methods in terms of the accuracy of derived architectures.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑