SlideShare a Scribd company logo
Artificial Neural Networks
Overview
1. Artificial neural networks
2. Biological inspiration
3. Artificial neurons and neural networks
4. Learning processes
5. Learning with artificial neural networks
Artificial Neural Networks
Artificial neural network (ANN) is a
machine learning approach that models
human brain and consists of a number of
artificial neural.
Neural in Anns tend to have fewer
connections than biological neurals.
Biological inspiration
Animals are able to react adaptively to changes in their
external and internal environment, and they use their nervous
system to perform these behaviours.
An appropriate model/simulation of the nervous system
should be able to produce similar responses and behaviours in
artificial systems.
The nervous system is build by relatively simple units, the
neurons, so copying their behavior and functionality should be
the solution.
Biological inspiration
Dendrites
Soma (cell body)
Axon
Biological inspiration
synapses
axon
dendrites
The information transmission happens at the synapses.
Biological inspiration
The spikes travelling along the axon of the pre-synaptic
neuron trigger the release of neurotransmitter substances
at the synapse.
The neurotransmitters cause excitation or inhibition in the
dendrite of the post-synaptic neuron.
The integration of the excitatory and inhibitory signals
may produce spikes in the post-synaptic neuron.
The contribution of the signals depends on the strength of
the synaptic connection.
Artificial neurons
Neurons work by processing information. They receive and
provide information in form of spikes.
The McCullogh-Pitts model
Inputs
Output
w2
w1
w3
wn
wn-1
.
.
.
x1
x2
x3
…
xn-1
xn
y
)(;
1
zHyxwz
n
i
ii == ∑=
Artificial neurons
The McCullogh-Pitts model:
• spikes are interpreted as spike rates;
• synaptic strength are translated as synaptic weights;
• excitation means positive product between the
incoming spike rate and the corresponding synaptic
weight;
• inhibition means negative product between the
incoming spike rate and the corresponding synaptic
weight;
Artificial neurons
Nonlinear generalization of the McCullogh-Pitts
neuron:
),( wxfy =
y is the neuron’s output, x is the vector of inputs, and w
is the vector of synaptic weights.
Examples:
2
2
2
||||
1
1
a
wx
axw
ey
e
y T
−
−
−−
=
+
= sigmoidal neuron
Gaussian neuron
Artificial neural networksInputs
Output
An artificial neural network is composed of many artificial
neurons that are linked together according to a specific
network architecture. The objective of the neural network
is to transform the inputs into meaningful outputs.
Artificial neural networks
Tasks to be solved by artificial neural networks:
• controlling the movements of a robot based on self-
perception and other information (e.g., visual
information);
• deciding the category of potential food items (e.g.,
edible or non-edible) in an artificial world;
• recognizing a visual object (e.g., a familiar face);
• predicting where a moving object goes, when a robot
wants to catch it.
Learning in biological systems
Learning = learning by adaptation
The young animal learns that the green fruits are sour,
while the yellowish/reddish ones are sweet. The learning
happens by adapting the fruit picking behavior.
At the neural level the learning happens by changing of the
synaptic strengths, eliminating some synapses, and
building new ones.
Learning as optimisation
The objective of adapting the responses on the basis of the
information received from the environment is to achieve a
better state. E.g., the animal likes to eat many energy rich,
juicy fruits that make its stomach full, and makes it feel
happy.
In other words, the objective of learning in biological
organisms is to optimise the amount of available resources,
happiness, or in general to achieve a closer to optimal state.
Learning in biological neural
networks
The learning rules of Hebb:
• synchronous activation increases the synaptic strength;
• asynchronous activation decreases the synaptic
strength.
These rules fit with energy minimization principles.
Maintaining synaptic strength needs energy, it should be
maintained at those places where it is needed, and it
shouldn’t be maintained at places where it’s not needed.
Learning principle for
artificial neural networks
ENERGY MINIMIZATION
We need an appropriate definition of energy for artificial
neural networks, and having that we can use
mathematical optimisation techniques to find how to
change the weights of the synaptic connections between
neurons.
ENERGY = measure of task performance error
Neural network mathematicsInputs
Output
),(
),(
),(
),(
1
44
1
4
1
33
1
3
1
22
1
2
1
11
1
1
wxfy
wxfy
wxfy
wxfy
=
=
=
=
),(
),(
),(
2
3
12
3
2
2
12
2
2
1
12
1
wyfy
wyfy
wyfy
=
=
=














=
1
4
1
3
1
2
1
1
1
y
y
y
y
y ),( 3
1
2
wyfyOut =










=
2
3
2
3
2
3
2
y
y
y
y
Neural network mathematics
Neural network: input / output transformation
),( WxFyout =
W is the matrix of all weight vectors.
MLP neural networks
MLP = multi-layer perceptron
Perceptron:
MLP neural network:
xwy T
out = x yout
x yout
23
2
1
23
2
2
2
1
2
2
1
3
1
2
1
1
1
1
),(
2,1,
1
1
),,(
3,2,1,
1
1
212
11
ywywy
yyy
k
e
y
yyyy
k
e
y
T
k
kkout
T
aywk
T
axwk
k
kT
k
kT
==
=
=
+
=
=
=
+
=
∑
=
−−
−−
RBF neural networks
RBF = radial basis function
2
2
2
||||
)(
||)(||)(
a
wx
exf
cxrxr
−
−
=
−=
Example: Gaussian RBF
x
yout
∑
=
−
−
⋅=
4
1
)(2
||||
2 2
2,1
k
a
wx
kout
k
k
ewy
Neural network tasks
• control
• classification
• prediction
• approximation
These can be reformulated
in general as
FUNCTION
APPROXIMATION
tasks.
Approximation: given a set of values of a function g(x)
build a neural network that approximates the g(x) values
for any input x.
Neural network approximation
Task specification:
Data: set of value pairs: (xt
, yt), yt=g(xt
) + zt; zt is random
measurement noise.
Objective: find a neural network that represents the input /
output transformation (a function) F(x,W) such that
F(x,W) approximates g(x) for every x
Learning to approximate
Error measure:
∑
=
−=
N
t
tt yWxF
N
E
1
2
));((
1
Rule for changing the synaptic weights:
j
i
j
i
newj
i
j
i
j
i
www
W
w
E
cw
∆+=
∂
∂
⋅−=∆
,
)(
c is the learning parameter (usually a constant)
Learning with a perceptron
Perceptron: xwy T
out =
Data: ),(),...,,(),,( 2
2
1
1
N
N
yxyxyx
Error:
22
))(())(()( t
tT
tout yxtwytytE −=−=
Learning:
t
j
m
j
j
T
t
it
tT
ii
i
t
tT
i
i
ii
xtwxtw
xyxtwctwtw
w
yxtw
ctw
w
tE
ctwtw
⋅=
⋅−⋅−=+
∂
−∂
⋅−=
∂
∂
⋅−=+
∑
=1
2
)()(
))(()()1(
))((
)(
)(
)()1(
A perceptron is able to learn a linear function.
Learning with RBF neural
networks
RBF neural network:
Data: ),(),...,,(),,( 2
2
1
1
N
N
yxyxyx
Error: 2
1
)(2
||||
22
))(())(()(
2
2,1
t
M
k
a
wx
ktout yetwytytE k
kt
−⋅=−= ∑
=
−
−
Learning:
2
2,1
)(2
||||
2
2
22
)))(,((2
)(
)(
)()1(
i
it
a
wx
t
t
i
i
ii
eytWxF
w
tE
w
tE
ctwtw
−
−
⋅−⋅=
∂
∂
∂
∂
⋅−=+
Only the synaptic weights of the output neuron are modified.
An RBF neural network learns a nonlinear function.
∑
=
−
−
⋅==
M
k
a
wx
kout
k
k
ewWxFy
1
)(2
||||
2 2
2,1
),(
Learning with MLP neural
networks
MLP neural network:
with p layers
Data: ),(),...,,(),,( 2
2
1
1
N
N
yxyxyx
Error: 22
));(())(()( t
t
tout yWxFytytE −=−=
1
22
1
2
2
2
11
1
1
1
1
);(
...
),...,(
,...,1,
1
1
),...,(
,...,1,
1
1
2
212
1
11
−
−−
−−
==
=
=
+
=
=
=
+
=
ppT
out
T
M
aywk
T
M
axwk
ywWxFy
yyy
Mk
e
y
yyy
Mk
e
y
k
kT
k
kT
It is very complicated to calculate the weight changes.
x
yout
1 2 … p-1 p
Learning with backpropagation
Solution of the complicated learning:
• calculate first the changes for the synaptic weights
of the output neuron;
• calculate the changes backward starting from layer
p-1, and propagate backward the local error terms.
The method is still relatively complicated but it
is much simpler than the original optimisation
problem.
Learning with general optimisation
In general it is enough to have a single layer of nonlinear
neurons in a neural network in order to learn to
approximate a nonlinear function.
In such case general optimisation may be applied without
too much difficulty.
Example: an MLP neural network with a single hidden layer:
∑
=
−−
+
⋅==
M
k
axwkout
k
kT
e
wWxFy
1
2
,1
1
1
);(
Learning with general optimisation
i
tiT
axwt
t
i
i
ii
e
ytWxF
w
tE
w
tE
ctwtw
−−
+
⋅−⋅=
∂
∂
∂
∂
⋅−=+
,1
1
1
)))(,((2
)(
)(
)()1(
2
2
22
Synaptic weight change rules for the output neuron:
Synaptic weight change rules for the neurons of the
hidden layer:
( )
( )
( )
( )
)(
1
)))(,((2)()1(
11
1
1
1
)))(,((2
)(
)(
)()1(
2
,1,1
,1
,1
,1
,12,1
,1,1
,1
,1,1
,1
,1
,1
,1
,1
,1
t
j
axw
axw
t
ti
j
i
j
t
ji
tiT
i
j
i
tiT
i
j
axw
axw
axwi
j
axwi
j
t
t
i
j
i
j
i
j
i
j
x
e
e
ytWxFctwtw
xaxw
w
axw
we
e
ew
ew
ytWxF
w
tE
w
tE
ctwtw
i
tiT
i
tiT
i
tiT
i
tiT
i
tiT
i
tiT
−⋅
+
⋅−⋅⋅−=+
−=−−
∂
∂
−−
∂
∂
⋅
+
=





+∂
∂






+∂
∂
⋅−⋅=
∂
∂
∂
∂
⋅−=+
−−
−−
−−
−−
−−
−−
New methods for learning with
neural networks
Bayesian learning:
the distribution of the neural network
parameters is learnt
Support vector learning:
the minimal representative subset of the
available data is used to calculate the synaptic
weights of the neurons
Summary
• Artificial neural networks are inspired by the learning
processes that take place in biological systems.
• Artificial neurons and neural networks try to imitate the
working mechanisms of their biological counterparts.
• Learning can be perceived as an optimisation process.
• Biological neural learning happens by the modification
of the synaptic strength. Artificial neural networks learn
in the same way.
• The synapse strength modification rules for artificial
neural networks can be derived by applying
mathematical optimisation methods.
Summary
• Learning tasks of artificial neural networks can be
reformulated as function approximation tasks.
• Neural networks can be considered as nonlinear function
approximating tools (i.e., linear combinations of nonlinear
basis functions), where the parameters of the networks
should be found by applying optimisation methods.
• The optimisation is done with respect to the approximation
error measure.
• In general it is enough to have a single hidden layer neural
network (MLP, RBF or other) to learn the approximation of
a nonlinear function. In such cases general optimisation can
be applied to find the change rules for the synaptic weights.

More Related Content

What's hot

Perceptron & Neural Networks
Perceptron & Neural NetworksPerceptron & Neural Networks
Perceptron & Neural Networks
NAGUR SHAREEF SHAIK
 
Artificial Neural Networks - ANN
Artificial Neural Networks - ANNArtificial Neural Networks - ANN
Artificial Neural Networks - ANN
Mohamed Talaat
 
Neural network
Neural network Neural network
Neural network
Faireen
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
NikitaRuhela
 
Introduction Of Artificial neural network
Introduction Of Artificial neural networkIntroduction Of Artificial neural network
Introduction Of Artificial neural network
Nagarajan
 
Neural network
Neural networkNeural network
Neural network
Saddam Hussain
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
Ismail El Gayar
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
madhu sudhakar
 
Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing
Sivagowry Shathesh
 
Deep learning
Deep learning Deep learning
Deep learning
Rajgupta258
 
Artificial neural networks and its applications
Artificial neural networks and its applications Artificial neural networks and its applications
Artificial neural networks and its applications
PoojaKoshti2
 
Neural networks
Neural networksNeural networks
Neural networks
Rizwan Rizzu
 
Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)
spartacus131211
 
Nural network ER. Abhishek k. upadhyay
Nural network ER. Abhishek  k. upadhyayNural network ER. Abhishek  k. upadhyay
Nural network ER. Abhishek k. upadhyay
abhishek upadhyay
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
Priyank Panchmiya
 
Back propagation
Back propagationBack propagation
Back propagation
Nagarajan
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksFrancesco Collova'
 
Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)
Muhammad Haroon
 
Neural networks.ppt
Neural networks.pptNeural networks.ppt
Neural networks.ppt
SrinivashR3
 
Back propagation network
Back propagation networkBack propagation network
Back propagation network
HIRA Zaidi
 

What's hot (20)

Perceptron & Neural Networks
Perceptron & Neural NetworksPerceptron & Neural Networks
Perceptron & Neural Networks
 
Artificial Neural Networks - ANN
Artificial Neural Networks - ANNArtificial Neural Networks - ANN
Artificial Neural Networks - ANN
 
Neural network
Neural network Neural network
Neural network
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Introduction Of Artificial neural network
Introduction Of Artificial neural networkIntroduction Of Artificial neural network
Introduction Of Artificial neural network
 
Neural network
Neural networkNeural network
Neural network
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
 
Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing
 
Deep learning
Deep learning Deep learning
Deep learning
 
Artificial neural networks and its applications
Artificial neural networks and its applications Artificial neural networks and its applications
Artificial neural networks and its applications
 
Neural networks
Neural networksNeural networks
Neural networks
 
Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)
 
