Personalized Federated Learning via Maximizing Correlation with Sparse and Hierarchical Extensions

Yinchuan Li, Xiaofeng Liu, Xu Zhang, Yunfeng Shao, Qing Wang, Yanhui Geng

Abstract

Federated Learning (FL) faces significant challenges due to statistical diversity across clients, limited local hardware resources, and high communication overhead. This paper introduces FedMac (Federated Maximizing Correlation), a novel framework designed to address these issues simultaneously. By maximizing the correlation between local and global models rather than minimizing their Euclidean distance, and incorporating $\ell_1$ sparsity, FedMac achieves state-of-the-art accuracy while significantly reducing the number of transmitted parameters. Theoretical analysis and empirical results on datasets like CIFAR-100 and CINIC-10 demonstrate that FedMac provides superior personalization and communication efficiency compared to existing methods.

Introduction

Standard Federated Learning (FL) algorithms, such as FedAvg, aim to train a single global model that performs well across all participating clients. However, in real-world scenarios, data is often non-i.i.d. (not identically and independently distributed). For instance, different users may have vastly different photo-taking habits or linguistic patterns. This statistical diversity often leads to poor performance for a one-size-fits-all global model.

Personalized Federated Learning (PFL) addresses this by allowing clients to maintain their own local models. However, most PFL methods rely on $\ell_2$ regularization to keep local models close to the global one. This approach can be inefficient, particularly when dealing with overparameterized deep learning models and limited communication bandwidth. The "triple threat" of statistical diversity, hardware constraints, and communication bottlenecks necessitates a more sophisticated approach to regularization and model updates.

Methodology: The FedMac Framework

FedMac introduces a paradigm shift by rethinking the relationship between local and global models. The core innovation is the use of correlation maximization combined with sparsity-inducing penalties.

1. The Loss Function

The client-level optimization in FedMac involves a composite loss function:

  • Local Empirical Loss: Standard cross-entropy or mean squared error on the client's private data.
  • Maximizing Correlation: Instead of minimizing the $\ell_2$ distance (which forces models to be physically near each other), FedMac maximizes the inner product between the client model $\theta_i$ and the global model $w$. This encourages the models to align in direction within the high-dimensional parameter space.
  • Approximated $\ell_1$-norm: To induce sparsity and reduce communication costs, a smooth version of the $\ell_1$-norm (using a log-cosh function) is applied. This ensures the optimization remains differentiable while driving unnecessary weights toward zero.

2. Alternating Minimization

The algorithm employs an alternating minimization strategy. Clients first update their personalized models, then update a "local global" model, and finally transmit only the non-zero (sparse) weights back to the server. This selective transmission directly addresses the communication bottleneck.

Theoretical Intuition: Correlation vs. Distance

A key contribution of this work is the geometric justification for maximizing correlation. In the context of sparse recovery, the success of an optimization depends on the size of the "tangent cone" at the optimal solution.

Figure 1: Geometric comparison of tangent and normal cones. The visualization shows how maximizing correlation (right) effectively shrinks the tangent cone compared to standard distance-based methods, facilitating the identification of a unique sparse solution.

As illustrated in Figure 1, the correlation-based approach (FedMac) results in a narrower tangent cone. This geometric property implies that the model can identify the correct sparse structure with significantly less local data than $\ell_2$-based methods. This "decoupling" of the personalized model from the global model's magnitude allows for more flexible and accurate local adaptation.

Experimental Evaluation

The researchers evaluated FedMac against several state-of-the-art (SOTA) baselines, including pFedMe, Per-FedAvg, and FedProx, across five diverse datasets:

  • MNIST & Fashion-MNIST: Basic image classification benchmarks.
  • CIFAR-100: A complex dataset with 100 classes, testing the model's capacity for high-dimensional data.
  • CINIC-10: A large-scale dataset combining CIFAR-10 and ImageNet to simulate more rugged, real-world conditions.

Key Results

FedMac consistently outperformed existing methods in both accuracy and efficiency:

  • High Accuracy: It achieved 98.95% on MNIST, 90.90% on CIFAR-100, and 73.52% on CINIC-10.
  • Communication Efficiency: FedMac reached 50% sparsity (half of the model parameters were zero) without sacrificing performance. This effectively halved the communication cost per round.
  • Convergence: Theoretical analysis confirmed that the sparsity constraints do not hinder the convergence rate of the global model, providing a "free lunch" in terms of communication savings.

Conclusion and Future Directions

FedMac represents a significant step forward in making Personalized Federated Learning practical for resource-constrained environments. By prioritizing model correlation over spatial distance, it achieves better personalization with fewer data points and lower communication overhead.

Future work may involve combining FedMac's sparsity with quantization techniques to further compress model updates. Additionally, while the current theoretical proofs focus on single-layer assumptions, extending these geometric insights to deep, non-linear architectures remains a promising area for research.

Summary updated

BibTeX
@article{li2024personalized,
  author = {Yinchuan Li and Xiaofeng Liu and Xu Zhang and Yunfeng Shao and Qing Wang and Yanhui Geng},
  title = {{Personalized Federated Learning via Maximizing Correlation with Sparse and Hierarchical Extensions}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2024},
  doi = {10.1109/tnnls.2023.3250658},
}
Figure