740 likes | 899 Views
Introduction to Artificial Neural Networks. 主講人 : 虞台文. Content. Fundamental Concepts of ANNs. Basic Models and Learning Rules Neuron Models ANN structures Learning Distributed Representations Conclusions. Introduction to Artificial Neural Networks. Fundamental Concepts of ANNs.
E N D
Content • Fundamental Concepts of ANNs. • Basic Models and Learning Rules • Neuron Models • ANN structures • Learning • Distributed Representations • Conclusions
Introduction to ArtificialNeural Networks Fundamental Concepts of ANNs
What is ANN? Why ANN? • ANN Artificial Neural Networks • To simulate human brain behavior • A new generation of information processing system.
Applications • Pattern Matching • Pattern Recognition • Associate Memory (Content Addressable Memory) • Function Approximation • Learning • Optimization • Vector Quantization • Data Clustering • . . .
Traditional Computers are inefficient at these tasks although their computation speed is faster. Applications • Pattern Matching • Pattern Recognition • Associate Memory (Content Addressable Memory) • Function Approximation • Learning • Optimization • Vector Quantization • Data Clustering • . . .
The Configuration of ANNs • An ANN consists of a large number of interconnected processing elements called neurons. • A human brain consists of ~1011 neurons of many different types. • How ANN works? • Collective behavior.
The Biologic Neuron 二神經原之神經絲接合部分 軸突 樹狀突
The Biologic Neuron Excitatory or Inhibitory
x1 wi1 x2 yi i wi2 f (.) a (.) wim xm The Artificial Neuron
x1 wi1 x2 yi i wi2 f (.) a (.) wim xm The Artificial Neuron
x1 wi1 x2 yi i wi2 f (.) a (.) wim xm wij positive excitatory negative inhibitory zero no connection The Artificial Neuron
x1 wi1 x2 yi i wi2 f (.) a (.) wim xm The Artificial Neuron Proposed by McCulloch and Pitts [1943] M-P neurons
y x2 w1 x1 + w2 x2 = x1 w1 w2 x1 x2 What can be done by M-Pneurons? • A hard limiter. • A binary threshold unit. • Hyperspace separation. 0 1
What ANNs will be? • ANN A neurally inspired mathematical model. • Consists a large number of highly interconnected PEs. • Its connections (weights) holds knowledge. • The response of PE depends only on local information. • Its collective behavior demonstrates the computation power. • With learning, recalling and, generalization capability.
Three Basic Entities of ANN Models • Models of Neurons or PEs. • Models of synaptic interconnections and structures. • Training or learning rules.
Introduction to ArtificialNeural Networks Basic Models and Learning Rules Neuron Models ANN structures Learning
i f (.) a (.) Processing Elements Extensions of M-P neurons What integration functions we may have? What activation functions we may have?
M-P neuron Quadratic Function i Spherical Function f (.) a (.) Polynomial Function Integration Functions
i a f (.) a (.) 1 f Activation Functions M-P neuron: (Step function)
i a f (.) a (.) 1 f 1 Activation Functions Hard Limiter (Threshold function)
i f (.) a (.) a 1 f 1 Activation Functions Ramp function:
i f (.) a (.) Activation Functions Unipolar sigmoid function:
i f (.) a (.) Activation Functions Bipolar sigmoid function:
y L1 L3 L1 L2 L3 L2 y x x Example: Activation Surfaces
y L1 1=1 3= 4 2=1 L3 L1 L2 L3 1 0 1 1 L2 1 0 y x x Example: Activation Surfaces x1=0 xy+4=0 y1=0
y L1 L3 L1 L2 L3 L2 y x x Example: Activation Surfaces 010 Region Code 011 110 111 001 101 100
z y L1 L4 L3 L1 L2 L3 L2 y x x Example: Activation Surfaces z=0 z=1
z y L1 4=2.5 L4 L3 1 1 1 L1 L2 L3 L2 y x x Example: Activation Surfaces z=0 z=1
z L4 L1 L2 L3 y x Example: Activation Surfaces M-P neuron: (Step function)
=2 z =3 L4 L1 L2 L3 =5 =10 y x Unipolar sigmoid function: Example: Activation Surfaces
Introduction to ArtificialNeural Networks Basic Models and Learning Rules Neuron Models ANN structures Learning
y1 y2 yn . . . w1m w2m wn1 w21 w22 wn2 w11 wnm w12 x1 x2 xm Single-Layer Feedforward Networks
y1 y2 yn . . . Output Layer . . . . . . . . . Input Layer x1 x2 xm Multilayer Feedforward Networks Hidden Layer
Pattern Recognition Multilayer Feedforward Networks Where the knowledge from? Classification Output Analysis Learning Input
Single Node with Feedback to Itself Feedback Loop
y1 y2 yn . . . x1 x2 xm Single-Layer Recurrent Networks
y1 y2 y3 . . . . . . x1 x2 x3 Multilayer Recurrent Networks
Introduction to ArtificialNeural Networks Basic Models and Learning Rules Neuron Models ANN structures Learning
Learning • Consider an ANN with n neurons and each with m adaptive weights. • Weight matrix:
How? Learning To “Learn” the weight matrix. • Consider an ANN with n neurons and each with m adaptive weights. • Weight matrix:
Learning Rules • Supervised learning • Reinforcement learning • Unsupervised learning
Supervised Learning • Learning with a teacher • Learning by examples Training set
y x ANN W Supervised Learning d Error signal Generator
Reinforcement Learning • Learning with a critic • Learning by comments
y x ANN W Reinforcement Learning Reinforcement Signal Critic signal Generator
Unsupervised Learning • Self-organizing • Clustering • Form proper clusters by discovering the similarities and dissimilarities among objects.
y x ANN W Unsupervised Learning