Neural network device, generation device, information processing method, generation method, and program

The neural network device and method convert artificial neural networks into spiking neural networks using a temporal spiking neuron model with a delay mechanism, achieving high-precision processing with reduced power consumption by setting weights and adjusting spike times, resulting in a simpler and more efficient spiking neural network configuration.

JP7540509B2Active Publication Date: 2024-08-27NEC CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2022568020
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-11
Publication Date
2024-08-27
Estimated Expiration
2040-12-11

AI Technical Summary

Technical Problem

Existing spiking neural networks face challenges in achieving high-precision processing while minimizing power consumption, and there is a need for a simpler configuration that can convert artificial neural networks into spiking neural networks effectively.

Method used

A neural network device and method that utilizes a temporal spiking neuron model with a delay mechanism to set weights and adjust spike times, ensuring equivalent calculations to artificial neural networks without leakage current, allowing for a simpler spiking neural network configuration.

Benefits of technology

Enables high-precision processing with reduced power consumption by generating a spiking neural network equivalent to an artificial neural network, maintaining computational accuracy while minimizing power usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007540509000037
    Figure 0007540509000037
  • Figure 0007540509000032
    Figure 0007540509000032
  • Figure 0007540509000024
    Figure 0007540509000024
Patent Text Reader

Abstract

This neural network device is provided with: a time-scheme spiking neuron model means that outputs a signal when the internal state quantity, which is time-developed in accordance with a signal input clock time, becomes not less than a threshold value; and a delay means that outputs a signal obtained by changing, by set time, a spike clock time represented in the form of a relative clock time with respect to a reference clock time, by the output signal of the time-scheme spiking neuron model means.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a neural network device, a generating device, an information processing method, a generating method, and program Regarding. [Background technology]

[0002] One type of neural network is a spiking neural network (see, for example, Patent Document 1). In a spiking neural network, a neuron model has an internal state called a membrane potential, and outputs a signal called a spike based on the time evolution of the membrane potential. For example, when implementing a neural network in hardware, a spiking neural network is expected to consume less power during calculations than a neural network that uses a neuron model that does not have an internal state and performs calculations that do not include a time element (called an artificial neural network). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Special Publication No. 2013-546065 Summary of the Invention [Problem to be solved by the invention]

[0004] If we could generate a spiking neural network equivalent to an artificial neural network, we could use the artificial neural network to perform highly accurate learning, and then generate an equivalent spiking neural network. This would enable us to achieve both highly accurate processing and reduced power consumption. When generating a spiking neural network equivalent to an artificial neural network, it is preferable that the configuration of the spiking neural network is as simple as possible.

[0005] One object of the present invention is to provide a neural network device, a generating device, an information processing method, a generating method, and program The purpose of this project is to provide [Means for solving the problem]

[0006] According to a first aspect of the present invention, a neural network device outputs a signal when an internal state quantity that evolves over time according to a signal input time becomes equal to or greater than a threshold value. , no leakage current a time-based spiking neuron model means, and a spike time indicated by an output signal of the time-based spiking neuron model means as a relative time with respect to a reference time, a delay amount common to the time-based spiking neuron model means in the same layer so that the delay time of the output signal does not become negative when the weights for the input signal to the time-based spiking neuron model means are set so that the time-based spiking neuron model means performs a calculation equivalent to the weighting sum and bias addition for the input signal in the artificial neuron model to be calculated; Only for a set time delay and a delay means for outputting the delayed signal.

[0007] According to a second aspect of the present invention, a generating device outputs a signal when an internal state quantity that evolves over time according to a signal input time becomes equal to or greater than a threshold. , no leakage current a time-based spiking neuron model means for detecting spike times indicated by an output signal of the time-based spiking neuron model means as relative times to a reference time for a set period of time; delay a delay means for outputting a delayed signal generated by the time-based spiking neuron model means; for Weight, a weighting factor for the input signal to the time-based spiking neuron model means such that a value obtained by dividing the weighting factor by the sum of all weights in the time-based spiking neuron model means is equal to a weighting factor in the artificial neuron model to be calculated; Weight of a weight setting means for setting the set time in the delay means, and a weight setting means for setting the set time in the delay means based on an input signal to the time-based spiking neuron model means Under the above-mentioned setting of the weights for, the delay time of the output signal is determined as a common delay amount for the time-based spiking neuron model means in the same layer so that the delay time of the output signal does not become negative. and a delay setting means for setting the delay time.

[0008] According to a third aspect of the present invention, an information processing method includes: The neural network device is a time-domain spiking neuron model with no leakage current. When an internal state quantity that evolves over time according to a signal input time becomes equal to or greater than a threshold, a first signal is output. A spike time indicated by the first signal as a relative time with respect to a reference time is calculated as follows: A delay amount common to the time-based spiking neuron model means in the same layer is set so that the delay time of the output signal does not become negative when the weights for the input signal to the time-based spiking neuron model are set so that the time-based spiking neuron model performs a calculation equivalent to the weighting sum and bias addition for the input signal in the artificial neuron model to be calculated. Only for a set time delayand outputting a second signal.

[0009] According to a fourth aspect of the present invention, a neural network generating method includes outputting a signal when an internal state quantity that evolves over time according to a signal input time becomes equal to or greater than a threshold value. , no leakage current A neural network is generated comprising a time-based spiking neuron model means and a delay means for outputting a signal obtained by changing, by a set time, a spike time indicated by an output signal of the time-based spiking neuron model means in terms of a relative time with respect to a reference time, and for Weight of , a weighting factor for the input signal to the time-based spiking neuron model means such that a value obtained by dividing the weighting factor by the sum of all weights in the time-based spiking neuron model means is equal to a weighting factor in the artificial neuron model to be calculated; Weight of and delaying the set time in the delay means to a time-domain spiking neuron model input signal. Under the above-mentioned setting of the weights for, the delay time of the output signal is determined as a common delay amount for the time-based spiking neuron model means in the same layer so that the delay time of the output signal does not become negative. and setting the time.

[0010] According to a fifth aspect of the present invention, program to the computer, A time-domain spiking neuron model without leakage current When an internal state quantity that evolves over time according to a signal input time becomes equal to or greater than a threshold, a first signal is output. A spike time indicated by the first signal as a relative time with respect to a reference time is calculated as follows: A delay amount common to the time-based spiking neuron model means in the same layer is set so that the delay time of the output signal does not become negative when the weights for the input signal to the time-based spiking neuron model are set so that the time-based spiking neuron model performs a calculation equivalent to the weighting sum and bias addition for the input signal in the artificial neuron model to be calculated. Only for a set time delay and outputting a second signal generated by the first signal.

[0011] According to a sixth aspect of the present invention, program outputs a signal to a computer when the internal state quantity that evolves over time according to the signal input time exceeds a threshold value. , no leakage current A neural network is generated comprising a time-based spiking neuron model means and a delay means for outputting a signal obtained by changing, by a set time, a spike time indicated by an output signal of the time-based spiking neuron model means in terms of a relative time with respect to a reference time, and for Weight of , a weighting factor for the input signal to the time-based spiking neuron model means such that a value obtained by dividing the weighting factor by the sum of all weights in the time-based spiking neuron model means is equal to a weighting factor in the artificial neuron model to be calculated; Weight ofand delaying the set time in the delay means to a time-domain spiking neuron model input signal. Under the above-mentioned setting of the weights for, the delay time of the output signal is determined as a common delay amount for the time-based spiking neuron model means in the same layer so that the delay time of the output signal does not become negative. It is a program for setting the time and executing it. Effect of the Invention

[0012] The above-mentioned neural network device, generation device, information processing method, generation method, and program According to this, it is possible to make the configuration of a spiking neural network equivalent to an artificial neural network relatively simple. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a schematic block diagram illustrating an example of the configuration of a neural network generation device according to an embodiment. [Diagram 2] FIG. 1 is a diagram illustrating an example of a hierarchical structure of a forward propagation type neural network. [Diagram 3] FIG. 1 is a diagram illustrating an example of the configuration of a forward propagation neural network. [Figure 4] FIG. 2 illustrates a ramp function. [Diagram 5] FIG. 1 is a schematic block diagram showing an example of the configuration of an artificial neuron model. [Figure 6] FIG. 1 shows an example of the time evolution of the membrane potential of a spiking neuron. [Figure 7] FIG. 13 illustrates an example of a spike in the time domain. [Figure 8] FIG. 2 is a diagram illustrating an example of a correspondence relationship between an artificial neural network and a spiking neural network according to an embodiment. [Figure 9] FIG. 2 is a diagram illustrating an example of the configuration of a t-ReLU layer according to the embodiment. [Figure 10] FIG. 13 is a diagram illustrating an example of input and output times of spikes in a t-ReLU layer according to the embodiment. [Figure 11]FIG. 1 is a schematic block diagram showing a configuration example of a time-adjusted spiking neuron model according to an embodiment. [Figure 12] FIG. 1 is a diagram illustrating a configuration example of a time-based spiking neuron model according to an embodiment. [Figure 13] FIG. 1 is a schematic diagram illustrating a configuration example of a synapse circuit according to an embodiment. [Figure 14] 1 is a flowchart illustrating an example of a processing procedure for converting an artificial neural network into a spiking neural network by the neural network generation device according to the embodiment. [Figure 15] FIG. 1 is a schematic block diagram illustrating a configuration example of a neuron model generating device according to an embodiment. [Figure 16] 1 is a flowchart illustrating an example of a processing procedure in which the neuron model generating device according to the embodiment converts an artificial neuron model into a time-adjusted spiking neuron model. [Figure 17] FIG. 1 is a diagram showing an example of spike output times in a spiking neural network according to an embodiment. [Figure 18] FIG. 2 is a diagram showing examples of spike output times in an artificial neural network and a spiking neural network according to an embodiment. [Figure 19] FIG. 13 is a diagram showing an example of time evolution of the membrane potential of a hidden layer neuron model when a delay time is reflected in the embodiment. [Figure 20] FIG. 13 is a diagram showing an example of time evolution of the membrane potential of a hidden layer neuron model when a delay time is not reflected in the embodiment. [Figure 21] FIG. 13 is a diagram showing an example of time evolution of the membrane potential of a neuron model of an output layer when a delay time is reflected in the embodiment. [Figure 22] FIG. 13 is a diagram showing an example of time evolution of the membrane potential of the neuron model of the output layer when the delay time is not reflected in the embodiment. [Figure 23] FIG. 1 is a diagram illustrating an example of the configuration of a neural network device according to an embodiment. [Figure 24]FIG. 1 is a diagram illustrating an example of the configuration of a generating device according to an embodiment. [Diagram 25] FIG. 1 is a diagram illustrating an example of a processing procedure in an information processing method according to an embodiment. [Figure 26] FIG. 11 is a diagram illustrating an example of a processing procedure in a generation method according to an embodiment. [Figure 27] FIG. 1 is a schematic block diagram illustrating a configuration of a computer according to at least one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] The following describes embodiments of the present invention, but the following embodiments do not limit the scope of the invention. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention. 1 is a schematic block diagram showing an example of the configuration of a neural network generation device according to an embodiment. In the configuration shown in FIG. 1, a neural network generation device 10 includes a base network generation unit 11, a weight setting unit 12, and a delay setting unit 13. The neural network generator is also simply referred to as the generator.

