# US 2020/0394514 A1 · Method and device for providing compression and transmission of training parameters in distributed processing environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394514 A1
- Document ID: US20200394514A1
- Status: Published application
- Kind: A1
- Application number: 16/772,557
- Filed: 2018-12-13
- Published: 2020-12-17
- Earliest claimed: 2017-12-15
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Seung-Hyun CHO; Youn-Hee KIM; Jin-Wuk SEOK; Joo-Young LEE; Woong LIM; Jong-Ho KIM; Dae-Yeol LEE; Se-Yoon JEONG; Hui-Yong KIM; Jin-Soo CHOI; Je-Won KANG
- Web page: https://patentgrep.com/patent/US20200394514A1

## CPC

- G06N 3/08: Learning methods
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/063: using electronic means
- G06N 3/098: Distributed learning, e.g. federated learning
- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- G06V 10/82: using neural networks
- G06N 3/045: Combinations of networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Disclosed herein are a method and apparatus for compressing learning parameters for training of a deep-learning model and transmitting the compressed parameters in a distributed processing environment. Multiple electronic devices in the distributed processing system perform training of a neural network. By performing training, parameters are updated. The electronic device may share the updated parameter thereof with additional electronic devices. In order to efficiently share the parameter, the residual of the parameter is provided to the additional electronic devices. When the residual of the parameter is provided, the additional electronic devices update the parameter using the residual of the parameter.

## Claims

### Claim 1

A method for providing information about an updated parameter, performed by an electronic device in a distributed processing system, comprising:
generating information for updating a parameter of a neural network; and
transmitting the information for updating the parameter,
wherein the information for updating the parameter is generated based on a state of the parameter updated by performing training and a state of the parameter before the training.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the information for updating the parameter is generated based on a residual of the parameter, and
the residual of the parameter is a difference between a value of the parameter updated by performing the training and a value of the parameter before the training.

### Claim 3 (depends on 1)

The method of claim 1, wherein the information for updating the parameter is transmitted to one or more other electronic devices that perform training of the neural network in the distributed processing system.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the information for updating the parameter is transmitted to a parameter server in the distributed processing system, and
the parameter server transmits the information for updating the parameter to one or more electronic devices that perform training of the neural network in the distributed processing system.

### Claim 5 (depends on 1)

The method of claim 1, wherein the electronic device performs training of one of multiple layers of a deep-learning model.

### Claim 6

A method for updating a parameter, performed by an electronic device in a distributed processing system, comprising:
receiving information for updating the parameter from an additional device in the distributed processing system; and
updating the parameter using the information for updating the parameter,
wherein:
a residual of the parameter is generated based on the information for updating the parameter, and
the parameter is updated by adding the residual of the parameter to the parameter.

### Claim 7 (depends on 6)

The method of claim 6, wherein the parameter comprises multiple parameters.

### Claim 8 (depends on 7)

The method of claim 7, wherein the multiple parameters are deep-learning parameters that configure one layer of a deep-learning model.

### Claim 9 (depends on 7)

The method of claim 7, wherein the information for updating the parameter includes compressed residuals of the multiple parameters.

### Claim 10 (depends on 7)

The method of claim 7, wherein:
residuals of the multiple parameters are acquired by performing decoding for compressed residuals of the multiple parameters included in the information for updating the parameter, and
the multiple parameters are updated using the residuals of the multiple parameters.

### Claim 11 (depends on 10)

The method of claim 10, wherein, when the decoding is performed, a method for decoding a block of an image is used.

### Claim 12 (depends on 11)

The method of claim 11, wherein each of the multiple parameters corresponds to the block.

### Claim 13 (depends on 11)

The method of claim 11, wherein:
the block comprises multiple blocks,
the multiple blocks configure a target image, and
when the decoding is performed, a method for decoding the target image is used.

### Claim 14 (depends on 11)

The method of claim 11, wherein, in order to perform the decoding, one or more of entropy decoding, scanning, dequantization, and inverse-transform of the block are used.

### Claim 15 (depends on 7)

The method of claim 7, wherein:
based on the information for updating the parameter, scanned information is generated, and
the scanned information includes scanned quantized gradients.

### Claim 16 (depends on 15)

The method of claim 15, wherein:
quantized gradients are generated by performing 1D-to-2D scanning for the scanned information,
reconstructed gradients are generated by performing dequantization for the quantized gradients, and
the reconstructed gradients are residuals of the multiple parameters.

### Claim 17 (depends on 15)

The method of claim 15, wherein:
the scanned information includes a zero subblock, and
the zero subblock indicates a specified region in a block and indicates that values of all of quantized gradients in the specified region are 0.

### Claim 18 (depends on 15)

The method of claim 15, wherein:
the scanned information includes a zero block, and
the zero block indicates that values of all of quantized gradients in the block are 0.

### Claim 19 (depends on 15)

The method of claim 15, wherein;
the scanned information includes a zero layer, and
the zero layer indicates that values of all of quantized gradients in all of blocks of the layer are 0.

### Claim 20

An electronic device in a distributed processing system, comprising:
a communication unit for receiving information for updating a parameter from another device in the distributed processing system; and
a processing unit for updating the parameter using the information for updating the parameter,
wherein the processing unit generates a residual of the parameter based on the information for updating the parameter and updates the parameter by adding the residual of the parameter to the parameter.
