應用模型壓縮之邊緣設備語音合成

Text-to-Speech with Model Compression on Edge Devices

檔案

日期

2020

類型

語言

中文

摘要

語音服務已進入到日常生活應用中,如:交通導航、語音助理及有聲讀物等,但考慮到成本及可變性,許多應用情境無法採用真人錄音方案,利用語音合成技術來模擬真人發聲將是無可避免的,深度學習語音合成因其優異的效能,是近年的研究的趨勢。隨著硬體技術的發展,邊緣裝置的計算能力已可執行輕量化的深度學習網路推理,如:人臉辨識、語音輸入及圖片修正等,配合 5G 通信世代的來臨,若能把語音合成網路移植到邊緣設備,將成為語音服務創新應用的基礎。本研究使用網路模型壓縮技術(如:參數量化、結構性剪技和低秩矩陣近似),將語音合成網絡 Tacotron2 [30] 及CBHG [18] 移植到邊緣設備,以減少參數量及即時運算為目標,並克服 TensorFlow 1.5與 TensorFlow Lite 在函式庫支援的差異性。最終,我們使用參數量化及結構性剪枝兩種策略對網路進行簡化,使得模型大小減少 86%,並提升語音合成網路 Tacotron2 的推理速度 1.91 倍。
The application of voice services has become more common in daily life, including traffic navigation, voice assistants, audio books and so on. However, considering the cost and variability, it is difficult to fully utilize real voice recordings in different scenarios. In practice, speech synthesis technology is usually used to mimic human voices; On the other hand, with the development of computer equipment, the computing power of edge devices has also gradually improved, which enables light deep-learning network inference. Currently, many deep learning technologies have been ported to edge devices to create different applications, such as face recognition, speech recognition, and photo retouching. Therefore, if the speech synthesis network is ported to the edge equipment, with the advent of the fifth generation mobile communication generation (5G), it would be able to provide more innovative basis for voice services. In this research, the speech synthesis network Tacotron2 [30] + CBHG [18] would be ported to the edge device and aiming to optimize the model inference time and amount of parameters. The model optimization would be based on the compression of deep learning network, quantization, structured pruning and low-rank matrix approximation techniques to allow the speech synthesis network working effectively on the edge device. On the other hand, we get over the difference in library support between TensorFlow 1.5 and TensorFlow Lite. After the compression of the model, the inference speed of the Tacotron2 speech synthesis network on the edge device is increased by 1.91 times, while the model size is reduced by 86% respectively
顯示完整詮釋資料 統計資料

引用此條目

郭慧芸 (2020). 應用模型壓縮之邊緣設備語音合成. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/75014

BibTeX RIS

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

分享

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