[0015] The neural network generating device 10 acquires configuration information of a non-memory type neural network 110, and generates a spiking neural network (SNN) 120 equivalent to the non-memory type neural network. The neural network generating device 10 may generate a spiking neural network device as the spiking neural network 120.

[0016] Here, two neural networks being equivalent means that the two neural networks can be considered to output the same information when the same information is input. "Consideration" here means that the information expression format can be different.

[0017] In addition, errors due to differences in the format of neural networks and differences in the format of information expression are allowed. For example, two neural networks being equivalent may mean that the two neural networks theoretically output the same information in response to the same information being input.

[0018] Here, a neuron model that calculates the weighted sum of input values, inputs the calculated sum or the sum plus a bias value to an activation function, and outputs the obtained function value is called a non-memory type neuron model. A neural network constructed using a non-memory type neuron model is called a non-memory type neural network. A non-memory neural network is also called an artificial neural network (ANN). A non-memory neuron model is also called an artificial neuron model.

[0019] The spiking neural network referred to here is a neural network constructed using a spiking neuron model. The spiking neuron model referred to here is a general term for neuron models that output binary signals called spikes based on the internal state that evolves over time. The binary signal referred to here may be an on / off signal. The internal state in the spiking neuron model is called the membrane potential.

[0020] The spiking neural network 120 generated by the neural network generation device 10 has a structure for making it a neural network equivalent to the artificial neural network 110, as described later. The spiking neural network 120 having a structure for making it a neural network equivalent to the artificial neural network 110 is also called a time adjustment type spiking neural network. The neuron model used in the time adjustment type spiking neural network is also called a time adjustment type spiking neuron model.

[0021] The neural network device here is a device in which a neural network is implemented. The neural network may be implemented using dedicated hardware, or may be implemented as software using a computer or the like. A device in which an artificial neural network is implemented is also called an artificial neural network device. A device in which a spiking neural network is implemented is also called a spiking neural network device.

[0022] (On forward propagation neural networks) The neural network generation device 10 handles a feedforward neural network. That is, the neural network generation device 10 acquires configuration information of a feedforward artificial neural network 110 and generates a feedforward spiking neural network 120 equivalent to the artificial neural network 110.

[0023] The feedforward propagation type is a type of network in which information is transmitted in one direction from layer to layer. Each layer of a feedforward propagation type neural network consists of one or more neuron models, and there are no connections between neuron models in the same layer.

[0024] Fig. 2 is a diagram showing an example of a hierarchical structure of a feedforward propagation neural network. As shown in Fig. 2, a feedforward propagation neural network 200 is configured in a hierarchical structure, receives data input, and outputs a calculation result. The calculation result output by the neural network is also called a predicted value or prediction.

[0025] The first layer of a feedforward neural network is called the input layer, and the last layer is called the output layer. The layers between the input layer and the output layer are called hidden layers. The number of hidden layers can be zero or more. Therefore, a feedforward neural network does not have to have hidden layers. 2, the forward propagation neural network 200 includes an input layer 211, a hidden layer 212, and an output layer 213. The input layer 211, the hidden layer 212, and the output layer 213 are collectively referred to as layer 210.

[0026] 3 is a diagram showing an example of the configuration of a forward propagation neural network 200. FIG. 3 shows an example in which the forward propagation neural network 200 includes four layers 210: an input layer 211, two hidden layers 212, and an output layer 213. When distinguishing between the two hidden layers 212, the upper layer is denoted as hidden layer 212-1, and the lower layer is denoted as hidden layer 212-2. The upper layer here is the side closer to the input layer 211. The lower layer is the side closer to the output layer 213.

[0027] 3 shows an example in which each of the four layers 210 has three nodes 220. However, the number of nodes 220 included in the feed forward neural network 200 is not limited to a specific number, and each layer 210 may have one or more nodes 220. All layers 210 may have the same number of nodes 220, or each layer 210 may have a different number of nodes 220.

[0028] 3, nodes of two adjacent layers 210 are connected by an edge 230. The edge 230 conveys signals from a node in a higher layer to a node in a lower layer. Between two adjacent layers 210, all combinations of nodes 220 in an upper layer and nodes 220 in a lower layer may be connected by edges 230. Alternatively, there may be combinations that are not connected by edges 230.

[0029] Among the nodes 220, the nodes 220 in the input layer 211 distribute input signals to the nodes 220 in the next layer 210. The nodes 220 in the input layer 211 are also referred to as input nodes 221. On the other hand, a neuron model is used for both the nodes 220 in the hidden layer 212 and the nodes 220 in the output layer 213. The nodes 220 in the hidden layer 212 and the nodes 220 in the output layer 213 are also collectively referred to as neuron model nodes 222. The hidden layer 212 and the output layer 213 are also collectively referred to as the neuron model layer 214.

[0030] In the artificial neural network 110, an artificial neuron model is used as the neuron model node 222. In the spiking neural network 120, a spiking neuron model is used as the neuron model node 222.

[0031] Hereinafter, when there is no need to distinguish between the input node 221 and the neuron model node 222, the node 220 will be treated as a neuron model. In particular, when the neuron model constituting the lower layer node 220 obtains a signal from the upper layer node 220, whether the upper layer node 220 is the input node 221 or the neuron model node 222, they are the same in that they output a signal, and there is no need to distinguish between them for the purpose of explanation. In this case, the upper layer node 220 will be described as a neuron model.

[0032] (About Artificial Neural Networks) As described above, the artificial neural network 110 is a neural network constructed using an artificial neuron model that calculates a weighted sum of input values, inputs the calculated sum or a value obtained by adding a bias value to the sum to an activation function, and outputs the obtained function value. The output value of the artificial neuron model is expressed as equation (1).

[0033]

number

[0034] x (l) i represents the output of the i-th artificial neuron model in the l-th layer. (l) ij is a coefficient indicating the strength of the connection from the j-th artificial neuron model in the l-1th layer to the i-th artificial neuron model in the l-1th layer, and is called the weight. If the j-th artificial neuron model in the l-1th layer and the i-th artificial neuron model in the l-1th layer are not connected by an edge 230, this is called w (l) ij This is expressed as =0. "Σ j w (l) ij x (l-1) j " represents the weighted sum of the above input values. (l) i is called the bias term and indicates the bias value above. f represents the activation function.

[0035] In the training phase, the weights w (l) ij The value of and the bias term b (l) i The value of is subject to update through learning. The transformation of the part of the transformation shown in equation (1) excluding the activation function can be understood as an affine transformation, and is shown as equation (2).

[0036]

number

[0037] x (l-1) is the vector of outputs of the l-1th layer artificial neuron model (x (l-1) 1,···,x (l-1) N(l-1) ) stands for N (l-1) indicates the number of artificial neuron models in the l-1th layer. "Affine" is an affine function (a function that indicates an affine transformation). In the following, a case where a ramp function is used as the activation function f will be described as an example. The ramp function is also called a rectified linear function.

[0038] FIG. 4 is a diagram illustrating a ramp function. The horizontal axis of the graph in FIG. 4 shows the input to the ramp function, i.e., the argument value of the ramp function. The vertical axis shows the output of the ramp function, i.e., the function value of the ramp function. As shown in FIG. 4, the ramp function is represented by ReLU. Also, in FIG. 4, the input to the ramp function is represented by x. 4, when the input x is x≧0, ReLU(x)=x. On the other hand, when the input x is x<0, ReLU(x)=0. The ramp function ReLU is expressed as in Equation (3).

[0039]

number

[0040] "max" is a function that outputs the maximum value among its arguments. However, the activation function in the artificial neuron model is not limited to a ramp function, and various functions that can be expressed in a time system, as described below, can be used as the activation function in the artificial neuron model.

[0041] 5 is a schematic block diagram showing an example of the configuration of an artificial neuron model 111. In the configuration shown in FIG. The affine transformation unit 112 performs a weighted sum of the inputs to the artificial neuron model 111 and adds a bias value to the obtained sum. For example, the affine transformation unit 112 performs Affine(x (l-1) ) is calculated.

