On a six-dimensional Artificial Neural Network Model
INNA SAMUILIK
Department of Engineering Mathematics
Riga Technical University
LATVIA
Abstract: This work introduces a new six-dimensional system with chaotic and periodic
solutions. For special values of parameters, we calculate the Kaplan-Yorke dimension and
we show the dynamics of Lyapunov exponents. Some definitions and propositions are
given. Visualizations where possible, are provided.
Keywords: artificial neural network, Kaplan-Yorke dimension, Lyapunov exponents,
chaotic solution, periodic solution
Received: October 13, 2022. Revised: January 15, 2023. Accepted: February 18, 2023. Published: March 24, 2023.
1Introduction
Mathematical modeling of nonlinear dy-
namic systems is an interdisciplinary tool
for studying various processes in nature and
society. Artificial neural network (ANN in
short) models are a simplification of human
neural systems. ANN consists of computing
units. These blocks are called artificial
neurons. Artificial neurons are similar to
neurons in the biological nervous system,
[1]. The ANNs model is the most common
emerging tool for modeling environmental
concerns, particularly, in water quality
modeling, [2]. Also, the ANN model for
the crude oil distillation column was con-
structed based on the results of simulations,
[3]. ANN are used in agriculture, medicine,
marketing and other industries. Their
mathematical models can be formulated in
terms of systems of differential equations of
the form (1)
x0
1= tanh(w11x1+. . . +w1nxn)b1x1,
x0
2= tanh(w21x1+. . . +w2nxn)b2x2,
. . .
x0
n= tanh(wn1x1+. . . +wnnxn)bnxn.
(1)
Each dependent variable is associated with
a neuron. It accepts signals from other neu-
rons and elaborates its signal which is sent
to a network, [4]. In such systems, peri-
odic solutions, quasi-periodic solutions, and
also chaotic solutions are possible. This
article uses the Lyapunov exponents and
the Kaplan-Yorke formula to determine the
chaotic solutions of the system (1).
2 Lyapunov exponents
and Kaplan-Yorke di-
mension
Lyapunov exponents are a useful tool to
distinguish between regular and chaotic dy-
namics. The generally accepted convention
is to write the Lyapunov exponents in de-
scending order
λ1λ2. . . λn.
Lyapunov exponent measures how quickly
an infinitesimally small distance between
two initially close states grows over time
Ft(x0+²)Ft(x0)²eλt.
The left-hand side is the distance between
two initially close states after tsteps, and
the right-hand side is the assumption that
the distance grows exponentially over time.
The exponent λmeasured for a long period
WSEAS TRANSACTIONS on SYSTEMS and CONTROL
DOI: 10.37394/23203.2023.18.6
Inna Samuilik
E-ISSN: 2224-2856
58
Volume 18, 2023
of time is the Lyapunov exponent. Each
indicator can be interpreted as indicator of
the rate of stretching (if λ > 0), small dis-
tances grow indefinitely over time. If λ < 0,
small distances don’t grow indefinitely, i.e.,
the system settles down into a periodic tra-
jectory, [5].
Some facts about Lyapunov exponents:
The number of Lyapunov exponents is
equal to the number of phase space di-
mensions, or the order of the system of
differential equations, [6], [7].
The largest Lyapunov exponent of a
stable system does not exceed zero, [8].
A hyperchaotic system is defined as a
chaotic system with at least two pos-
itive Lyapunov exponents. Combined
with one null exponent and one nega-
tive exponent, the minimal dimension
for a hyperchaotic system is four, [9].
A strictly positive maximal Lyapunov
exponent is often considered as a defi-
nition of deterministic chaos.
Knowing the Lyapunov exponents allows us
to conclude how the system develops over
time. Often enough to know the sign the
highest exponent, and the sum of the Lya-
punov exponents.
In 1979, the Kaplan-Yorke formula was pro-
posed to estimate the fractal size - in terms
of Lyapunov exponents, [10], [11],[12].
DKY =j+1
|λj+1|
j
X
j=1
λj(2)
with jrepresenting the index such that
j
X
i=1
λj>0,
j+1
X
i=1
λj<0.
The result obtained by this formula is
called the Kaplan-Yorke dimension or the
Lyapunov dimension. A valuable advan-
tage of this dimension is that in order to
calculate it, one needs to know only the
spectrum of Lyapunov exponents of the
given attractor, [13].
Definition 2.1. A chaotic system is a
deterministic system that exhibits irregular
and unpredictable behavior, [8].
Definition 2.2. An attractor is the limit-
ing trajectory of the representing point in
the phase space, to which all initial modes
tend [14].
Each attractor has a basin of attraction
that contains all the initial conditions which
will generate trajectories joining asymptot-
ically this attractor [15].
Definition 2.3. A chaotic attractor is an
attractor that exhibits sensitivity to initial
conditions, [16].
Proposition 2.1. In dynamical systems
that include three or more equations, there
may be even more unusual attractors, which
are commonly called strange or chaotic
attractors.
Floris Takens (1940-2010) a Dutch math-
ematician known for contributions to the
theory of differential equations, the theory
of dynamical systems, chaos theory and
fluid mechanics. Introduced the concept
of a “strange attractor”. He was the first
to show how chaotic attractors could be
learned by neural networks [17].
Proposition 2.2. It is possible to find a
chaotic attractor in differential systems pre-
senting chaotic behavior [18], [19].
2.1 The six-dimensional sys-
tems
Consider the system
WSEAS TRANSACTIONS on SYSTEMS and CONTROL
DOI: 10.37394/23203.2023.18.6
Inna Samuilik
E-ISSN: 2224-2856
59
Volume 18, 2023
x0
1= tanh(w11x1+w12x2+w13x3+w14x4+w15x5+w16x6)b1x1,
x0
2= tanh(w21x1+w22x2+w23x3+w24x4+w25x5+w26x6)b2x2,
x0
3= tanh(w31x1+w32x2+w33x3+w34x4+w35x5+w36x6)b3x3,
x0
4=tanh(w41x1+w42x2+w43x3+w44x4+w45x5+w46x6)b4x4,
x0
5= tanh(w51x1+w52x2+w53x3+w54x4+w55x5+w56x6)b5x5,
x0
6= tanh(w61x1+w62x2+w63x3+w64x4+w65x5+w66x6)b6x6
(3)
and the regulatory matrix
W=
010100
100100
1 1 0 1 0 0
011000
11 0 11 0
1 0 1 0 0 1
.
(4)
The initial conditions are
x1(0) = 1.1; x2(0) = 0.5; x3(0) = 1.1;
x4(0) = 1; x5(0) = 1; x6(0) = 1.(5)
Parameters are b1=b2=b3=b4=b5=
b6= 0.042.
The graph of the system (3) with the
regulatory matrix (4) is considered in
Figure 1.
Figure 1: The graph of the system (3) with
the regulatory matrix (4).
The projections of 6D trajecto-
ries on three-dimensional subspace
(x1, x4, x5) are in Figure 2. Solutions
(x1(t), x2(t), x3(t), x4(t), x5(t), x6(t)) of the
system (3) with the regulatory matrix (4)
are shown in Figure 3.
The dynamics of Lyapunov exponents are
shown in Figure 4.
-5
0
5
x1
-5
0
5
-10
-5
0
5
10
Figure 2: The projection of 6D trajectories to
3D subspace (x1, x4, x5), b= 0.042.
100
200
300
400
t
-10
-5
5
10
8x1, x2, x3, x4, x5,x6<
Figure 3: Solutions
(x1(t), x2(t),x3(t), x4(t), x5(t), x6(t)) of
the system (3) with the regulatory matrix
(4), b= 0.042.
Lyapunov exponents are λ1= 0.03; λ2=
0.00; λ3=0.07; λ4=0.13; λ5=0.15
and λ6=0.24.
λ1+λ2>0;
λ1+λ2+λ3<0.
WSEAS TRANSACTIONS on SYSTEMS and CONTROL
DOI: 10.37394/23203.2023.18.6
Inna Samuilik
E-ISSN: 2224-2856
60
Volume 18, 2023
200
400
600
800
1000
1200
1400
-0.2
0.2
0.4
Figure 4: The dynamics of Lyapunov expo-
nents.
The Kaplan-Yorke dimension is
DKY = 2 + λ1+λ2
|λ3|=2.29.
The presence of a positive λ1indicates the
chaotic nature of the dynamics. Lyapunov
exponents λ3, λ4, λ5and λ6are negative
and are responsible for compression phase
volume and the approximation of phase
trajectories to the attractor. An estimate of
the Kaplan-Yorke dimension from spectrum
of Lyapunov exponents gives for a given
attractor DKY = 2.29.
Let change the value of the element w11
from 0 to 1 of the regulatory matrix (4).
The graph of the system (3) with the regu-
latory matrix (4), w11 = 1, is considered in
Figure 5.
Figure 5: The graph of the system (3) with
the regulatory matrix (4), w11 = 1.
The projections of 6D trajecto-
ries on two-dimensional subspace
(x5, x6) are in Figure 6. Solutions
(x1(t), x2(t), x3(t), x4(t), x5(t), x6(t)) of
the system (3) with the regulatory matrix
(4), w11 = 1, are shown in Figure 7.
-15
-10
-5
5
10
15
x5
-15
-10
-5
5
10
15
x6
Figure 6: The projection of 6D trajectories to
2D subspace (x5, x6), b= 0.042.
100
200
300
400
500
t
-20
-10
10
20
8x1, x2, x3, x4, x5,x6<
Figure 7: Solutions
(x1(t), x2(t),x3(t), x4(t), x5(t), x6(t)) of
the system (3) with the regulatory matrix
(4),w11 = 1, b= 0.042.
The dynamics of Lyapunov exponents are
shown in Figure 8.
Lyapunov exponents are λ1= 0.00; λ2=
0.03; λ3=0.04; λ4=0.05; λ5=0.54
and λ6=0.64.
λ1= 0; λ2<0 the system (3) with the
regulatory matrix (4), w11 = 1, has periodic
solutions.
In dissipative dynamical system, the values
of all Lyapunov exponents should sum
to a negative number, [6],[7] . The sys-
tem (3) with the regulatory matrix (4),
w11 = 1, is a dissipative dynamical system
λ1+. . . +λ6<0.
Let change the value of the element w11
from 0 to 1 of the regulatory matrix (4).
The graph of the system (3) with the regu-
latory matrix (4), w11 =1, is considered
in Figure 9.
WSEAS TRANSACTIONS on SYSTEMS and CONTROL
DOI: 10.37394/23203.2023.18.6
Inna Samuilik
E-ISSN: 2224-2856
61
Volume 18, 2023
200 400 600 800 1000 1200 1400
-1.0
-0.5
Figure 8: The dynamics of Lyapunov expo-
nents.
Figure 9: The graph of the system (3) with
the regulatory matrix (4), w11 =1.
The dynamics of Lyapunov exponents are
shown in Figure 10.
200 400 600 800 1000 1200 1400
-1.5
-1.0
-0.5
Figure 10: The dynamics of Lyapunov expo-
nents.
Lyapunov exponents are λ1=0.04; λ2=
0.36; λ3=0.36; λ4=0.40; λ5=1.04
and λ6=1.04.
λ1<0 the system (3) with the regulatory
matrix (4), w11 =1 has stable fixed point.
The system (3) with the regulatory matrix
(4), w11 =1, is a dissipative dynamical
system λ1+. . . +λ6<0.
3 Conclusions
The six-dimensional system with different
regulatory matrices is considered. The three
examples are provided. Changing the value
of an element w11 changes the system (3) so-
lutions. In this paper, the periodic and the
chaotic attractor is considered. Some def-
initions and propositions about Lyapunov
exponents and Kaplan-Yorke dimension is
given. The dynamics of Lyapunov expo-
nents are shown. Visualizations of peri-
odic, chaotic solutions of the system (3) are
shown. Projections of 6Dtrajectories to 2D
or 3Dsubspaces are shown.
5HIHUHQFHV
[1] S.K. Jeswal, Snehashish Chakraverty.
Chapter 10-Fuzzy eigenvalue problems
of structural dynamics using ANN, Ed-
itor(s): Snehashish Chakraverty, New
Paradigms in Computational Model-
ing and Its Applications, Academic
Press, 2021, Pages 145-161, ISBN
9780128221334. doi.org/10.1016/B978-
0-12-822133-4.00010-4.
[2] Md. Mostafizur Rahman, Abu Reza
Md. Towfiqul Islam, Mashura Shammi.
14-Emerging trends of water qual-
ity monitoring and applications of
multivariate tools, Editor(s): Pi-
jush Samui, Hossein Bonakdari, Ravi-
nesh Deo, Water Engineering Mod-
eling and Mathematic Tools, Else-
vier, 2021, Pages 271-283, ISBN
9780128206447. doi.org/10.1016/B978-
0-12-820644-7.00020-7.
[3] Lluvia M. Ochoa-Estopier, Megan
Jobson, Robin Smith. Operational
optimization of crude oil distilla-
tion systems using artificial neu-
ral networks, Editor(s): Ian David
Lockhart Bogle, Michael Fairweather,
Computer Aided Chemical Engineer-
WSEAS TRANSACTIONS on SYSTEMS and CONTROL
DOI: 10.37394/23203.2023.18.6
Inna Samuilik
E-ISSN: 2224-2856
62
Volume 18, 2023
ing, Elsevier, Volume 30, 2012,
Pages 982-986, ISSN 1570-7946, ISBN
9780444594310. doi.org/10.1016/B978-
0-444-59520-1.50055-5.
[4] D. Ogorelova and F. Sadyrbaev.
On a three-dimensional neural net-
work model, Vibroengineering PRO-
CEDIA, Vol. 47, pp. 6973, Dec. 2022.
doi.org/10.21595/vp.2022.23059
[5] Hiroki Sayama. Introduction to the
Modeling and Analysis of Complex
Systems, Binghamton University, State
University of New York, LibreTexts.
[6] W. S. Sayed, A. G. Radwan, H. A. H.
Fahmy. Chaos and Bifurcation in Con-
trollable Jerk-Based Self-Excited At-
tractors. Nonlinear Dynamical Systems
with Self-Excited and Hidden Attrac-
tors, Springer, 2018. Pages 45-70.
[7] Inna Samuilik, Felix Sadyrbaev.
On a Dynamical Model of Ge-
netic Networks,WSEAS Transac-
tions on Business and Economics,
vol. 20, pp. 104-112, 2023. doi:
10.37394/23207.2023.20.11
[8] K. Nosrati, Ch. Volos. Bifurcation
Analysis and Chaotic Behaviors of
Fractional-Order Singular Biological
Systems. Nonlinear Dynamical Sys-
tems with Self-Excited and Hidden At-
tractors, Springer, 2018. Pages 3-44.
[9] S. Vaidyanathan, V. Pham, Ch. Volos,
A. Sambas. A Novel 4-D Hyperchaotic
Rikitake Dynamo System with Hid-
den Attractor, its Properties, Synchro-
nization and Circuit Design. Nonlinear
Dynamical Systems with Self-Excited
and Hidden Attractors, Springer, 2018.
Pages 345-364
[10] Inna Samuilik. Lyapunov Expo-
nents and Kaplan-yorke Dimen-
sion for Fivedimensional System,
WSEAS Transactions on Systems,
vol. 21, pp. 268-275, 2022. doi:
10.37394/23202.2022.21.29
[11] Qiu, H., Xu, X., Jiang, Z. et al.
Dynamical behaviors, circuit design,
and synchronization of a novel sym-
metric chaotic system with coexisting
attractors. Sci Rep 13, 1893, 2023.
doi.org/10.1038/s41598-023-28509-z
[12] Inna Samuilik. Genetic engineer-
ing construction of a network of
four dimensions with a chaotic
attractor, Vibroengineering PROCE-
DIA, Vol. 44, pp. 6670, Aug. 2022,
doi.org/10.21595/vp.2022.22829
[13] Sergey P.Kuznetsov. Dynamical chaos
and hyperbolic attractors: from math-
ematics to physics, ISBN 978-5-4344-
0100-5. 2013, pages 488, Binder.
[14] V. S. Anishchenko. Deterministic
chaos. Soros Educational Jour-
nal,Vol.6, 1997, 70-76.
[15] A. Amon. Nonlinear dynamics. Mas-
ter. Phenomenes nonlineaires et chaos,
France. 2007. https://hal.archives-
ouvertes.fr/cel-01510146v1
[16] S. Lynch. Dynamical Systems with
Applications Using Mathematica.
Springer, 2017.
[17] R. Bakker, J. C. Schouten, C.
Lee Giles, F. Takens, Cor M. van
den Bleek. Learning Chaotic At-
tractors by Neural Networks. Neural
Comput 2000; 12 (10): 23552383.
doi:/10.1162/089976600300014971
[18] E. Ott. Chaos in Dynamical Sys-
tems (2nd ed.). Cambridge: Cam-
bridge University Press, 2002.
doi:10.1017/CBO9780511803260
[19] A. C. Reinol, M. Messias. Periodic
Orbits, Invariant Tori and Chaotic
WSEAS TRANSACTIONS on SYSTEMS and CONTROL
DOI: 10.37394/23203.2023.18.6
Inna Samuilik
E-ISSN: 2224-2856
63
Volume 18, 2023
Behavior in Certain Nonequilibrium
Quadratic Three-Dimensional Differ-
ential Systems. Nonlinear Dynamical
Systems with Self-Excited and Hidden
Attractors, Springer, 2018, Pages 299-
326.
Contribution of Individual Authors to the
Creation of a Scientific Article (Ghostwriting
Policy)
The author contributed in the present research, at all
stages from the formulation of the problem to the
final findings and solution.
Sources of Funding for Research Presented in a
Scientific Article or Scientific Article Itself
No funding was received for conducting this study.
Conflict of Interest
The author has no conflict of interest to
declare that is relevant to the content of this
article.
Creative Commons Attribution License 4.0
(Attribution 4.0 International, CC BY 4.0)
This article is published under the terms of the
Creative Commons Attribution License 4.0
https://creativecommons.org/licenses/by/4.0/deed.en
_US
WSEAS TRANSACTIONS on SYSTEMS and CONTROL
DOI: 10.37394/23203.2023.18.6
Inna Samuilik
E-ISSN: 2224-2856
64
Volume 18, 2023