Supercharge Your Innovation With Domain-Expert AI Agents!

Federal learning model updating method and device

A technology for learning models and updating methods, applied in integrated learning, computer security devices, instruments, etc., can solve problems such as poor model training stability, and achieve the effect of improving stability

Pending Publication Date: 2021-11-16
JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a method and device for updating a federated learning model to solve the problem of poor training stability of the model

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 model updating method and device
  • Federal learning model updating method and device
  • Federal learning model updating method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0058] refer to figure 2 , figure 2 As the first embodiment of the method for updating the federated learning model of the present invention, the method for updating the federated learning model includes the following steps:

[0059] Step S10, the current terminal sends the first encrypted gradient obtained by encrypting the first gradient with the first public key to each active terminal and passive terminal of the first group, and encrypts the second gradient obtained by encrypting the first gradient with the second public key. The encrypted gradient is sent to other terminals in the second group where the current terminal is located. The first group and the second group are both composed of an active terminal and a passive terminal. The first public key is generated by the active terminal of the second group. The second public key is generated by the active terminal of the first group, and the other terminals are active terminals or passive terminals in the second group ...

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 provides a federal learning model updating method and device, and the method comprises the steps: transmitting a first encryption gradient obtained by encrypting a first gradient through employing a first public key to an active terminal and a passive terminal of each first group, sending a second encryption gradient obtained by encrypting the first gradient by using a second public key to other terminals of a second group where the current terminal is located; receiving third encryption gradients respectively sent by the active terminal, the passive terminal and other terminals of each first group; determining a first cipher text gradient corresponding to each second public key according to a third encryption gradient obtained by encrypting the same public key; sending the first cipher text gradient to an active terminal containing a private key for decrypting the first cipher text gradient; and receiving a first decryption gradient fed back by each active terminal, and updating parameters of the model according to each first decryption gradient and a first noise value. According to the federal learning model updating method provided by the invention, the stability of model training is improved on the premise of ensuring the data privacy.

Description

technical field [0001] The invention relates to federated learning technology, in particular to a method and device for updating a federated learning model. Background technique [0002] In order to solve the problems of data islands and data privacy security, the current mainstream method is to use federated learning to jointly train different data to obtain better models to solve practical problems. According to the distribution of data, federated learning can be divided into horizontal federated learning, vertical federated learning, and transfer learning. Among them, vertical federated learning is widely used. For example, in financial scenarios, financial institutions such as banks contain credit labels, while e-commerce platforms have user consumption data, and users of both parties overlap. Banks can use e-commerce data to predict credit risks, but the two parties cannot share data. Vertical federated learning can be used to solve such problems. [0003] At present...

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
IPC IPC(8): G06N20/20G06F21/60
CPCG06N20/20G06F21/602
Inventor 张钧皓孙中伟曹雨晨姬艳鑫刘永平尹靖雯张新宋红花赵国梁
Owner JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More