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

Model training method and device, electronic equipment, storage medium and program product

A model training and equipment technology, applied in the field of distributed computing, can solve the problems of low training efficiency and increase the waiting time of other global models, and achieve the effect of improving training efficiency

Pending Publication Date: 2021-09-07
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In multi-task federated learning, there are multiple global models to be trained in the federated learning system. If each terminal device can only train one global model at the same time, this will undoubtedly increase the waiting time of other global models and the training efficiency is extremely low. To this end, you can choose to have multiple global models trained in parallel across multiple end devices

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
  • Model training method and device, electronic equipment, storage medium and program product
  • Model training method and device, electronic equipment, storage medium and program product
  • Model training method and device, electronic equipment, storage medium and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0028] In multi-task federated learning, there are multiple global models to be trained in the federated learning system, and each global model to be trained is a task, such as image classification, speech recognition, text generation and other tasks. In order to improve the training efficiency, these tasks are trained in parallel by multiple terminal devices in multi-t...

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 model training method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of artificial intelligence, in particular to the technical field of distributed computing. The method comprises the following steps: for a round of training of a target global model in a plurality of global models, selecting at least two target terminal devices from a plurality of terminal devices according to the time required for training each global model; sending global model parameters of the target global model to at least two target terminal devices; and receiving local model parameters sent by the at least two target terminal devices, and updating the target global model parameters according to the local model parameters sent by the at least two target terminal devices, the local model parameters being obtained by training the target global model by the at least two target terminal devices according to the local training samples. The training efficiency of the plurality of global models is improved.

Description

technical field [0001] The present disclosure relates to distributed computing technology in the technical field of artificial intelligence, and in particular to a model training method, device, electronic equipment, storage medium and program product. Background technique [0002] Federated learning is a new distributed learning mechanism that uses distributed data and computing resources for collaborative training of machine learning models. A federated learning system usually includes a server and multiple terminal devices. In federated learning, the server sends the global model to be trained to each terminal device, and each terminal device uses local private data to train and update model parameters, and the updated The model parameters are uploaded to the server, and finally the server aggregates the updated model parameters of each terminal device to obtain a new global model, and repeats the above training for multiple rounds until the global model reaches convergen...

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/20G06F9/48G06F9/50
CPCG06N20/20G06F9/4881G06F9/5027
Inventor 刘吉周晨娣窦德景贾俊铖
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD