Abstract
Current network training paradigms primarily focus on either centralized or decentralized data regimes. However, in practice, data availability often exhibits a hybrid nature, where both regimes coexist. This hybrid setting presents new opportunities for model training, as the two regimes offer complementary trade-offs: decentralized data is abundant but subject to heterogeneity and communication constraints, while centralized data, though limited in volume and potentially unrepresentative, enables better curation and high-throughput access. Despite its potential, effectively combining these paradigms remains challenging, and few frameworks are tailored to hybrid data regimes. To address this, we propose a novel framework that constructs a model atlas from decentralized models and leverages centralized data to refine a global model within this structured space. The refined model is then used to reinitialize the decentralized models. Our method synergizes federated learning (to exploit decentralized data) and model merging (to utilize centralized data), enabling effective training under hybrid data availability. Theoretically, we show that our approach achieves faster convergence than methods relying solely on decentralized data, due to variance reduction in the merging process. Extensive experiments demonstrate that our framework consistently outperforms purely centralized, purely decentralized, and existing hybrid-adaptable methods. Notably, our method remains robust even when the centralized and decentralized data domains differ or when decentralized data contains noise, significantly broadening its applicability.
Introduction: The Rise of Hybrid Data Learning
In the current machine learning landscape, practitioners typically choose between two extremes: Centralized Learning, where data is aggregated on a single server, and Federated Learning (FL), where data remains on edge devices to preserve privacy. However, real-world scenarios often present a "hybrid" data regime. For instance, a corporation may possess a small, high-quality curated dataset at headquarters while millions of end-users generate diverse, messy data on their local devices.
This hybrid setting offers a unique opportunity: using the small centralized dataset to "guide" the aggregation of the vast, decentralized updates. The proposed framework, Feddle (Federated Dual Learning), addresses the inherent challenges of data and system heterogeneity by treating model aggregation as a subspace optimization problem.
The Feddle Framework
Feddle introduces a sophisticated mechanism to move beyond simple averaging of client updates. The architecture is built around three primary components that manage the flow of information between clients and the server.
1. The Model Atlas
Rather than immediately merging an incoming client update into the global model, the server maintains a "Model Atlas" ($\\mathcal{A}$). This buffer stores the $M$ most recent updates, which serve as "anchors" or basis vectors. This approach is particularly effective for asynchronous environments where updates arrive at different times and may be "stale."
2. Guided Coefficient Search
Instead of applying a uniform weight to all client updates, Feddle uses the small centralized dataset ($\\mathcal{D}_s$) to find optimal merging coefficients ($c_m$) for the anchors in the Atlas. By optimizing these weights to minimize loss on the server's data, the framework can intelligently prioritize high-quality updates. Notably, these coefficients can be negative, allowing the server to actively cancel out harmful optimization directions caused by noisy or drifting clients.
3. Fallback and Regularization
To prevent overfitting to the small centralized dataset—especially if it is Out-of-Domain (OOD)—Feddle includes a fallback mechanism. This ensures the optimized global model remains anchored to a standard federated baseline, maintaining the collective knowledge gained from the decentralized clients.
Key Insights and Experimental Results
The researchers evaluated Feddle against standard benchmarks (CIFAR, FEMNIST) and complex real-world scenarios (ISIC 2019 skin lesions). Several key findings emerged:
- Subspace Efficiency: By optimizing only the merging coefficients (a low-dimensional space) rather than the entire model parameters, Feddle naturally avoids the overfitting typically associated with training on small datasets.
- Robustness to Noise and Domain Shift: Feddle demonstrated remarkable resilience. In tests where 30% of client data was corrupted with random labels, Feddle's performance remained stable. Furthermore, it successfully used general ImageNet data to guide the merging of specialized medical imaging models, proving that OOD data can provide effective structural guidance.
- Performance Gains: On CIFAR-100 with high communication delays, Feddle achieved approximately 70.5% accuracy, significantly outperforming the standard FedAvg baseline of 52.6%.
Conclusion
Feddle represents a significant step forward in making federated learning more practical for real-world deployments where centralized and decentralized data coexist. By leveraging model merging as a bridge between these two regimes, it achieves faster convergence and higher accuracy while remaining robust to the typical pitfalls of edge computing. Future work may explore the integration of Differential Privacy to further secure the Model Atlas against potential gradient-based attacks.
Summary updated