High precision neural network engineering method based on look-up table computation

A neural network and high-precision technology, applied in the field of neural network engineering, can solve problems such as loss of network precision, achieve fast computing speed, high computing precision, and reduce precision loss

Active Publication Date: 2019-01-04
杭州雄迈集成电路技术股份有限公司
View PDF7 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to solve the problem of network precision loss in the traditional engineering process, and to provide a query-based system with technical characteristics such

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
  • High precision neural network engineering method based on look-up table computation
  • High precision neural network engineering method based on look-up table computation

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025] The present invention will be further described below in conjunction with the accompanying drawings of the specification, but the present invention is not limited to the following embodiments.

[0026] Such as Figure 1-2 Shown is a specific embodiment of a high-precision neural network engineering method based on table look-up calculation. This embodiment is a high-precision neural network engineering method based on table look-up calculation. The method includes the following steps:

[0027] S1: Based on the original floating-point network model, select part of the sample data as the neural network input to the test set, calculate the neural network from the input layer to the hidden layer and then to the output layer forward, and use the accuracy obtained by the output layer as the benchmark Accuracy, the accuracy loss threshold A is set according to actual needs, and the sparsity rate B is set as the descending search step. The accuracy loss threshold A is preferably 0.0...

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 high-precision neural network engineering method based on look-up table calculation, belonging to the technical field of artificial intelligence neural network depth learning. The method comprises the following steps: taking the output precision as an evaluation index, adopting an adaptive search strategy to sparse the neural network; the weights of the neural network being quantified by nonlinear method, and the data are indexed and quantified. Table-lookup method is used to realize the forward computation of neural network quickly, the invention adopts the sparse rate automatic distribution strategy to achieve the maximum possible reserved network precision under the condition of the set sparse rate, Using the strategy of nonlinear quantization of metric parameters and data index quantization, At the same time, the quantization width is reduced to 8 bits or less, and the computational accuracy is kept very high. Finally, a high-precision and fast computational table of 256 x 256 bits is constructed, which can accelerate the forward process and reduce the computational accuracy without losing, and the computational accuracy is high and the computational speed is fast.

Description

technical field [0001] The invention relates to a neural network engineering method, and more specifically, relates to a high-precision neural network engineering method based on table lookup calculation, which belongs to the technical field of artificial intelligence neural network deep learning. Background technique [0002] Artificial Neural Network (ANN) is a computing model. It is a research hotspot in the field of artificial intelligence since the 1980s. It is mainly composed of a large number of nodes (called neurons connected to each other, each node represents A specific output function, called the activation function, each connection between two nodes represents a weighted value for the signal passing through the connection, called weight, which is equivalent to the memory of the artificial neural network. Network The output of the network depends on the connection method of the network, the weight value and the activation function are different. [0003] A typica...

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/04G06K9/62
CPCG06N3/045G06F18/23213
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