Movatterモバイル変換


[0]ホーム

URL:


CN113962371A - An image recognition method and system based on a brain-like computing platform - Google Patents

An image recognition method and system based on a brain-like computing platform
Download PDF

Info

Publication number
CN113962371A
CN113962371ACN202111584185.1ACN202111584185ACN113962371ACN 113962371 ACN113962371 ACN 113962371ACN 202111584185 ACN202111584185 ACN 202111584185ACN 113962371 ACN113962371 ACN 113962371A
Authority
CN
China
Prior art keywords
neural network
synaptic
neuron
brain
computing platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111584185.1A
Other languages
Chinese (zh)
Other versions
CN113962371B (en
Inventor
包文笛
胡蝶
乔树山
周玉梅
尚德龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongke Weishi Technology Nanjing Co ltd
Original Assignee
Zhongke Nanjing Intelligent Technology Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongke Nanjing Intelligent Technology Research InstitutefiledCriticalZhongke Nanjing Intelligent Technology Research Institute
Priority to CN202111584185.1ApriorityCriticalpatent/CN113962371B/en
Publication of CN113962371ApublicationCriticalpatent/CN113962371A/en
Application grantedgrantedCritical
Publication of CN113962371BpublicationCriticalpatent/CN113962371B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention relates to an image identification method and system based on a brain-like computing platform, wherein the method comprises the following steps: constructing a pulse neural network; the impulse neural network comprises an approximate maximum pooling layer, the approximate maximum pooling layer comprises a pre-synaptic neuron cluster and a post-synaptic neuron cluster, the pre-synaptic neuron cluster comprises a plurality of neuron groups which are arranged in sequence, the number of pre-synaptic neurons in each neuron group is the same, pre-synaptic neurons in the ith neuron group in the pre-synaptic neuron cluster are all connected with the ith post-synaptic neurons in the post-synaptic neuron cluster, and when the accumulated number of impulses input by the pre-synaptic neurons in the ith neuron group exceeds a set threshold value, the ith post-synaptic neurons issue one-time impulses; deploying the trained impulse neural network to a brain-like computing platform; and image recognition is carried out by adopting a pulse neural network deployed on a brain-like computing platform. The invention reduces the energy consumption of image recognition in the calculation of a hardware platform.

Description

Image identification method and system based on brain-like computing platform
Technical Field
The invention relates to the technical field of neural networks, in particular to an image identification method and system based on a brain-like computing platform.
Background
The convolutional neural network is used for image recognition on hardware platforms such as a common CPU and the like, and high energy consumption is often needed. The pulse neural network is utilized to complete the image recognition task on the brain-like computing platform, so that the power consumption can be effectively reduced, the precision similar to that of the convolutional neural network on hardware platforms such as a CPU (central processing unit) and the like is achieved, meanwhile, the structure of the pulse neural network is simpler, and the calculated amount is effectively reduced.
In the impulse neural network, the maximal pooling performed by the analog convolutional neural network is not really realized on a brain-like computing platform at present, and the maximal pooling is mostly performed in a simulator simulation mode.
In the maximal pooling of the spiking neural network implemented by the simulator, how to define the "maximum" in the maximal pooling is the key of the problem due to the particularity of the spiking neural network. Most approaches take the definition by the number of firing pulses or the accumulated threshold voltage, and when building a network, intermediate layer neurons are required, as well as adjusting synapses for connections. However, such a method is difficult to implement on a hardware platform, consumes memory, and is not favorable for calculation of neurons.
In order to realize an end-to-end task and effectively reduce the deviation of an estimated mean value caused by parameter errors of a convolutional layer when extracting characteristics for the maximum pooling, and in order to reduce energy consumption, an impulse neural network is built on a brain-like computing platform, and the maximum pooling of the impulse neural network realized on the brain-like computing platform becomes a key ring in building the impulse neural network.
Disclosure of Invention
The invention aims to provide an image identification method and system based on a brain-like computing platform, which reduces the energy consumption of image identification in the computing of a hardware platform.
In order to achieve the purpose, the invention provides the following scheme:
an image recognition method based on a brain-like computing platform comprises the following steps:
constructing a pulse neural network; the impulse neural network comprises a convolutional layer, an approximate maximum pooling layer and a classifier which are connected in sequence, wherein the approximate maximum pooling layer comprises a pre-synaptic neuron cluster and a post-synaptic neuron cluster, the pre-synaptic neuron cluster comprises a plurality of neuron groups which are arranged in sequence, the number of pre-synaptic neurons in each neuron group is the same, pre-synaptic neurons in the ith neuron group in the pre-synaptic neuron cluster are connected with the ith post-synaptic neurons in the post-synaptic neuron cluster, and when the accumulation of impulses input by the pre-synaptic neurons in the ith neuron group exceeds a set threshold value, the ith post-synaptic neurons emit one impulse;
training the image recognition of the impulse neural network to obtain a trained impulse neural network;
deploying the trained impulse neural network to a brain-like computing platform;
and image recognition is carried out by adopting a pulse neural network deployed on a brain-like computing platform.
Optionally, the input of the spiking neural network is a one-dimensional pulse sequence.
Optionally, there is a full connection between the approximate maximum pooling layer and the classifier.
Optionally, the training of image recognition on the impulse neural network to obtain the trained impulse neural network specifically includes:
and training synaptic connection weights between the neurons from the convolutional layer to the approximate maximum pooling layer and synaptic connection weights between the neurons from the approximate maximum pooling layer to the classifier in a back propagation mode, and storing the trained weights.
Optionally, the set threshold is 2.
The invention also discloses an image recognition system based on the brain-like computing platform, which comprises:
the impulse neural network construction module is used for constructing an impulse neural network; the impulse neural network comprises a convolutional layer, an approximate maximum pooling layer and a classifier which are connected in sequence, wherein the approximate maximum pooling layer comprises a pre-synaptic neuron cluster and a post-synaptic neuron cluster, the pre-synaptic neuron cluster comprises a plurality of neuron groups which are arranged in sequence, the number of pre-synaptic neurons in each neuron group is the same, pre-synaptic neurons in the ith neuron group in the pre-synaptic neuron cluster are connected with the ith post-synaptic neurons in the post-synaptic neuron cluster, and when the input impulse accumulation of the pre-synaptic neurons in the ith neuron group exceeds a set threshold value, the ith post-synaptic neurons emit one impulse;
the impulse neural network training module is used for training the impulse neural network for image recognition to obtain a trained impulse neural network;
the impulse neural network deployment module is used for deploying the trained impulse neural network to a brain-like computing platform;
and the image recognition module is used for performing image recognition by adopting a pulse neural network deployed on the brain-like computing platform.
Optionally, the input of the spiking neural network is a one-dimensional pulse sequence.
Optionally, there is a full connection between the approximate maximum pooling layer and the classifier.
Optionally, the spiking neural network training module specifically includes:
and the impulse neural network training unit is used for training the synaptic connection weight between the convolutional layer and the neuron of the approximate maximum pooling layer and the synaptic connection weight between the approximate maximum pooling layer and the neuron of the classifier in a back propagation mode, and storing the trained weights.
Optionally, the set threshold is 2.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the method realizes the maximum pooling on a brain-like computing platform by constructing the pulse neural network similar to the convolutional neural network, approximating the pre-synaptic neuron cluster and the post-synaptic neuron cluster in the maximum pooling layer and setting the threshold, reduces the deviation of an estimated mean value caused by parameter errors of the convolutional layer when extracting the characteristics, and simultaneously realizes the dimension reduction, reduces the operation amount and reduces the energy consumption of image recognition when a hardware platform calculates.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic flow chart of an image recognition method based on a brain-like computing platform according to the present invention;
FIG. 2 is a schematic diagram of a spiking neural network according to the present invention;
FIG. 3 is a schematic diagram illustrating the connection between pre-synaptic and post-synaptic neurons according to the present invention;
fig. 4 is a schematic structural diagram of an image recognition system based on a brain-like computing platform according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide an image identification method and system based on a brain-like computing platform, which reduces the energy consumption of image identification in the computing of a hardware platform.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 1 is a schematic flow chart of an image recognition method based on a brain-like computing platform according to the present invention, and as shown in fig. 1, an image recognition method based on a brain-like computing platform includes:
step 101: constructing a pulse neural network; the impulse neural network comprises a convolutional layer, an approximate maximum pooling layer and a classifier which are sequentially connected, wherein the approximate maximum pooling layer comprises a pre-synaptic neuron cluster and a post-synaptic neuron cluster, the pre-synaptic neuron cluster comprises a plurality of neuron groups which are sequentially arranged, the number of pre-synaptic neurons in each neuron group is the same, pre-synaptic neurons in the ith neuron group in the pre-synaptic neuron cluster are all connected with the ith post-synaptic neurons in the post-synaptic neuron cluster, and when the accumulated pulse input by the pre-synaptic neurons in the ith neuron group exceeds a set threshold, the ith post-synaptic neurons issue one pulse.
The presynaptic neuron clusters approximating the maximum pooling layer are connected with the convolution layer, and the postsynaptic neuron clusters approximating the maximum pooling layer are connected with the classifier.
The approximate maximum pooling layer is used for sampling the input by setting a one-dimensional sliding window, and areas sampled twice continuously do not overlap. The sliding step length of the one-dimensional sliding window is set to be the same as the number of presynaptic neurons in the neuron group.
The input of the impulse neural network is a one-dimensional pulse sequence. Specifically, a binary image of the image to be identified is obtained, and pulse coding is performed on the binary image. For example, the input image is a 28 × 28 binary map, i.e., the input image is a matrix of size 28 × 28. And transforming the matrix into a column of vectors with the length of 784 and 0 and 1, and finishing the encoding.
An encoded pulse sequence, such as the sequence of numbers in fig. 2, is input to a spiking neural network equivalent to a convolutional neural network.
The main calculation in the impulse neural network includes three parts of convolution calculation, approximate maximum pooling calculation and classification calculation, as shown in fig. 2, the impulse neural network performs convolution, approximate maximum pooling and classification operation through a convolution layer, an approximate maximum pooling layer and a classifier, respectively. And extracting the characteristics of the pulse sequence through convolution and pooling calculation, and then entering a classifier for printing letter identification. In the invention, the convolution layer and the approximate maximum pooling layer both adopt a many-to-one connection mode to achieve the purposes of convolution and pooling calculation, and the approximate maximum pooling layer and the classification layer (classifier) adopt full connection.
The threshold value is set to 2.
Step 102: and carrying out image recognition training on the impulse neural network to obtain the trained impulse neural network.
The pulse neural network performs weight training of synaptic connections between neurons from a convolutional layer to an approximate pooling layer and from the approximate pooling layer to a classification layer on a CPU in a supervised learning mode, namely a back propagation mode, and then takes out and stores the trained weights in a CPU file for later calling.
Wherein,step 102 specifically comprises:
and training synaptic connection weights between the convolutional layers and the neurons approximating the maximum pooling layer and synaptic connection weights between the neurons approximating the maximum pooling layer and the classifiers by a back propagation mode, and storing the trained weights.
Step 103: and deploying the trained spiking neural network to a brain-like computing platform.
Step 103 specifically comprises equivalently converting the convolutional layer into a form of a pulse neural network by using an ann2snn library in a SpikingJelly software framework, completely deploying the pulse neural network on a brain-like computing platform, taking out weights trained and stored in a CPU file, and loading the weights into the brain-like computing platform for testing.
When the impulse neural network is deployed on a hardware platform, the convolution is performed in a mode similar to a convolution neural network, and then approximate maximum pooling is adopted to replace the maximum pooling used in the original convolution neural network. The approximate maximum pooling implementation method is as follows:
1) first the sliding window size and the sliding step size are determined. Since maximum pooling is typically done in a general pooling manner, i.e., the two sampled regions of the sliding window do not overlap, if the sliding window size is 4 (i.e., four neurons are contained within the sliding window), the step size is also 4 (i.e., assumingneuron numbers 1, 2, … …, neurons numbered 1, 2, 3, 4 are taken for the first time, neurons numbered 5, 6, 7, 8 are taken for the second time, and so on). Unlike convolutional neural networks, where the two-dimensional sliding window of the pooling layer is used, in impulse neural networks, one-dimensional sliding windows, i.e., in the form of vectors, are typically used.
2) Creating a Population on the brain-like computing platform. Approximately maximal pooling requires the Population of two neurons to be achieved, Population of pre-synaptic neurons and Population of post-synaptic neurons, respectively. The manner of connection between two posts will be illustrated in step 3) by way of example.
3) A connection is established. As exemplified in step 1), when the sliding window size is 4 and the step size is also 4, the presynaptic neurons numbered 1, 2, 3, 4 are all connected to the postsynaptic neuron numbered 1; the pre-synaptic neurons numbered 5, 6, 7, 8 are connected to the post-synaptic neuron numbered 2, and so on. The synaptic weight for the connection is set to a fixed value of 1, as shown in FIG. 3.
4) A threshold value is set. When the cumulative number of impulses of the four pre-synaptic neurons exceeds a set Threshold on the post-synaptic neuron, the post-synaptic neuron sends an impulse once to realize the approximation of the maximal pooling on the spiking neural network, as shown in fig. 3, in which thenumbers 1, 2, 3, 4, 5, 6, 7, 8 in the first column are pre-synaptic neurons, thenumbers 1, 2 in the second column are post-synaptic neurons, and Threshold represents a set Threshold.
And the output value of the approximate maximum pooling layer is the input of the classification layer, and the pulse sequence generated by the approximate maximum pooling layer is input into the classification layer so as to identify the printing letters. The approximate maximum pooling layer and the classification layer adopt a full connection mode, and the synaptic weight is a weight which is trained and stored in the CPU in advance.
Step 104: and image recognition is carried out by adopting a pulse neural network deployed on a brain-like computing platform.
There is a full connection between the approximate maximum pooling layer and the classifier.
The invention deploys the pulse neural network converted from the convolutional neural network on a brain-like computing platform, approximates the maximum pooling, and regulates and controls whether the postsynaptic neuron sends pulses or not by utilizing the threshold value, thereby realizing the operation of the pulse convolutional neural network on a hardware platform. In the pulse convolution neural network, the maximum pooling is an important ring, the maximum pooling can finish extraction and processing of the most significant information features of data, meanwhile, the dimensionality reduction is realized, the calculation amount of a hardware platform is reduced, and therefore, the energy consumption is reduced, and the recognition task of printing letters can be conveniently finished on a brain-like computing platform.
The invention replaces the convolutional neural network with the corresponding impulse neural network and deploys the convolutional neural network on a brain-like computing platform to realize the recognition task of printing letters. Compared with the task completed by a CPU, the invention utilizes a brain-like computing platform, has lower power consumption and can still keep the identification accuracy.
The approximate maximum pooling mode adopted in the invention is the approximate maximum pooling of the impulse neural network realized on the brain-like computing platform. The maximum pooling is widely applied to convolutional neural networks and is used for reducing the deviation of an estimated mean value caused by parameter errors of convolutional layers when characteristics are extracted. Meanwhile, the dimension reduction can be realized, the calculation amount is reduced, and the energy consumption of the hardware platform during calculation is reduced.
In a spiking neural network, maximal pooling plays a similar role. However, because of the particularity of the spiking neural network, that is, the connections of neurons must be determined in advance, and the maximal pooling realized in the convolutional neural network is to establish the connections after the maximum value is selected, the spiking neural network cannot be directly applied; and brain-like computing platforms cannot be counter-propagated. The above two points determine that only few ways of achieving the maximum pooling in the impulse neural network can be implemented on a hardware platform.
The invention realizes approximate maximum pooling on a hardware platform, and has the following main advantages:
the invention only needs to establish the Populations of two neurons, and is different from other schemes for realizing the maximum pooling in the impulse neural network, and often needs to establish three Populations. The method effectively saves the computing space of the brain-like computing platform and is beneficial to realizing the pulse neural network for real-time computing.
The pulse passing through the threshold value is adjusted, so that the method is more consistent with biological characteristics, and the method can be effectively realized on a brain-like computing platform. Generally, a maximum pooling method used in a spiking neural network usually needs an intermediate layer, where the intermediate layer is used to record the number of spiking pulses or the accumulated voltage, and then connects the neuron with the maximum number of spiking pulses or the maximum accumulated voltage to the maximum pooled output layer, but the current brain-like computing platforms create connections in advance, so that the implementation of such a manner on a hardware platform is difficult. Furthermore, using the near-maximal pooling employed in the method of the present invention, more information can be retained than the maximal pooling method typically used in spiking neural networks.
Through the maximum pooling, the data volume of the lower layer can be effectively reduced, so that the calculation amount is reduced, and the calculation efficiency is improved.
Meanwhile, the maximal pooling is difficult to realize when the impulse neural network is deployed on a brain-like computing platform, so that the work of converting the conventional convolutional neural network in the image recognition field into the impulse neural network cannot be smoothly developed in an end-to-end mode all the time. And the brain-like computing platform has the advantage of low power consumption, and can complete the computation of large computation amount with low cost. The present method provides a practical solution for this.
Fig. 4 is a schematic structural diagram of an image recognition system based on a brain-like computing platform according to the present invention, and as shown in fig. 4, an image recognition system based on a brain-like computing platform includes:
a spiking neuralnetwork constructing module 201, configured to construct a spiking neural network; the impulse neural network comprises a convolutional layer, an approximate maximum pooling layer and a classifier which are connected in sequence, wherein the approximate maximum pooling layer comprises a pre-synaptic neuron cluster and a post-synaptic neuron cluster, the pre-synaptic neuron cluster comprises a plurality of neuron groups which are arranged in sequence, the number of pre-synaptic neurons in each neuron group is the same, pre-synaptic neurons in the ith neuron group in the pre-synaptic neuron cluster are all connected with the ith post-synaptic neurons in the post-synaptic neuron cluster, when the accumulated number of pulses input by the pre-synaptic neurons in the ith neuron group exceeds a set threshold value, the ith post-synaptic neurons issue one-time pulses, the pre-synaptic neurons in the pre-synaptic neuron cluster are connected with the convolutional layer, and the post-synaptic neurons are connected with the classifier.
And the impulse neuralnetwork training module 202 is configured to train the impulse neural network for image recognition, so as to obtain a trained impulse neural network.
And the spiking neuralnetwork deployment module 203 is used for deploying the trained spiking neural network to the brain-like computing platform.
And theimage recognition module 204 is used for performing image recognition by adopting a pulse neural network deployed on a brain-like computing platform.
The input of the impulse neural network is a one-dimensional pulse sequence.
There is a full connection between the approximate maximum pooling layer and the classifier.
The spiking neuralnetwork training module 202 specifically includes:
and the impulse neural network training unit is used for training the synaptic connection weight between the convolutional layer and the neuron approximating the maximum pooling layer and the synaptic connection weight between the neuron approximating the maximum pooling layer and the neuron of the classifier in a back propagation mode, and storing each trained weight.
The threshold value is set to 2.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (10)

