TL;DR
FedPromo introduces a novel federated learning framework that adapts massive, server-side foundation models to new domains using lightweight proxy models at the edge. By aligning feature spaces via cross-architectural knowledge distillation, resource-constrained clients only need to train a simple classifier layer, which is then seamlessly transferred back to the server-side foundation model. This approach achieves state-of-the-art performance while reducing client-side parameter overhead by 100x and strictly preserving data privacy.
What Problem Does This Paper Address?
Large-scale foundation models (FMs) like DINOv2 or CLIP have revolutionized computer vision, but their immense size makes them impossible to deploy or fine-tune on edge devices like smartphones, IoT sensors, or connected vehicles.
Federated Learning (FL) offers a way to train models on decentralized edge data without violating user privacy. However, traditional FL assumes that client devices can locally execute and update the entire model. When it comes to foundation models, this assumption breaks down due to severe hardware and communication constraints.
The authors address a critical question: How can we transfer fine-grained, private domain knowledge from resource-constrained edge clients to a massive server-side foundation model without sharing raw data or overloading the clients?
Methods
The authors propose a two-stage paradigm called Cross-Architecture Federated Knowledge Transfer (CA-FKT), implemented via the FedPromo framework:
- Server-Side Cross-Architectural Knowledge Distillation (KD): Before deployment, the server aligns the feature space of a compact client-side encoder (e.g., MobileNetV3-Small) with a massive server-side foundation model (e.g., DINOv2). A lightweight linear "translator block" maps the client's feature dimensions to match the server's embedding space, optimizing for vector norm, orientation, and distance.
- Federated Training of Proxy Models: The compact, aligned encoder is deployed to edge clients and kept frozen to minimize compute costs. Clients only train a single linear classifier layer on their local data. These local classifiers are aggregated by the server and plugged directly back into the server's foundation model.
To handle the highly non-IID (heterogeneous) and fine-grained nature of edge data, FedPromo introduces two novel regularization strategies:
- Inactive Classes Preservation (ICP): In non-IID settings, clients often lack many data classes. Standard cross-entropy forces the model to suppress the probabilities of these absent classes, leading to catastrophic forgetting after aggregation. ICP tracks local labels and enforces smaller updates on weights corresponding to missing classes.
- Class De-Biasing (CDB): Fine-grained domains (e.g., distinguishing car models) suffer from shared superclass bias. CDB centers the classifier weights by subtracting the average class activation, forcing the model to focus on unique distinguishing features rather than shared traits.
Datasets
FedPromo was evaluated across five distinct domain pairs exhibiting long-tailed class distributions, distributed across 100 clients using a Dirichlet distribution ($\alpha=1$):
- Birds: CUB200 $\rightarrow$ NABirds
- Pets: ImageNetPets $\rightarrow$ OxfordPets (ImageNetPets is a custom benchmark introduced by the authors, curated from ImageNet-1k using the WordNet hierarchy to create a 16-class counterpart to OxfordPets).
- Vehicles (Cars): StanfordCars $\rightarrow$ CompCars
- Vehicles (Aircraft): FGVCAircraft $\rightarrow$ MilitaryAircraft
- Food: Food101 $\rightarrow$ UECFOOD256
The framework was also tested using ImageNet-1k as a completely out-of-domain pretraining dataset to evaluate its generalization limits.
Key Insights and Ideas
- Seamless Modular Swapping: Because the pretraining stage successfully aligns the feature spaces, a classifier trained entirely on a tiny MobileNet backbone at the edge can be directly attached to a massive DINOv2 transformer backbone on the server with minimal performance loss.
- Visualizing Alignment: As shown in the t-SNE visualization below, the pretraining strategy forces the embeddings of the lightweight client model to cluster tightly with the foundation model's feature space class-by-class.
- De-biasing Prevents Cross-Talk: Without Class De-Biasing (CDB), fine-grained classifiers experience massive cross-talk because visually similar classes trigger overlapping features. Pushing the weight self-similarity matrix closer to an identity matrix results in sharper, more confident predictions.
Key Results
FedPromo consistently outperformed established federated learning baselines like FedAvg, FedProx, and MOON across both proxy and server model evaluations:
- Substantial Accuracy Boosts: In the StanfordCars $\rightarrow$ CompCars setup, FedPromo achieved a Top-1 accuracy of 37.2% on the proxy model, beating the next best federated method by 10.8 percentage points.
- Foundation Model Enhancement: When the aggregated edge-trained classifier was plugged back into the server's DINOv2 model, it reached 58.7% Top-1 accuracy on UECFOOD256, outperforming FedAvg+EMA by 9.6 percentage points and approaching the centralized upper bound (60.1%).
- Robustness to Privacy Constraints: When evaluated under strict $(\epsilon, \delta)$-Differential Privacy to thwart reconstruction attacks, FedPromo maintained high utility. Even at a strict privacy budget of $\epsilon=5$, average accuracy dropped by only 4.8% compared to the non-private baseline.
Limitations and Future Work
- Dependency on Pretraining Data: FedPromo achieves its best results when the server has access to a public, in-domain dataset (e.g., StanfordCars) to align the proxy model before federated learning begins on the private target dataset (e.g., CompCars). Performance degrades slightly when relying purely on out-of-domain data like ImageNet-1k.
- Task Constraints: The current framework is strictly tailored for image classification tasks. The authors note that extending this cross-architectural proxy approach to more complex vision tasks, such as object detection or semantic segmentation, remains an open challenge for future research.
Summary updated