Nural network ER. Abhishek k. upadhyay
Nural network ER. Abhishek  k. upadhyayNural network ER. Abhishek  k. upadhyay
Nural network ER. Abhishek k. upadhyay
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Back propagation
Back propagationBack propagation
Back propagation
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural Networks
 
Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)
 
Neural networks.ppt
Neural networks.pptNeural networks.ppt
Neural networks.ppt
 
Back propagation network
Back propagation networkBack propagation network
Back propagation network
 

Similar to Artificial Neural Network seminar presentation using ppt.

Annintro
AnnintroAnnintro
Annintro
airsrch
 
annintro.ppt
annintro.pptannintro.ppt
annintro.ppt
GoodlookingAbbas
 
lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.pptbutest
 
Neural networks of artificial intelligence
Neural networks of artificial  intelligenceNeural networks of artificial  intelligence
Neural networks of artificial intelligence
alldesign
 
Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101AMIT KUMAR
 
Unit+i
Unit+iUnit+i
Neural Networks-introduction_with_prodecure.pptx
Neural Networks-introduction_with_prodecure.pptxNeural Networks-introduction_with_prodecure.pptx
Neural Networks-introduction_with_prodecure.pptx
RatuRumana3
 
Artificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical DiagnosisArtificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical Diagnosis
Adityendra Kumar Singh
 
