Personalized federal learning method based on multi-head attention mechanism

A learning method and attention technology, applied in the fields of privacy protection and data security, can solve the problems of not taking into account the correlation of extracted features, not taking into account the differences of client data, etc.

Pending Publication Date: 2021-09-10
NANJING UNIV OF INFORMATION SCI & TECH
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the conventional federated learning algorithm only averages the parameters of each local model for convenience, and neither considers the correlation of extracted features nor considers the data differences brought about by the reasonable personalization of each client.
The local model parameters of local data after a certain number of iterations of local model training will have an impact on the global model. Similar participants may have similar local training data, while randomly selected participant

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
  • Personalized federal learning method based on multi-head attention mechanism
  • Personalized federal learning method based on multi-head attention mechanism
  • Personalized federal learning method based on multi-head attention mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The specific embodiment of the present invention is further described below in conjunction with accompanying drawing:

[0038] A personalized federated learning method based on multi-head attention mechanism, characterized in that: it is characterized in that it comprises the following steps:

[0039] Step 1: Build a local model of federated learning. Multi-head attention mechanism model: use the multi-head attention mechanism in the most classic convolutional neural network. Through the multi-head attention mechanism, key information is retained, feature extraction and selection are better, and the accuracy of identification;

[0040] Step 2: Build the multi-head attention mechanism model of the federated learning global model: Considering the impact of the personalization of each local model on the global model, when sending the global model parameters to the local model, make corresponding changes according to the personalized characteristics of the model .

[0041...

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 personalized federal learning method based on a multi-head attention mechanism. The method is characterized in that the method comprises the following steps: 1, building a federated learning local model multi-head attention mechanism model: enabling the multi-head attention mechanism to be used in a most classical convolutional neural network, retaining key information through the multi-head attention mechanism, and carrying out feature extraction and selection better to improve the recognition accuracy; and 2, building a federal learning global model multi-head attention mechanism model: considering the influence of the personalized problem of each local model on the global model, and making corresponding changes according to the personalized characteristics of the model when global model parameters are sent to the local models. The correlation of extracted features and the data difference brought by reasonable individuation of each client can be considered, so the individuation degree of the data can be increased on the basis of ensuring the improvement of the accuracy.

Description

technical field [0001] The invention belongs to the technical field of privacy protection and data security, and in particular relates to a personalized federated learning method based on a multi-head attention mechanism. Background technique [0002] In the field of artificial intelligence, people's attention to privacy protection and data security is also increasing. As a distributed machine learning / deep learning framework that protects data privacy, federated learning It provides a good solution to problems such as structure and unbalanced data distribution. At this stage, machine learning and deep learning have also achieved great success in various fields, laying the foundation for the better performance of the federated learning algorithm model. [0003] However, for the sake of convenience, the conventional federated learning algorithm only averages the parameters of each local model, and neither considers the correlation of extracted features nor considers the data...

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): G06F21/64G06K9/62G06N3/04G06N3/08
CPCG06F21/64G06N3/08G06N3/045G06F18/214
Inventor 胡凯陆美霞吴佳胜李姚根金俊岚
Owner NANJING UNIV OF INFORMATION SCI & TECH
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