[Paper Review] Architecture Agnostic Federated Learning for Neural Networks
This paper proposes FedHeNN, a novel architecture-agnostic federated learning framework that enables clients with heterogeneous neural network architectures to collaboratively train personalized models by aligning instance-level representations via a proximal term and Centered Kernel Alignment (CKA) distance. The method achieves superior performance over FedAvg and FedProx, especially in heterogeneous settings, by enabling robust representation transfer across diverse model architectures and data constraints.
With growing concerns regarding data privacy and rapid increase in data volume, Federated Learning(FL) has become an important learning paradigm. However, jointly learning a deep neural network model in a FL setting proves to be a non-trivial task because of the complexities associated with the neural networks, such as varied architectures across clients, permutation invariance of the neurons, and presence of non-linear transformations in each layer. This work introduces a novel Federated Heterogeneous Neural Networks (FedHeNN) framework that allows each client to build a personalised model without enforcing a common architecture across clients. This allows each client to optimize with respect to local data and compute constraints, while still benefiting from the learnings of other (potentially more powerful) clients. The key idea of FedHeNN is to use the instance-level representations obtained from peer clients to guide the simultaneous training on each client. The extensive experimental results demonstrate that the FedHeNN framework is capable of learning better performing models on clients in both the settings of homogeneous and heterogeneous architectures across clients.
Motivation & Objective
- To address client heterogeneity in federated learning, where clients have varying compute resources and data distributions.
- To overcome limitations of existing federated learning methods like FedAvg and FedProx, which require homogeneous model architectures and struggle with statistical and system heterogeneity.
- To enable personalized model training without enforcing a common architecture across clients, allowing each client to optimize based on local constraints.
- To improve model performance and inclusivity by transferring knowledge through aligned representations rather than shared model weights.
- To develop a framework that maintains strong performance even when some clients have reduced data or lower computational capacity.
Proposed method
- FedHeNN introduces a proximal term in the client optimization objective that encourages alignment of final-layer representations across clients.
- The framework uses Centered Kernel Alignment (CKA) as a kernel-based distance metric to measure similarity between representations from different clients.
- Each client trains a personalized neural network with arbitrary architecture, including varying depth, width, and activation functions.
- The proximal term pulls together the representations of the same input instances across different clients, enabling knowledge transfer despite architectural differences.
- The method supports both homogeneous and heterogeneous model architectures, with experimental evaluation on CIFAR-10, CIFAR-100, and Sentiment140 datasets.
- The framework is robust to reduced data on some clients and maintains performance even with high local epochs.
Experimental results
Research questions
- RQ1Can federated learning be effectively extended to clients with heterogeneous neural network architectures without requiring a shared global model architecture?
- RQ2How can knowledge be transferred across clients with different model capacities and architectures in a privacy-preserving manner?
- RQ3Does using representation-level alignment via CKA and a proximal term improve generalization and performance compared to weight-based aggregation in FL?
- RQ4How does FedHeNN perform under data sparsity or reduced compute resources on certain clients?
- RQ5What is the impact of different kernel types (linear vs. RBF) on the CKA-based representation alignment in FedHeNN?
Key findings
- FedHeNN outperforms FedAvg and FedProx in both homogeneous and heterogeneous settings, achieving 94.47% test accuracy on CIFAR-10 with homogeneous models.
- In the heterogeneous setting, FedHeNN maintains strong performance even when clients use models of varying sizes and architectures, demonstrating architectural flexibility.
- The use of RBF and linear kernels in CKA yields comparable performance, with RBF kernel achieving 93.03% on CIFAR-10 and linear kernel achieving 94.47%.
- FedHeNN is robust to data reduction: when 50% of client data is reduced, the average test accuracy degrades gracefully, showing resilience to data sparsity.
- Unlike FedAvg, FedHeNN maintains stable performance even with high local epochs (up to 20), indicating the proximal term mitigates divergence.
- The framework enables clients with lower compute capacity to participate effectively, avoiding performance degradation when such clients are excluded in traditional methods.
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.