02 Fundamental Concepts of ANN
02 Fundamental Concepts of ANN02 Fundamental Concepts of ANN
02 Fundamental Concepts of ANN
Tamer Ahmed Farrag, PhD
 
JAISTサマースクール2016「脳を知るための理論」講義04 Neural Networks and Neuroscience
JAISTサマースクール2016「脳を知るための理論」講義04 Neural Networks and Neuroscience JAISTサマースクール2016「脳を知るための理論」講義04 Neural Networks and Neuroscience
JAISTサマースクール2016「脳を知るための理論」講義04 Neural Networks and Neuroscience
hirokazutanaka
 
Artificial neural networks
Artificial neural networks Artificial neural networks
Artificial neural networks
Institute of Technology Telkom
 
Artificial Neural Networks ppt.pptx for final sem cse
Artificial Neural Networks  ppt.pptx for final sem cseArtificial Neural Networks  ppt.pptx for final sem cse
Artificial Neural Networks ppt.pptx for final sem cse
NaveenBhajantri1
 
Artificial neural networks seminar presentation using MSWord.
Artificial neural networks seminar presentation using MSWord.Artificial neural networks seminar presentation using MSWord.
Artificial neural networks seminar presentation using MSWord.
Mohd Faiz
 
10-Perceptron.pdf
10-Perceptron.pdf10-Perceptron.pdf
10-Perceptron.pdf
ESTIBALYZJIMENEZCAST
 
