Lecture 1: �Artificial�Neural Networks
Presenter: Alan K. Nguyen, BUAIS
Sources:
“Deep Learning”, Ian Goodfellow, 2016
“Deep Learning: Foundations and Concepts”, David Bishop, 2023
Carnegie Mellon University, Advanced Deep Learning, Fall 2020, with permission.
Neural Networks Breakthroughs
So, what are they exactly?
Neural
Network
Voice Signal
Text Transcription
Neural
Network
Raw Image
Text Caption
Neural
Network
Game State
Next Best Move
It begins with the magical ability of humans: to Think.
Humans can:
Model of Human Cognition: Association
Dawn of Connectionism: how do we store Associations?
Connectionism
Bain’s Two Big Ideas
Result: Connectionist Machines.
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
From Biology to Mathematics: Neurons
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
What can Pitts Model Do?
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Problem: �No Learning Mechanism so far!
Hebbian Learning in a nutshell
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Problems with Hebbian Learning and Pitts Model
Figure provided by Cornell University, “Professor’s perceptron paved the way for AI – 60 years too soon”, 2019
Simplified Perceptrons
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Learning Algorithm for Perceptron
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Learning Boolean Gates!
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
What about our Good Friend, XOR Gate?
=> No solution for XOR!
Single Neuron (Rosenblatt) is not enough!
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Boolean Neural Networks!
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Boolean Perceptrons as Linear Classifier
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Composing complicated “decision”�boundaries
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Now, overlap them all!
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
Even more complex decision boundaries!
Figure provided by Carnegie Mellon University, Advanced Deep Learning, Fall 2020.
So, what are they exactly?�=> They are Functions Estimators
Function f
Voice Signal
Text Transcription
Function g
Raw Image
Text Caption
Function h
Game State
Next Best Move
f, g and h can be approximated by a neural network!
Interesting AI tasks are functions that can be modelled by the network.
Readings