KNAS:绿色神经架构搜索
KNAS: Green Neural Architecture Search
摘要:
许多现有的神经架构搜索(NAS)解决方案依赖于下游的架构评估训练,这需要大量的计算。考虑到这些计算带来了很大的碳足迹,本文旨在探索一种绿色(即环境友好)的NAS解决方案,无需培训即可评估架构。直觉上,梯度,由结构本身,直接决定收敛和推广的结果。这促使我们提出梯度核假设:可以将梯度作为下游训练的粗粒度代理来评估随机初始化的网络。为了支持这一假设,我们进行了理论分析,并找到了一个实用的梯度核,它与训练损失和验证性能具有良好的相关性。根据这一假设,我们提出了一种新的基于内核的体系结构搜索方法KNAS。实验表明,KNAS实现了竞争力的结果,数量级快于“训练然后测试”的范例上的图像分类任务。此外,极低的搜索成本使其具有广泛的应用。搜索网络在两个文本分类任务上的表现也优于强基线Roberta-large。代码可从\url{https://github.com/Jingjing-NLP/KNAS}获得。
英文摘要:
Many existing neural architecture search (NAS) solutions rely on downstream training for architecture evaluation, which takes enormous computations. Considering that these computations bring a large carbon footprint, this paper aims to explore a green (namely environmental-friendly) NAS solution that evaluates architectures without training. Intuitively, gradients, induced by the architecture itself, directly decide the convergence and generalization results. It motivates us to propose the gradient kernel hypothesis: Gradients can be used as a coarse-grained proxy of downstream training to evaluate random-initialized networks. To support the hypothesis, we conduct a theoretical analysis and find a practical gradient kernel that has good correlations with training loss and validation performance. According to this hypothesis, we propose a new kernel based architecture search approach KNAS. Experiments show that KNAS achieves competitive results with orders of magnitude faster than "train-then-test" paradigms on image classification tasks. Furthermore, the extremely low search cost enables its wide applications. The searched network also outperforms strong baseline RoBERTA-large on two text classification tasks. Codes are available at \url{https://github.com/Jingjing-NLP/KNAS} .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。