MAPLE-X:基于微处理器先验知识的延迟预测
MAPLE-X: Latency Prediction with Explicit Microprocessor Prior Knowledge
摘要:
深度神经网络(DNN)延迟表征是一个耗时的过程,并且在搜索用于嵌入式视觉应用的高效卷积神经网络时会显著增加神经架构搜索(NAS)过程的成本。DNN延迟是一个依赖于硬件的指标,需要对目标硬件进行直接测量或推断。最近引入的延迟估计技术MAPLE通过使用硬件性能计数器来预测DNN在以前看不见的硬件设备上的执行时间。通过以隐式先验的形式利用这些硬件计数器,MAPLE在延迟预测方面实现了最先进的性能。在这里,我们提出了MAPLE-X,它通过结合硬件设备和DNN架构延迟的显式先验知识来扩展MAPLE,以更好地考虑模型的稳定性和鲁棒性。首先,通过识别彼此表现出相似延迟的DNN架构,我们可以生成多个虚拟示例,以显着提高MAPLE的准确性。其次,硬件规格用于确定训练和测试硬件之间的相似性,以强调从可比设备(域)捕获的训练样本,并鼓励改进域对齐。在不同类型的设备上使用卷积神经网络NAS基准测试的实验结果表明,与MAPLE相比,性能提高了5%,与HELP相比,性能提高了9%。此外,我们还包括消融研究,以独立评估虚拟样本和基于硬件的样本重要性的好处。
英文摘要:
Deep neural network (DNN) latency characterization is a time-consuming process and adds significant cost to Neural Architecture Search (NAS) processes when searching for efficient convolutional neural networks for embedded vision applications. DNN Latency is a hardware dependent metric and requires direct measurement or inference on target hardware. A recently introduced latency estimation technique known as MAPLE predicts DNN execution time on previously unseen hardware devices by using hardware performance counters. Leveraging these hardware counters in the form of an implicit prior, MAPLE achieves state-of-the-art performance in latency prediction. Here, we propose MAPLE-X which extends MAPLE by incorporating explicit prior knowledge of hardware devices and DNN architecture latency to better account for model stability and robustness. First, by identifying DNN architectures that exhibit a similar latency to each other, we can generate multiple virtual examples to significantly improve the accuracy over MAPLE. Secondly, the hardware specifications are used to determine the similarity between training and test hardware to emphasize training samples captured from comparable devices (domains) and encourages improved domain alignment. Experimental results using a convolution neural network NAS benchmark across different types of devices, including an Intel processor that is now used for embedded vision applications, demonstrate a 5% improvement over MAPLE and 9% over HELP. Furthermore, we include ablation studies to independently assess the benefits of virtual examples and hardware-based sample importance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。