INTRODUCTIONTOARTIFICIALNEURALNETWORKS(ANN).ppt

AhmedJaha 228 views 42 slides Jun 15, 2024
Slide 1
Slide 1 of 42
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42

About This Presentation

INTRODUCTION TO ARTIFICIAL NEURAL NETWORKS (ANN)


Slide Content

INTRODUCTION TO
ARTIFICIAL NEURAL NETWORKS
(ANN)
Mohammed Shbier

Definition,whyandhowareneural
networksbeingusedinsolvingproblems
Humanbiologicalneuron
ArtificialNeuron
ComparisonofANNvsconventionalAI
methods
Outline
ApplicationsofANN

The idea of ANNs..?
NNslearnrelationshipbetweencauseandeffector
organizelargevolumesofdataintoorderlyand
informativepatterns.
frog
lion
bird
What is that?
It’s a frog

4
Neural networks to the rescue…
•Neuralnetwork:informationprocessing
paradigminspiredbybiologicalnervous
systems,suchasourbrain
•Structure:largenumberofhighlyinterconnected
processingelements(neurons)workingtogether
•Likepeople,theylearnfromexperience(by
example)

5
Definition of ANN
“Dataprocessingsystemconsistingofa
largenumber ofsimple,highly
interconnectedprocessing elements
(artificialneurons)inanarchitectureinspired
bythestructureofthecerebralcortexofthe
brain”
(Tsoukalas & Uhrig, 1997).

6
Inspiration from Neurobiology
Human Biological Neuron

Biological Neural Networks
Biological neuron

Biological Neural Networks
Abiologicalneuronhas
threetypesofmain
components;dendrites,
soma(orcellbody)and
axon.
Dendrites receives
signalsfromother
neurons.
Thesoma,sumstheincomingsignals.When
sufficientinputisreceived,thecellfires;thatisit
transmitasignaloveritsaxontoothercells.

Artificial Neurons
ANNisaninformationprocessingsystemthathas
certainperformancecharacteristicsincommon
withbiologicalnets.
Severalkeyfeaturesoftheprocessingelementsof
ANNaresuggestedbythepropertiesofbiological
neurons:
1.Theprocessingelementreceivesmanysignals.
2.Signalsmaybemodifiedbyaweightatthereceiving
synapse.
3.Theprocessingelementsumstheweightedinputs.
4.Underappropriatecircumstances(sufficientinput),the
neurontransmitsasingleoutput.
5.Theoutputfromaparticularneuronmaygotomanyother
neurons.

10
•From experience:
examples / training
data
•Strength of connection
between the neurons
is stored as a weight-
value for the specific
connection.
•Learning the solution
to a problem =
changing the
connectionweights
A physical neuron
An artificial neuron
Artificial Neurons

Artificial Neurons
ANNshavebeendevelopedasgeneralizationsof
mathematicalmodelsofneuralbiology,basedon
theassumptionsthat:
1.Informationprocessingoccursatmanysimpleelements
calledneurons.
2.Signalsarepassedbetweenneuronsoverconnectionlinks.
3.Eachconnectionlinkhasanassociatedweight,which,in
typicalneuralnet,multipliesthesignaltransmitted.
4.Eachneuronappliesanactivationfunctiontoitsnetinput
todetermineitsoutputsignal.

12
Four basic components of a human biological
neuron
The components of a basic artificial neuron
Artificial Neuron

13
Model Of A Neuron
 f()
Y
W
a
W
b
W
c
Connection
weights
Summing
function
computation
X
1
X
3
X
2
Input units
(dendrite) (synapse)
(axon)
(soma)

14
•A neural net consists of a large number of
simple processing elements called neurons,
units, cells or nodes.
•Each neuron is connected to other neurons by
means of directed communication links, each
with associated weight.
•The weight represent information being used by
the net to solve a problem.

15
•Each neuron has an internal state, called
its activation or activity level, which is a
function of the inputs it has received.
Typically, a neuron sends its activation as
a signal to several other neurons.
•It is important to note that a neuron can
send only one signal at a time, although
that signal is broadcast to several other
neurons.

16
•Neural networks are configured for a specific
application, such as pattern recognition or
data classification, through a learning
process
•In a biological system, learning involves
adjustments to the synaptic connections
between neurons
same for artificial neural networks (ANNs)

17
x
2
w
1
w
2
x
1
Dendrite
Axon
y
in= x
1w
1 + x
2w
2
Nukleus

Activation Function:
(y-in) = 1 if y-in >= 
and (y-in) = 0
y
-A neuron receives input, determines the strength or the weight of the input, calculates the total
weighted input, and compares the total weighted with a value (threshold)
-The value is in the range of 0 and 1
-If the total weighted input greater than or equal the threshold value, the neuron will produce the
output, and if the total weighted input less than the threshold value, no output will be produced
Synapse
Artificial Neural Network

18
History
•1943 McCulloch-Pitts neurons
•1949 Hebb’s law
•1958 Perceptron (Rosenblatt)
•1960 Adaline, better learning rule (Widrow,
Huff)
•1969 Limitations (Minsky, Papert)
•1972 Kohonen nets, associative memory

19
•1977 Brain State in a Box (Anderson)
•1982 Hopfield net, constraint satisfaction
•1985 ART (Carpenter, Grossfield)
•1986 Backpropagation (Rumelhart, Hinton,
McClelland)
•1988 Neocognitron, character recognition
(Fukushima)

