Abstract
Personalized federated learning (PFL) trains customized models for clients using their heterogeneously distributed data. However, it is still inconclusive about how to design personalized models with better representation of shared global knowledge and personalized patterns. To bridge this gap, we explore personalized models with low-rank and sparse decomposition. Specifically, we employ proper regularization to extract a low-rank global knowledge representation (GKR), so as to distill global knowledge into a compact representation. Subsequently, we employ a sparse component over the obtained GKR to fuse the personalized pattern into the global knowledge. We propose a two-stage proximal-based algorithm named Federated learning with mixed Sparse and Low-Rank representation (FedSLR) to efficiently search for these mixed models. Theoretically, we show that the GKR trained by FedSLR converges sub-linearly to a stationary point. Extensive experiments demonstrate the superior empirical performance of FedSLR, which also reduces parameter counts and lowers downlink communication complexity.
Introduction
Standard Federated Learning (FL) aims to train a single global model across many clients without sharing private data. However, this "one-size-fits-all" approach often fails when data is Non-IID (not identically and independently distributed). Personalized Federated Learning (PFL) attempts to solve this by allowing each client to have a customized model. The core challenge in PFL is finding the "sweet spot": representing shared knowledge that applies to everyone (global) while efficiently capturing the unique patterns of an individual (local).
The FedSLR Framework
We introduce FedSLR (Federated learning with mixed Sparse and Low-Rank representation), which treats model weights as a combination of two distinct parts inspired by Robust PCA:
- Global Knowledge Representation (GKR): We use nuclear norm regularization to enforce a low-rank structure on the global model. The "core" common knowledge across clients is distilled into a compact, low-rank matrix.
- Sparse Personalized Component: On top of this global base, each client trains a sparse local component (using $L_1$ regularization). This component captures specific nuances of the client's local data as a sparse "patch."
Two-Stage Algorithm
The FedSLR algorithm operates in two primary phases:
- Phase I (Global Training): The server and clients collaborate to find the low-rank GKR. To optimize communication, the server performs a Singular Value Decomposition (SVD) and sends only the smaller decomposed matrices (U and V) to clients.
- Phase II (Local Fusion): Clients "freeze" the global knowledge and perform local fusion, training their sparse components to achieve peak personalized performance.
Experimental Evaluation
We evaluated FedSLR using CIFAR-10, CIFAR-100, and TinyImageNet benchmarks with highly heterogeneous data splits (using $\alpha$-Dirichlet distribution) among 100 clients.
Key Results
- Superior Accuracy: On Non-IID CIFAR-100, FedSLR achieved 82.19% accuracy, outperforming the popular "Ditto" method by 3.52%.
- Model Compression: The GKR model achieved its performance with 50.40% fewer parameters than a standard dense model.
- Communication Efficiency: The method reduced downlink communication costs by approximately 38.34% per session because the server sends decomposed factors instead of full weight matrices.
Discussion and Future Work
While FedSLR significantly optimizes the downlink, the uplink (client-to-server) still involves sending full local models. Future work could apply similar sparsification to the upload phase. Additionally, while FL is inherently more private, the introduction of auxiliary variables to track local gradients suggests that integrating formal Differential Privacy would be a valuable next step to mitigate potential gradient inversion attacks.
Source Code: https://github.com/huangtiansheng/fedslr
Summary updated