Neural Networks Ver1
Neural  Networks  Ver1Neural  Networks  Ver1
Neural Networks Ver1
ncct
 
Artificial neural networks (2)
Artificial neural networks (2)Artificial neural networks (2)
Artificial neural networks (2)
sai anjaneya
 
SOFT COMPUTERING TECHNICS -Unit 1
SOFT COMPUTERING TECHNICS -Unit 1SOFT COMPUTERING TECHNICS -Unit 1
SOFT COMPUTERING TECHNICS -Unit 1sravanthi computers
 
ARITIFICIAL NEURAL NETWORKS BEGIINER TOPIC
ARITIFICIAL NEURAL NETWORKS BEGIINER TOPICARITIFICIAL NEURAL NETWORKS BEGIINER TOPIC
ARITIFICIAL NEURAL NETWORKS BEGIINER TOPIC
DrBHariChandana
 

Similar to Artificial Neural Network seminar presentation using ppt. (20)

Annintro
AnnintroAnnintro
Annintro
 
annintro.ppt
annintro.pptannintro.ppt
annintro.ppt
 
Annintro
AnnintroAnnintro
Annintro
 
lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.ppt
 
Neural networks of artificial intelligence
Neural networks of artificial  intelligenceNeural networks of artificial  intelligence
Neural networks of artificial intelligence
 
Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101
 