[0042] The activation function unit 113 calculates an activation function in the artificial neuron model 111. For example, the activation function unit 113 calculates Affine(x (l-1) ) is input to the ramp function ReLU, and the function value ReLU(Affine(x (l-1) ) is calculated.

[0043] (About Spiking Neural Networks) As described above, a spiking neural network is a neural network constructed using a spiking neuron model. The spiking neuron model outputs binary signals called spikes based on the internal state that evolves over time.

[0044] In this way, the spiking neuron model mimics the signal integration and spike generation (firing) by the soma of a biological neuron. For example, in the leaky integrate-and-fire neuron model, which is one of the spiking neuron models, the membrane potential evolves over time according to a differential equation such as equation (1).

[0045]

number

[0046] v (n) i denotes the membrane potential in the i-th spiking neuron model in the n-th layer. leakis the coefficient of the constant that indicates the magnitude of leakage in the leaky integrate-and-fire model. I (n) i denotes the postsynaptic current in the ith spiking neuron model in the nth layer. (n) ij is a coefficient indicating the strength of the connection from the jth spiking neuron model in the (n-1)th layer to the ith spiking neuron model in the nth layer, and is called the weight. t indicates the time. (n-1) j indicates the firing timing (firing time) of the j-th neuron in the (n-1)th layer. r(·) is a function that indicates the effect of the spike transmitted from the previous layer on the postsynaptic current.

[0047] The membrane potential is at threshold V th When the threshold V is reached, the spiking neuron model outputs a spike. th is the threshold value that simulates an action potential. As mentioned above, a spike is a binary signal that a spiking neuron model outputs. The output of a spike by a spiking neuron model is also called firing. Depending on the type of spiking neuron model, after firing, the membrane potential is reset to a reset value V reset It may be possible to return to The spikes output by a spiking neuron model are transmitted to the spiking neuron models in the lower layer that are connected to that spiking neuron model.

[0048] FIG. 6 is a diagram showing an example of the time evolution of the membrane potential of a spiking neuron. The horizontal axis of the graph in FIG. 6 indicates time, and the vertical axis indicates the membrane potential. FIG. 6 shows an example of the time evolution of the membrane potential of the i-th spiking neuron in the n-th layer, where the membrane potential is v (n) i It is expressed as follows.

[0049] As mentioned above, V th indicates the membrane potential threshold. V reset indicates the reset value of the membrane potential. (n-1)1 indicates the firing timing of the first neuron in the n-1th layer. (n-1) 2 indicates the firing timing of the second neuron in the n-1th layer. (n-1) 3 indicates the firing timing of the third neuron in the n-1th layer.

[0050] time t (n-1) The first firing in 1 and time t (n-1) In the third firing in 3, both have membrane potential v (n) i is the threshold V th On the other hand, at time t (n-1) In the second firing at 2, the membrane potential v (n) i is the threshold V th and then immediately afterwards, the reset value V reset has declined to.

[0051] It is expected that spiking neural networks, when implemented as hardware using CMOS (Complementary MOS) etc., will consume less power than deep learning models. One of the reasons for this is that the human brain is a low-power computing medium equivalent to 30 watts (W), and spiking neural networks can mimic the activity of such a low-power brain. For example, spiking neural networks use binary signals, which consume less power than analog signals in artificial neural networks.

[0052] (On the information transmission method in spiking neural networks) The neural network generation device 10 uses a time method as an information transmission method in the spiking neural network 120. In the time method, information is transmitted at the timing of firing.

[0053] Fig. 7 is a diagram showing an example of a spike in the time system. The horizontal axis in Fig. 7 indicates time. Specifically, the horizontal axis indicates a relative time with respect to time "0" which is a reference time. The vertical axis indicates a signal value. FIG. 7 shows three examples, one for firing at time "1", one for firing at time "3", and one for firing at time "5". In the time method, the spiking neuron model can indicate quantitative information by the firing time. For example, the spike may indicate the numerical value of the firing time, such as a spike that fires at time "3" indicating the numerical value "3". In other words, the spiking neuron model may indicate the numerical value by the length of time between the reference time and the firing time. The firing times are not limited to integer times, and the spiking neuron model may be configured to indicate real values ​​according to the firing times.

[0054] In FIG. 7, a step signal is used as a spike, but this is not limiting. Spikes of various shapes that can indicate the firing time can be used. For example, a pulse signal that rises and then falls a certain time later can be used as a spike. In this case, it is expected that the power consumption by the signal can be further reduced compared to the case of a step signal by turning off the signal.

[0055] In addition, in a time-based approach, each spiking neuron model may fire at most once, which reduces the power consumption of the signal compared to a frequency-based approach where the number of spikes is used as a numerical value. A time-based spiking neural network is also called a time-based spiking neural network. A time-based spiking neuron is also called a time-based spiking neuron.

[0056] (On learning in spiking neural networks) As described above, the spiking neural network 120 is expected to consume less power than the artificial neural network 110. On the other hand, it is believed that the artificial neural network 110 can more easily perform high-precision learning than the spiking neural network 120.

[0057] Therefore, the neural network generation device 10 may generate a spiking neural network 120 equivalent to the trained artificial neural network 110. For example, the neural network generation device 10 may generate a spiking neural network 120 equivalent to the trained artificial neural network 110 as a spiking neural network device. This makes it possible to achieve both highly accurate calculation and reduced power consumption.

[0058] (About spiking neural networks, which are equivalent to artificial neural networks) 8 is a diagram showing an example of the correspondence between the artificial neural network 110 and the spiking neural network 120. In order to generate a spiking neural network 120 equivalent to the artificial neural network 110, one layer of the neural network is further subdivided into multiple layers. 8 shows an example of the configuration of one neuron model layer 214 in the forward propagation neural network 200. As described above, the neuron model layer 214 is the hidden layer 212 or the output layer 213.

[0059] In the following, generating a spiking neural network 120 equivalent to the artificial neural network 110 is also referred to as converting the artificial neural network 110 into the spiking neural network 120. Generating a part of the spiking neural network 120 that corresponds to a part of the artificial neural network 110 is also referred to as converting (that part).

[0060] In the following, one neuron model layer 214 in the artificial neural network 110 is referred to as a target layer, and a case will be described in which the neural network generation device 10 converts the target layer into a neuron model layer 214 of the spiking neural network 120. The neural network generation device 10 converts each of all neuron model layers 214 included in the artificial neural network 110 into a neuron model layer 214 of the spiking neural network 120.

[0061] In the case of the artificial neural network 110 , one neuron model layer 214 can be further understood as a combination of an affine transformation layer 231 and a ReLU layer 232 . An example of the affine transformation layer 231 is a layer consisting of the affine transformation units 112 of all the artificial neuron models 111 included in one neuron model layer 214 . An example of the ReLU layer 232 is a layer in which the activation function units 113 of all the artificial neuron models 111 included in one neuron model layer 214 are collectively regarded as a layer.

[0062] The neural network generation device 10 provides the affine transformation layer 231 with a set spike generator 241, a time-based spiking neuron layer 242, and a delay layer 243. The neural network generation device 10 also provides the ReLU layer 232 with a t-ReLU layer 244. The time-based spiking neuron layer 242 includes a time-based spiking neuron model. The neural network generation device 10 generates the time-based spiking neuron layer 242 including the same number of time-based spiking neuron models as the number of the artificial neuron models 111 included in the target layer.

[0063] In the following, in order to make the formula easier to understand, it is assumed that the number of neuron models in the l-th layer, which is the target layer, is one, and the number of neuron models in the l-1-th layer is N. The notation l indicating the layer number and the notation i indicating the number of neuron models in the l-th layer are omitted. Also, the number of neuron models in the l-1-th layer is indicated by i instead of the above j.

[0064] When the number of artificial neuron models in the target layer of the artificial neural network 110 is two or more, the neural network generation device 10 may perform the process described below for each artificial neuron model in the target layer. When the number of neuron model layers 214 in the artificial neural network 110 is two or more, the neural network generation device 10 may perform the process described below for each neuron model layer 214 as a target layer.

[0065] The neural network generator 10 determines the magnitude of the leak (α leak ) is zero for the time-based spiking neuron layer 242, and equation (4) is transformed into equation (5).

[0066]

number

[0067] t indicates time. v indicates membrane potential. w^ i represents the weight of the connection from the i-th spiking neuron in the upper layer. In equation (5), a step function θ is used as the function r in equation (4). The step function θ is expressed as equation (6).

[0068]

number

[0069] As shown in FIG. 8, each of the time-based spiking neuron models in the time-based spiking neuron layer 242 receives input of set spikes from a set spike generator 241 in addition to spikes from the upper layer. In equation (5), the spikes from the upper layer are represented by i = 1,...,N, and the set spikes are represented by i = 0. Specifically, t1,...,t N indicates the input time of the spike from the upper layer. t0 indicates the input time of the setting spike. The set spike generator 241 outputs a set spike at a set time (time t0) that does not depend on the value of the input data to the spiking neural network 120. The set time may be updatable by learning or the like.

[0070] Equation (7) can be obtained by integrating equation (5).

number

[0071] The firing time of this time-based spiking neuron model is expressed as v(t) = V th This can be expressed as equation (8).

[0072]

number

[0073] It is assumed that all input spikes have already been received by the time of firing. The delay layer 243 delays the output spike of the time-wise spiking neuron. If the delay time in the delay layer 243 is τ, the spike output time of the delay layer 243 is expressed as in Equation (9).

[0074]

number

[0075] The delay time τ can be set arbitrarily. In addition, for the affine transformation layer 231 of the artificial neural network 110, the input to the affine function “Affine” in equation (2) is x=(x1, x2, . . . , x n ), the output is shown as equation (10).

[0076]

number

[0077] Equation (10) corresponds to equation (2) in which the notations l and i, which indicate the layer and number of the spiking neuron, are omitted and j in equation (2) is written as i. Consider a spiking neural network 120 equivalent to the artificial neural network 110 , in which the output value of the affine transformation layer 231 of the artificial neural network 110 is represented by the spike output time of the delay layer 243 of the spiking neural network 120 . Specifically, the spike input time to the spiking neuron model is -x=(-x1,-x2,...,-x n ), the spike output time is -Σ i=1 N w i x i In equation (9), t i =-x i (i=1,2,…,N), and t=-Σ i=1 N w i x i As -b, we obtain equation (11).

[0078]

number

[0079] x i It is sufficient that equation (11) holds regardless of the value of W. i The condition is expressed as in equation (12).

[0080]

number

[0081] The condition b is expressed as in equation (13).

number

[0082] If equations (12) and (13) are satisfied, then x i Equation (11) holds true regardless of the value of The delay time τ in equation (13) can take any value. It is easy to satisfy equation (13) by adjusting the value of the delay time τ. Moreover, by transforming equation (12), we obtain equation (14).

[0083]

number

[0084] By summarizing equation (14) for i = 1, 2, ..., N, we can express it as equation (15).

[0085]

number

[0086] Here, the matrix A is defined as shown in equation (16).

[0087]

number

[0088] The weights w^1, w^2, . . . , w^ N can be calculated as shown in equation (17).

[0089]

number

[0090] matrix A -1 is the inverse of matrix A. The weight w^ calculated by equation (17) i The delay time τ can be calculated by inputting the value of into equation (18).

[0091]

number

[0092] As shown in equation (18), the delay time τ can be a negative value. The information of a spiking neural network in each layer lies in the time difference between each neuron. In other words, even if all neurons in a certain layer are delayed by the same time, the output of the entire network is only delayed by that amount, and the same information can be expressed regardless of the magnitude of the delay time. For this reason, it is possible to add any amount common to a certain layer as a delay time. In other words, if the delay time τ calculated by equation (18) is negative, a common delay amount can be appropriately added to the target layer so that the delay time τ becomes positive.

[0093] As described above, when the number of artificial neuron models in the target layer of the artificial neural network 110 is two or more, the neural network generation device 10 may perform processing for each artificial neuron model in the target layer. Also, when the number of neuron model layers 214 in the artificial neural network 110 is two or more, the neural network generation device 10 may perform processing for each neuron model layer 214 as a target layer. If the target layer is denoted as the lth layer, the number of the neuron model in the target layer is denoted as i, and the number of the neuron model in the layer above the target layer is denoted as j, then equation (17) can be expressed as equation (19).

[0094]

number

[0095] w^ (l) ij denotes the weight of the connection from the j-th spiking neuron model in the l-1th layer to the i-th spiking neuron model in the lth layer. (l) i0 indicates the weight for the set spike. Matrix (A (l) i ) -1 is the weight w on the left side of equation (16). j (j=1, 2, . . . , N) (l) ij The matrix A is written as (l) i is the inverse matrix of Equation (18) can be expressed as equation (20).

[0096]

number

[0097] τ i (l) indicates the delay time by the delay layer 243 with respect to the output spike of the i-th time-wise spiking neuron model in the l-th time-wise spiking neuron layer 242. t (l-1) 0 indicates the spike input time from the configured spike generator 241 to the i-th time-based spiking neuron model in the l-th time-based spiking neuron layer 242. V th (l) (i) denotes the membrane potential threshold in the i-th time-wise spiking neuron model of the l-th time-wise spiking neuron layer 242. As described above, this threshold simulates an action potential.

[0098] FIG. 9 is a diagram illustrating an example of the configuration of the t-ReLU layer 244. In FIG. 9, the number of temporal spiking neurons included in the temporal spiking neuron layer 242 is represented as M. M spikes are sent from the delay layer 243 to the t-ReLU layer 244 at times t1, t2, . . . , t M Furthermore, at time t ReLU The setup spikes in the t-ReLU layer 244 are different from the setup spikes in the temporal spiking neuron layer 242. The setup spikes in the t-ReLU layer 244 are also referred to as t-ReLU spikes. The spike output times of the t-ReLU layer are t'1, t'2, . . ., t' M It becomes.

[0099] In Fig. 9, each input spike to the t-ReLU layer is ORed with the set spike. This allows the spike input time t i and the time of the spike t ReLU The t-ReLU layer outputs a spike at the earliest time of Spike output time t' i (i = 1, 2, ... M) is expressed as equation (21).

[0100]

number

[0101] As shown in FIG. 9 and equation (21), the t-ReLU layer 244 i or time t ReLU Whichever comes first, time t' i The NI 8116 outputs a spike to the Fig. 10 is a diagram showing an example of input / output times of spikes in the t-ReLU layer 244. The horizontal axis of the graph in Fig. 10 indicates time, and the vertical axis indicates the identification number i of a node in the upper layer. The identification number of the node in the upper layer is also used as the identification number of the spike. FIG. 10 shows a case where the number of input spikes to the t-ReLU layer 244 is three.

[0102] 10 shows input times t1, t2, and t3 of spikes to the t-ReLU layer 244. The lower graph in Fig. 10 shows output times t'1, t'2, and t'3 of spikes from the t-ReLU layer 244. As described above, the t-ReLU layer 244 i or time t ReLU Whichever comes first, time t' i In the example of FIG. 10, time t1 and time t2 are both at time t ReLU Since t'1=t1 and t'2=t2,

[0103] On the other hand, time t3 is ReLU Since it is slower than t'3=t ReLU It is as follows. where t ReLU = 0. In other words, the ReLU spike is input to the t-ReLU layer 244 at the reference time t = 0. As a result, the right-hand side of equation (21) becomes the same function as the ramp function (see equation (3)) except that the signs of the input and output are reversed. In this respect, it can be said that the t-ReLU layer 244 applies a ramp function to the output time of the spike.

[0104] When the neural network generation device 10 converts the artificial neural network 110 into the spiking neural network 120, it may provide a neuron model of the spiking neural network 120 for each artificial neuron model. As mentioned above, the neuron model in this case is also called a time-adjusted spiking neuron model.

[0105] Fig. 11 is a schematic block diagram showing a configuration example of a time-adjusted spiking neuron model. In the configuration shown in Fig. 11, the time-adjusted spiking neuron model 131 includes a time-based spiking neuron model 132, a first-set spike supply unit 135, a delay unit 136, a t-ReLU unit 137, and a second-set spike supply unit 138. The time-based spiking neuron model 132 includes a membrane potential calculation unit 133 and a spike generation unit 134.

[0106] The temporal spiking neuron model 132 corresponds to an example of the temporal spiking neuron model in the temporal spiking neuron layer 242 described above. The membrane potential calculation unit 133 calculates the membrane potential in the time-based spiking neuron model 132 based on the formula (5). The spike generating section 134 compares the membrane potential calculated by the membrane potential calculating section 133 with a threshold value. When it is determined that the membrane potential is equal to or greater than the threshold value, the spike generating section 134 outputs a spike.

[0107] 12 is a diagram showing an example of the configuration of the temporal spiking neuron model 132. In the configuration shown in FIG. 12, the temporal spiking neuron model 132 includes N synapse circuits 141-1 to 141-N, a capacitor 142, a threshold power supply 143, and a comparator 144. The synapse circuits 141-1 to 141-N are also collectively referred to as synapse circuits 141.

[0108] The synapse circuit 141 switches on / off the current to the capacitor 142 in response to a spike from the upper-layer time-adjusted spiking neuron model 131. In addition, the synapse circuit 141 weights the current to the capacitor 142.

[0109] 13 is a schematic diagram showing an example of the configuration of the synapse circuit 141. In the configuration shown in FIG. 13, the synapse circuit 141 includes a switching element 151 and a variable resistor 152. The synapse circuit 141 is connected to a power source 160. In the example of FIG. 13, a power supply 160, a variable resistor 152, and a switching element 151 are connected in series. The power supply 160 provides a current for the output current of the synapse circuit 141 .

[0110] The switching element 151 switches the output current of the synapse circuit 141 on and off in response to an input signal. The input signal here is a spike from the time-adjusted spiking neuron model 131 in the upper layer. In FIG. 13, a signal input to a synapse circuit 141-j (j is an integer of 0≦j≦N) is a voltage V in(j) The output current from the synapse circuit 141-j is represented as I j It is expressed as:

[0111] A step signal may be used as the spike. Then, the switching element 151 may turn on the current when the spike is input, and turn off the current when the spike is not input. The current on may mean that the current is made to flow (to pass current). The current off may mean that the current is not made to flow (to not pass current).

[0112] The variable resistor 152 adjusts the flow rate of the current when the switching element 151 turns on the current. For example, the potential of the power supply 160 may be constant, and a current that is inversely proportional to the resistance value of the variable resistor 152 according to Ohm's law may be output from the synapse circuit 141.

[0113] The capacitor 142 generates a potential by storing the output current of the synapse circuit 141. In FIG. m This potential is expressed as V m represents the membrane potential. The threshold voltage source 143 is a voltage V m ) is compared to the threshold potential.

