Papers
Topics
Authors
Recent
Search
2000 character limit reached

Semi-Decentralized Federated Learning

Updated 21 November 2025
  • Semi-Decentralized Federated Learning is a distributed ML architecture that combines centralized and decentralized approaches through multi-level aggregation to enhance scalability and privacy.
  • It employs asynchronous, staleness-aware protocols that adapt to heterogeneous client capacities, mitigating stragglers and balancing data variability.
  • Empirical results indicate that SDFL can achieve up to 2× faster convergence and 3–5% higher early test accuracy compared to synchronous methods under high heterogeneity.

Semi-decentralized federated learning (SDFL) refers to a class of distributed machine learning architectures that combine hierarchical or hybrid aggregation patterns, typically via clusters or intermediate servers, bridging the extremes of fully centralized federated learning (FL) and fully decentralized (peer-to-peer) learning. SDFL architectures deliver improved scalability, communication efficiency, and robustness by decomposing the model aggregation and consensus procedures across multiple, often dynamically organized, regions of a network—such as edge clusters, edge servers, or client clusters—while still preserving the core privacy protections of classical FL. The flexibility and design space of SDFL frameworks support diverse communication models, advanced straggler and staleness mitigation, heterogeneous data and device regimes, and dynamic client populations.

1. Architectural Foundations and Design Patterns

SDFL architectures consist of at least two levels of aggregation—a local or edge-tier and a higher-tier (edge/server/cloud)—with model flows partitioned into local training, intra-cluster aggregation, and inter-cluster (or global) aggregation phases. In canonical edge SDFL frameworks (Sun et al., 2021, Sun et al., 2021), the network comprises CC client devices statically associated with DD edge servers, forming DD disjoint “edge clusters” C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D. Each edge server communicates directly with its associated clients for local aggregation and with neighboring servers across a high-speed, typically wired, backbone. The aggregation topology of edge servers is often encoded via a binary adjacency matrix G{0,1}D×DG \in \{0,1\}^{D\times D}.

The typical SDFL update flow:

  • Local Training: Each client ii in cluster dd performs local mini-batch SGD or other optimizers on its private data.
  • Intra-cluster Aggregation: At a cluster-specific deadline or after a fixed number of local epochs, the edge server aggregates normalized model updates Δk(i)\Delta_k^{(i)} using a weighted mean, updating the local server-side model yk(d)y_k^{(d)}.
  • Inter-cluster Aggregation: Edge servers exchange their cluster models with neighbors, performing a distributed consensus update using a mixing matrix PkP_k.
  • Broadcast: The refreshed edge model DD0 is then broadcast to the cluster’s clients as the starting point for the next round.

This structure generalizes to more flexible hierarchies (e.g., multi-hop, ring, or mesh edge-server topologies (Sun et al., 2021, Sun et al., 2021)), and can be extended by incorporating device-to-device protocols, cluster-head rotation, or application-specific communication models.

2. Asynchronous and Staleness-Aware Protocols

In practice, device and communication heterogeneity lead to significant straggler and staleness effects. SDFL explicitly addresses these by decoupling the global iteration pace from the slowest subnetwork component. Each edge server DD1 can independently set a compute interval DD2, choosing aggregation deadlines aligned to its clients’ resource capacities (FLOPS, bandwidth), so that fast clients perform more SGD steps per round. Normalization of model increments by the number of local epochs DD3 ensures statistical fairness and numeric stability:

DD4

When edge servers aggregate asynchronously, each cluster triggers intra- and inter-cluster updates upon local completion, with no global synchronization barrier. The staleness of peer models entering an aggregation step is measured via DD5 (model age), and their contributions are discounted by a non-increasing weight function DD6, such as DD7 (Sun et al., 2021). Inter-cluster mixing weights DD8 are computed as normalized staleness-aware weights, ensuring that stale models have proportionally reduced effect in the aggregation.

This protocol ensures overall system progress despite stragglers, enabling edge clusters to proceed at their fastest safe pace and providing robustness in highly heterogeneous networks (Sun et al., 2021, Sun et al., 2021).

3. Convergence Theory and Performance Guarantees

SDFL frameworks are supported by rigorous convergence analyses under assumptions of DD9-smoothness, unbiased and bounded-variance SGD, and bounded data heterogeneity. Using a global auxiliary model DD0 (weighted by cluster data proportions), the main result for asynchronous SDFL with staleness-aware dampening states:

