ANN Components of Artifical Neural Networks-1
ANN Components of Artifical Neural Networks-1
September 3, 2020
V = {(i, j)|i, j ∈ N}
1
Figure: Data Processing of a Neuron
1
Kriesel, D.
Saad Y. Sait (SRMIST) Components September 3, 2020 4 / 30
Artificial Neuron
2
Figure: Artificial Neuron
2
Ahire, J.B, https://medium.com/@jayeshbahire/the-artificial-neural-networks-handbook-part-4-d2087d1f583e
Saad Y. Sait (SRMIST) Components September 3, 2020 5 / 30
Components of Neural Network
3
Figure: Feedforward Neural Network
3
deepai.org
Saad Y. Sait (SRMIST) Components September 3, 2020 6 / 30
Components Of a Neural Network
Activation State
Indicates the extent of the neuron’s activity and results from the activation
function. Represented as aj .
Threshold
The threshold Θj is uniquely assigned to j and marks the position of the
maximum gradient value of the activation function.
4
Figure: Heaviside Step Function
4
en.wikipedia.org
Saad Y. Sait (SRMIST) Components September 3, 2020 11 / 30
Components Of Neural Networks
Common Activation Functions
5
Figure: Logistic and Hyperbolic Tangent Activation Functions
5
https://arxiv.org/pdf/1811.03378.pdf
Saad Y. Sait (SRMIST) Components September 3, 2020 12 / 30
Components Of Neural Networks
Common Activation Functions
6
Figure: Fermi function with Temperature parameter
fout (aj ) = oj
Learning Strategy
The learning strategy is an algorithm that can be used to change and
thereby train the neural network, so that the network produces a desired
output for a given input.
7
deepai.org
8
deepai.org
Saad Y. Sait (SRMIST) Components September 3, 2020 18 / 30
Network Topologies
Feedforward Network
Feedforward Network
The neuron layers of a feedforward network are clearly separated: One
input layer, one output layer and one or more processing layers which are
invisible from the outside (also called hidden layers). Connections are only
permitted to neurons of the following layer.
Completely linked
every neuron is connected to all neurons of the next layer
9
Figure: Jordan and Elman Networks
9
developer.ibm.com
Saad Y. Sait (SRMIST) Components September 3, 2020 22 / 30
Network Topologies
Recurrent Network
Lateral recurrences
Connections between neurons within one layer
each neuron often inhibits the other neurons of the layer and
strengthens itself
winner takes all scheme
Bias Neuron
A bias neuron is a neuron whose output value is always 1. It is used to
represent neuron biases as connection weights, which enables any weight
training algorithm to train the biases at the same time.
XN
fact ( θji ai − b)
i=1
can be written as
N
X
fact ( θji ai )
i=0
Figure: Bias Neuron; output always 1, connection weight represents the threshold
(bias) 11
10
missinglink.ai
11
missinglink.ai
Saad Y. Sait (SRMIST) Components September 3, 2020 25 / 30
Order of Activations
Synchronous Activation
All neurons of a network calculate network inputs at the same time by
means of the propagation function, activation by means of the activation
function and output by means of the output function. After that the
activation cycle is complete. E.g. recurrent neural networks.
Asynchronous Activation
The neurons do not change their values simultaneously but at different
points of time.
Random order
A neuron is chosen at random, inputs accumulated and activation
function applied
all neurons may not get their turn in a cycle
Random permutation
each neuron is chosen exactly once, but in random order, during one
cycle.
at the beginning of a cycle, a permutation of neurons is calculated
randomly; each neuron activated in this order.
Both the above used in Hopfield network (associative memory)
Topological order
With topological order of activation the neurons are updated during one
cycle and according to a fixed order. The order is defined by the network
topology.