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

Prediction method and system for vector multiplication operation time of sparse matrix

A sparse matrix and computing time technology, applied in the field of machine learning, can solve the problem of low performance of vector multiplication operations

Active Publication Date: 2020-11-10
CHINA INSTITUTE OF ATOMIC ENERGY +1
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the problem of low performance of sparse matrix-vector multiplication in the prior art

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
  • Prediction method and system for vector multiplication operation time of sparse matrix
  • Prediction method and system for vector multiplication operation time of sparse matrix
  • Prediction method and system for vector multiplication operation time of sparse matrix

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0024] figure 1 It is a schematic flow chart of a method for predicting operation time of sparse matrix-vector multiplication based on deep learning provided by an embodiment of the present invention. like figure 1 As shown, the method includes steps S101-S103:

[0025] Step S101, constructing a convolutional neural network.

[0026] A convolutional neural network includes an input layer, a feature processing layer, a data splicing layer, and an output layer.

[0027] The input layer is used to input the features of the row feature matrix, the features of the column feature matrix, and the features of the architecture parameter expansion matrix in the sparse matrix. The input layer includes a first channel, a second channel, and a third channel, where the first channel receives the row feature matrix generated by the sparse matrix...

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 relates to a prediction method and system for vector multiplication operation time of a sparse matrix, and the method comprises the following steps: constructing a convolutional neural network which comprises an input layer, a feature processing layer, a data splicing layer and an output layer, wherein the input layer is used for inputting the characteristics of a row characteristicmatrix, the characteristics of a column characteristic matrix and the characteristics of an architecture parameter extension matrix in a sparse matrix; the feature processing layer is used for extracting features in the previous layer; the data splicing layer is used for splicing the extracted features of the row feature matrix, the extracted features of the column feature matrix and the extractedfeatures of the architecture parameter extension matrix; the output layer is used for outputting a prediction result and obtaining a plurality of groups of sparse matrixes with known sparse matrix vector multiplication operation time as sample data, and inputting the sample data into the convolutional neural network to realize training of the convolutional neural network; and inputting a sparse matrix to be classified into the trained convolutional neural network to realize prediction of sparse matrix vector multiplication operation time.

Description

technical field [0001] The present invention relates to the technical field of machine learning (Machine Learning), in particular to a method for predicting operation time of sparse matrix-vector multiplication based on deep learning. Background technique [0002] Sparse matrix-vector multiplication is an important operation in scientific computing and engineering fields, and its performance directly determines its performance in practical applications. Due to the irregularity of memory access in the process of sparse matrix-vector multiplication, the performance of sparse matrix-vector multiplication is relatively low, which needs to be optimized. At present, the optimization of sparse matrix-vector multiplication generally focuses on the optimization of specific storage formats or platforms. There is a lack of a method that can efficiently predict the operation time of sparse matrix-vector multiplication to provide guidance for performance optimization. Therefore, the opti...

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 Applications(China)
IPC IPC(8): G06F17/16G06F7/523G06N3/04G06N3/08
CPCG06F17/16G06F7/523G06N3/08G06N3/045
Inventor 冯仰德王珏曹中潇杨文刘天才聂宁明高付海王晓光高岳
Owner CHINA INSTITUTE OF ATOMIC ENERGY
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