[Paper Review] UniFed: All-In-One Federated Learning Platform to Unify Open-Source Frameworks
UniFed is a unified federated learning platform that standardizes input, execution, and output across 11 open-source FL frameworks, enabling consistent end-to-end experimentation and deployment. It introduces a schema-enforced configuration system with 20 editable fields, supports distributed training and logging, and enables comparative evaluation of model and system performance, revealing that FedML outperforms Flower in cross-device settings due to sampling strategy differences.
Federated Learning (FL) has become a practical and widely adopted distributed learning paradigm. However, the lack of a comprehensive and standardized solution covering diverse use cases makes it challenging to use in practice. In addition, selecting an appropriate FL framework for a specific use case can be a daunting task. In this work, we present UniFed, the first unified platform for standardizing existing open-source FL frameworks. The platform streamlines the end-to-end workflow for distributed experimentation and deployment, encompassing 11 popular open-source FL frameworks. In particular, to address the substantial variations in workflows and data formats, UniFed introduces a configuration-based schema-enforced task specification, offering 20 editable fields. UniFed also provides functionalities such as distributed execution management, logging, and data analysis. With UniFed, we evaluate and compare 11 popular FL frameworks from the perspectives of functionality, privacy protection, and performance, through conducting developer surveys and code-level investigation. We collect 15 diverse FL scenario setups (e.g., horizontal and vertical settings) for FL framework evaluation. This comprehensive evaluation allows us to analyze both model and system performance, providing detailed comparisons and offering recommendations for framework selection. UniFed simplifies the process of selecting and utilizing the appropriate FL framework for specific use cases, while enabling standardized distributed experimentation and deployment. Our results and analysis based on experiments with up to 178 distributed nodes provide valuable system design and deployment insights, aiming to empower practitioners in their pursuit of effective FL solutions.
Motivation & Objective
- To address the challenge of selecting appropriate FL frameworks for specific use cases due to lack of standardization and high exploration cost.
- To unify diverse workflows, data formats, and output structures across 11 open-source FL frameworks.
- To enable consistent, reproducible, and comparable evaluation of FL frameworks in terms of functionality, privacy, and performance.
- To provide practitioners with actionable recommendations through systematic benchmarking and analysis.
- To close the loop between evaluation and recommendation by integrating log analysis into framework selection.
Proposed method
- Design and implement a unified configuration schema with 20 editable fields to standardize task specification across frameworks.
- Build a UI-driven workflow for framework recommendation and configuration generation, with real-time validation.
- Integrate distributed execution across 178 nodes to evaluate real-world system performance.
- Standardize distributed logging in a consistent format for cross-framework comparison and analysis.
- Enable integration with external data analysis platforms to investigate model and system performance.
- Conduct code-level analysis and developer surveys to characterize functionality, privacy mechanisms, and implementation differences across frameworks.
Experimental results
Research questions
- RQ1Which FL frameworks best support horizontal and vertical FL settings, and how do they differ in functionality and privacy support?
- RQ2How do sampling strategies in different frameworks affect model convergence and system performance in cross-device FL setups?
- RQ3What are the performance trade-offs between tree-based and neural network-based vertical FL frameworks?
- RQ4How do system-level factors such as communication cost, memory usage, and parallelism impact real-world deployment efficiency?
- RQ5Can a unified platform reduce the barrier to entry for practitioners and improve framework selection through data-driven recommendations?
Key findings
- FedML achieved faster training (48.4s) than Flower (57.4s) in a cross-device setup with 178 machines, primarily due to its sampling strategy.
- Fedlearner showed significantly lower model accuracy (69.06%) compared to Flower (82.13%) and FedML (80.40%) after 400 epochs, due to inefficient gradient descent on all clients.
- Tree-based vertical FL frameworks (e.g., FedTree) outperformed NN-based frameworks (e.g., CrypTen) in efficiency, with lower memory usage and better parallelism.
- sMPC-based neural network training was slower and more memory-intensive, with only one core used, highlighting trade-offs in privacy-preserving techniques.
- The difference in model performance between Flower and FedML was attributed to distinct sampling procedures: Flower samples different clients per round, while FedML uses a fixed client subset with per-client instance shuffling.
- UniFed enables consistent evaluation and comparison across frameworks, revealing that sampling strategy has a measurable impact on both model accuracy and system efficiency.
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.