[0114] The comparator 144 changes the output signal when the membrane potential reaches the threshold potential. Specifically, when the membrane potential reaches or exceeds the threshold potential, the comparator 144 outputs a spike by changing the output voltage of the comparator 144 itself. In FIG. 12, the output signal of the comparator 144 is a voltage V out As shown in Fig.

[0115] The combination of the synapse circuit 141 and the capacitor 142 corresponds to an example of the membrane potential calculation unit 133. The combination of the threshold power supply 143 and the comparator 144 corresponds to an example of the spike generation unit . However, the implementation method of the time-based spiking neuron model 132 is not limited to a specific method. For example, the neural network generation device 10 may implement the time-based spiking neuron model 132 in software on a computer.

[0116] The delay unit 136 delays the output spike of the time-based spiking neuron model 132 by a set delay time. In this way, the delay unit 136 executes the spike delay in the delay layer 243.

[0117] The t-ReLU unit 137 calculates t in the equation (21) for the spikes output by the delay unit 136. ReLU = 0. Specifically, if a spike is input from the delay unit 136 by the reference time of time t = 0, the t-ReLU unit 137 outputs the spike as is at the timing of receiving the spike input. On the other hand, if there is no spike input from the delay unit 136 by time t = 0, the t-ReLU unit 137 outputs the spike input from the second set spike supply unit 138 at time t = 0 as is at the timing of receiving the input. As a result, the t-ReLU unit 137 applies a ramp function to the output time of a spike in the t-ReLU layer 244.

[0118] The second set spike supplying unit 138 outputs a spike at time t = 0. As described above, if there is no spike input from the delay unit 136 by time t = 0, the t-ReLU unit 137 outputs a spike at time t = 0 by outputting the ramp function output by the second set spike supplying unit 138 as is.

[0119] Here, by aligning the reference times of all spiking neuron models included in one layer of the spiking neural network 120 to the same timing, it is possible to align the reference times of spikes input to lower layers. Therefore, the spiking neural network 120 may be provided with one second setting spike supply unit 138 for each layer.

[0120] Consider the case where a spiking neural network 120 is constructed using a time-adjusted spiking neuron model 131 . In this case, the first set spike supplying unit 135 corresponds to an example of the set spike generator 241 .

[0121] Moreover, the time-based spiking neuron models 132 of all the time-adjusted spiking neuron models 131 included in one neuron model layer 214 are collectively regarded as a layer, which corresponds to an example of the time-based spiking neuron layer 242.

