[Paper Review] FedShuffle: Recipes for Better Use of Local Work in Federated Learning
FedShuffle proposes a novel federated learning framework that improves local update utilization by integrating random reshuffling, data imbalance handling, and client sampling—offering the first theoretical convergence guarantees under these realistic conditions. It resolves the objective inconsistency problem in FedAvg and outperforms FedNova and FedAvg with momentum, especially under partial participation and heterogeneous data.
The practice of applying several local updates before aggregation across clients has been empirically shown to be a successful approach to overcoming the communication bottleneck in Federated Learning (FL). Such methods are usually implemented by having clients perform one or more epochs of local training per round while randomly reshuffling their finite dataset in each epoch. Data imbalance, where clients have different numbers of local training samples, is ubiquitous in FL applications, resulting in different clients performing different numbers of local updates in each round. In this work, we propose a general recipe, FedShuffle, that better utilizes the local updates in FL, especially in this regime encompassing random reshuffling and heterogeneity. FedShuffle is the first local update method with theoretical convergence guarantees that incorporates random reshuffling, data imbalance, and client sampling - features that are essential in large-scale cross-device FL. We present a comprehensive theoretical analysis of FedShuffle and show, both theoretically and empirically, that it does not suffer from the objective function mismatch that is present in FL methods that assume homogeneous updates in heterogeneous FL setups, such as FedAvg (McMahan et al., 2017). In addition, by combining the ingredients above, FedShuffle improves upon FedNova (Wang et al., 2020), which was previously proposed to solve this mismatch. Similar to Mime (Karimireddy et al., 2020), we show that FedShuffle with momentum variance reduction (Cutkosky & Orabona, 2019) improves upon non-local methods under a Hessian similarity assumption.
Motivation & Objective
- Address the objective inconsistency issue in federated learning where clients perform different numbers of local updates due to data imbalance.
- Provide theoretical convergence guarantees for local update methods under realistic federated settings, including random reshuffling, data heterogeneity, and client sampling.
- Improve upon FedNova by incorporating random reshuffling and better handling of incomplete local training rounds.
- Enable stateless, scalable federated optimization suitable for large-scale cross-device FL with millions of devices.
- Unify momentum variance reduction with reshuffling and heterogeneous updates to enhance convergence under Hessian similarity assumptions.
Proposed method
- Introduce FedShuffle, a local update method that applies random reshuffling of client data at each local epoch, ensuring variance reduction and improved convergence.
- Design a novel aggregation rule that accounts for differing numbers of local steps per client, correcting the objective mismatch present in FedAvg and FedNova.
- Propose FedShuffleGen as a hybrid variant that combines step-size scaling and update-weighting to handle incomplete local rounds due to system constraints.
- Leverage momentum variance reduction (Cutkosky & Orabona, 2019) within FedShuffle to improve convergence under Hessian similarity assumptions.
- Formulate the optimization problem as a weighted sum of client losses with client-specific weights proportional to data size, ensuring global objective alignment.
- Implement a client sampling strategy where only a subset of devices participates per round, reflecting real-world cross-device FL constraints.
Experimental results
Research questions
- RQ1Can a federated learning method achieve theoretical convergence with random reshuffling, data imbalance, and client sampling—features critical in large-scale FL?
- RQ2How does FedShuffle mitigate the objective inconsistency problem that plagues FedAvg and FedNova when clients perform different numbers of local updates?
- RQ3Does combining random reshuffling with momentum variance reduction improve convergence in heterogeneous, non-iid FL settings?
- RQ4How does FedShuffle perform empirically compared to FedAvg, FedNova, and FedAvg with momentum under partial participation and real-world data?
- RQ5Can a hybrid aggregation strategy (FedShuffleGen) effectively correct objective inconsistency caused by incomplete local training rounds in production-like settings?
Key findings
- FedShuffle achieves theoretical convergence under random reshuffling, data imbalance, and client sampling—conditions previously unaddressed in prior local update methods.
- FedShuffle eliminates the objective inconsistency problem inherent in FedAvg and FedNova by dynamically adjusting aggregation weights based on local update counts.
- On the Shakespeare dataset with LSTM, FedShuffle with momentum achieves faster convergence and lower training loss than FedAvg and FedNova under partial participation (16 clients per round).
- On CIFAR100 with ResNet18, FedShuffle with momentum outperforms FedAvg and FedNova in validation accuracy, especially when local epochs vary randomly per client (2–5 epochs).
- In the quadratic objective experiment, FedShuffleGen—combining FedShuffle with FedNova-style aggregation—achieves superior performance and fixes objective inconsistency caused by incomplete local rounds.
- The inclusion of momentum variance reduction in FedShuffle leads to faster convergence under Hessian similarity assumptions, matching or exceeding performance of Mime in similar settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.