Unit+i
Unit+iUnit+i
Unit+i
 
Neural Networks-introduction_with_prodecure.pptx
Neural Networks-introduction_with_prodecure.pptxNeural Networks-introduction_with_prodecure.pptx
Neural Networks-introduction_with_prodecure.pptx
 
Artificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical DiagnosisArtificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical Diagnosis
 
02 Fundamental Concepts of ANN
02 Fundamental Concepts of ANN02 Fundamental Concepts of ANN
02 Fundamental Concepts of ANN
 
JAISTサマースクール2016「脳を知るための理論」講義04 Neural Networks and Neuroscience
JAISTサマースクール2016「脳を知るための理論」講義04 Neural Networks and Neuroscience JAISTサマースクール2016「脳を知るための理論」講義04 Neural Networks and Neuroscience
JAISTサマースクール2016「脳を知るための理論」講義04 Neural Networks and Neuroscience
 
Artificial neural networks
Artificial neural networks Artificial neural networks
Artificial neural networks
 
Artificial Neural Networks ppt.pptx for final sem cse
Artificial Neural Networks  ppt.pptx for final sem cseArtificial Neural Networks  ppt.pptx for final sem cse
Artificial Neural Networks ppt.pptx for final sem cse
 
Artificial neural networks seminar presentation using MSWord.
Artificial neural networks seminar presentation using MSWord.Artificial neural networks seminar presentation using MSWord.
Artificial neural networks seminar presentation using MSWord.
 
10-Perceptron.pdf
10-Perceptron.pdf10-Perceptron.pdf
10-Perceptron.pdf
 