Translated fromChinese
1.一种基于类脑计算平台的图像识别方法,其特征在于,包括:1. an image recognition method based on a brain-like computing platform, is characterized in that, comprising:构建脉冲神经网络;所述脉冲神经网络包括依次连接的卷积层、近似最大池化层和分类器,所述近似最大池化层包括突触前神经元集群和突触后神经元集群,所述突触前神经元集群包括多个顺序排列的神经元组,各神经元组中突触前神经元数量相同,所述突触前神经元集群中第i个神经元组中突触前神经元均与所述突触后神经元集群中第i个突触后神经元连接,当第i个神经元组中突触前神经元输入的脉冲累计超过设定阈值时,第i个突触后神经元发放一次脉冲;Constructing a spiking neural network; the spiking neural network includes a convolutional layer, an approximate maximum pooling layer and a classifier connected in sequence, and the approximate maximum pooling layer includes a presynaptic neuron cluster and a post-synaptic neuron cluster, so The presynaptic neuron cluster includes a plurality of neuron groups arranged in sequence, the number of presynaptic neurons in each neuron group is the same, and the presynaptic neurons in the i-th neuron group in the presynaptic neuron cluster All neurons are connected to the i-th post-synaptic neuron in the post-synaptic neuron group, and when the accumulated pulses input by the pre-synaptic neurons in the i-th neuron group exceed the set threshold, the i-th synapse The posterior neuron fires a pulse;对所述脉冲神经网络进行图像识别的训练,获得训练好的脉冲神经网络;Perform image recognition training on the spiking neural network to obtain a trained spiking neural network;将训练好的脉冲神经网络部署到类脑计算平台;Deploy the trained spiking neural network to the brain-like computing platform;采用部署到类脑计算平台上的脉冲神经网络进行图像识别。Image recognition is performed using a spiking neural network deployed on a brain-like computing platform.2.根据权利要求1所述的基于类脑计算平台的图像识别方法,其特征在于,所述脉冲神经网络的输入为一维脉冲序列。2 . The image recognition method based on a brain-like computing platform according to claim 1 , wherein the input of the spiking neural network is a one-dimensional pulse sequence. 3 .3.根据权利要求1所述的基于类脑计算平台的图像识别方法,其特征在于,所述近似最大池化层和所述分类器之间为全连接。3 . The image recognition method based on a brain-like computing platform according to claim 1 , wherein the approximate maximum pooling layer and the classifier are fully connected. 4 .4.根据权利要求1所述的基于类脑计算平台的图像识别方法,其特征在于,所述对所述脉冲神经网络进行图像识别的训练,获得训练好的脉冲神经网络,具体包括:4. The image recognition method based on a brain-like computing platform according to claim 1, wherein the training of image recognition is carried out to the spiking neural network to obtain a trained spiking neural network, specifically comprising:通过反向传播的方式,训练所述卷积层到所述近似最大池化层的神经元之间的突触连接权重和所述近似最大池化层到所述分类器的神经元之间的突触连接权重,将训练好的各权重进行存储。By means of backpropagation, the synaptic connection weights between the neurons from the convolutional layer to the approximate max pooling layer and the weights of the synaptic connections between the neurons from the approximate max pooling layer to the classifier are trained. The weights of synaptic connections are stored, and the trained weights are stored.5.根据权利要求1所述的基于类脑计算平台的图像识别方法,其特征在于,所述设定阈值为2。5 . The image recognition method based on a brain-like computing platform according to claim 1 , wherein the set threshold is 2. 6 .6.一种基于类脑计算平台的图像识别系统,其特征在于,包括:6. An image recognition system based on a brain-like computing platform, comprising:脉冲神经网络构建模块,用于构建脉冲神经网络;所述脉冲神经网络包括依次连接的卷积层、近似最大池化层和分类器,所述近似最大池化层包括突触前神经元集群和突触后神经元集群,所述突触前神经元集群包括多个顺序排列的神经元组,各神经元组中突触前神经元数量相同,所述突触前神经元集群中第i个神经元组中突触前神经元均与所述突触后神经元集群中第i个突触后神经元连接,当第i个神经元组中突触前神经元输入的脉冲累计超过设定阈值时,第i个突触后神经元发放一次脉冲;A spiking neural network building block for constructing a spiking neural network; the spiking neural network includes a convolutional layer connected in sequence, an approximate max pooling layer, and a classifier, and the approximate max pooling layer includes a presynaptic neuron cluster and A post-synaptic neuron cluster, the pre-synaptic neuron cluster includes a plurality of neuron groups arranged in sequence, the number of pre-synaptic neurons in each neuron group is the same, and the i-th neuron in the pre-synaptic neuron cluster The presynaptic neurons in the neuron group are all connected with the i-th post-synaptic neuron in the post-synaptic neuron group. At the threshold, the i-th postsynaptic neuron emits a pulse;脉冲神经网络训练模块,用于对所述脉冲神经网络进行图像识别的训练,获得训练好的脉冲神经网络;an spiking neural network training module, which is used to perform image recognition training on the spiking neural network to obtain a trained spiking neural network;脉冲神经网络部署模块,用于将训练好的脉冲神经网络部署到类脑计算平台;The spiking neural network deployment module is used to deploy the trained spiking neural network to the brain-like computing platform;图像识别模块,用于采用部署到类脑计算平台上的脉冲神经网络进行图像识别。The image recognition module is used for image recognition using the spiking neural network deployed on the brain-like computing platform.7.根据权利要求6所述的基于类脑计算平台的图像识别系统,其特征在于,所述脉冲神经网络的输入为一维脉冲序列。7 . The image recognition system based on a brain-like computing platform according to claim 6 , wherein the input of the spiking neural network is a one-dimensional pulse sequence. 8 .8.根据权利要求6所述的基于类脑计算平台的图像识别系统,其特征在于,所述近似最大池化层和所述分类器之间为全连接。8 . The image recognition system based on a brain-like computing platform according to claim 6 , wherein the approximate maximum pooling layer and the classifier are fully connected. 9 .9.根据权利要求6所述的基于类脑计算平台的图像识别系统,其特征在于,所述脉冲神经网络训练模块,具体包括:9. The image recognition system based on a brain-like computing platform according to claim 6, wherein the spiking neural network training module specifically comprises:脉冲神经网络训练单元,用于通过反向传播的方式,训练所述卷积层到所述近似最大池化层的神经元之间的突触连接权重和所述近似最大池化层到所述分类器的神经元之间的突触连接权重,将训练好的各权重进行存储。a spiking neural network training unit, configured to train the synaptic connection weights between the neurons from the convolutional layer to the approximate max pooling layer and the approximate max pooling layer to the The weights of the synaptic connections between the neurons of the classifier are stored in the trained weights.10.根据权利要求6所述的基于类脑计算平台的图像识别系统,其特征在于,所述设定阈值为2。10 . The image recognition system based on a brain-like computing platform according to claim 6 , wherein the set threshold is 2. 11 .
CN202111584185.1A2021-12-232021-12-23 An image recognition method and system based on a brain-like computing platformActiveCN113962371B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111584185.1ACN113962371B (en)2021-12-232021-12-23 An image recognition method and system based on a brain-like computing platform

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111584185.1ACN113962371B (en)2021-12-232021-12-23 An image recognition method and system based on a brain-like computing platform

