Compression method and compression system

A compression method and uncompressed technology, applied in the field of convolutional neural networks, can solve problems such as low compression rate, high compression loss rate, and inability to compress a large amount of intermediate feature data, and achieve the effect of improving stability and reducing compression loss rate.

Active Publication Date: 2021-02-02
时擎智能科技(上海)有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Deep neural network algorithms are widely used in artificial intelligence applications such as computer vision and speech recognition, and convolutional neural network is a very important algorithm in deep neural network algorithms, but due to the bandwidth requirements of convolutional neural network algorithms for accessing memory High, limiting the development of convolutional neural network accelerators
[0003] MIT (Massachusetts Institute of Technology, MIT) proposed a data compression method RLC (Run-LenthCompression, RLC) which is common to weight and intermediate feature data in the Eyriess convolutional neural network accelerator, but this compression method can only dynamically compress one Two-dimensional linear arrangement data is not suitable for the compression of two-dimensional and three-dimensional arrangement feature data, and the compression rate is related to the arrangement of zero values, resulting in an unstable compression rate
[0004] In the Nvidia Deep Learning Accelerator (NVDLA) launched by Nvidia (NVIDIA), feature addresses can be arranged in two-dimensional and three-dimensional formats, but only statically compress weights, and cannot compress a large amount of intermediate feature data. Low, so that the bandwidth cannot be effectively saved, resulting in a high compression loss rate

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
  • Compression method and compression system
  • Compression method and compression system
  • Compression method and compression system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are part of the present invention Examples, not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein shall have the usual meanings understood by those skilled in the art to which the present invention belongs. As used herein, "comprising" and similar words mean that the elements or items appearing before the word include the elements or items listed after the word and their equivalents, without excluding other el...

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 present invention provides a compression method, comprising the following steps of sequentially segmenting uncompressed data from the first bit to the last bit into m continuous uncompressed sub-data according to the segmentation byte threshold, so that each of the uncompressed sub-data It has an independent address, so that the uncompressed sub-data does not need to be arranged in a one-dimensional linear arrangement, thereby supporting the compression of data of any dimension. After removing the zero value, the compressed sub-data, flag bit data and number information are obtained. The flag Bit data can make compression less affected by zero value arrangement, improve the compression rate and the stability of compression rate, calculate address offset, calculate compressed sub-data storage address, store compressed sub-data, and calculate flag bit data storage address Storing the flag data, calculating the compression information storage address, storing the compression information, and storing the address offset without storing additional address information can effectively reduce the compression loss rate. The present invention also provides a compression system for realizing the compression method.

Description

technical field [0001] The invention relates to the technical field of convolutional neural networks, in particular to a compression method and a compression system. Background technique [0002] Deep neural network algorithms are widely used in artificial intelligence applications such as computer vision and speech recognition, and convolutional neural network is a very important algorithm in deep neural network algorithms, but due to the bandwidth requirements of convolutional neural network algorithms for accessing memory High, which limits the development of convolutional neural network accelerators. [0003] MIT (Massachusetts Institute of Technology, MIT) proposed a data compression method RLC (Run-LenthCompression, RLC) which is common to weight and intermediate feature data in the Eyriess convolutional neural network accelerator, but this compression method can only dynamically compress one Two-dimensional linear arrangement data cannot be applied to the compression...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H03M7/30
CPCH03M7/30
Inventor 曹英杰于欣蒋寿美
Owner 时擎智能科技(上海)有限公司
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