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

Two-stage federated learning method and system

A learning method and a two-stage technology, applied in the blockchain field, can solve the problems of non-independent and identical distribution of data, high communication costs between the server and the client, performance degradation, etc., to reduce excessive influence, fast generalization ability, The effect of increasing the convergence speed

Pending Publication Date: 2021-11-30
TSINGHUA UNIV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of the above problems, the purpose of the present invention is to provide a two-stage federated learning method to solve the problem that the traditional federated average algorithm has a high communication cost between the server and the client, and the performance of the data is not independent and identically distributed.

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
  • Two-stage federated learning method and system
  • Two-stage federated learning method and system
  • Two-stage federated learning method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The federated averaging algorithm (FedAvg) is a relatively classic federated learning algorithm, but it also has some obvious shortcomings, such as high communication costs between the server and the client and performance degradation caused by non-independent and identical distribution of data. How to reduce communication costs and improve model performance are two very important issues in current federated learning research.

[0057] In view of the above problems, the present invention provides a two-stage federated learning method and system, and specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0058] In order to illustrate the two-stage federated learning method and system provided by the present invention, figure 1 The two-stage federated learning method of the embodiment of the present invention is exemplarily marked; figure 2 The two-stage federated learning system of the embodiment o...

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 two-stage federated learning method and system, and the method comprises the steps: repeating the first-stage federated learning according to a local model and a new global model based on a feature fusion algorithm according to a preset first round, so as to update the local weight of the local model and the parameters of the new global model, enabling the updated new global model to serve as a two-stage global model, carrying out convergence test on the second-stage global model through preset test data to obtain accuracy, if the accuracy is converged, taking the second-stage global model as a second-stage local model of the client, and repeatedly carrying out second-stage federated learning based on a federated average algorithm to update the local weight of the second-stage local model; and if the number of repetitions reaches a preset second round number, completing two-stage federated learning, so that a loss function of original model training is changed, a local model is closer to a global model received from a server side during updating, excessive influence of local data of a user is reduced, the model has generalization ability more quickly, and the convergence speed is improved.

Description

technical field [0001] The present invention relates to the technical field of blockchain, and more specifically, to a two-stage federated learning method and system. Background technique [0002] Machine learning is a data analysis method that automatically analyzes and builds models. The machine learning model is to learn the characteristics of the data through the data, and predict the new data, and complete the task of classification or regression. [0003] However, the machine learning model is driven by data, and its accuracy is closely related to the quantity and quality of training data. With sufficient and high-quality data training, the machine learning model will perform better in practical applications. . Therefore, how to provide a large amount of high-quality data for machine learning models has become a key issue in improving the performance of machine learning models. [0004] But at present, in most industries, data exists in the form of isolated islands....

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): G06N20/00
CPCG06N20/00
Inventor 闾海荣韦云岳江瑞张学工李梢
Owner TSINGHUA UNIV