Publications

Harmonia: Accurate Federated Learning with All-Inclusive Dataset

2024 IEEE 17th International Conference on Cloud Computing (CLOUD), Shenzhen, China, 2024, pp. 302-304, doi: 10.1109/CLOUD62652.2024.00041.

Wonmi Choi, Juyoung Ahn, Yeonho Yoo, Chuck Yoo, Gyeongsik Yang

Download PDF

Abstract

Federated learning (FL) is an appealing model training technique that utilizes heterogeneous datasets and user devices, ensuring user data privacy. Existing FL research proposed device selection schemes to balance the computing speeds of devices. However, we observe that these schemes compromise prediction accuracy by ~57.7%. To solve this problem, we present Harmonia that enhances prediction accuracy, while also balancing the diverse computing speeds of devices. Our evaluation shows that Harmonia improves prediction accuracy by ~1.7x over existing schemes.

Paper summary

Keep a participant’s data in federated training

Coordinating devices owned by the same participant can include more of that participant’s data in training.

Federated learning can leave slow devices behind, excluding the data they hold. Harmonia groups devices belonging to the same owner and uses a faster device within each group to train on the group’s combined dataset.

Select a training leader within each owner’s group

Devices profile a training iteration, and the fastest eligible device becomes the group leader. Data moves to that leader within the owner’s group; unchanged data does not need to be transferred again. Leader selection is refreshed periodically, and the server combines group updates using FedAvg.

The grouping changes where a participant’s data is processed without pooling data across different owners.

Each owner’s devices form a group with a selected training leader.View full-size figure
Each owner’s devices form a group with a selected training leader.

Test heterogeneous devices and data

The testbed consists of three Raspberry Pi 4Bs and two Jetson Nanos split between two owners. The evaluation distinguishes uneven label distributions from uneven example counts and compares converged accuracy against TiFL, FedAvg and centralized training.

With uneven label distributions, Harmonia reaches 1.32× the accuracy of TiFL and 1.19× that of FedAvg. With unequal data quantities, the ratios are 1.71× and 1.61×. Across the two settings, average time to the paper’s target accuracy is 8.1× and 34.6× lower than TiFL and FedAvg, respectively.

Harmonia’s converged-accuracy ratios in the quantity-heterogeneity experiment.
BaselineHarmonia / baseline accuracy
TiFL1.71×
FedAvg1.61×

Data transfer within an owner’s group

The server combines group updates with FedAvg. Within a group, the orchestrator skips repeated transfers unless the leader or the data changes.