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

On-chip core compiling and mapping method and device of neural network based on reinforcement learning

A neural network and reinforcement learning technology, applied in the field of computer high-performance computing, can solve the problem that the mapping scheme cannot quickly search for the optimal solution, and the transmission speed of pulse packets between cores is slowed down, so as to reduce the transmission distance, reduce power consumption, The effect of improving transmission efficiency

Active Publication Date: 2022-05-13
ZHEJIANG LAB +1
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Too simple a mapping scheme cannot quickly search for the optimal solution in a huge solution space, and it is easy to fall into the local suboptimal solution caused by the unreasonable design of the mapping algorithm and cost function, resulting in slow transmission of pulse packets between cores , resulting in additional communication and power consumption

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
  • On-chip core compiling and mapping method and device of neural network based on reinforcement learning
  • On-chip core compiling and mapping method and device of neural network based on reinforcement learning
  • On-chip core compiling and mapping method and device of neural network based on reinforcement learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0051] In order to improve the solution efficiency of the existing mapping algorithm, solve the problem of lack of efficient allocation caused by too large solution space in the mapping. Existing network mapping algorithms often use a specific planning algorithm to optimize the loss function, which takes a long time to solve and tends to fall into local optimum and cannot effectively search in the whole space.

[0052] The on-chip core compiling and mapping method and device of the neural network based on reinforcement learning of the present invention firstly obtain the topological structure and parameter information of the pulse neural network, and the on-chip...

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 an on-chip core compilation mapping method and device for a neural network based on reinforcement learning, and the method comprises the steps: putting a conventional mapping planning problem into a reinforcement learning framework, constructing a state description, a reward function and an action space, and obtaining a strategy deep network through reinforcement learning training. Neurons are sequentially placed within a plurality of cores of a network-on-chip. The mapping income is constructed by communication cost, mapping area and core internal utilization rate, the strategy network is trained by using an Actor-Critic algorithm to obtain higher mapping income, and the reinforcement learning strategy network is trained to learn the optimal mapping position of any pulse neural network neurons. And finally, finishing from the neural network needing to be deployed to the on-chip core array by using the trained strategy network, thereby reducing the on-chip communication distance cost of the interconnected neurons, effectively improving the chip calculation efficiency and reducing the overall power consumption.

Description

technical field [0001] The invention relates to the field of computer high-performance computing, in particular to an on-chip core compiling and mapping method and device based on a reinforcement learning neural network. Background technique [0002] Neuroscience research on the human brain has found that tens of billions of neurons can generate a high degree of parallel computing power through interconnection, and the pulse neural network proposed on this basis can complete information transmission through pulse coding to solve complex tasks. The neuromorphic chip based on the spiking neural network simulates the connection of biological neurons with a high-density on-chip network organization, and realizes the parallelization of large-scale computing. However, the information communication mode between different cores of the network on chip is very sensitive to the generation and transmission of pulses, which puts forward extremely high requirements on the performance cons...

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): G06N3/063G06N3/04G06N3/08G06F15/78
CPCG06N3/063G06N3/049G06N3/084G06F15/7839G06N3/045Y02D10/00
Inventor 何煜坤李莹吕攀章明孙世春邓水光潘纲马德齐勃金孝飞
Owner ZHEJIANG LAB
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