Professional Documents
Culture Documents
Spiking Neural Network Model MATLAB
Spiking Neural Network Model MATLAB
Spiking Neural Network Model MATLAB
Abstract—In article results of spiking neural network model II. PRINCIPLES OF ARTIFICIAL NEURONS
realization on based on Izhikevich mathematical model in
MATLAB environment are considered. It is known that complited The simplest neuron model that is usually considered for
mathematical model of a biological nervous cell from the point of practical application is a McCulloch-Pitts model that was
view of display of its functionality is the model of Nobel laureates described in 1943 [1] and implemented by F. Rosenblatt in 1958
Hodzhkin and Huxley. However, it contains a large number of the [2]. It represents a neuron as a weighted sum module that adds
differential equations that does it of little use for hardware or up all input values and multiplies it by a value called weight.
program realization. Especially at creation of big scale artificial Then this value is passed through a transfer function and serves
neural networks. Izhikevich's model is less exacting to computing as an output. It can be represented as a
resources and at the same time rather precisely realizes
functionality of biological neuron. A specific question is the ൌ ሺሻǡ ൌ ߱ ݔ ߱ ݔ Ǥ (1)
problem of discrete hardware realization of this model.
ୀଵ
Keywords—spiking neural network; neuron; MATLAB; In (1) ݔ represents input signals, ߱ represents input
Simulink; robotics weights and ݂ሺݑሻ is a transfer function. ߱ and ݔ serve to
initialize a neuron for the first time.
I. INTRODUCTION
Transfer function determines how output signal depends on
Today artificial neural networks are widely used in all kinds the weighted sum of the input signals. It usually needs to satisfy
of fields. Neural networks replace credit managers, financial a few conditions such as being value limited, monotonically
traders, data analysts, doctors, they are widely used for voice increasing, determined on all real arguments and be
and image recognition tasks. Despite mathematical neuron differentiable to facilitate learning algorithms. Some common
models being more than half a century old, they still enjoy a examples of transfer functions include a linear transfer function
great popularity due to their simplicity and satisfying results. (2):
However, many modern applications try to utilize those Ͳ݂݅ ݔ൏ Ͳ
simple old models for complex tasks usually associated with ݂ሺݔሻ ൌ ൝ͳ݂݅ ݔ ͳǡ (2)
higher degree of sentience. They usually solve them by scaling ݁ݏ݈݁ݔ
up neural network size which leads to lesser performance and a Heavyside function (3):
still doesn’t solve a lot of problems, instead of utilizing more
complex biologically plausible models that accurately replicate ͳ݂݅ ݔ ܶ
݂ሺݔሻ ൌ ቄ ǡ (3)
biological processes. Ͳ݈݁݁ݏ
In this paper we consider different mathematical models of where ܶ ൌ െ߱ ݔ , sigmoid functions such as logistic function
a neuron to consider their strong and weak sides for future (4):
application in control systems. We consider current ͳ
developments in the field of neuron modeling and try to apply ߪሺݔሻ ൌ ǡ (4)
ͳ ሺെݔݐሻ
newer biologically plausible models of neurons as a method of
control in control systems. where ݐdetermines a slope of a function, or hyperbolic
tangent function (5)
While researching different neuron models we consider
their useful application by analyzing their biological ݁ ௫ െ ݁ ି௫
݄ݐሺݔܣሻ ൌ (5)
plausibility as well as computational performance. ݁ ௫ ݁ ି௫
that behaves similarly to (4).
980
execute Simulink models as well as send and receive data to a A system (6) is relatively computationally efficient and can
model and analyze it with its vast array of functions. be implemented as a Simulink model relatively easily (fig. 2).
MATLAB functions such as add_block and add_line allow
us to quickly create Simulink block diagrams with specified
parameters. We can further specify block parameters by using
set_param function to alter standard Simulink block parameters.
When it comes to modularization of Simulink block
diagrams, there are two ways to group blocks into modules –
visual and nonvisual. Visual way includes referenced models
and simple subsystems and as its name hints, only affects the
way a model is presented visually as a block diagram. When
compiled, it will be identical to the model where those blocks
are simply on the top level of a model [7, 10].
Nonvisual ways are atomic subsystems that force code
generator to treat a subsystem as an atomic function so it will
be represented as a function in compiled code. This should be
considered in traditional neural networks with neuron activation Fig. 2. Izhikevich spiking neuron model in Simulink
functions, however since spiking models simulate action
potential recovery, each neuron needs to keep track of its state,
and therefore there are few possibilities for performance To study behavior of a model, we can monitor membrane
improvement. voltage of a neuron with a constant applied current (fig. 3).
Simulink also provides tools to analyse system performance,
including detailed reports on bottlenecks that allow for testing
of different model features to achieve optimal performance.
981
REFERENCES [8] O. Booij, “Temporal Pattern Classification using Spiking Neural
Networks” (Master’s thesis), University of Amsterdam, 2004.
[1] W. S. McCulloch, W. Pitts, " A logical calculus of the ideas immanent
in nervous activity", The bulletin of mathematical biophysics, 5(4), 1943, [9] A. Nyrkov, K. Goloskokov, E. Koroleva, S. Sokolov, A. Zhilenkov and
pp. 115-133. S. Chernyi, "Mathematical Models for Solving Problems of Reliability
Maritime System", Advances in Systems, Control and Automation, pp.
[2] F. Rosenblatt, “The perceptron: A probabilistic model for information
387-394, 2017.
storage and organization in the brain”, Psychological review, 65(6)
1958, p. 386. [10] D. Lisitsa and A. Zhilenkov, "Comparative analysis of the classical and
[3] A. Karpov, A. Zhilenkov and D. Lisitsa, "The integration of the video nonclassical artificial neural networks," 2017 IEEE Conference of
monitoring, inertial orientation and ballast systems for container ship's Russian Young Researchers in Electrical and Electronic Engineering
emergency stabilization," 2017 IEEE Conference of Russian Young (EIConRus), 2017.
Researchers in Electrical and Electronic Engineering (EIConRus), 2017. [11] D. Lisitsa and A. Zhilenkov, "Prospects for the development and
[4] L. F. Abbott, T. B. Kepler, “Model neurons: from hodgkin-huxley to application of spiking neural networks," 2017 IEEE Conference of
hopfield”, Statistical mechanics of neural networks, 1990, pp. 5-18. Russian Young Researchers in Electrical and Electronic Engineering
[5] A. Zhilenkov, "The study of the process of the development of marine (EIConRus), 2017.
robotics," Vibroengineering Procedia, Vol. 8, pp. 17-21, 2016. [12] S. Chernyi and A. Zhilenkov, "Modeling of Complex Structures for the
[6] E. M. Izhikevich, “Simple model of spiking neurons”, IEEE Ship's Power Complex Using Xilinx System", Transport and
Transactions on neural networks, 14(6), 2003, pp. 1569-1572.S. M. Telecommunication Journal, vol. 16, no. 1, 2015.
Bohte, J. N. Kok, H. La Poutre, “Error-backpropagation in temporally [13] A. Zhilenkov, "GaN Materials Nanostructures Growth Control in the
encoded networks of spiking neurons”, Neurocomputing, 48(1), 2002, Epitaxial Units", Solid State Phenomena, vol. 265, pp. 627-630, 2017.
pp.17-37.
[14] A. Zhilenkov and S. Chernyi, "Investigation Performance of Marine
[7] O. Booij, H. tat Nguyen, “A gradient descent rule for spiking neurons Equipment with Specialized Information Technology", Procedia
emitting multiple spikes”, Information Processing Letters, 95(6), 2005, Engineering, vol. 100, pp. 1247-1252, 2015.
pp. 552-558.
[15] A. Karpov and A. Zhilenkov, "Designing the platform for monitoring
and visualization orientation in Euler angles," 2017 IEEE Conference of
Russian Young Researchers in Electrical and Electronic Engineering
(EIConRus), 2017.
982