[0122] Moreover, an example of a delay layer 243 corresponds to a layer in which the delay units 136 of all the time-adjusting spiking neuron models 131 included in one neuron model layer 214 are collectively regarded as a layer. Moreover, an example of a t-ReLU layer 244 corresponds to a layer in which the t-ReLU units 137 of all the time-adjusting spiking neuron models 131 included in one neuron model layer 214 are collectively regarded as a layer.

[0123] The base network generating unit 11 generates the spiking neural network 120 in a state in which it is possible to set the weights in the temporal spiking neuron layer 242 and the delay time in the delay layer 243. The spiking neural network 120 in this state is also called a base network.

[0124] The weight setting unit 12 sets weights in the time-based spiking neuron layer 242 of the spiking neural network 120 generated by the base network generation unit 11. For example, the weight setting unit 12 sets weights w^ based on the equation (19). (l) ij Calculate the weight w^ (l) ij is set in the time-wise spiking neuron layer 242.

[0125] The delay setting unit 13 sets a delay time in the delay layer 243 of the spiking neural network 120 generated by the base network generating unit 11. For example, the delay setting unit 13 sets a delay time τ (l) i Calculate the delay time τ (l) i is set in the delay layer 243.

[0126] FIG. 14 is a flowchart showing an example of a processing procedure in which the neural network generation device 10 converts the artificial neural network 110 into the spiking neural network 120. In the process of FIG. 14, the base network generating unit 11 generates the spiking neural network 120 in a state in which the weights in the time-based spiking neuron layer 242 and the delay times in the delay layer 243 can be set (step S11).

[0127] Next, the weight setting unit 12 sets weights in the time-based spiking neuron layer 242 of the spiking neural network 120 generated by the base network generating unit 11 (step S12). Then, the delay setting unit 13 sets a delay time in the delay layer 243 of the spiking neural network 120 generated by the base network generating unit 11 (step S13). After step S13, the neural network generation device 10 ends the process of FIG.

[0128] Conversion from the artificial neuron model 111 to the time-adjusted spiking neuron model 131 may be performed on a neuron model basis. 15 is a schematic block diagram showing a configuration example of a neuron model generating device according to an embodiment. In the configuration shown in FIG. 15, a neuron model generating device 20 includes a base model generating unit 21, a weight setting unit 22, and a delay setting unit 23.

[0129] The neuron model generating device 20 acquires configuration information of the artificial neuron model 111 and generates a time-adjusted spiking neuron model 131 equivalent to the artificial neuron model 111. The neuron model generating device 20 may generate a time-adjusted spiking neuron model device as the time-adjusted spiking neuron model 131.

[0130] The base model generating unit 21 generates the time-adjusted spiking neuron model 131 in a state in which it is possible to set the weight in the time-based spiking neuron model 132 and the delay time in the delay unit 136. The time-adjusted spiking neuron model 131 in this state is also called a base model.

[0131] The weight setting unit 22 sets the weight in the time-adjusted spiking neuron model 132 of the time-adjusted spiking neuron model 131 generated by the base model generating unit 21. For example, the weight setting unit 22 sets the weight w^ based on the equation (19). (l) ij Calculate the weight w^ (l) ij is set to the time-domain spiking neuron model 132.

[0132] The delay setting unit 23 sets the delay time in the delay unit 136 of the time-based spiking neuron model 132 generated by the base model generating unit 21. For example, the delay setting unit 23 sets the delay time τ (l) i Calculate the delay time τ (l) iis set in the delay unit 136.

[0133] FIG. 16 is a flowchart showing an example of a processing procedure in which the neuron model generating device 20 converts the artificial neuron model 111 into the time-adjusted spiking neuron model 131. In the process of FIG. 16, the base model generating unit 21 generates the time-adjusted spiking neuron model 131 in a state in which the weight in the time-based spiking neuron model 132 and the delay time in the delay unit 136 can be set (step S21).

[0134] Next, the weight setting unit 22 sets weights in the time-adjusted spiking neuron model 132 of the time-adjusted spiking neuron model 131 generated by the base model generating unit 21 (step S22). Then, the delay setting unit 23 sets the delay time in the delay unit 136 of the time-based spiking neuron model 132 generated by the base model generating unit 21 (step S23). After step S23, the neuron model generating device 20 ends the process of FIG.

[0135] In this way, the neural network generator 10 generates a time-based spiking neural network 120 that is equivalent to the artificial neural network 110. According to the neural network generation device 10, by using a time-based spiking neural network 120, it is possible to perform calculations similar to those of the artificial neural network 110 while reducing power consumption.

[0136] The neural network generation device 10 may be implemented in whole or in part in dedicated hardware. All or part of the neural network generating device 10 may be implemented in an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array).

[0137] The spiking neural network 120 generated by the neural network generation device 10 may be implemented in whole or in part in dedicated hardware. All or part of the spiking neural network 120 may be implemented in an ASIC or FPGA.

[0138] The time-based spiking neuron layer 242 is an example of a time-based spiking neuron model means, which is constructed using a time-based spiking neuron model. The delay layer 243 corresponds to an example of a delay means, and outputs a spike at a time shifted by a set time from the spike output time of the temporal spiking neuron layer 242 .

[0139] The t-ReLU layer 244 corresponds to an example of a time-based ramp function means, and outputs a signal at the spike output time of the delay layer 243 or a reference time, whichever is earlier. The preset spike generator 241 corresponds to an example of a preset spike supplying means, and outputs spikes to the temporal spiking neuron layer 242 at times independent of the input signal to the temporal spiking neuron layer 242 .

[0140] The time-based spiking neuron model 132 corresponds to an example of a time-based spiking neuron model means, and is constructed using a time-based spiking neuron model. The delay unit 136 corresponds to an example of a delay means, and outputs a spike at a time shifted by a set time from the spike output time of the time-dependent spiking neuron model 132 .

[0141] The t-ReLU unit 137 corresponds to an example of a time-based ramp function means, and outputs a signal at the spike output time of the delay unit 136 or a reference time, whichever is earlier. The first preset spike supplying unit 135 corresponds to an example of a preset spike supplying means, and outputs a spike to the temporal spiking neuron model 132 at a time that is independent of the input signal to the temporal spiking neuron model 132 .

[0142] The base network generating unit 11 corresponds to an example of a base network generating means, and generates a spiking neural network 120 including a time-domain spiking neuron layer 242 and a delay layer 243 . The weight setting unit 12 corresponds to an example of a weight setting means, and sets the weight of the input spike to the time-sequential spiking neuron layer 242 as the weight w^ based on the equation (17) or the equation (19). i or w^ (l) ij Set to.

[0143] Equation (17) or (19) expresses the input time t i or t (l-1) j But the sign of the input spike is reversed at time -x i or -x (l-1) j If, the output spike of the delay layer 243 is output at time t or t (l) i However, the time when the sign of the output spike is reversed is Σ i=1 N w i x i -b or Σ j=1 N w (l) ij x (l-1) j -b (l) i This corresponds to the example of the formula:

[0144] The delay setting unit 13 corresponds to an example of a delay setting means, and sets the set time in the delay layer 243 to a delay time τ or τ based on the formula (18) or the formula (20). (l) i Set to. Equation (18) or (20) expresses the input time t i or t (l-1) j But the sign of the input spike is reversed at time -x i or -x (l-1) j If, the output spike of the delay layer 243 is output at time t or t (l) i However, the time when the sign of the output spike is reversed is Σ i=1 N w i x i -b or Σ j=1 N w (l) ij x (l-1) j -b (l) i This corresponds to the example of the formula:

[0145] The base model generating unit 21 corresponds to an example of a base model generating means, and generates a time-adjusted spiking neuron model 131 including a time-based spiking neuron model 132 and a delay unit 136 . The weight setting unit 22 corresponds to an example of a weight setting means, and sets the weight of the input spike to the time-series spiking neuron model 132 as the weight w^ based on the formula (17) or the formula (19). i or w^ (l) ij Set to. The delay setting unit 23 corresponds to an example of a delay setting means, and sets the set time in the delay unit 136 to a delay time τ or τ based on the equation (18) or the equation (20). (l) i Set to.

[0146] Next, we will explain an example of converting the artificial neural network 110 to the spiking neural network 120. The configuration of the artificial neural network 110 to be converted is a 4-3-3 configuration, that is, the input data has four dimensions (the number of input data is four), the number of neuron models in the hidden layer is three, and the number of neuron models in the output layer is three.

[0147] A data set of irises was trained on this artificial neural network 110 using a general deep learning method. For training, a data set of irises classification was used, which is composed of 150 four-dimensional vectors and label data that is linked to the four-dimensional vectors in a one-to-one correspondence. Then, the trained artificial neural network 110 was converted into a spiking neural network 120.

[0148] Fig. 17 is a diagram showing an example of spike output times in spiking neural network 120. Fig. 17 shows the output times of spikes in the input layer, hidden layer, and output layer in processing the same input data to spiking neural network 120. The horizontal axis of each graph in Fig. 17 indicates time. The vertical axis indicates spike identification number i. As described above, the identification numbers of nodes in higher layers are also used as spike identification numbers.

[0149] Figure 18 is a diagram showing examples of spike output times in the artificial neural network 110 and the spiking neural network 120. Figure 18 shows the output values ​​of the hidden layer and the output layer in processing the input data in the example of Figure 17 for the artificial neural network 110 and the spiking neural network 120. "#1", "#2", and "#3" in Figure 18 indicate spike identification numbers 1, 2, and 3, respectively.

[0150] 18, the output values ​​of the neuron models in the hidden layer of the artificial neural network 110 are 3.794, 0, and 1.772, starting from the first neuron model. In contrast, the spike output times of the neuron models in the hidden layer of the spiking neural network 120 are -3.794, 0, and -1.772, starting from the first neuron model.

[0151] The output values ​​of the neuron models in the output layer of the artificial neural network 110 are 12.263, 5.605, and 18.239, starting from the first neuron model. In contrast, the spike output times of the neuron models in the hidden layer of the spiking neural network 120 are −12.263, −5.605, and −18.239, starting from the first neuron model.

