[Paper Review] Federated Learning with Heterogeneous Architectures using Graph HyperNetworks
This paper proposes HAFL-GHN, a federated learning framework that enables knowledge sharing across clients with heterogeneous neural network architectures by using a graph hypernetwork (GHN) to generate model weights from architectural graphs. The method achieves strong performance on CIFAR-10 and CIFAR-100, generalizes well to unseen architectures, and maintains high accuracy even with reduced communication frequency.
Standard Federated Learning (FL) techniques are limited to clients with identical network architectures. This restricts potential use-cases like cross-platform training or inter-organizational collaboration when both data privacy and architectural proprietary are required. We propose a new FL framework that accommodates heterogeneous client architecture by adopting a graph hypernetwork for parameter sharing. A property of the graph hyper network is that it can adapt to various computational graphs, thereby allowing meaningful parameter sharing across models. Unlike existing solutions, our framework does not limit the clients to share the same architecture type, makes no use of external data and does not require clients to disclose their model architecture. Compared with distillation-based and non-graph hypernetwork baselines, our method performs notably better on standard benchmarks. We additionally show encouraging generalization performance to unseen architectures.
Motivation & Objective
- Address the limitation of standard federated learning, which requires identical client architectures, to enable cross-platform and inter-organizational collaboration.
- Enable federated learning with heterogeneous architectures without requiring clients to disclose their model structures or use external data.
- Develop a parameter-sharing mechanism that adapts to arbitrary network topologies and layer compositions.
- Achieve effective knowledge aggregation across diverse architectures through a learnable, architecture-aware hypernetwork.
- Demonstrate generalization to unseen architectures and robustness under low communication rates.
Proposed method
- Represent each client’s neural network as a computational graph, where nodes denote layers (parametric and non-parametric) and edges denote flow connections.
- Use a graph hypernetwork (GHN) to generate model weights based on the architectural graph input, enabling architecture-agnostic parameter generation.
- Train a local copy of the GHN on each client using their private data and architecture, then aggregate only the GHN weights on the server.
- Leverage message passing in a GNN to encode layer positions and structural context, ensuring that similar layers in different architectures are encoded meaningfully.
- Aggregate GHN weights across clients via FedAvg, allowing the global GHN to learn a shared, generalized weight generation policy.
- Initialize new, unseen architectures with the trained GHN and fine-tune on local data, enabling fast convergence and strong performance.
Experimental results
Research questions
- RQ1Can federated learning effectively aggregate knowledge across clients with fundamentally different neural network architectures?
- RQ2Can a hypernetwork-based approach enable parameter sharing without requiring clients to disclose their model architectures?
- RQ3Does encoding architectural structure via graph representation improve performance and generalization in heterogeneous federated learning?
- RQ4How does communication frequency affect the performance of the proposed HAFL-GHN framework?
- RQ5Can the trained GHN generalize to new, previously unseen architectures with minimal fine-tuning?
Key findings
- HAFL-GHN achieves state-of-the-art performance on CIFAR-10 and CIFAR-100 benchmarks with heterogeneous architectures, outperforming distillation-based and non-graph hypernetwork baselines.
- The method generalizes effectively to unseen architectures: a 4-layer CNN initialized with HAFL-GHN weights converges rapidly and reaches performance comparable to models trained in the federation.
- Even with only 1/5 of the standard communication frequency, HAFL-GHN degrades by less than 1% in accuracy, demonstrating robustness to reduced communication.
- The inclusion of graph structure encoding via message passing in the GNN leads to a 7–10% performance gain over a baseline that averages identical layer types without structural context.
- When replacing one of the four main architectures with a smaller 4-layer CNN, the average performance drop was only 2.2±1.4%, significantly outperforming training from scratch.
- The method maintains strong performance across diverse architectures, including those with different depths and layer compositions, confirming its architectural flexibility and scalability.
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.