加速異構計算設備上的CNN 推理:修正特徵圖分割

Accelerating CNN Inference on Heterogeneous Computing Devices: Amended Feature Map Segmentation

檔案

日期

2023

類型

語言

英文

摘要

人工智慧和機器學習(AI/ML) 進展快速,使更多的服務功能能透過AI/ML 的模型來實現。運行一個AI/ML 模型需要大量的計算指令,這成為了雲計算發展的主要推手之一。雲端計算的發展正逐步走向網路邊緣成為邊緣計算。可以預見地,將會有各式各樣的AI/ML 模型運行在邊緣計算環境。若AI/ML 服務是時間敏感,而邊緣計算環境是異質性且計算資源更少。如何加速AI/ML 模型的問題是迫在眉睫。我們針對這個問題與情境,以卷積神經網路(CNN) 當作目標模型。本文研究如何減少CNN 的推理時間,在異質邊緣計算環境下。我們縮短推理時間的方式是藉由調整需要計算的特徵圖來實現。這些需要計算的特徵如同工作量,會被指派給多台計算裝置。我們將最小化推理時間的問題建模成最佳化問題。我們提出兩個算法來找出近似解。我們的結果指出可以透過改善先前研究的特徵圖分割方式得到更短的推理時間。
The rapid progress of artificial intelligence and machine learning (AI/ML) enables more service functions to be realized through AI/ML models. Running an AI/ML model requires a large number of computing instructions, which has become one of the main drivers of cloud computing development. The development of cloud computing is gradually moving to the edge of the network to become edge computing. It is anticipated that there will be various AI/ML models running in the edge computing environment. If the AI/ML service is time-sensitive, the edge computing environment is heterogeneous and has fewer computing resources than the central cloud. The question of how to accelerate AI/ML models is imminent. For this problem and situation, we use convolutional neural network (CNN) as the target model. This paper studies how to reduce the inference time of CNN in a heterogeneous edge computing environment. The way we shorten inference time is by adjusting the feature maps that need to be computed. Features that need to be calculated resemble workloads, which are assigned to multiple computing devices for inference processes. We model the problem of minimizing the inference time as an optimization problem. We propose two algorithms to find approximate solutions. Our result shows 1.1 times speed-up than the benchmark
顯示完整詮釋資料 統計資料

引用此條目

Ho, I.-T. (2023). Accelerating CNN Inference on Heterogeneous Computing Devices: Amended Feature Map Segmentation. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/83094

BibTeX RIS

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

分享

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