[0152] In this way, for each node in the hidden layer and the output layer, the output value of the AIN 110 is the inverted value of the output value of the SN 120. In this respect, the output values ​​of the neuron model in the spiking neural network 120 are shown to be equivalent to the output values ​​of the neuron model in the artificial neural network 110.

[0153] Fig. 19 is a diagram showing an example of time evolution of the membrane potential of the hidden layer neuron model when the delay time is reflected. Fig. 19 shows an example of time evolution of the membrane potential in the processing of the input data in the example of Fig. 17. The horizontal axis of the graph in FIG. 19 indicates time. The vertical axis indicates membrane potential. A membrane potential value of 1.0 is set as the threshold for firing. In addition, at the time shown in FIG. 19, the delay time τ or τ (l) i is reflected.

[0154] Line L111 shows an example of the time evolution of the membrane potential in the first neuron model. The membrane potential in the first neuron model reaches a threshold at time −3.7994 shown in FIG. Line L112 shows an example of the time evolution of the membrane potential in the second neuron model. The membrane potential in the second neuron model reaches the threshold value at a time later than time 0 shown in FIG.

[0155] Line L113 shows an example of the time evolution of the membrane potential in the third neuron model. The membrane potential in the third neuron model reaches the threshold at time −1.772 shown in FIG. In this way, the firing time in the case of FIG. 19 is the output value of the artificial neuron model with its sign reversed.

[0156] Fig. 20 is a diagram showing an example of time evolution of the membrane potential of the hidden layer neuron model when the delay time is not reflected. Fig. 20 shows an example of time evolution of the membrane potential in the processing of the input data in the example of Fig. 17. The horizontal axis of the graph in FIG. 20 indicates time. The vertical axis indicates membrane potential. A membrane potential value of 1.0 is set as the threshold for firing. In addition, at the time shown in FIG. 20, the delay time τ or τ (l) i is not reflected.

[0157] Line L121 shows an example of the time evolution of the membrane potential in the first neuron model. Line L122 shows an example of the time evolution of the membrane potential in the second neuron model. Line L123 shows an example of the time evolution of the membrane potential in the third neuron model.

[0158] The firing times in the case of Fig. 20 are different from the firing times in the case of Fig. 19. Therefore, the firing times in Fig. 20 do not have the sign of the output value of the artificial neuron model reversed. Thus, a comparison of Figures 19 and 20 shows that the inclusion of delay layer 243 or delay section 136 is effective in generating a spiking neural network 120 equivalent to artificial neural network 110.

[0159] Fig. 21 is a diagram showing an example of time evolution of the membrane potential of the neuron model of the output layer when the delay time is reflected. Fig. 21 shows an example of time evolution of the membrane potential in the processing of the input data in the example of Fig. 17. The horizontal axis of the graph in FIG. 21 indicates time. The vertical axis indicates membrane potential. A membrane potential value of 1.0 is set as the threshold for firing. In addition, at the time shown in FIG. 21, the delay time τ or τ (l) i is reflected.

[0160] Line L211 shows an example of the time evolution of the membrane potential in the first neuron model. The membrane potential in the first neuron model reaches a threshold at time −12.263 shown in FIG. Line L212 shows an example of the time evolution of the membrane potential in the second neuron model. The membrane potential in the second neuron model reaches the threshold at time −5.605 shown in FIG.

[0161] Line L213 shows an example of the time evolution of the membrane potential in the third neuron model. The membrane potential in the third neuron model reaches a threshold at time 18.239 shown in FIG. In this way, the firing time in the case of FIG. 21 is the output value of the artificial neuron model with its sign reversed.

[0162] 22 is a diagram showing an example of time evolution of the membrane potential of the neuron model of the output layer when the delay time is not reflected. FIG. 22 shows an example of time evolution of the membrane potential in the processing of the input data in the example of FIG. The horizontal axis of the graph in FIG. 22 indicates time. The vertical axis indicates membrane potential. A membrane potential value of 1.0 is set as the threshold for firing. In addition, at the time shown in FIG. 22, the delay time τ or τ (l) i is not reflected.

[0163] Line L221 shows an example of the time evolution of the membrane potential in the first neuron model. Line L222 shows an example of the time evolution of the membrane potential in the second neuron model. Line L223 shows an example of the time evolution of the membrane potential in the third neuron model.

[0164] The firing times in the case of Fig. 22 are different from the firing times in the case of Fig. 21. Therefore, the firing times in Fig. 22 are not the output values ​​of the artificial neuron model with their signs reversed. Thus, a comparison of Figures 21 and 22 shows that the inclusion of delay layer 243 or delay section 136 is effective in generating a spiking neural network 120 equivalent to artificial neural network 110.

[0165] As described above, the temporal spiking neuron layer 242 outputs a signal when the internal state quantity that evolves over time according to the signal input time becomes equal to or greater than a threshold. The delay layer 243 outputs a signal obtained by changing the spiking time indicated by the output signal of the temporal spiking neuron layer 242 in terms of the relative time to the reference time by a set time.

[0166] The spiking neural network 120 can perform processing equivalent to that of the artificial neural network 110 in a spiking neural network manner. For example, after performing highly accurate learning using the artificial neural network 110, an equivalent spiking neural network 120 can be implemented in hardware, thereby achieving both highly accurate processing and reduced power consumption.

[0167] In particular, a spiking neural network 120 equivalent to the artificial neural network 110 is constructed using the same number of time-adjusted spiking neuron models 131 as the number of artificial neuron models 111 included in the artificial neural network 110. In this respect, the construction of the spiking neural network 120 equivalent to the artificial neural network 110 can be made relatively simple.

[0168] Because the configuration of spiking neural network 120 is simple, it is possible to reduce the power consumption of spiking neural network 120 and make spiking neural network 120 more compact.

[0169] In addition, the weight of the input spike to the temporal spiking neuron layer 242 is set to a weight based on a formula that states that if the spike input time to the temporal spiking neuron layer 242 is the time obtained by inverting the sign of the numerical value indicated by the input spike, then the spike output time of the delay layer 243 is the time obtained by inverting the sign of the numerical value indicated by the output spike.

[0170] This allows positive values ​​to be expressed as negative times in spiking neural network 120. Therefore, in spiking neural network 120, by setting a lower limit for values ​​using, for example, a ramp function, it is possible to limit the maximum value of the waiting time, thereby reducing delays due to the waiting time of the input signal.

[0171] In addition, the t-ReLU layer 244 outputs a signal at the spike output time of the delay layer 243 or the reference time, whichever is earlier. This allows the spiking neural network 120 to mimic the ramp function as the activation function in the artificial neural network 110, and also reduces the delay due to the latency of the input signal, as described above.

[0172] In addition, the set spike generator 241 outputs a signal to the temporal spiking neuron layer 242 at a time that is independent of the input spikes to the temporal spiking neuron layer 242 . This allows the weights in the temporal spiking neuron layer 242 and the delay times in the delay layer 243 to be expressed by relatively simple equations such as equations (17) to (20). In this respect, spiking neural network 120 provides a relatively easy way to obtain a spiking neural network equivalent to artificial neural network 110.

[0173] The time-based spiking neuron model 132 outputs a signal when the internal state quantity that evolves over time according to the signal input time becomes equal to or greater than a threshold value. The delay unit 136 outputs a signal obtained by changing the spiking time indicated by the output signal of the time-based spiking neuron model 132 in terms of a relative time to a reference time by a set time.

[0174] This allows the time-adjusted spiking neuron model 131 to perform processing equivalent to that of the artificial neuron model 111. The artificial neuron model 111 can be used to configure the artificial neural network 110. The time-adjusted spiking neuron model 131 can be used to configure the spiking neural network 120. For example, by performing highly accurate learning using the artificial neural network 110 and then implementing an equivalent spiking neural network 120 in hardware, it is possible to achieve both highly accurate processing and reduced power consumption.

[0175] In particular, a spiking neural network 120 equivalent to the artificial neural network 110 is constructed using the same number of time-adjusted spiking neuron models 131 as the number of artificial neuron models 111 included in the artificial neural network 110. In this respect, the construction of the spiking neural network 120 equivalent to the artificial neural network 110 can be made relatively simple.

[0176] The simple configuration of spiking neural network 120 is expected to reduce the power consumption of spiking neural network 120 and to make spiking neural network 120 more compact.

[0177] In addition, the weight of the input spike to the temporal spiking neuron model 132 is set to a weight based on a formula that states that if the spike input time to the temporal spiking neuron model 132 is the time obtained by inverting the sign of the number indicated by the input spike, then the spike output time of the delay unit 136 will be the time obtained by inverting the sign of the number indicated by the output spike.

[0178] As a result, in the time-adjusted spiking neuron model 131, a positive numerical value can be expressed as a negative time. Therefore, in the time-adjusted spiking neuron model 131, by setting a lower limit value of the numerical value by, for example, a ramp function, the maximum value of the waiting time can be limited, and the delay due to the waiting time of the input signal can be reduced.

[0179] Furthermore, the t-ReLU unit 137 outputs a signal at the time when the spike is output from the delay unit 136 or the reference time, whichever is earlier. As a result, in the time-adjusted spiking neuron model 131, it is possible to simulate a ramp function as an activation function in the artificial neuron model 111, and to reduce the delay due to the latency of the input signal as described above.

[0180] In addition, the first set spike supplying unit 135 outputs a signal to the temporal spiking neuron model 132 at a time that is independent of the input spike to the temporal spiking neuron model 132 . This allows the weights in the time-based spiking neuron model 132 and the delay time in the delay unit 136 to be expressed by relatively simple equations such as equations (17) to (20). In this respect, the time-adjusted spiking neuron model 131 makes it possible to obtain a spiking neuron model equivalent to the artificial neuron model 111 relatively easily.

[0181] The base network generating unit 11 generates a spiking neural network 120 including a time-based spiking neuron layer 242 and a delay layer 243. The weight setting unit 12 sets the weight of the input signal to the time-based spiking neuron layer 242 to a time based on Equation (17) or Equation (19). The delay setting unit 13 sets the delay time in the delay layer 243 to a time based on Equation (18) or Equation (20).

[0182] The neural network generation device 10 can obtain a spiking neural network 120 equivalent to the artificial neural network 110. For example, after performing highly accurate learning using the artificial neural network 110, an equivalent spiking neural network 120 can be implemented in hardware, thereby achieving both highly accurate processing and reduced power consumption.