Neural Networks Ver1
Neural  Networks  Ver1Neural  Networks  Ver1
Neural Networks Ver1
 
Artificial neural networks (2)
Artificial neural networks (2)Artificial neural networks (2)
Artificial neural networks (2)
 
SOFT COMPUTERING TECHNICS -Unit 1
SOFT COMPUTERING TECHNICS -Unit 1SOFT COMPUTERING TECHNICS -Unit 1
SOFT COMPUTERING TECHNICS -Unit 1
 
ARITIFICIAL NEURAL NETWORKS BEGIINER TOPIC
ARITIFICIAL NEURAL NETWORKS BEGIINER TOPICARITIFICIAL NEURAL NETWORKS BEGIINER TOPIC
ARITIFICIAL NEURAL NETWORKS BEGIINER TOPIC
 
Neural networks introduction
Neural networks introductionNeural networks introduction
Neural networks introduction
 

Recently uploaded

Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
Faculty of Medicine And Health Sciences
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
Howard Spence
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Access Innovations, Inc.
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
OWASP Beja
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
IP ServerOne
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
faizulhassanfaiz1670
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
khadija278284
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Sebastiano Panichella
 
Eureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 PresentationEureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 Presentation
Access Innovations, Inc.
 
Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
Vladimir Samoylov
 
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
OECD Directorate for Financial and Enterprise Affairs
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Matjaž Lipuš
 
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Orkestra
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
Sebastiano Panichella
 
María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
eCommerce Institute
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Sebastiano Panichella
 

Recently uploaded (16)

Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
 
Eureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 PresentationEureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 Presentation
 
Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
 
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
 
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
 
María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
 

