動態神經網路推論於能源採集裝置之混合策略

A Hybrid Strategy for Dynamic Neural Network Inferencing on Energy-Harvesting Devices

檔案

日期

2024

類型

語言

英文

摘要

Inferencing on energy-harvesting devices often uses dynamic neural networks to scale workload by the energy conditions to maintain the quality of machine learning applications. However, we notice a greedy scheduling policy can be either too optimistic or too pessimistic to choose workloads, and an early-exit model produces poor accuracy at the medium workload. We propose a scheduling policy and a workload scaling strategy on the energy-harvesting devices to complete more tasks before a power failure and maintain overall accuracy. First, the long-term scheduling policy considers the voltage trend and uses more medium workloads to maintain higher accuracy and decrease power failure risk. Second, the hybrid workload scaling strategy combines dynamic quantization and the early-exit model to have better accuracy and avoid power failure. We evaluate our designs on a commodity energy-harvesting platform MSP-EXP430FR5994. Our experiment results show that the long-term scheduling policy can complete all tasks and improve accuracy by 12%. The hybrid workload scaling strategy on the long-term scheduling policy can improve accuracy by 18%.
在能源採集裝置上做模型推論,經常會使用動態神經網路模型,並根據能量狀況調整工作量,以維持機器學習應用的品質。然而,我們注意到貪婪的排程方針會太樂觀或太悲觀去選擇工作量,以及提早離開模型會在中間的工作量產生比較差的準確度。我們提出一個排程方針以及一個工作調整策略在能量採集裝置上,得以在斷電之前完成更多的任務和維持整體準確度。首先,長期規劃排程分針考慮電壓趨勢並使用更多的中間計算量,以維持更高的準確度以及降低斷電的風險。其次,混合工作量調整策略,結合動態量化方法以及提早離開模型,達到更好的準確度以及避免斷電。我們在一個商用的能源採集平台MSP-EXP430FR5994評估我們的設計。實驗結果呈現,使用長期規劃排程分針可以完成所有任務,並且改善準確度12%。基於長期規劃排程分針使用混合工作量調整策略,可以改善準確度18%。
顯示完整詮釋資料 統計資料

引用此條目

Chang, J.-W. (2024). A Hybrid Strategy for Dynamic Neural Network Inferencing on Energy-Harvesting Devices. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/3830

BibTeX RIS

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

分享

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