基於Transformer特徵提取之高效同態加密推論於心電圖異常偵測的資料隱私應用

Transformer-Based Feature Extraction for Efficient Homomorphic Inference with Data Privacy in ECG Anomaly Detection

檔案

全文將於 2030年7月3日 起公開。

日期

2025

類型

語言

英文

摘要

機器學習模型已被廣泛地應用在臨床的醫療診斷,例如心電圖 (ECG) 的異常偵測,然而在傳輸病患資料給外部模型推論時往往面臨資料隱私的問題。同態加密 (Homomorphic Encryption, HE) 允許資料在加密情況下進行運算,有效保證資料隱私,卻也使模型推論時間大幅增加。近年來被廣泛研究的 Transformer 模型也能良好的應用在時間序列資料 (如 ECG) 的處理,但其過高的系統延遲,使得實際應用受到限制。
為了解決同態加密帶來的推論延遲問題,本研究提出一套分工式運算架構。該架構透過策略性取捨,將明文階段的 Transformer 特徵提取與高效的加密推論分離,使系統在保護資料隱私的前提下,在準確性與效率之間達到實用的平衡。
實驗結果顯示,與現有以 Transformer 為基礎的同態加密推論方法相比,我們所提出的方法在整體推論效率上有顯著提升。此外,相較於從零訓練的 Transformer 模型,本研究透過預訓練與微調策略,進一步提高模型表現。這些成果凸顯了本方法在模型準確度與計算效率之間取得有效的平衡,同時確保整個推論流程中病患資料的隱私性。
Machine learning models have been widely applied in clinical diagnosis, such as electrocardiogram (ECG). However, transmitting patient data to external models for inference often raises data privacy issues. Homomorphic Encryption (HE) allows computations on encrypted data, effectively ensuring privacy, but it also significantly increases inference time. In recent years, the widely adopted Transformer model has shown strong performance in analyzing time-series data such as ECG; however, their high computational latency limits practical deployment.
To overcome the impractical latency of fully encrypted models, this study proposes a novel split-computation architecture that combines plaintext Transformer-based feature extraction with efficient encrypted inference.
Compared to existing approaches, our method achieves a significant improvement in overall inference efficiency. Furthermore, the pre-training and fine-tuning strategy outperforms a Transformer model trained from scratch. These results highlight the effectiveness of our method in achieving data privacy while balancing model accuracy and computational efficiency.

所屬典藏

資訊安全研究所
顯示完整詮釋資料 統計資料

引用此條目

Liao, T.-P. (2025). Transformer-Based Feature Extraction for Efficient Homomorphic Inference with Data Privacy in ECG Anomaly Detection. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/85665

BibTeX RIS

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

分享

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