Abstract: Federated learning (FL) has developed rapidly in recent years as a privacy-preserving machine learning method, and it has been
gradually applied to key areas involving privacy and security such as finance, medical care, and government affairs. However, the current so⁃
lutions to FL rarely consider the problem of migration from centralized learning to federated learning, resulting in a high practical threshold
for federated learning and low usability. Therefore, we introduce a reliable, efficient, and easy-to-use federated learning framework named
Neursafe-FL. Based on the unified application program interface (API), the framework is not only compatible with mainstream machine learn⁃
ing frameworks, such as Tensorflow and Pytorch, but also supports further extensions, which can preserve the programming style of the origi⁃
nal framework to lower the threshold of FL. At the same time, the design of componentization, modularization, and standardized interface
makes the framework highly extensible, which meets the needs of customized requirements and FL evolution in the future. Neursafe-FL is al⁃
ready on Github as an open-source project .
Keywords: federated learning; privacy-preserving; Neursafe-FL