A design method of neural network activation function

An activation function, neural network technology, applied in the field of artificial intelligence neural network, can solve the problems of high resource occupation, data overflow, high power consumption, and achieve the effect of solving overflow, saving power consumption and cost, and reducing area

Active Publication Date: 2019-03-22
四川那智科技有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, compared with fixed-point arithmetic units, floating-point arithmetic has problems such as occupying more resources, large a

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 design method of neural network activation function
  • A design method of neural network activation function
  • A design method of neural network activation function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The design concept of the present invention is: the full fixed-point design of the artificial intelligence neural network, the simplification of the neural network, the improvement of the utilization rate of computing resources, the reduction of the area, and the saving of power consumption and cost. The inevitable data overflow of the fully fixed-point neural network is considered as a problem in the overall design of the neural network, and it is designed together with the overall neural network and iteratively trained, thus well solving the problem of fixed-point algorithm overflow.

[0039] The present invention comprises the steps:

[0040] Step 1: Design the neural network framework, and select a saturated activation function as the neural network activation function.

[0041] Step 2: Select the initial overall fixed-point bit width according to the application scenario of the neural network.

[0042] Combined with precision requirements, power consumption requir...

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 design method of a neural network activation function. The method includes designing a neural network framework, selecting a saturation activation function as the neural network activation function; According to the application scenario of the neural network, selecting the initial fixed-point bit width of the data. Determining The initial fractional bit width and the initial integer bit width according to the precision requirement and the data characteristics of the neural network. Performing Binary conversion of the fractional part and the integer part; Taking the converted fixed-point format data as input, training the neural network and recording the training results. Record the training test results; Repeating steps 2 to 6 until the overall fixed-point width,decimal-bit width and integer-bit width meet the requirements are found as the final neural network fixed-point architecture. Determining saturation value of activation function of neural network; Implementing forward propagation function; Implement back propagation function. The invention saves power consumption and cost, and solves the problem of fixed-point algorithm overflow.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence neural network, related algorithms, software, hardware and chips. In particular, it relates to a design method of a neural network activation function. Background technique [0002] An artificial neural network is a computational model designed by humans to mimic the way biological neural networks work. Neuron (Neuron) is the basic unit of neural network, also known as node (Node), it receives input (Input) from the outside or other nodes, and calculates output (Output) through an activation function (Activation Function); each The input corresponds to Weight, which is the relative importance of each input received by this node; Bias can be understood as a special input. [0003] Deep learning is a field of machine learning that studies the algorithms, theory, and applications of complex artificial neural networks. Since it was proposed by Hinton in 2006, deep learning has been ...

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/08
CPCG06N3/084G06N3/048
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