20
Characterization
•Architecture
–a pattern of connections between neurons
•Single Layer Feedforward
•Multilayer Feedforward
•Recurrent
•Strategy / Learning Algorithm
–a method of determining the connection weights
•Supervised
•Unsupervised
•Reinforcement
•Activation Function
–Function to compute output signal from input signal

21
Single Layer Feedforward NN
x
2
w
11
w
12
x
1
w
21
w
22
y
m
y
n
Input layer
output layer
Contoh:ADALINE, AM, Hopfield, LVQ, Perceptron, SOFM

22
Multilayer Neural Network
x
2
V
11
w
12
x
1 
x
m






z
1
V
1n
z
n
z
2
V
mn
Input layer
Hidden layer
Output layer
y
1
y
2
Contoh:CCN, GRNN, MADALINE, MLFF with BP, Neocognitron, RBF, RCE
w
11
w
12

23
Recurrent NN
Input
Contoh:ART, BAM, BSB, Boltzman Machine, Cauchy Machine,
Hopfield, RNN
Hidden nodes
Outputs

24
Strategy / Learning Algorithm
•Learning is performed by presenting pattern with target
•During learning, produced output is compared with the desired output
–The difference between both output is used to modify learning
weights according to the learning algorithm
•Recognizing hand-written digits, pattern recognition and etc.
•Neural Network models: perceptron, feed-forward, radial basis function,
support vector machine.
Supervised Learning

25
•Targets are not provided
•Appropriate for clustering task
–Find similar groups of documents in the web, content
addressable memory, clustering.
•Neural Network models: Kohonen, self organizing maps,
Hopfield networks.
Unsupervised Learning

26
•Target is provided, but the desired output is absent.
•The net is only provided with guidance to determine the
produced output is correct or vise versa.
•Weights are modified in the units that have errors
Reinforcement Learning

27
Activation Functions
•Identity
f(x) = x
•Binary step
f(x) = 1 if x >= 
f(x) = 0 otherwise
•Binary sigmoid
f(x) = 1 / (1 + e
-sx
)
•Bipolar sigmoid
f(x) = -1 + 2 / (1 + e
-sx
)
•Hyperbolic tangent
f(x) = (e
x
–e
-x
) / (e
x
+ e
-x
)

28
Exercise
•2 input AND
1 1 1
1 0 0
0 1 0
0 0 0
1 1 1
1 0 1
0 1 1
0 0 0
•2 input OR

29
x
2
w
1=0.5
w
2 = 0.3
x
1
y
in= x
1w
1 + x
2w
2
 y
Activation Function:
Binary Step Function
= 0.5,
(y-in) = 1 if y-in >= 
dan (y-in) = 0

30
Where can neural network systems help…
•when we can't formulate an algorithmic
solution.
•when we canget lots of examples of the
behavior we require.
‘learning from experience’
•when we need to pick out the structure
from existing data.

31
Who is interested?...
•Electrical Engineers –signal processing,
control theory
•Computer Engineers –robotics
•Computer Scientists –artificial
intelligence, pattern recognition
•Mathematicians –modelling tool when
explicit relationships are unknown

32
Problem Domains
•Storing and recalling patterns
•Classifying patterns
•Mapping inputs onto outputs
•Grouping similar patterns
•Finding solutions to constrained
optimization problems

33
.
Input layer
Output layer
Input patterns00
00
11
11
01
11
0010
01
11
11
11
Sorted
patterns
00
00
00 10
10
10
STOP
Coronary
Disease
Neural
Net
Classification

34
01
1100
1011
11
00
00
10
Clustering

Medical Applications
Information
Searching & retrieval
Business & Management
Education
Chemistry
ANN Applications

36
•Signal processing
•Pattern recognition, e.g. handwritten
characters or face identification.
•Diagnosis or mapping symptoms to a
medical case.
•Speech recognition
•Human Emotion Detection
•Educational Loan Forecasting
Applications of ANNs

37
Male Age Temp WBC Pain
Intensity
Pain
Duration
37 10 11 20 1
adjustable
weights
0
1
0 0000
AppendicitisDiverticulitis
Perforated
Non-specific
Cholecystitis
Small Bowel
PancreatitisObstructionPain
Duodenal
Ulcer
37 10 11 20 1
Abdominal Pain Prediction

38
Voice Recognition

39
Educational Loan Forecasting System

40
NON-LINEARITY
It can model non-linear systems
INPUT-OUTPUT MAPPING
It can derive a relationship between a set of input & output
responses
ADAPTIVITY
The ability to learn allows the network to adapt to changes in
the surrounding environment
EVIDENTIAL RESPONSE
It can provide a confidence level to a given solution
Advantages Of NN

41
CONTEXTUAL INFORMATION
Knowledgeispresentedbythestructureofthenetwork.
Everyneuroninthenetworkispotentiallyaffectedbythe
globalactivityofallotherneuronsinthenetwork.
Consequently,contextualinformationisdealtwithnaturallyin
thenetwork.
FAULT TOLERANCE
Distributed nature of the NN gives it fault tolerant capabilities
NEUROBIOLOGY ANALOGY
Models the architecture of the brain
Advantages Of NN

42
Comparison of ANN with conventional AI methods
Tags