[0183] In particular, a spiking neural network 120 equivalent to the artificial neural network 110 is constructed using the same number of time-adjusted spiking neuron models 131 as the number of artificial neuron models 111 included in the artificial neural network 110. In this respect, the construction of the spiking neural network 120 equivalent to the artificial neural network 110 can be made relatively simple.

[0184] The simple configuration of spiking neural network 120 makes it possible to reduce the power consumption of spiking neural network 120 and to make spiking neural network 120 more compact.

[0185] The base model generating unit 21 generates a time-adjusted spiking neuron model 131 including a time-based spiking neuron model 132 and a delay unit 136. The weight setting unit 22 sets the weight of the input signal to the time-based spiking neuron model 132 to a time based on Equation (17) or Equation (19). The delay setting unit 23 sets the delay time in the delay unit 136 to a time based on Equation (18) or Equation (20).

[0186] According to the neuron model generating device 20, a time-adjusted spiking neuron model 131 equivalent to the artificial neuron model 111 can be obtained. The artificial neuron model 111 can be used to configure the artificial neural network 110. The time-adjusted spiking neuron model 131 can be used to configure the spiking neural network 120. For example, by performing highly accurate learning using the artificial neural network 110 and then implementing an equivalent spiking neural network 120 in hardware, it is possible to achieve both highly accurate processing and reduced power consumption.

[0187] In particular, a spiking neural network 120 equivalent to the artificial neural network 110 is constructed using the same number of time-adjusted spiking neuron models 131 as the number of artificial neuron models 111 included in the artificial neural network 110. In this respect, the construction of the spiking neural network 120 equivalent to the artificial neural network 110 can be made relatively simple.

[0188] The simple configuration of spiking neural network 120 is expected to reduce the power consumption of spiking neural network 120 and to make spiking neural network 120 more compact.

[0189] 23 is a diagram showing an example of the configuration of a neural network device according to an embodiment. In the configuration shown in FIG. 23, a neural network device 610 includes a time-based spiking neuron model 611 and a delay unit 612. In this configuration, the temporal spiking neuron model 611 outputs a signal when the internal state quantity that evolves over time according to the signal input time becomes equal to or greater than a threshold value. The delay unit 612 outputs a signal obtained by changing the spike time indicated by the output signal of the temporal spiking neuron model 611 in terms of relative time to a reference time by a set time.

[0190] The neural network device 610 can perform processing equivalent to that of an artificial neural network using the spiking neural network method. For example, after performing highly accurate learning using an artificial neural network, a spiking neural network can be implemented in hardware in the equivalent neural network device 610, thereby achieving both highly accurate processing and reduced power consumption.

[0191] In particular, the neural network device 610 equivalent to the neural network is configured using the same number of neuron models as the number of artificial neuron models included in the artificial neural network. In this respect, the configuration of the spiking neural network equivalent to the artificial neural network can be made relatively simple. Since the configuration of the neural network device 610 is simple, it is possible to reduce the power consumption of the neural network device 610 and to make the neural network device 610 more compact.

[0192] 24 is a diagram illustrating an example of the configuration of a generating device according to an embodiment. In the configuration illustrated in FIG. 24, a generating device 620 includes a base network generating unit 621, a weight setting unit 622, and a delay setting unit 623. With this configuration, the base network generation unit 621 generates a neural network including a time-based spiking neuron model that outputs a signal when an internal state quantity that evolves over time according to a signal input time reaches or exceeds a threshold, and a delay unit that outputs a signal obtained by changing, by a set time, the spike time indicated by the output signal of the time-based spiking neuron model means in terms of a relative time with respect to a reference time.

[0193] The weight setting unit 622 sets the weight of the input signal to the time-based spiking neuron model to a weight based on a formula that states that if the input time of the input signal is the time when the sign of the number indicated by the input signal is reversed, then the output time of the output signal from the delay unit will be the time when the sign of the number indicated by the output signal is reversed. The delay setting unit 623 sets the setting time in the delay unit to a time based on a formula that states that if the input time of an input signal to the time-based spiking neuron model means is the time when the sign of the number indicated by the input signal is inverted, then the output time of the output signal from the delay unit will be the time when the sign of the number indicated by the output signal is inverted.

[0194] A neural network device of the spiking neural network type equivalent to an artificial neural network can be obtained by using the generating device 620. For example, after performing highly accurate learning using an artificial neural network, an equivalent neural network device can be implemented in hardware, thereby achieving both highly accurate processing and reduced power consumption.

[0195] In particular, the neural network device equivalent to the artificial neural network is constructed using the same number of spiking neuron models as the number of artificial neuron models included in the artificial neural network, and in this respect, the construction of the spiking neural network equivalent to the artificial neural network can be made relatively simple. Since the configuration of the neural network device is simple, it is expected that the power consumption of the neural network device can be reduced and the spiking neural network 120 can be made compact.

[0196] Fig. 25 is a diagram showing an example of a processing procedure of an information processing method according to the embodiment. The method shown in Fig. 25 includes outputting a first signal (step S611) and outputting a second signal (step S612). In outputting a first signal (step S611), when an internal state quantity that evolves over time according to a signal input time reaches or exceeds a threshold, the first signal is output. In outputting a second signal (step S612), a second signal is output in which the spike time indicated by the first signal as a relative time to a reference time is changed by a set time.

[0197] According to the method shown in Fig. 25, processing equivalent to that of an artificial neural network can be performed using a spiking neural network. For example, after performing highly accurate learning using an artificial neural network, an equivalent spiking neural network is implemented in hardware to perform the processing shown in Fig. 25, thereby achieving both highly accurate processing and reduced power consumption.

[0198] Fig. 26 is a diagram showing an example of a process procedure in a generation method according to an embodiment. The method shown in Fig. 26 includes generating a neural network (step S621), setting weights (step S622), and setting delays (step S623).

[0199] In generating a neural network (step S621), a neural network is generated that includes a time-based spiking neuron model means that outputs a signal when an internal state quantity that evolves over time according to a signal input time reaches or exceeds a threshold, and a delay means that outputs a signal obtained by changing, by a set time, the spike time indicated by the output signal of the time-based spiking neuron model means as a relative time to a reference time.

[0200] In setting the weight (step S622), the weight of the input signal to the time-based spiking neuron model means is set to a weight based on a formula that states that if the input time of the input signal is the time when the sign of the number indicated by the input signal is reversed, then the output time of the output signal from the delay means will be the time when the sign of the number indicated by the output signal is reversed.

[0201] In setting the delay (step S623), the set time in the delay means is set to a time based on a formula that states that if the input time of an input signal to the time-based spiking neuron model means is the time when the sign of the number indicated by the input signal is inverted, then the output time of an output signal from the delay means will be the time when the sign of the number indicated by the output signal is inverted.

[0202] According to the method shown in Fig. 26, a spiking neural network equivalent to an artificial neural network can be obtained. For example, after performing highly accurate learning using an artificial neural network, an equivalent spiking neural network can be implemented in hardware, thereby achieving both highly accurate processing and reduced power consumption.

[0203] In particular, a spiking neural network equivalent to an artificial neural network is constructed using the same number of spiking neuron models as the number of artificial neuron models included in the artificial neural network, and in this respect, the construction of the spiking neural network equivalent to the artificial neural network can be made relatively simple.

[0204] Because the configuration of the spiking neural network is simple, it is possible to reduce the power consumption of the spiking neural network and to make the spiking neural network more compact.

[0205] FIG. 27 is a schematic block diagram illustrating a configuration of a computer according to at least one embodiment. In the configuration shown in FIG. 27, a computer 700 includes a CPU 710, a main memory device 720, an auxiliary memory device 730, and an interface 740.

[0206] Any one or more of the neural network generating device 10, the spiking neural network 120, the time-adjusted spiking neuron model 131, the neuron model generating device 20, the neural network device 610, and the generating device 620, or a part of them, may be implemented in the computer 700. In this case, the operation of each of the above-mentioned processing units is stored in the auxiliary storage device 730 in the form of a program. The CPU 710 reads the program from the auxiliary storage device 730, expands it in the main storage device 720, and executes the above-mentioned processing according to the program. The CPU 710 also secures a storage area corresponding to each of the above-mentioned storage units in the main storage device 720 according to the program. The communication between each device and other devices is executed by the interface 740 having a communication function and performing communication according to the control of the CPU 710.

[0207] When the neural network generating device 10 is implemented in a computer 700, the operations of the base network generating unit 11, the weight setting unit 12, and the delay setting unit 13 are stored in the form of a program in the auxiliary storage device 730. The CPU 710 reads the program from the auxiliary storage device 730, loads it in the main storage device 720, and executes the above-mentioned processing in accordance with the program.

[0208] Furthermore, the CPU 710 allocates a storage area in the main storage device 720 for the processing performed by the neural network generation device 10 in accordance with the program. Communications between the neural network generation device 10 and other devices are performed, for example, by the interface 740 having a communication function and operating under the control of the CPU 710.

[0209] Interaction between the neural network generating device 10 and a user is performed, for example, by the interface 740 having a display screen and displaying various images under the control of the CPU 710, and the interface 740 having an input device such as a keyboard and accepting user operations.

[0210] When the spiking neural network 120 is implemented in the computer 700, the operations of the set spike generator 241, the time-based spiking neuron layer 242, the delay layer 243, and the t-ReLU layer 244 are stored in the auxiliary storage device 730 in the form of a program. The CPU 710 reads the program from the auxiliary storage device 730, loads it into the main storage device 720, and executes the above-mentioned processing according to the program.

[0211] Furthermore, the CPU 710 allocates a memory area in the main memory device 720 for the processing performed by the spiking neural network 120 in accordance with the program. Communication between spiking neural network 120 and other devices is performed, for example, by interface 740 having a communication function and operating under the control of CPU 710.

[0212] Interaction between the spiking neural network 120 and a user is performed, for example, by the interface 740 having a display screen to display various images under the control of the CPU 710, and the interface 740 having an input device such as a keyboard to accept user operations.

