Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Federal learning incentive method and system based on license chain

A technology of federation and learning tasks, applied in the field of blockchain, which can solve problems such as a single central server and the impact of server failures

Pending Publication Date: 2021-05-28
BEIHANG UNIV
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The federated learning system is a learning method in which multiple clients contribute local data and cooperate to train a unified model. The limitation is that the model only relies on a single central server, which is vulnerable to server failure and how to fairly evaluate the participation of each participant. how to protect the privacy of data

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
  • Federal learning incentive method and system based on license chain
  • Federal learning incentive method and system based on license chain
  • Federal learning incentive method and system based on license chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] This embodiment of the present invention proposes a permission chain-based federated learning incentive method, and the implementation process of the method includes:

[0024] S01. Clients C1, C2, C3, and C4 register with license chain B. License chain B verifies the registration information of clients C1, C2, C3, and C4. Issue a certificate.

[0025] S02. User U1 creates smart contract S1 according to the smart contract template of federated learning. Smart contract S1 runs on license chain B and starts sampling from clients C1, C2, C3, and C4. According to the client's task situation, hardware configuration requirements and reputation value , select clients C1 and C3 from clients C1, C2, C3, and C4 for federated learning;

[0026] S03, clients C1 and C3 download the training model M and program P from the license chain B, and perform local initialization;

[0027] S04. The client executes the program P to perform local calculation and training, adopts the gradient d...

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 invention discloses a federal learning incentive method and system based on a license chain, and relates to the technical field of blockchains, and the method comprises the steps that the registration and authentication of clients is carried out, the registration of each client is carried out to the license chain, and the authentication and certificate issuing of each client is carried out through the license chain; the smart contract of the license chain runs, and sampling is carried out from a group of clients meeting qualification requirements; the client downloads the training model and the program from the license chain; the client updates parameters of the model by executing a training program in local calculation, encrypts the updated parameters and uploads the encrypted parameters to the license chain; the license chain node receives the data encrypted by the client, decrypts the data and verifies the correctness of the data; the license chain node carries out consensus, after the consensus is passed, the reputation value and the contribution value of the client are calculated, and a new block is generated; the intelligent contract aggregates the model parameters and updates the parameters; and the smart contract judges whether a preset convergence condition of the model is met, if not, the next round of training is carried out, if yes, training is terminated, and excitation is issued according to the contribution value of the client. According to the method and system, the license block chain and the intelligent contract technology are applied, the problem that a federal learning malicious client or participants damage the correctness of training by utilizing wrong gradient collection and parameter updating is solved, an incentive mechanism is provided, the enthusiasm of providing data and updating network model parameters among the participants is increased, and meanwhile, the security of private data is improved.

Description

technical field [0001] The present invention relates to the blockchain field, in particular to a permission chain-based federal learning incentive method and system. Background technique [0002] A permissioned chain is a blockchain that is jointly managed by several organizations. Each organization runs one or more nodes. Only authorized nodes can participate in voting, bookkeeping, and building blocks. Traditional machine learning centralizes data to the server and trains corresponding models by running machine learning algorithms. At present, as users pay more attention to privacy protection, such algorithms are facing huge privacy challenges. However, federated learning keeps user data locally and only collects model parameters, thereby greatly reducing the risk of user data leakage. [0003] The federated learning system is a learning method in which multiple clients contribute local data and cooperate to train a unified model. The limitation is that the model only re...

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 Applications(China)
IPC IPC(8): G06F21/60G06F21/64G06N20/20
CPCG06F21/602G06F21/64G06N20/20G06F21/1014
Inventor 王荣蔡维德
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products