An automatic selection method of sparse tensor storage format based on convolutional neural network

A technology of convolutional neural network and storage format, applied in the field of automatic selection of sparse tensor storage format

Active Publication Date: 2022-07-01
BEIHANG UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The format selection of sparse tensors brings special challenges to convolutional neural networks: 1) In order to adapt to two-dimensional convolutional neural networks, high-dimensional tensors need to be reduced to matrices; 2) the generated ma

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
  • An automatic selection method of sparse tensor storage format based on convolutional neural network
  • An automatic selection method of sparse tensor storage format based on convolutional neural network
  • An automatic selection method of sparse tensor storage format based on convolutional neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific examples described herein are only used to explain the present invention, but not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0060] The outline of the design of the present invention is as follows figure 1 As shown, the gray part is the newly added module of the present invention in addition to the existing data set and sparse tensor storage format, wherein TnsNet is a customized convolutional neural network (Convolution Neural Network, CNN for short) implemented by the present invention.

[0061] like figure 1 Shown: the spe...

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 method for automatically selecting a sparse tensor storage format based on a convolutional neural network. The histogram indicates that the matrix is ​​scaled to a fixed size; 3) The fixed size matrix is ​​used as the input of the convolutional neural network CNN, where the structure of the CNN is designed and customized for the automatic selection of the sparse tensor storage format; 4) The method of supervised learning is used Train CNN and get the trained network model; 5) Take the new sparse tensor as the input of the network model, and get the optimal storage format of the tensor after forward propagation. The invention utilizes the advantages of CNN in the classification problem, and combines the feedforward neural network FFNN to adapt the prediction of the optimal sparse tensor storage format, and on the premise of fully retaining the tensor characteristics, the sparse tensor is effectively converted into a fixed tensor. Matrix input of size, which can be applied to automatic selection of sparse format for higher-order tensors under arbitrary tensor computation.

Description

technical field [0001] The invention relates to the fields of convolutional neural network, sparse tensor storage format, tensor calculation, etc. In particular, a method for automatically selecting sparse tensor storage format based on convolutional neural network is designed. Background technique [0002] Tensors generally represent high-dimensional data beyond two dimensions. Multidimensional tensors are widely used in scientific computing, numerical analysis, and machine learning. Since real-world tensors are usually large and very sparse, many existing works optimize the performance of tensor computations based on computational patterns and operational dependencies. Although parallelization can significantly improve the performance of tensor computations, it is still limited by sparsity patterns and hardware characteristics. Therefore, existing work has proposed diverse sparse tensor formats to improve computational performance through co-designed storage and algorith...

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): G06N3/04G06N3/08G06V10/764G06V10/82G06K9/62
CPCG06N3/08G06N3/045G06F18/241
Inventor 杨海龙孙庆骁
Owner BEIHANG 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