[0213] When the time-adjusted spiking neuron model 131 is implemented in the computer 700, the time-based spiking neuron model 132, the first-set spike supply unit 135, the delay unit 136, the t-ReLU unit 137, and the second-set spike supply unit 138 and their operations are stored in the auxiliary storage device 730 in the form of a program. The CPU 710 reads the program from the auxiliary storage device 730, loads it into the main storage device 720, and executes the above-mentioned processing according to the program.

[0214] Furthermore, the CPU 710 allocates a memory area in the main memory 720 for the processing performed by the time-adjusted spiking neuron model 131 according to the program. The communication between the time-adjusted spiking neuron model 131 and other devices is performed, for example, by the interface 740 having a communication function and operating under the control of the CPU 710.

[0215] Interaction between the time-adjusted spiking neuron model 131 and a user is performed, for example, by the interface 740 having a display screen to display various images under the control of the CPU 710, and the interface 740 having an input device such as a keyboard to accept user operations.

[0216] When the neuron model generating device 20 is implemented in a computer 700, the operations of the base model generating unit 21, the weight setting unit 22, and the delay setting unit 23 are stored in the auxiliary storage device 730 in the form of a program. The CPU 710 reads the program from the auxiliary storage device 730, loads it into the main storage device 720, and executes the above-mentioned processing according to the program.

[0217] Furthermore, the CPU 710 reserves a storage area in the main storage device 720 for the processing performed by the neuron model generating device 20 in accordance with the program. Communications between the neuron model generating device 20 and other devices are performed, for example, by the interface 740 having a communication function and operating under the control of the CPU 710.

[0218] Interaction between the neuron model generating device 20 and a user is performed, for example, by the interface 740 having a display screen and displaying various images under the control of the CPU 710, and the interface 740 having an input device such as a keyboard and accepting user operations.

[0219] When the neural network device 610 is implemented in the computer 700, the operations of the time-based spiking neuron model 611 and the delay unit 612 are stored in the auxiliary storage device 730 in the form of a program. The CPU 710 reads the program from the auxiliary storage device 730, loads it into the main storage device 720, and executes the above-mentioned processing according to the program.

[0220] Furthermore, the CPU 710 allocates a storage area in the main storage device 720 for the processing performed by the neural network device 610 in accordance with the program. Communications between the neural network device 610 and other devices are carried out, for example, by an interface 740 having a communication function and operating under the control of the CPU 710.

[0221] Interaction between the neural network device 610 and a user is carried out, for example, by the interface 740 having a display screen to display various images under the control of the CPU 710, and the interface 740 having an input device such as a keyboard to accept user operations.

[0222] When the generating device 620 is implemented in the computer 700, the operations of the base network generating unit 621, the weight setting unit 622, and the delay setting unit 623 are stored in the form of a program in the auxiliary storage device 730. The CPU 710 reads the program from the auxiliary storage device 730, loads it into the main storage device 720, and executes the above-mentioned processing according to the program.

[0223] Furthermore, the CPU 710 allocates a storage area in the main storage device 720 for the processing performed by the generation device 620 in accordance with the program. Communication between the generating device 620 and other devices is performed, for example, by the interface 740 having a communication function and operating under the control of the CPU 710.

[0224] Interaction between the generating device 620 and a user is performed, for example, by the interface 740 having a display screen and displaying various images under the control of the CPU 710, and the interface 740 having an input device such as a keyboard and accepting user operations.

[0225] In addition, the neural network generating device 10, the spiking neural network 120, the time-adjusted spiking neuron model 131, the neuron model generating device 20, the neural network device 610, and the generating device 620 may perform all or part of the processing by recording the programs in a computer-readable recording medium, and the programs recorded in the recording medium may be read into a computer system and executed to perform the processing of each part. In addition, the "computer system" referred to here includes hardware such as an OS and peripheral devices. Furthermore, the term "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs (Read Only Memory), and CD-ROMs (Compact Disc Read Only Memory), as well as storage devices such as hard disks built into computer systems. The above-mentioned program may be for realizing part of the above-mentioned functions, or may be capable of realizing the above-mentioned functions in combination with a program already recorded in the computer system.

[0226] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and designs that do not deviate from the gist of the present invention are also included. [Industrial Applicability]

[0227] The embodiments of the present invention may be applied to a neural network device, a generating device, an information processing method, a generating method, and a recording medium. [Explanation of symbols]

[0228] 10 Neural network generator 11, 621 Base network generation part 12, 22, 622 Weight setting section 13, 23, 623 Delay setting section 20 Neuron model generator 21 Base model generation unit 110 Artificial Neural Networks 120 Spiking Neural Networks 121 Spiking Neuron Model 131 Time-tuned spiking neuron model 132, 611 Time-based spiking neuron model 133 Membrane potential calculation unit 134 Spike Generation Unit 135 First setting spike supply unit 136, 612 Delay section 137 t-ReLU section 138 Second setting spike supply unit 241 Setting Spike Generator 242 Time-based spiking neuron layer 243 Delay Layer 244 t-ReLU layer 610 Neural Network Device 620 Generator

Claims

1. a time-based spiking neuron model means without leakage current, which outputs a signal when an internal state quantity that evolves over time according to a signal input time becomes equal to or greater than a threshold; a delay means for outputting a signal obtained by delaying a spike time indicated by an output signal of said time-based spiking neuron model means in a relative time with respect to a reference time by a time set as a common delay amount for the time-based spiking neuron model means in the same layer so that the delay time of said output signal does not become a negative time when weights for an input signal to said time-based spiking neuron model means are set so that said time-based spiking neuron model means performs a calculation equivalent to adding a weighted sum and a bias to an input signal in an artificial neuron model to be calculated; A neural network device comprising:

2. a weight for an input signal to said time-based spiking neuron model means is set so that a value obtained by dividing the weight for the input signal to said time-based spiking neuron model means by the sum of all weights in said time-based spiking neuron model means is equal to a weight value in the artificial neuron model to be calculated; 2. The neural network device according to claim 1.

3. a timed ramp function means for outputting a signal at the output time of the output signal of the delay means or at the reference time, whichever is earlier; The neural network device of claim 2 further comprising:

4. a set spike supply means for outputting a signal to said time-based spiking neuron model means at a time independent of an input signal to said time-based spiking neuron model means; The neural network device according to claim 1 , further comprising:

5. At least one of the time-based spiking neuron model means and the delay means is configured using an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array).

2. The neural network device according to claim 1.

6. a base network generating means for generating a neural network including a time-based spiking neuron model means without leakage current, which outputs a signal when an internal state quantity that evolves over time according to a signal input time reaches or exceeds a threshold value, and a delay means for outputting a signal obtained by delaying a spike time indicated by an output signal of the time-based spiking neuron model means in terms of a relative time with respect to a reference time by a set time; a weight setting means for setting a weight for an input signal to said time-based spiking neuron model means such that a value obtained by dividing a weight for an input signal to said time-based spiking neuron model means by a sum of all weights in said time-based spiking neuron model means is equal to a weight value in an artificial neuron model to be calculated; a delay setting means for setting the set time in the delay means to a time determined as a common delay amount for the time-based spiking neuron model means in the same layer so that the delay time of the output signal does not become negative under the set weight for the input signal to the time-based spiking neuron model means; A generating device comprising:

7. A neural network device comprising: When an internal state quantity of the time-based spiking neuron model without leakage current that evolves over time according to a signal input time becomes equal to or greater than a threshold, a first signal is output; A second signal is output, which is delayed by a time set as a common delay amount for the time-based spiking neuron model means in the same layer so that the delay time of the output signal does not become negative when the weights for the input signal to the time-based spiking neuron model are set so that the time-based spiking neuron model performs a calculation equivalent to the sum of weights and the addition of a bias to the input signal in the artificial neuron model to be calculated; An information processing method comprising:

8. A neural network is generated, the neural network comprising: a time-based spiking neuron model means without leakage current, which outputs a signal when an internal state quantity that evolves over time according to a signal input time reaches or exceeds a threshold; and a delay means, which outputs a signal obtained by changing, by a set time, a spike time indicated by an output signal of the time-based spiking neuron model means in terms of a relative time with respect to a reference time; setting a weight for an input signal to said time-based spiking neuron model means such that a value obtained by dividing the weight for the input signal to said time-based spiking neuron model means by the sum of all weights in said time-based spiking neuron model means is equal to a weight value in the artificial neuron model to be calculated; setting the set time in the delay means to a time determined as a common delay amount for the time-based spiking neuron model means in the same layer so that the delay time of the output signal does not become negative under the set weight for the input signal to the time-based spiking neuron model means; A method for generating a neural network comprising:

9. On the computer, When an internal state quantity of the time-based spiking neuron model without leakage current that evolves over time according to a signal input time becomes equal to or greater than a threshold, a first signal is output; A second signal is output, which is delayed by a time set as a common delay amount for the time-based spiking neuron model means in the same layer so that the delay time of the output signal does not become negative when the weights for the input signal to the time-based spiking neuron model are set so that the time-based spiking neuron model performs a calculation equivalent to the sum of weights and the addition of a bias to the input signal in the artificial neuron model to be calculated; A program for executing the above.

10. On the computer, A neural network is generated, the neural network comprising: a time-based spiking neuron model means without leakage current, which outputs a signal when an internal state quantity that evolves over time according to a signal input time reaches or exceeds a threshold; and a delay means, which outputs a signal obtained by changing, by a set time, a spike time indicated by an output signal of the time-based spiking neuron model means in terms of a relative time with respect to a reference time; setting a weight for an input signal to said time-based spiking neuron model means such that a value obtained by dividing the weight for the input signal to said time-based spiking neuron model means by the sum of all weights in said time-based spiking neuron model means is equal to a weight value in the artificial neuron model to be calculated; setting the set time in the delay means to a time determined as a common delay amount for the time-based spiking neuron model means in the same layer so that the delay time of the output signal does not become negative under the set weight for the input signal to the time-based spiking neuron model means; A program for executing the above.

Citation Information

Patent Citations

  • Information processor and neural network circuit using the same

    JP2010146514A

  • Methods, devices, and circuits for neuromorphic / synaptronic spiking neural networks using synaptic weights learned through simulation.

    JP2013546065A