Publications (2)

Publication NumberPublication Date
CN113962371Atrue CN113962371A (en)2022-01-21
CN113962371B CN113962371B (en)2022-05-20

Family

ID=79473713

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111584185.1AActiveCN113962371B (en)2021-12-232021-12-23 An image recognition method and system based on a brain-like computing platform

Country Status (1)

CountryLink
CN (1)CN113962371B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114202068A (en)*2022-02-172022-03-18浙江大学Self-learning implementation system for brain-like computing chip
CN114399033A (en)*2022-03-252022-04-26浙江大学 Brain-like computing system and computing method based on neuron instruction coding
CN115063597A (en)*2022-07-112022-09-16北京理工大学 An image recognition method based on brain-like learning

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110210563A (en)*2019-06-042019-09-06北京大学The study of pattern pulse data space time information and recognition methods based on Spike cube SNN
CN110378476A (en)*2019-07-112019-10-25中国人民解放军国防科技大学 Approximate realization method, system and medium for max pooling layer of spiking convolutional neural network
US20200210807A1 (en)*2017-07-252020-07-02Commissariat A L'Energie Atomique Et Aux Energie AlternativesComputer for spiking neural network with maximum aggregation
CN111858989A (en)*2020-06-092020-10-30西安工程大学 An attention-based spiking convolutional neural network for image classification
CN112784976A (en)*2021-01-152021-05-11中山大学Image recognition system and method based on impulse neural network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20200210807A1 (en)*2017-07-252020-07-02Commissariat A L'Energie Atomique Et Aux Energie AlternativesComputer for spiking neural network with maximum aggregation
CN110210563A (en)*2019-06-042019-09-06北京大学The study of pattern pulse data space time information and recognition methods based on Spike cube SNN
CN110378476A (en)*2019-07-112019-10-25中国人民解放军国防科技大学 Approximate realization method, system and medium for max pooling layer of spiking convolutional neural network
CN111858989A (en)*2020-06-092020-10-30西安工程大学 An attention-based spiking convolutional neural network for image classification
CN112784976A (en)*2021-01-152021-05-11中山大学Image recognition system and method based on impulse neural network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114202068A (en)*2022-02-172022-03-18浙江大学Self-learning implementation system for brain-like computing chip
CN114399033A (en)*2022-03-252022-04-26浙江大学 Brain-like computing system and computing method based on neuron instruction coding
CN115063597A (en)*2022-07-112022-09-16北京理工大学 An image recognition method based on brain-like learning
CN115063597B (en)*2022-07-112024-07-26北京理工大学Image recognition method based on brain-like learning

