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

Distributed training method, device and computer equipment for machine learning model

A machine learning model and training method technology, applied in the field of artificial intelligence, can solve problems such as low model training efficiency

Active Publication Date: 2021-03-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on this, it is necessary to provide a distributed training method, device and computer equipment for a machine learning model that can improve the efficiency of model training for the above-mentioned technical problem of low model training efficiency

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
  • Distributed training method, device and computer equipment for machine learning model
  • Distributed training method, device and computer equipment for machine learning model
  • Distributed training method, device and computer equipment for machine learning model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0058] It should be noted that distributed training is a process of parallel training by multiple independent nodes. Specifically, the distributed training cluster in distributed training can be a parameter server architecture including one or more parameter nodes and multiple working nodes (Parameter Server Architecture), in this application, the architectural form of the distributed training cluster is not specifically limited. Different training samples are used in each working node to train the training model separately to calculate parameter gradients, and transmit th...

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

This application relates to a distributed training method of a machine learning model, which is executed by working nodes of a distributed node cluster. The distributed node cluster can be realized through a cloud server. The method includes: obtaining more than one set of training samples, and according to the machine learning model The current training parameters process each group of training samples separately to obtain the corresponding parameter gradient; based on the parameter gradient corresponding to each group of training samples, determine the local gradient of the current time; transmit the local gradient of the current time to the parameter node; transmit The local gradient of is used to instruct the parameter node to determine the current global gradient based on the local gradient transmitted by each working node in the distributed node cluster, and update the training parameters according to the current global gradient; obtain the updated Training parameters, based on the updated training parameters, continue to perform model training on the machine learning model until the training ends when the training end conditions are met. This method can improve the efficiency of model training.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, in particular to a distributed training method, device and computer equipment of a machine learning model. Background technique [0002] With the development of computer technology, the use of machine learning for data processing has become more and more common. The process of machine learning usually refers to computer equipment building an initial model, inputting sample data into the initial model, analyzing the input sample data through a series of algorithms, and updating the model parameters of the initial model through iterative training to obtain the final suitable model. model. [0003] Since the machine learning model needs to perform feature learning on a large amount of sample data during the training process, in order to improve the learning efficiency, in the traditional solution, multiple working nodes are used to undertake the training task. In the trad...

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/00
CPCG06N20/00G06Q30/0251G06N3/098G06N3/063G06N3/045
Inventor 黄浩屈伟侯浩祥
Owner TENCENT TECH (SHENZHEN) CO LTD
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