Neural-Networks (Compatibility Mode) (Repaired)
Neural-Networks (Compatibility Mode) (Repaired)
Networks
History of the Artificial Neural Networks
history of the ANNs stems from the 1940s, the decade of the first electronic
computer.
However, the first important step took place in 1957 when Rosenblatt
introduced the first concrete neural model, the perceptron. Rosenblatt also
took part in constructing the first successful neurocomputer, the Mark I
Perceptron. After this, the development of ANNs has proceeded as
described in Figure.
History of the Artificial Neural Networks
Rosenblatt's original perceptron model contained only one layer. From this,
a multi-layered model was derived in 1960. At first, the use of the multi-
layer perceptron (MLP) was complicated by the lack of a appropriate
learning algorithm.
In 1974, Werbos came to introduce a so-called backpropagation algorithm
for the three-layered perceptron network.
History of the Artificial Neural Networks
in 1986, The application area of the MLP networks remained rather limited
until the breakthrough when a general back propagation algorithm for a
multi-layered perceptron was introduced by Rummelhart and Mclelland.
in 1982, Hopfield brought out his idea of a neural network. Unlike the
neurons in MLP, the Hopfield network consists of only one layer whose
neurons are fully connected with each other.
History of the Artificial Neural Networks
Since then, new versions of the Hopfield network have been developed.
The Boltzmann machine has been influenced by both the Hopfield network
and the MLP.
History of the Artificial Neural Networks
in 1988, Radial Basis Function (RBF) networks were first introduced by
Broomhead & Lowe. Although the basic idea of RBF was developed 30
years ago under the name method of potential function, the work by
Broomhead & Lowe opened a new frontier in the neural network
community.
History of the Artificial Neural Networks
in 1982, A totally unique kind of network model is the Self-Organizing
Map (SOM) introduced by Kohonen. SOM is a certain kind of topological
map which organizes itself based on the input patterns that it is trained with.
The SOM originated from the LVQ (Learning Vector Quantization)
network the underlying idea of which was also Kohonen's in 1972.
History of Artificial Neural
Networks
Since then, research on artificial neural networks has
remained active, leading to many new network types, as
well as hybrid algorithms and hardware for neural
information processing.
Artificial Neural Network
An artificial neural network consists of a pool of simple
processing units which communicate by sending signals to
each other over a large number of weighted connections.
Artificial Neural Network
A set of major aspects of a parallel distributed model include:
a set of processing units (cells).
a state of activation for every unit, which equivalent to the output of the
unit.
connections between the units. Generally each connection is defined by a
weight.
a propagation rule, which determines the effective input of a unit from its
external inputs.
an activation function, which determines the new level of activation based
on the effective input and the current activation.
an external input for each unit.
a method for information gathering (the learning rule).
an environment within which the system must operate, providing input
signals and _ if necessary _ error signals.
Computers vs. Neural Networks
“Standard” Computers Neural Networks
Dendrites: Input
Cell body: Processor
Synaptic: Link
Axon: Output
How do our brains work?
A processing element
The axon endings almost touch the dendrites or cell body of the
next neuron.
How do our brains work?
A processing element
Processing ∑
∑= X1+X2 + ….+Xm =
Output y
How do ANNs work?
Not all inputs are equal
xm ......... x2 x1
...
Input
w ...
weights m
..
w2 w1
Processing ∑ ∑= X1w1+X2w2 + ….
+Xmwm =y
Output y
How do ANNs work?
The signal is not passed down to the
next neuron verbatim
xm ......... x2 x1
...
Input
w
w w
...
weights m
..
2
1
Processing ∑
Transfer Function
f(vk)
(Activation Function)
Output y
The output is a function of the input, that is
affected by the weights, and the transfer
functions
Neural Network
• Humans have an ability to identify patterns within
the accessible information with an astonishingly hi
gh degree of accuracy.
• Whenever you see a car or a bicycle you can imm
ediately recognize what they are. This is because
we have learned over a period of time how a car a
nd bicycle looks like and what their distinguishing
features are.
• Artificial neural networks are computation systems
that intend to imitate human learning capabilities
via a complex architecture that resembles the hu
man nervous system.
Human Nervous System
Human Nervous System
• Human nervous system consists of billions of neuron
s. These neurons collectively process input received
from sensory organs, process the information, and d
ecides what to do in reaction to the input.
• A typical neuron in the human nervous system has t
hree main parts: dendrites, nucleus, and axons.
– The information passed to a neuron is received by
dendrites.
– The nucleus is responsible for processing this infor
mation.
– The output of a neuron is passed to other neurons
via the axon, which is connected to the dendrites
of other neurons further down the network.
Perceptron
• A perceptron is a simple binary classification
algorithm, proposed by Cornell scientist Frank
Rosenblatt.
• It helps to divide a set of input signals into tw
o parts—“yes” and “no”.
• But unlike many other classification algorithm
s, the perceptron was modeled after the esse
ntial unit of the human brain—the neuron and
has an uncanny ability to learn and solve com
plex problems.
Perceptron
Perceptron
• A perceptron is a very simple learning ma
chine. It can take in a few inputs, each of
which has a weight to signify how importa
nt it is, and generate an output decision of
“0” or “1”.
• However, when combined with many othe
r perceptrons, it forms an artificial neural
network.
• A neural network can, theoretically, answe
r any question, given enough training dat
a and computing power.
Multilayer Perceptron
• A multilayer perceptron (MLP) is a percept
ron that teams up with additional perceptr
ons, stacked in several layers, to solve co
mplex problems.
• Each perceptron in the first layer on the le
ft (the input layer), sends outputs to all th
e perceptrons in the second layer (the hid
den layer), and all perceptrons in the seco
nd layer send outputs to the final layer on
the right (the output layer).
Multilayer Perceptron
Multilayer Perceptron
• Each layer can have a large number of percep
trons, and there can be multiple layers, so the
multilayer perceptron can quickly become a v
ery complex system.
• The multilayer perceptron has another, more
common name—a neural network.
• A three-layer MLP, like the diagram in previou
s slide, is called a Non-Deep or Shallow Neural
Network.
• An MLP with four or more layers is called a De
ep Neural Network.
Multilayer Perceptron
• One difference between an MLP and a ne
ural network is that in the classic percept
ron, the decision function is a step functi
on and the output is binary.
• In neural networks that evolved from ML
Ps, other activation functions can be use
d which result in outputs of real values, u
sually between 0 and 1 or between -1 an
d 1.
• This allows for probability-based predicti
ons or classification of items into multipl
e labels.
Structure of a Perceptron
The Percpetron Learning
Process
1 Takes the inputs, multiplies them by their
weights, and computes their sum
2 Adds a bias factor, the number 1 multiplie
d by a weight
3 Feeds the sum through the activation func
tion
4 The result is the perceptron output
Step-1 Backpropogation
• Takes the inputs, multiplies them by their
weights, and computes their sum
• Why It’s Important ?
– The weights allow the perceptron to evaluate
the relative importance of each of the outputs.
– Neural network algorithms learn by discoverin
g better and better weights that result in a more
accurate prediction.
– There are several algorithms used to fine tune
the weights, the most common is called backpro
pagation.
Step-2 Neural Network
Bias
Few neurons:
Lower accuracy
Inability to learn at all
Optimal number.
Data representation
Usually input/output data needs pre‐processing
Pictures
Pixel intensity
Text:
A pattern
Size of training set
No one‐fits‐all formula
Over fitting can occur if a “good” training set is not
chosen
What constitutes a “good” training set?
Samples must represent the general population.
Samples must contain members of each class.
Samples in each class must contain a wide range of
variations or noise effect.
The size of the training set is related to the number of
hidden neurons
Learning Paradigms
Supervised learning
Unsupervised learning
Reinforcement learning
Supervised learning
This is what we have seen so far!
A network is fed with a set of training
samples (inputs and corresponding
output), and it uses these samples to learn
the general relationship between the
inputs and the outputs.
This relationship is represented by the
values of the weights of the trained
network.
Unsupervised learning
No desired output is associated with the
training data!
Faster than supervised learning
Used to find out structures within data:
Clustering
Compression
Reinforcement learning
Like supervised learning, but:
Weights adjusting is not directly related to the error
value.
The error value is used to randomly, shuffle weights!
Relatively slow learning due to ‘randomness’.
Applications Areas
Function approximation
including time series prediction and modeling.
Classification
including patterns and sequences recognition, novelty
detection and sequential decision making.
(radar systems, face identification, handwritten text recognition)
Data processing
including filtering, clustering blinds source separation and
compression.
(data mining, e-mail Spam filtering)
Advantages / Disadvantages
Advantages
Adapt to unknown situations
Powerful, it can model complex functions.
Ease of use, learns by example, and very little user
domain‐specific expertise needed
Disadvantages
Forgets
Not exact
Large complexity of the network structure
Conclusion
Artificial Neural Networks are an imitation of the biological
neural networks, but much simpler ones.
The computing would have a lot to gain from neural networks.
Their ability to learn by example makes them very flexible and
powerful furthermore there is need to device an algorithm in
order to perform a specific task.
Conclusion
Neural networks also contributes to area of research such a
neurology and psychology. They are regularly used to model
parts of living organizations and to investigate the internal
mechanisms of the brain.
Many factors affect the performance of ANNs, such as the
transfer functions, size of training sample, network topology,
weights adjusting algorithm, …
References
Craig Heller, and David Sadava, Life: The Science of Biology, fifth edition,
Sinauer Associates, INC, USA, 1998.
Introduction to Artificial Neural Networks, Nicolas Galoppo von Borries
Tom M. Mitchell, Machine Learning, WCB McGraw-Hill, Boston, 1997.
Thank You
Q. How does each neuron work in ANNS?
What is back propagation?
A neuron: receives input from many other neurons;
changes its internal state (activation) based on the
current input;
sends one output signal to many other neurons, possibly
including its input neurons (ANN is recurrent network).