以適應性流程及共用歷史資料最佳化類神經網路編譯

Optimizing Neural Network Compilation via Adaptive Workflow with Shared History Data

檔案

日期

2020

類型

語言

英文

摘要

隨著深度神經網路的發展,類神經網路的編譯在加速模型執行速度上佔了重要的一環。隨著執行速度的需求逐年提高,眾多團隊亦投入包括人工最佳化的深度神經網路函式庫和自動化的黑盒最佳化(black-box optimization)等相關研究。黑盒最佳化藉由自動化搜尋尋找最高效的答案。然而,儘管配合基因演算法和梯度決策樹等技術,該技術依舊需要大量費時的硬體量測來配合。這也導致類神經網路編譯和最佳化極為費時。
本論文意圖減少硬體量測需求以縮短編譯時間。為此,本論文提出了一系列設計,包含藉由動態分析硬體量測數據來控制編譯流程的自適應模組,使用K-means集群分析的取樣模組,整理並分析量測記錄的資料庫,基於Dr. Opt的線上的深度神經網路模型調整服務,和配合線上服務的歷史資料共用及模組超參數建議。實驗數據顯示本論文之成果相較於AutoTVM,可以減少52.39%的硬體量測需求。
With the development of deep neural network, network compilation plays as an important role for achieving faster execution. This result in the development of manually optimized library and automated black-box optimizations. Black-box optimizations aim to find optimal solutions by searching through design space. However, despite using advanced technique including genetic algorithm or gradient boosting tree, these approaches suffer from countless costly hardware measurements which greatly increase compilation time.
In this thesis, we aim to reduce compilation time by reducing hardware measurement. Our solution includes Adaptive Early-stop, a self-tuning module that control tuning workflow according to real-time measurement, a k-means cluster sampling module, a history database that record and organize measurement result for later usage, a decoupled online tuning service, built upon Dr. Opt., and extended work leveraging multiple users of online service, including shared history data and module hyperparameter suggestion. Experiments shows that our proposed method achieve a reduction of 52.39% on hardware measurement for auto-tuning over AutoTVM.
顯示完整詮釋資料 統計資料

引用此條目

Chen, Y.-H. (2020). Optimizing Neural Network Compilation via Adaptive Workflow with Shared History Data. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/74971

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/74971