Distributed machine learning method based on local learning strategy

A machine learning and distributed technology, applied in the field of distributed algorithms in the field of machine learning, can solve problems such as performance bottlenecks, and achieve the effect of reducing communication overhead

Active Publication Date: 2019-08-02
NANJING UNIV
View PDF3 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] With the increase of the machine learning model and the number of nodes participating in distributed co

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 machine learning method based on local learning strategy
  • Distributed machine learning method based on local learning strategy
  • Distributed machine learning method based on local learning strategy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Below in conjunction with specific embodiment, further illustrate the present invention, should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various equivalent forms of the present invention All modifications fall within the scope defined by the appended claims of the present application.

[0036] The distributed machine learning method based on the local learning strategy provided by the present invention can be applied to the fields of image classification, text classification, etc., and is suitable for scenarios where the number of data sets to be classified is large and the parameters of the machine learning model used are large. Taking the image classification application as an example, in the method of the present invention, the training image data will be distributed and stored...

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 distributed machine learning method based on a local learning strategy, which is based on a parameter server architecture, is suitable for multi-machine cluster distributed machine learning of a data center, and is also suitable for client-cloud collaborative distributed machine learning taking a server as a cloud end, and a mobile phone or embedded equipment as a terminal. The method comprises the following steps: firstly, a server node accumulating a local gradient sum calculated by all working nodes to obtain a full gradient, and broadcasting the full gradient to all the working nodes; each working node updating the parameters for several times and then sending the local parameters to the server node; finally, the server node averaging the parameters collectedfrom the working nodes and broadcasting the average value as the latest parameter to all the working nodes; iterating the above process for multiple rounds until a convergence condition is achieved. The method is based on a local learning strategy, communication does not need to be carried out after parameters of the working nodes are updated every time, and therefore the communication expenditurein distributed machine learning is reduced.

Description

technical field [0001] The invention provides a distributed machine learning method based on a local learning strategy, relates to a distributed algorithm in the field of machine learning, and can effectively reduce communication overhead in distributed machine learning. Background technique [0002] Most machine learning models can be formalized as the following optimization problems: [0003] [0004] Where w represents the parameters of the model, n represents the total number of training samples, f i (·) represents the loss function corresponding to the i-th sample. To solve the above optimization problems, stochastic gradient descent (SGD) and its variants are currently the most widely used methods. As the amount of training data increases, the training process of many machine learning problems takes a lot of time. The distributed algorithm disperses the training data to multiple nodes for parallel training to speed up the training process of machine learning. [...

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/00Y02D10/00
Inventor 李武军高昊赵申宜
Owner NANJING UNIV
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