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

PEng4NN:一种用于高效自动神经网络体系结构搜索的精确性能估计引擎

PEng4NN: An Accurate Performance Estimation Engine for Efficient Automated Neural Network Architecture Search

University of Tennessee, Knoxville(田纳西大学诺克斯维尔分校);Oak Ridge National Lab(橡树岭国家实验室)

Ariel Keller Rorabaugh, Silvina Caíno-Lores, Michael R. Wyatt, Travis Johnston, Michela Taufer

摘要:

神经网络(NN)模型越来越多地用于科学模拟、人工智能和其他高性能计算(HPC)领域,以从数据集中提取知识。每个数据集都需要定制的NN模型架构,但手工设计结构是一个耗时且容易出错的过程。神经结构搜索(NAS)实现了神经网络结构设计的自动化。NAS试图为专门的数据集找到性能良好的NN模型,其中性能通过捕获NN能力的关键度量来测量(例如,数据集中样本分类的准确性)。现有的NAS方法是资源密集型的,特别是在为越来越大的数据集搜索高度精确的模型时。为了解决这个问题,我们提出了一种性能估计策略,减少了训练NN的资源,并在不影响精度的情况下增加了NAS吞吐量。我们通过一个名为PEg 4 NN的引擎来实现我们的策略,该引擎插入现有的NAS方法;在这样做时,PEg 4 NN在训练过程的早期预测NN的最终准确性,向NAS通知NN性能,从而使NAS能够提前终止NN的训练。我们在三个不同的数据集上评估我们的引擎(即,CIFAR-100、Fashion MNIST和SVHN)。通过减少所需的训练时间,我们的引擎实现了显著的吞吐量增益;平均而言,我们的引擎节省了61%到82%的训练时间,与最先进的NAS方法相比,吞吐量增加了2.5到5倍。我们在不影响准确性的情况下实现了这一增益,正如我们用两个关键结果所证明的那样。首先,在我们所有的测试中,74%到97%的真实最佳模型都存在于我们预测的最佳模型中。其次,地面实况最佳模型和我们预测的最佳模型的准确度分布是相当的,所有测试的平均准确度值最多相差0.7个百分点。

英文摘要:

Neural network (NN) models are increasingly used in scientific simulations, AI, and other high performance computing (HPC) fields to extract knowledge from datasets. Each dataset requires tailored NN model architecture, but designing structures by hand is a time-consuming and error-prone process. Neural architecture search (NAS) automates the design of NN architectures. NAS attempts to find well-performing NN models for specialized datsets, where performance is measured by key metrics that capture the NN capabilities (e.g., accuracy of classification of samples in a dataset). Existing NAS methods are resource intensive, especially when searching for highly accurate models for larger and larger datasets. To address this problem, we propose a performance estimation strategy that reduces the resources for training NNs and increases NAS throughput without jeopardizing accuracy. We implement our strategy via an engine called PEng4NN that plugs into existing NAS methods; in doing so, PEng4NN predicts the final accuracy of NNs early in the training process, informs the NAS of NN performance, and thus enables the NAS to terminate training NNs early. We assess our engine on three diverse datasets (i.e., CIFAR-100, Fashion MNIST, and SVHN). By reducing the training epochs needed, our engine achieves substantial throughput gain; on average, our engine saves 61% to 82% of training epochs, increasing throughput by a factor of 2.5 to 5 compared to a state-of-the-art NAS method. We achieve this gain without compromising accuracy, as we demonstrate with two key outcomes. First, across all our tests, between 74% and 97% of the ground truth best models lie in our set of predicted best models. Second, the accuracy distributions of the ground truth best models and our predicted best models are comparable, with the mean accuracy values differing by at most .7 percentage points across all tests.

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

↑