NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Federated Learning over Connected Modes

Dennis Grinwald, Philipp Wiesner, Shinichi Nakajima

In the world of Federated Learning (FL), "statistical heterogeneity" is a persistent roadblock. When different clients—such as hospitals, mobile phones, or regional servers—have vastly different data distributions, the collaborative training process often grinds to a halt. Practitioners are usually left with a difficult choice: train a single global model that is mediocre for everyone, or train individual local models that lose the generalization benefits of collaborative learning.

A recent paper from researchers at BIFOLD, TU Berlin, and RIKEN, titled "Federated Learning over Connected Modes" (FLOCO), proposes a clever way to bypass this compromise. By leveraging the geometry of neural network loss landscapes, they have developed a method that accelerates global training while providing top-tier personalization for individual clients.

The Problem: Conflicting Gradients and the Personalization Trade-off

Standard Federated Learning algorithms, like FedAvg, assume that a single set of weights can work optimally for everyone. However, in the real world, data is "non-IID" (not identically and independently distributed). For example, a predictive text model for a teenager in London should behave differently than one for a retiree in Tokyo.

This heterogeneity causes two main headaches:

  1. Conflicting Gradients: Clients with different data distributions pull the global model in opposite directions during training, severely slowing down convergence.
  2. The Personalization Trade-off: Methods that prioritize a robust global model often fail on specific local data, while "personalized" methods often struggle to benefit from the collective knowledge of the broader group.

The FLOCO Method: Learning a Solution Simplex

The authors build on a fascinating discovery in deep learning called Linear Mode Connectivity. Research has shown that different local minima in a neural network's loss landscape are often connected by simple, low-loss paths.

Instead of searching for a single optimal point $\theta$ in the parameter space, FLOCO searches for a solution simplex—a multi-dimensional "triangle" in the weight space where every point inside the region performs well.

Overview of the FLOCO method: clients are projected onto a simplex, sample from assigned subregions during training, and achieve personalized low-loss regions.

The FLOCO Workflow: 1. Client Projection: After a few initial rounds of standard training, the server analyzes the gradient updates from each client. Using Principal Component Analysis (PCA) and a specialized projection method (Riesz s-Energy), it maps each client as a point on a standard simplex. Clients with similar data distributions end up close to each other. 2. Subregion Assignment: Each client is assigned a "neighborhood" (an L1-ball) around their projected point on the simplex. 3. Local Training: During training, a client doesn't just update one static model. Instead, it samples different models from its assigned subregion and updates the vertices of the global simplex. 4. Last-Layer Focus: To keep the process computationally efficient, the authors found that applying this simplex learning exclusively to the final classification layer is sufficient to reap most of the benefits, minimizing communication overhead.

Key Insights: Why FLOCO Works

  • Absorbing Heterogeneity: The "aha moment" of FLOCO is that the simplex provides "degrees of freedom." Instead of forcing all clients to agree on one exact parameter point, the simplex allows them to occupy different areas of the same low-loss region. This effectively "absorbs" the conflict between clients.
  • Gradient Homogenization: Because clients are training in subregions that actually suit their specific data, the update signals they send back to the server are much more consistent. This significantly reduces "gradient variance," allowing the global model to converge faster.
  • Calibration and Uncertainty: Because FLOCO learns a region rather than a point, it naturally lends itself to ensembling. This leads to better model "calibration"—meaning the model is better at estimating its own uncertainty and knowing when it is likely to be wrong.

Key Results and Performance

The researchers evaluated FLOCO on standard FL benchmarks, including CIFAR-10 (using "5-Fold" and "Dirichlet" splits to simulate heterogeneity) and FEMNIST (a naturally heterogeneous real-world dataset of handwritten characters). They tested across various architectures, including custom CNNs, ResNet-18, and SqueezeNet.

Performance comparison of FLOCO against baseline FL methods on CIFAR-10 and FEMNIST datasets.

FLOCO consistently outperformed heavyweights like Ditto, FedPer, and APFL:

  • Accuracy: FLOCO improved local accuracy by up to 6% and global accuracy by up to 5% compared to established baselines.
  • Speed (Time-to-Accuracy): This is where FLOCO truly shines. It reached target accuracy levels 5x to 24x faster than traditional methods in highly heterogeneous settings.
  • Fairness: It significantly boosted the performance of the "worst" 5% of clients, suggesting it is a much fairer approach for outlier distributions.
  • Efficiency: Because the simplex logic is primarily applied to the last layer, the extra computational and communication costs are negligible compared to standard FedAvg.

Limitations and Future Work

While the empirical results are highly promising, the authors note a few areas for future exploration. The current study focuses primarily on "cross-silo" settings (fewer, more powerful clients like hospitals or regional banks). It remains to be seen how seamlessly this scales to "cross-device" settings with millions of unreliable, low-power mobile clients. Additionally, while the empirical results are strong, a more rigorous theoretical analysis of exactly why the simplex stabilizes gradients in this specific manner would be a valuable contribution to the field.

Ultimately, FLOCO represents a significant step forward in Federated Learning, proving that we don't have to choose between a strong global model and effective local personalization.

Summary updated

BibTeX
@inproceedings{grinwald2024federated,
  author = {Dennis Grinwald and Philipp Wiesner and Shinichi Nakajima},
  title = {{Federated Learning over Connected Modes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=JL2eMCfDW8},
}
Figure