Blockchain-based federated modeling method, device, equipment and storage medium

A modeling method and blockchain technology, applied in devices, equipment and storage media, in the field of blockchain-based federated modeling methods, which can solve the problem of difficulty in achieving gradient privacy protection in federated learning

Active Publication Date: 2020-11-13
PENG CHENG LAB +1
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The main purpose of the present invention is to provide a blockchain-based federated modeling method, device, device, and storage medium, aiming to solve the problem of difficulty in achieving gradient privacy protection and model convergence or model accuracy in existing federated learning. balanced technical issues

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
  • Blockchain-based federated modeling method, device, equipment and storage medium
  • Blockchain-based federated modeling method, device, equipment and storage medium
  • Blockchain-based federated modeling method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0112] Based on the first embodiment, a second embodiment of the blockchain-based federal modeling method of the present invention is proposed. In this embodiment, step S300 includes:

[0113] Step S310, the training initiator decrypts the aggregated gradient through the second key in the homomorphic encryption key to obtain the target gradient;

[0114] Step S320, the training initiator updates the model to be trained based on the target gradient, and determines whether the updated model to be trained meets a preset condition;

[0115] Step S330, if the updated model to be trained meets the preset condition, then use the updated model to be trained as the target model;

[0116] Step S340, if the updated model to be trained does not meet the preset conditions, then use the updated model to be trained as the model to be trained, and return to execute the training initiator to distribute the model to be trained to each The step of training the client.

[0117] In this embodime...

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

The present invention discloses a blockchain-based federated modeling method, device, device, and storage medium. The method includes: when the number of training clients detected reaches a preset number, the training initiator corresponds to The client information releases configuration information to each training client; the training initiator uploads the model to be trained to the main chain; the training initiator determines the target model based on the aggregation gradient and the model to be trained. The invention realizes the modeling of federated learning through the block chain. Under the premise of protecting the privacy of federated learning data, it has no impact on the accuracy of federated learning, improves the training effect and model accuracy of federated learning, and does not need to modify the gradient in transmission. Modification of model parameters such as gradients achieves a balance between privacy protection of model parameters such as gradients and model convergence or model accuracy; it can completely prevent information leakage and improve the security of data samples in federated learning.

Description

technical field [0001] The present invention relates to the technical field of federated learning, in particular to a blockchain-based federated modeling method, device, equipment and storage medium. Background technique [0002] Federated learning disassembles centralized machine learning into distributed machine learning, distributes machine learning tasks to terminal devices for learning, and then aggregates gradient results generated by machine learning to achieve the purpose of protecting the privacy of terminal devices. [0003] However, due to the unreadability of the gradient results generated by machine learning and the fact that the results may hide private information, there is a problem of privacy leakage in the federated learning mechanism. For example, in many training scenarios, the training network has hundreds or thousands of layers, and it is difficult for client users without a machine learning background to understand the specific role of each layer of th...

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): G06F21/60G06F21/62G06N3/04G06N3/08
CPCG06F21/602G06F21/6245G06N3/08G06N3/045
Inventor 张琰吴宇段经璞武鑫李清李伟超
Owner PENG CHENG LAB
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products