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

A high-precision neural network engineering method based on look-up table calculation

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

Active Publication Date: 2020-12-08
浙江芯劢微电子股份有限公司
View PDF7 Cites 0 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 as high calculation precision and fast calculation speed, and can save high calculation precision while reducing the quantization width. High-precision Neural Network Engineering Method for Table Computing

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
  • A high-precision neural network engineering method based on look-up table calculation
  • A high-precision neural network engineering method based on look-up table calculation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[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 for the test set, and calculate the neural network forward from the input layer to the hidden layer to the output layer, and use the accuracy obtained by the output layer as a benchmark Accuracy, set the accuracy loss threshold value A according to actual needs, and set the sparse rate B as the search step size for descent, the accuracy loss threshold value A is preferably 0.05% or 0.5% or 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 table look-up calculation, which belongs to the technical field of artificial intelligence neural network deep learning. Sparse the neural network; adopt non-linear quantization to the weight parameters of the neural network, and perform index quantization on the data; use the look-up table method to quickly realize the forward calculation of the neural network, and the present invention achieves the design through the sparse rate automatic distribution strategy. In the case of a fixed sparse rate, the maximum possible reserved network precision is used. The weight parameter nonlinear quantization and data index quantization strategy is used to compress the quantization width to 8bit or below while preserving high calculation accuracy. Finally, by constructing a 256x256 The 32bit high-precision fast calculation table realizes the acceleration of the forward process and reduces the precision in the calculation process without loss, with high calculation accuracy and fast calculation speed.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06N3/04G06K9/62
CPCG06N3/045G06F18/23213
Inventor 葛益军
Owner 浙江芯劢微电子股份有限公司
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