仅在神经架构搜索及其他方面训练BatchNorm
Training BatchNorm Only in Neural Architecture Search and Beyond
摘要:
本文研究了批量归一化在神经结构搜索中的应用。具体来说,Frankle等人发现训练BatchNorm只能实现非平凡的性能。此外,Chen等人声称,训练BatchNorm只能将一次性NAS超网的训练速度提高十倍以上。关键的是,没有努力理解1)为什么训练BatchNorm只能找到性能良好的架构,减少超网训练时间,以及2)仅训练BN超网和标准训练超网之间的区别是什么。我们首先证明了仅训练BN的网络收敛到神经切线核区域,获得了与理论上训练所有参数相同的训练动力学。我们的证明支持只在超网上用较少的训练时间训练BatchNorm的主张。然后,我们经验性地揭示了仅训练BN超网在卷积上比其他运营商具有优势,导致架构之间的不公平竞争。这是因为只有卷积运算符与BatchNorm相连。通过实验,我们表明,这种不公平性使得搜索算法倾向于选择具有卷积的模型。为了解决这个问题,我们通过在每个操作符上放置BatchNorm层来在搜索空间中引入公平性。然而,我们观察到Chen等人的性能预测器在新的搜索空间上不适用。为此,我们提出了一种新的复合性能指标,从三个角度来评估网络:表现力,可训练性和不确定性,来自BatchNorm的理论属性。我们证明了我们的方法在多个NAS基准测试(NAS-Bench 101,NAS-Bench-201)和搜索空间(DARTS搜索空间和MobileNet搜索空间)的有效性。
英文摘要:
This work investigates the usage of batch normalization in neural architecture search (NAS). Specifically, Frankle et al. find that training BatchNorm only can achieve nontrivial performance. Furthermore, Chen et al. claim that training BatchNorm only can speed up the training of the one-shot NAS supernet over ten times. Critically, there is no effort to understand 1) why training BatchNorm only can find the perform-well architectures with the reduced supernet-training time, and 2) what is the difference between the train-BN-only supernet and the standard-train supernet. We begin by showing that the train-BN-only networks converge to the neural tangent kernel regime, obtain the same training dynamics as train all parameters theoretically. Our proof supports the claim to train BatchNorm only on supernet with less training time. Then, we empirically disclose that train-BN-only supernet provides an advantage on convolutions over other operators, cause unfair competition between architectures. This is due to only the convolution operator being attached with BatchNorm. Through experiments, we show that such unfairness makes the search algorithm prone to select models with convolutions. To solve this issue, we introduce fairness in the search space by placing a BatchNorm layer on every operator. However, we observe that the performance predictor in Chen et al. is inapplicable on the new search space. To this end, we propose a novel composite performance indicator to evaluate networks from three perspectives: expressivity, trainability, and uncertainty, derived from the theoretical property of BatchNorm. We demonstrate the effectiveness of our approach on multiple NAS-benchmarks (NAS-Bench101, NAS-Bench-201) and search spaces (DARTS search space and MobileNet search space).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。