Also Published As

Publication numberPublication date
CN113962371B (en)2022-05-20

Similar Documents

PublicationPublication DateTitle
CN107092959B (en)Pulse neural network model construction method based on STDP unsupervised learning algorithm
CN113962371A (en) An image recognition method and system based on a brain-like computing platform
US11138495B2 (en)Classifying features using a neurosynaptic system
US6009418A (en)Method and apparatus for neural networking using semantic attractor architecture
CN110555523A (en)short-range tracking method and system based on impulse neural network
KR20170031695A (en)Decomposing convolution operation in neural networks
CN105874477A (en)Configuring sparse neuronal networks
CN112906828A (en)Image classification method based on time domain coding and impulse neural network
WO2015167765A2 (en)Temporal spike encoding for temporal learning
CN111860975A (en) A Generative Adversarial Network-Based Approach for Near-Rain Prediction
CN114490065A (en) A load prediction method, device and equipment
US20240257943A1 (en)Training method of brain activity state classification model, brain activity state classification method, device, and storage medium
CN110188621B (en) A 3D Facial Expression Recognition Method Based on SSF-IL-CNN
Abed et al.High Accuracy Arabic Handwritten Characters Recognition Using Error Back Propagation Artificial Neural Networks
Fatahi et al.Towards an spiking deep belief network for face recognition application
CN118316033A (en) Power load forecasting method based on CNN-GRU and ARIMA model
CN115018134A (en) A pedestrian trajectory prediction method based on three-scale spatiotemporal information
CN114548290B (en) Synaptic Convolutional Spiking Neural Network for Event Stream Classification
CN109670582B (en)Design method of full-fixed-point neural network
CN111476367B (en) A task-split spiking neural network structure prediction and network anti-interference method
CN113988281A (en)Long-short time memory network implementation method based on memristor structure
JP7230324B2 (en) Neural network learning method, computer program and computer device
CN113033782A (en)Method and system for training handwritten number recognition model
CN117634580A (en)Data processing method, training method and related equipment of neural network model
EP4386629A1 (en)Monostable multivibrators-based spiking neural network training method

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20250324

Address after:Room 603-1, Building C, No. 300 Zhihui Road, Qilin Science and Technology Innovation Park, Nanjing City, Jiangsu Province 211135

Patentee after:Zhongke Weishi Technology (Nanjing) Co.,Ltd.

Country or region after:China

Address before:5 / F, building 1, Qilin artificial intelligence Industrial Park, 266 Chuangyan Road, Jiangning District, Nanjing City, Jiangsu Province

Patentee before:Zhongke Nanjing Intelligent Technology Research Institute

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp