Model training method and system based on data privacy protection federal learning
Патент · CN B
Полный текст
The invention relates to a model training method and system based on data privacy protection federal learning, comprising the following steps of S1 initializing a global model and transmitting the global model to a client, wherein the client adopts neuron activation frequency to conduct importance analysis, S2 distributing privacy budgets of all layers according to an importance analysis result in proportion, S3 dynamically adjusting a clipping threshold according to gradient statistical characteristics of all layers, balancing noise addition and gradient fidelity, S4 preferentially polymerizing a high-contribution degree model by calculating SHAP value vector similarity and model precision of the client model to inhibit interference of low-quality update on the global model, S5 iteratively polymerizing all client models to generate a new global model and distributing the new global model to all clients to conduct next training, and global model updating and dynamic optimization circulation. The method effectively solves the problems of difficult model convergence, precision loss and privacy resource waste.