�The Unreasonable Effectiveness of the Chaotic Tent Map in Engineering Applications
Nithin Nagaraj
Consciousness Studies Programme
National Institute of Advanced Studies (NIAS)
Bengaluru, India (Email: nithin@nias.res.in)
29th September 2022 (Virtual)
The simplest 1D map that exhibits chaos?
2
1
0
1
0.5
1
0
1
0.5
1
0
1
0.5
Binary Map
(Bernoulli Shift Map)
Logistic Map
Tent Map
Tent Map
3
1
0
1
0.5
Symbolic Dynamics of Tent Map
‘00’, ‘01’, ‘11’, ‘10’
‘000’, ‘001’, ‘011’, ‘010’, ‘110’, ‘111’, ‘101’, ‘100’
4
GLS: Generalized Luröth Series
5
Jacob Luröth, 1883
Georg Cantor, 1869
GLS: Generalized Luröth Series
6
a1
1
1/p1
a2
a3
aN
1/pN
p1
p2
p3
pN
…
…
0
1
Ref: Dajani, K., & Kraaikamp, C. (2002). Ergodic theory of numbers,
volume 29 of Carus Mathematical Monographs. Mathematical Association of America, Washington, DC.
[0,1) [0,1)
Binary Map (binary expansion)
7
T2(x) = 2x – [2x]
x
0
0.5
1.0
1.0
T2(x)
L
R
Lyapunov Exponent
= ln(2) > 0
[2x] is the integer part of (2x)
Decimal Map (decimal expansion)
8
Lyapunov Exponent
= ln(10) > 0
[10x] is the integer part of (10x)
Skew GLS Maps
9
Skew
Binary
Skew
Tent
x0 x1 x2 x3 …
Trajectory:
λ= H
10
Lyapunov Exponent = Shannon Entropy
GLS maps are very special…
Aleksandr
Lyapunov
(1857-1918)
Claude Shannon
(1916-2001)
Father of Information Theory
Father of Modern Cryptography
Father of AI
bits/iteration
Applications of Tent Map/GLS in Engineering
Tent map and other GLS maps have found numerous engineering applications:
11
Lossless Data Compression
12
An example
13
Message = “AABABBABAA”
Character | Probability | Range |
A | 6/10 | [0, 0.6) |
B | 4/10 | [0.6, 1.0) |
GLS coding of “AABABBABAA”
14
0
1
A
0.6
1
A
B
0.6
Slope=1/0.6
1/0.4
B
Skew
Tent
Map
Iterate Backwards
15
0
1
0.6
1
A
B
0.6
1/0.6
1/0.4
B
AA
0.36
AB
Message = “AABABBABAA”
16
0
1
0.6
1
AA
B
0.36
0.856
BAA
Message = “AABABBABAA”
GLS-Coding
17
GLS-Coding is Shannon Optimal
Ref: Nithin Nagaraj, Prabhakar G. Vaidya, Kishor G. Bhat, Arithmetic coding as a non-linear dynamical system, Communications in Non-linear Science & Numerical Simulation (2009), doi:10.1016/j.cnsns.2007.12.001.
18
GLS-Coding – Arithmetic Coding
Ref: JJ Rissanen and GG Langdon, Arithmetic Coding, IBM Journal of Research and Development, vol. 23, no. 2, pp. 146-162. Mar. 1979.
19
GLS coding (Arithmetic Coding)
20
JPEG2000
Incorporating error detection in GLS-coding
21
Forbidden
symbol
‘F’
ε
A
1
Slope=1/(p(1 – ε))
1/((1 – p)(1 – ε))
B
0
1
Nagaraj, N. (2019). Using cantor sets for error detection. PeerJ Computer Science, 5, e171.
Machine Learning
22
1943: The Birth of the Artificial Neuron
23
Source: Wiki
Source: Haykin (1984)
Aritificial Neural Networks (ANN)
24
Image source: Wiki
Questioning the Core of today’s AI
25
Artificial Neuron
Biological Neuron
Chaos in the Brain
“Neuro-Chaos”*
*Korn, H., & Faure, P. (2003). Is there chaos in the brain? II. Experimental evidence and related models. Comptes Rendus Biologies, 326(9), pp. 787-840.
Neurochaos Learning (NL)�- incorporating chaos into Artificial Neural Networks
27
We propose NL with 2 novel architectures:
ChaosNet (2019)
ChaosFEX + ML (2020-2022)
28
ChaosNet: A Neural Net with Chaotic Neurons
29
Chaotic Neuron
Chaotic Neuron: GLS Map (SkewTent)
How does it work?
30
Stopping criteria: When neural trace is in the ε-neighbourhood of stimulus
(halting guaranteed by Topological Transitivity property of Chaos in GLS)
Extract features from Chaotic Neural Trace
31
Other statistical features of neural trace can also be used.
Chaotic neural trace features fed to a classifier
Two Flavors of NL:
Currently tested on several datasets:
Haberman’s Survival, Breast Cancer Wisconsin
Statlog (Heart), Seeds, Free Spoken Digit Data, MNIST
SARS-CoV-2, Exoplanets, Intrusion detection,
Prey-Predator Datasets etc.
32
Accuracy:
73.89% to 98.33% with < 0.05% of data for training
33
Application of NL: COVID-19
SARS-CoV-2 genome classification using NL
34
COVID-19
> 6.5 million deaths worldwide
The average sensitivity, specificity and accuracy for NL are 0.998, 0.999 and 0.998 respectively
Neurochaos Learning (NL) vs. ANN
35
Neurochaos Learning exhibits Stochastic Resonance
GLS neurons
36
Research on NL by other groups
Laleh, Touraj, et al. "Chaotic Continual Learning." ICML 2020 Workshop LifelongML.
Chen, Huafeng, et al. "Deep ChaosNet for Action Recognition in Videos." Complexity 2021.
Please try out NL (available for free download and use)
ChaosFEX: https://github.com/pranaysy/ChaosFEX
ChaosFEX+SVM: https://github.com/HarikrishnanNB/genome_classification
SR in NL: https://github.com/HarikrishnanNB/stochastic_resonance_and_nl
Create your own NL
37
Conclusions
Unreasonable effectiveness of the Tent map and Generalized Luröth Series (GLS) in engineering applications due to:
38
Thanking my Collaborators & Funding Sources
39
Financial Support
Thank you!
References
[1] Kathleen T.. Alligood, Sauer, T., & Yorke, J. A. (2000). Chaos: an introduction to dynamical systems. New York: Springer.
[2] Dajani, K., & Kraaikamp, C. (2002). Ergodic theory of numbers, volume 29 of Carus Mathematical Monographs. Mathematical Association of America, Washington, DC, 1.
[3] Nagaraj, N., Vaidya, P. G., & Bhat, K. G. (2009). Arithmetic coding as a non-linear dynamical system. Communications in Nonlinear Science and Numerical Simulation, 14(4), 1013-1020.
[4] Balakrishnan, H. N., Kathpalia, A., Saha, S., & Nagaraj, N. (2019). ChaosNet: A chaos based artificial neural network architecture for classification. Chaos: An Interdisciplinary Journal of Nonlinear Science, 29(11), 113125.
[5] Harikrishnan, N. B., & Nagaraj, N. (2021). When noise meets chaos: Stochastic resonance in neurochaos learning. Neural Networks, 143, 425-435.
40
References…contd.
[6] Harikrishnan, N. B., Pranay, S. Y., & Nagaraj, N. (2022). Classification of SARS-CoV-2 viral genome sequences using Neurochaos Learning. Medical & Biological Engineering & Computing, 1-11.
[7] Sinha, S., & Ditto, W. L. (1998). Dynamics based computation. Physical Review Letters, 81(10), 2156.
[8] Ditto, W. L., Miliotis, A., Murali, K., Sinha, S., & Spano, M. L. (2010). Chaogates: Morphing logic gates that exploit dynamical patterns. Chaos: An Interdisciplinary Journal of Nonlinear Science, 20(3), 037107.
[9] Miliotis, A., Sinha, S., & Ditto, W. L. (2008). Exploiting nonlinear dynamics to store and process information. International Journal of Bifurcation and Chaos, 18(05), 1551-1559.
[10] Nagaraj, N., & Vaidya, P. G. (2009). Multiplexing of discrete chaotic signals in presence of noise. Chaos: An Interdisciplinary Journal of Nonlinear Science, 19(3), 033102.
41
References…contd.
[11] Nagaraj, N. (2019). Using cantor sets for error detection. PeerJ Computer Science, 5, e171.
[12] Nagaraj, N. (2012). One-Time Pad as a nonlinear dynamical system. Communications in Nonlinear Science and Numerical Simulation, 17(11), 4029-4036.
[13] Wong, K. W., Lin, Q., & Chen, J. (2010). Simultaneous arithmetic coding and encryption using chaotic maps. IEEE Transactions on Circuits and Systems II: Express Briefs, 57(2), 146-150.
[14] Palacios-Luengas, L., Pichardo-Méndez, J. L., Díaz-Méndez, J. A., Rodríguez-Santos, F., & Vázquez-Medina, R. (2019). PRNG based on skew tent map. Arabian Journal for Science and Engineering, 44(4), 3817-3830.
[15] Nithin Nagaraj, Novel applications of chaos theory to coding and cryptography, PhD Thesis, NIAS, 2008.
42
43
Thank You�Email: nithin@nias.res.in