DD1

where DD2 is the device heterogeneity gap, DD3 the SGD variance, and DD4 are polynomials in the maximum staleness and DD5 (Sun et al., 2021). Choosing DD6 ensures vanishing optimality gap DD7. If DD8 and staleness is absent (DD9), the bound matches synchronous SD-FEEL rates (Sun et al., 2021).

Significantly, larger heterogeneity or staleness increases the constants in the convergence bound, reflecting the necessity of proper normalization and staleness discounting to guarantee stable learning (Sun et al., 2021, Sun et al., 2021).

4. Impact of Heterogeneity and Communication Topology

SDFL’s advantage is most pronounced in non-IID settings and heterogeneous networks, as validated by large-scale experiments (e.g., 30 clients, 6 clusters, ResNet-18 on CIFAR-10, Dirichlet non-IID splits) (Sun et al., 2021). Asynchrony and staleness-aware aggregation enable up to C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D0 faster convergence in wall-clock time compared to synchronous protocols under substantial heterogeneity gaps (e.g., C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D1), directly reducing idle waiting time and improving early test accuracy by +3–5% at fixed timepoints.

The trade-off is a modest increase in communication load, as asynchronous SDFL introduces more frequent inter-cluster exchanges. Topology also significantly impacts performance: denser edge-server graphs (smaller spectral radius C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D2 of the mixing matrix) permit faster consensus and reduced inter-cluster communication steps (Sun et al., 2021). For ring topologies (C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D3), more mixing steps are generally required per round for near-ideal consensus (Sun et al., 2021, Sun et al., 2021).

5. Algorithmic Realizations and Practical Implementation

A standard SDFL pseudocode entails:

  • Parallel local updates at all clients in a cluster.
  • Intra-cluster aggregation: weighted average of normalized increments.
  • Asynchronous trigger: upon cluster-specific deadline or completion, the associated edge server initiates inter-cluster aggregation without waiting for others, incrementing a global round index.
  • Inter-cluster model exchange: staleness-aware averaging over direct neighbors using mixing matrix C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D4.
  • Broadcasting cluster models to all local clients for the next training phase.
  • Final global model consensus as a weighted sum of edge models.

Staleness metrics and normalization weights are computed and updated online. Simulation setups are realistic, incorporating nontrivial latency and bandwidth models (client–server at C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D5 Mbps, server–server at C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D6 Mbps, realistic FLOPs/body constraints), and client–cluster assignments reflect static or topology-aware distributions (Sun et al., 2021).

6. Trade-offs and Limitations

While asynchronous SDFL architectures substantially mitigate the impact of device and data heterogeneity, careful calibration of normalization, staleness weight functions, and the balance between communication overhead and model consensus is essential. High C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D7 or excessive staleness without properly tuned discounting can slow convergence or introduce early-round statistical bias (as fast clients may dominate initial learning without reweighting). Moreover, although total communication per epoch may rise, the reduction in system idle time and the increased effective throughput generally outweigh these costs in practical networked environments (Sun et al., 2021, Sun et al., 2021).

The general framework does not preclude integration with further adaptations—adaptive cluster partitioning, trust/fault-aware scheduling, straggler-resilient coding, or advanced privacy-preserving techniques.

7. Comparative Summary and Empirical Results

Simulation studies demonstrate:

  • For C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D8, asynchronous SD-FEEL achieves C1,,CD\mathcal{C}_1, \dots, \mathcal{C}_D9 faster wall-clock convergence versus synchronous protocols for fixed total epochs.
  • Short-term test accuracy improvements (e.g., +3–5% at 2000s) are substantial; synchronous approaches may eventually match final accuracy but incur much higher latency due to inefficiency in straggler handling.
  • Communication–latency and accuracy–fairness trade-offs are tunable via aggregation parameters and staleness weights.
  • Empirical evaluations confirm that synchronous variants (waiting for all clusters) are dominated in both convergence speed and efficiency by asynchronous SDFL when device and link heterogeneity is pronounced (Sun et al., 2021).

Semi-decentralized federated learning, by introducing cluster-based, staleness- and heterogeneity-aware asynchrony and consensus, constitutes an essential evolution of scalable, robust federated learning in heterogeneous and bandwidth-constrained edge and IoT networks.

Key References: (Sun et al., 2021, Sun et al., 2021, Sun et al., 2021)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Semi-Decentralized Federated Learning.