Artificial Neural Network seminar presentation using ppt.

  • 2. Overview 1. Artificial neural networks 2. Biological inspiration 3. Artificial neurons and neural networks 4. Learning processes 5. Learning with artificial neural networks
  • 3. Artificial Neural Networks Artificial neural network (ANN) is a machine learning approach that models human brain and consists of a number of artificial neural. Neural in Anns tend to have fewer connections than biological neurals.
  • 4. Biological inspiration Animals are able to react adaptively to changes in their external and internal environment, and they use their nervous system to perform these behaviours. An appropriate model/simulation of the nervous system should be able to produce similar responses and behaviours in artificial systems. The nervous system is build by relatively simple units, the neurons, so copying their behavior and functionality should be the solution.
  • 7. Biological inspiration The spikes travelling along the axon of the pre-synaptic neuron trigger the release of neurotransmitter substances at the synapse. The neurotransmitters cause excitation or inhibition in the dendrite of the post-synaptic neuron. The integration of the excitatory and inhibitory signals may produce spikes in the post-synaptic neuron. The contribution of the signals depends on the strength of the synaptic connection.
  • 8. Artificial neurons Neurons work by processing information. They receive and provide information in form of spikes. The McCullogh-Pitts model Inputs Output w2 w1 w3 wn wn-1 . . . x1 x2 x3 … xn-1 xn y )(; 1 zHyxwz n i ii == ∑=
  • 9. Artificial neurons The McCullogh-Pitts model: • spikes are interpreted as spike rates; • synaptic strength are translated as synaptic weights; • excitation means positive product between the incoming spike rate and the corresponding synaptic weight; • inhibition means negative product between the incoming spike rate and the corresponding synaptic weight;
  • 10. Artificial neurons Nonlinear generalization of the McCullogh-Pitts neuron: ),( wxfy = y is the neuron’s output, x is the vector of inputs, and w is the vector of synaptic weights. Examples: 2 2 2 |||| 1 1 a wx axw ey e y T − − −− = + = sigmoidal neuron Gaussian neuron
  • 11. Artificial neural networksInputs Output An artificial neural network is composed of many artificial neurons that are linked together according to a specific network architecture. The objective of the neural network is to transform the inputs into meaningful outputs.
  • 12. Artificial neural networks Tasks to be solved by artificial neural networks: • controlling the movements of a robot based on self- perception and other information (e.g., visual information); • deciding the category of potential food items (e.g., edible or non-edible) in an artificial world; • recognizing a visual object (e.g., a familiar face); • predicting where a moving object goes, when a robot wants to catch it.
  • 13. Learning in biological systems Learning = learning by adaptation The young animal learns that the green fruits are sour, while the yellowish/reddish ones are sweet. The learning happens by adapting the fruit picking behavior. At the neural level the learning happens by changing of the synaptic strengths, eliminating some synapses, and building new ones.
  • 14. Learning as optimisation The objective of adapting the responses on the basis of the information received from the environment is to achieve a better state. E.g., the animal likes to eat many energy rich, juicy fruits that make its stomach full, and makes it feel happy. In other words, the objective of learning in biological organisms is to optimise the amount of available resources, happiness, or in general to achieve a closer to optimal state.
  • 15. Learning in biological neural networks The learning rules of Hebb: • synchronous activation increases the synaptic strength; • asynchronous activation decreases the synaptic strength. These rules fit with energy minimization principles. Maintaining synaptic strength needs energy, it should be maintained at those places where it is needed, and it shouldn’t be maintained at places where it’s not needed.
  • 16. Learning principle for artificial neural networks ENERGY MINIMIZATION We need an appropriate definition of energy for artificial neural networks, and having that we can use mathematical optimisation techniques to find how to change the weights of the synaptic connections between neurons. ENERGY = measure of task performance error
  • 18. Neural network mathematics Neural network: input / output transformation ),( WxFyout = W is the matrix of all weight vectors.
  • 19. MLP neural networks MLP = multi-layer perceptron Perceptron: MLP neural network: xwy T out = x yout x yout 23 2 1 23 2 2 2 1 2 2 1 3 1 2 1 1 1 1 ),( 2,1, 1 1 ),,( 3,2,1, 1 1 212 11 ywywy yyy k e y yyyy k e y T k kkout T aywk T axwk k kT k kT == = = + = = = + = ∑ = −− −−
  • 20. RBF neural networks RBF = radial basis function 2 2 2 |||| )( ||)(||)( a wx exf cxrxr − − = −= Example: Gaussian RBF x yout ∑ = − − ⋅= 4 1 )(2 |||| 2 2 2,1 k a wx kout k k ewy
  • 21. Neural network tasks • control • classification • prediction • approximation These can be reformulated in general as FUNCTION APPROXIMATION tasks. Approximation: given a set of values of a function g(x) build a neural network that approximates the g(x) values for any input x.
  • 22. Neural network approximation Task specification: Data: set of value pairs: (xt , yt), yt=g(xt ) + zt; zt is random measurement noise. Objective: find a neural network that represents the input / output transformation (a function) F(x,W) such that F(x,W) approximates g(x) for every x
  • 23. Learning to approximate Error measure: ∑ = −= N t tt yWxF N E 1 2 ));(( 1 Rule for changing the synaptic weights: j i j i newj i j i j i www W w E cw ∆+= ∂ ∂ ⋅−=∆ , )( c is the learning parameter (usually a constant)
  • 24. Learning with a perceptron Perceptron: xwy T out = Data: ),(),...,,(),,( 2 2 1 1 N N yxyxyx Error: 22 ))(())(()( t tT tout yxtwytytE −=−= Learning: t j m j j T t it tT ii i t tT i i ii xtwxtw xyxtwctwtw w yxtw ctw w tE ctwtw ⋅= ⋅−⋅−=+ ∂ −∂ ⋅−= ∂ ∂ ⋅−=+ ∑ =1 2 )()( ))(()()1( ))(( )( )( )()1( A perceptron is able to learn a linear function.
  • 25. Learning with RBF neural networks RBF neural network: Data: ),(),...,,(),,( 2 2 1 1 N N yxyxyx Error: 2 1 )(2 |||| 22 ))(())(()( 2 2,1 t M k a wx ktout yetwytytE k kt −⋅=−= ∑ = − − Learning: 2 2,1 )(2 |||| 2 2 22 )))(,((2 )( )( )()1( i it a wx t t i i ii eytWxF w tE w tE ctwtw − − ⋅−⋅= ∂ ∂ ∂ ∂ ⋅−=+ Only the synaptic weights of the output neuron are modified. An RBF neural network learns a nonlinear function. ∑ = − − ⋅== M k a wx kout k k ewWxFy 1 )(2 |||| 2 2 2,1 ),(
  • 26. Learning with MLP neural networks MLP neural network: with p layers Data: ),(),...,,(),,( 2 2 1 1 N N yxyxyx Error: 22 ));(())(()( t t tout yWxFytytE −=−= 1 22 1 2 2 2 11 1 1 1 1 );( ... ),...,( ,...,1, 1 1 ),...,( ,...,1, 1 1 2 212 1 11 − −− −− == = = + = = = + = ppT out T M aywk T M axwk ywWxFy yyy Mk e y yyy Mk e y k kT k kT It is very complicated to calculate the weight changes. x yout 1 2 … p-1 p
  • 27. Learning with backpropagation Solution of the complicated learning: • calculate first the changes for the synaptic weights of the output neuron; • calculate the changes backward starting from layer p-1, and propagate backward the local error terms. The method is still relatively complicated but it is much simpler than the original optimisation problem.
  • 28. Learning with general optimisation In general it is enough to have a single layer of nonlinear neurons in a neural network in order to learn to approximate a nonlinear function. In such case general optimisation may be applied without too much difficulty. Example: an MLP neural network with a single hidden layer: ∑ = −− + ⋅== M k axwkout k kT e wWxFy 1 2 ,1 1 1 );(
  • 29. Learning with general optimisation i tiT axwt t i i ii e ytWxF w tE w tE ctwtw −− + ⋅−⋅= ∂ ∂ ∂ ∂ ⋅−=+ ,1 1 1 )))(,((2 )( )( )()1( 2 2 22 Synaptic weight change rules for the output neuron: Synaptic weight change rules for the neurons of the hidden layer: ( ) ( ) ( ) ( ) )( 1 )))(,((2)()1( 11 1 1 1 )))(,((2 )( )( )()1( 2 ,1,1 ,1 ,1 ,1 ,12,1 ,1,1 ,1 ,1,1 ,1 ,1 ,1 ,1 ,1 ,1 t j axw axw t ti j i j t ji tiT i j i tiT i j axw axw axwi j axwi j t t i j i j i j i j x e e ytWxFctwtw xaxw w axw we e ew ew ytWxF w tE w tE ctwtw i tiT i tiT i tiT i tiT i tiT i tiT −⋅ + ⋅−⋅⋅−=+ −=−− ∂ ∂ −− ∂ ∂ ⋅ + =      +∂ ∂       +∂ ∂ ⋅−⋅= ∂ ∂ ∂ ∂ ⋅−=+ −− −− −− −− −− −−
  • 30. New methods for learning with neural networks Bayesian learning: the distribution of the neural network parameters is learnt Support vector learning: the minimal representative subset of the available data is used to calculate the synaptic weights of the neurons
  • 31. Summary • Artificial neural networks are inspired by the learning processes that take place in biological systems. • Artificial neurons and neural networks try to imitate the working mechanisms of their biological counterparts. • Learning can be perceived as an optimisation process. • Biological neural learning happens by the modification of the synaptic strength. Artificial neural networks learn in the same way. • The synapse strength modification rules for artificial neural networks can be derived by applying mathematical optimisation methods.
  • 32. Summary • Learning tasks of artificial neural networks can be reformulated as function approximation tasks. • Neural networks can be considered as nonlinear function approximating tools (i.e., linear combinations of nonlinear basis functions), where the parameters of the networks should be found by applying optimisation methods. • The optimisation is done with respect to the approximation error measure. • In general it is enough to have a single hidden layer neural network (MLP, RBF or other) to learn the approximation of a nonlinear function. In such cases general optimisation can be applied to find the change rules for the synaptic weights.