基於卷積神經網路之具標的導向優化機制

Target-aware Optimization Mechanism for Convolutional Neural Networks

檔案

全文未公開。

日期

2018

類型

語言

英文

摘要

近年來,由於深度學習蓬勃發展,加上成本與資訊安全考量,深度學習應用之推理任務逐漸轉移至邊緣設備(edge device)上執行,從手機、穿戴式裝置一直到物聯網感測器等邊緣設備在未來都會大量運行深度學習應用。但是邊緣設備通常為運算能力、記憶體空間和能耗等資源較有限的裝置,而常見的深度學習模型具有參數量大和運算需求大之特性。為了將此類深度學習模型部署到邊緣設備上並不能一味地進行模型壓縮,因為模型壓縮常伴隨著準確度(accuracy)損失的缺點,所以要達到理想的優化效果,在進行模型壓縮時必須考量到邊緣設備的硬體特性、資源限制,並且權衡模型準確度下降和運行效能表現提升。
本論文建立一套優化機制,壓縮深度學習模型至特定邊緣設備上,並且分別針對兩種優化情境(準確度保證之壓縮,資源限制之壓縮)提出相對解決方法,達到理想之效能表現。為完成前述目的,本論文在優化架構上結合了低秩分解(Tucker decomposition)、運算時間測量模型(estimator)和超參數優化(hyper-parameter optimization)等功能,並提出一個資源控制的演算法。此演算法在硬體或使用者給定的資源限制下,能有效權衡模型準確度和效能表現,找出一個最佳優化策略能符合特定資源需求並且達到最高準確度。實驗數據顯示在準確度保證之壓縮情境下,本論文提出的優化策略可以改善1.4倍的運行時間和1.76倍的參數量。而在資源限制之壓縮情境下,與其他論文的自動壓縮策略相比,本論文提出的資源控制演算法能在相同的運行時間限制下,達到更高的準確度表現。
Quite recently, considerable attention has been paid to the deployment of Convolutional Neural Networks(CNN) on resource-limited edge devices. Thus, it is imperative to optimized models under the trade-off between accuracy and resource. In this paper, we build an optimization mechanism to compress CNN-based models and provide solutions for two decomposition scenarios: accuracy-guaranteed decomposition and latency-constrained decomposition. Our optimization mechanism is composed of three important components: 1. rank selection by Bayesian optimization, 2. evaluate candidate ranks with performance model, and 3. apply Tucker decomposition on convolutional and fully-connected layer. In addition, we propose a resource control algorithm called Optimization Planner. This algorithm can effectively trade off accuracy and performance under the resource constraint given by the user or the target hardware, and search for an optimal optimization strategy to meet the resource requirements while maximizing the accuracy. The experimental results show that the optimization strategy proposed in this paper can achieve a 1.48x speedup and a 3.16x reduction in weight for AlexNet on x86 target(ARK-3500). For latency-constrained decomposition, our proposed resource control algorithm achieve higher accuracy performance under the same latency limitation in comparison with other automatic compression strategy.
顯示完整詮釋資料 統計資料

引用此條目

Lu, W.-C. (2018). Target-aware Optimization Mechanism for Convolutional Neural Networks. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/69129

BibTeX RIS

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

分享

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