Abstract
Federated Learning (FL) enables collaborative model training across decentralized edge devices while preserving data privacy. However, real-world deployments are often hindered by data heterogeneity (non-IID distributions) and model heterogeneity (varying hardware capabilities). We introduce FedHPL, a novel framework that addresses these challenges by combining Visual Prompt Tuning (VPT) with Logit Distillation. By utilizing frozen pre-trained foundation models and training only minimal local prompts, FedHPL achieves exceptional parameter efficiency. Furthermore, its logit-based communication protocol allows devices with different architectures to share knowledge effectively. Our evaluations show that FedHPL outperforms existing state-of-the-art methods in accuracy while reducing trainable parameters by over 2,400x.
Introduction
Standard FL algorithms like FedAvg assume model homogeneity, requiring all clients to share the same architecture. This is impractical for diverse edge ecosystems where devices range from high-end smartphones to low-power sensors. Additionally, non-IID data distributions cause local models to diverge, degrading global performance. FedHPL overcomes these barriers by leveraging the representational power of large-scale pre-trained models through efficient fine-tuning and a universal communication language: logits.
Methodology
FedHPL's architecture consists of two primary components: Local Prompt Tuning and Global Logit Distillation.
Local Prompt Tuning (VPT)
Instead of full-parameter fine-tuning, each client employs a large, frozen foundation model (e.g., a Vision Transformer) as a feature extractor. Clients only optimize a small set of learnable "visual prompts"—essentially task-specific prefixes added to the input sequence—and a lightweight classification head. This approach preserves the general knowledge of the foundation model while adapting it to local data with minimal compute.
Global Logit Distillation
To facilitate collaboration between heterogeneous models, FedHPL replaces weight averaging with logit sharing. Clients upload "qualified logits"—prediction scores for correctly classified samples—to the server. The server then performs weighted aggregation based on model similarity to generate a consensus logit for each class. Local models are subsequently trained to minimize the KL-divergence between their predictions and these global consensus logits.
Experiments and Results
The framework was evaluated on CIFAR-10, CIFAR-100, and SVHN datasets under various data distribution settings (IID, Dirichlet, and Non-IID).
Performance and Efficiency
FedHPL demonstrates superior performance across all benchmarks. Notably, it achieves a significant accuracy boost (up to 45% on CIFAR datasets) compared to traditional FL baselines. As shown in the table below, FedHPL is remarkably efficient, requiring only 0.034 million trainable parameters—a 2,400x reduction compared to the 81.83 million parameters required by FedAvg.
Communication and Scalability
By aggregating logits by class before transmission, FedHPL reduces communication overhead by up to 99%. It also maintains high performance in heterogeneous model settings (mixing ViT variants), where traditional distillation methods often fail to maintain accuracy above 70%.
Conclusion
FedHPL represents a significant step toward practical, large-scale federated learning. By combining the efficiency of prompt tuning with the flexibility of logit distillation, it enables diverse devices to collaborate effectively without the prohibitive costs of full-model training. Future work will focus on improving performance for CNN-based architectures and addressing potential training instabilities in weighted aggregation.
Summary updated