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

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 participants may have different training data. Similar data in a certain iteration There are differences between the local model trained by the number of times and the local model trained by different training data, so the data with large training differences will produce very different model parameter updates. Therefore, its existence does not take into account the correlation of extracted features, It also does not take into account the problem of data differences brought about by the reasonable personalization of each client

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products