階層式聯邦學習中異質移動用戶的廣義滯後者效應

Generalized Straggler Effect in Hierarchical Federated Learning with Heterogeneous Mobile Users

檔案

日期

2024

類型

語言

中文

摘要

聯邦學習(Federated Learning, FL) 是一種分散式的學習方法,數據保留在設備上訓練,透過模型聚合成一個全局模型從而實現分散式學習目標。而隨著智慧型裝置的發展和普及,過往單層的聯邦學習並不足以應付當今的應用環境。故階層式的聯邦學習(HierarchicalFederatedLearning, HFL)因應而出,將聯邦學習組成一個多層次的結構。在中央伺服器與用戶設備之間設置多個邊緣伺服器,形成中央-邊緣-用戶的結構。藉由邊緣伺服器的引進,因為邊緣伺服器能更接近用戶裝置的部屬,用戶可以更輕鬆的與邊緣伺服器通信,除了擴展了原本單層聯邦學習的覆蓋範圍,使更多的用戶裝置能夠參與訓練,更將低了端到端的通信延遲,從而實現更高效的模型訓練。

在本論文中,我們在階層式的聯邦學習當中提出一個在參與用戶數和訓練延遲之間的平衡策略。在用戶方面,除了考慮用戶的會在不同的邊緣伺服器之間移動的情況下,繼續討論用戶的異質性。用戶之間具有非獨立同分布(non-IID)資料分布,且並且有著隨設備而異的計算能力。故在本文在異質移動用戶的階層式聯邦學習當中,提出了一個有用戶模型計算的截止期限的訓練方式。而計算截止期限的設定,第一能避免過分地等待所有用戶完成計算,第二能大幅的減少整個訓練時長。我們提出動態調整時間限制的用戶訓練更新方式,控制每次本地迭代的最長期限,並適時地更新用戶當前狀態,保證每輪的訓練時間符合時效性和準確性。所提出的方法在實驗結果中表明,能比現有的方法在相同時間內提升15%的準確度,並且在到達相同準確度之下,減少6倍延遲。
Federated Learning (FL) is a decentralized learning approach where data remains on devices for training, and through model aggregation, a global model is formed to achieve distributed
learning objectives. With the development and proliferation of smart devices, the diversity of data from increasingly numerous devices makes the traditional single-layer federated learning inadequate for today's applications. When uploading models, users often need to expend excessive transmission power to communicate with the central server, and the resulting delays are significant.

Thus, Hierarchical Federated Learning (HFL) emerges, structuring federated learning into a multi-tier architecture. Between the central server and user devices, multiple edge servers are set up to form a central-edge-user structure. By introducing edge servers, which are deployed closer to user devices, users can more easily communicate with edge servers. This not only expands the coverage of traditional single-layer federated learning, allowing more user devicesto participate in training, but also reduces end-to-end communication delay, thereby achieving
more efficient model training.

In this thesis, we propose a balancing strategy between the number of participating users and training delays within hierarchical federated learning. On the user side, we discuss the heterogeneity of users, who have non-IID data distributions and varying computational capabilities across devices. We propose a training method with a computation deadline for heterogeneous mobile users within hierarchical federated learning. Setting a computation deadline first avoids overly long waits for all users to complete calculations and significantly reduces the overall training duration. Users who complete their local model uploads by this deadline can have their models aggregated at the current connected edge server, significantly enhancing user participation opportunities compared to traditional selection strategies. We propose a dynamic adjustment of the training update timing for users, controlling the maximum duration of each local iteration and timely updating the users' current status to ensure that each training round meets timeliness and accuracy.

The proposed method, as shown in experimental results, can improve accuracy by 15% within the same time frame and reduce delays by six times compared to existing methods, while
achieving the same accuracy.

所屬典藏

電機工程學系
顯示完整詮釋資料 統計資料

引用此條目

賴縉琳 (2024). 階層式聯邦學習中異質移動用戶的廣義滯後者效應. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/4043

BibTeX RIS

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

分享

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