Unlock instant, AI-driven research and patent intelligence for your innovation.

Model training method based on decentralized federated learning

A decentralization, model training technology, applied in neural learning methods, ensemble learning, biological neural network models, etc., can solve the problems of noise limitations, inability to execute concurrently, low efficiency, etc., to improve stability and high protection , to prevent the effect of intercepting data results

Active Publication Date: 2022-06-24
CITY CLOUD TECH HANGZHOU CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This has two disadvantages. One is that if there is only one problem with the noise transmission between nodes, the final result will deviate from the ideal result (not to mention the occurrence of malicious attacks and interference); the other is that the nodes transmit independently Noise needs one ring after another, and cannot be executed concurrently. If there are too many nodes, the efficiency will be low
In particular, the noise in this scheme is random one-way noise, while the actual model is multi-directional, that is, the model has three directions of x-axis, y-axis, and z-axis like a three-dimensional space (actually more, much more than three), so the added noise has limitations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Model training method based on decentralized federated learning
  • Model training method based on decentralized federated learning
  • Model training method based on decentralized federated learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] This embodiment provides a specific reference for a model training method based on decentralized federated learning figure 1 ,like figure 1 As shown, the method includes steps S1-S4:

[0047] Step S1: constructing a federated learning network, the federated learning network includes a plurality of nodes and a broadcast bus, wherein the nodes are all connected to the broadcast bus, and the nodes communicate through the broadcast bus;

[0048] Step S2: dynamically selecting one of the nodes as the master node, and the other nodes as slave nodes relative to the master node, and the master node transmits the first model data to each of the slave nodes;

[0049] Step S3: Each of the slave nodes performs training based on the first model data and the local data set to obtain second model data, adds noise data to the second model data to obtain a third data model, and transmits the third data model. model data to the master node;

[0050] Step S4: the master node receives a...

Embodiment 2

[0081] This embodiment provides a model training device based on decentralized federated learning, which is used to implement the model training method based on decentralized federated learning in the first embodiment, such as Figure 4 As shown, the device includes the following modules:

[0082] a network building module for constructing a federated learning network, the federated learning network includes a plurality of nodes and a broadcast bus, wherein the nodes are all connected to the broadcast bus, and the nodes communicate through the broadcast bus;

[0083] a model distribution module, configured to dynamically select one of the nodes as a master node, and the other nodes as slave nodes relative to the master node, and the master node transmits the first model data to each of the slave nodes;

[0084] A training upload module is used for each of the slave nodes to perform training based on the first model data and the local data set to obtain second model data, add n...

Embodiment 3

[0087] This embodiment also provides an electronic device, refer to Figure 5 , including a memory 404 and a processor 402, where a computer program is stored in the memory 404, and the processor 402 is configured to run the computer program to execute any one of the above-mentioned embodiment 1 based on the model training method of decentralized federated learning. step.

[0088] Specifically, the above-mentioned processor 402 may include a central processing unit (CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0089]Among others, memory 404 may include mass storage 404 for data or instructions. By way of example and not limitation, the memory 404 may include a Hard Disk Drive (HDD for short), a floppy disk drive, a Solid State Drive (SSD for short), flash memory, optical disk, magneto-optical disk, magnetic tap...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This application proposes a model training method based on decentralized federated learning, including: constructing a federated learning network, the federated learning network includes multiple nodes and a broadcast bus; As a slave node, the master node transmits the first model data to each slave node; each slave node performs training based on the first model data and the local data set to obtain the second model data, and adds noise data to the second model data to obtain the second model data The three-data model transmits the third model data to the master node; the master node receives and cleans the third model data, and performs model data aggregation on all the second model data obtained after cleaning. This method builds a decentralized federated learning network, realizes stability and guarantees that there is a master node in the federated learning network that can communicate with all nodes, and provides a noise protection mechanism to protect the privacy of model data.

Description

technical field [0001] The present application relates to the technical field of computer data processing, in particular to a model training method based on decentralized federated learning. Background technique [0002] Federated learning is essentially a distributed machine learning technology, or machine learning framework. The purpose is to collaboratively complete model training on the basis of ensuring data privacy security and legal compliance, achieve common modeling, and improve the detection effect of the model. That is to say, when training a certain model, it is necessary to use a large amount of private data containing users. In order to avoid user information leakage, the federated learning method is used to receive the original model from the central server, and then use the federated learning method. The user's local data set is trained to obtain model parameters. Finally, each user only needs to upload the model parameters to the central server, and the cent...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06N3/04G06N3/08G06N20/20
CPCG06N3/04G06N3/08G06N20/20
Inventor 李圣权厉志杭毛云青董墨江
Owner CITY CLOUD TECH HANGZHOU CO LTD