Lec 1 - Deep Learning introduction
Lec 1 - Deep Learning introduction
Reference
• Deep Learning, An MIT Press book, by Ian Goodfellow and Yoshua Bengio and
Aaron Courville
• Millions of manufacturing
jobs to be lost to robots.
https://www.trtworld.com/life/how-robots-are-stealing-human-jobs-and-threatening-our-future-28285
Self-Driving Cars
• AI simulates human perceptual and decision-making processes using deep
learning and controls actions in driver control systems, such as steering and
brakes.
• Every piece of data (concerning
self-driving cars, we talk about
data received by the vehicle’s
sensors) goes through the multi-
layered neural network, enabling
analyzing images in a much more
comprehensive way.
Self-Driving Cars
• Waymo - a US-based company that’s working on the world’s first
autonomous ride-hailing service and autonomous trucking and local
delivery solutions.
• Network of
radars, lidars, and
cameras
• Waymo’s cars
have already
driven over 20
billion miles both
in the real world
and in simulations
Self-Driving Cars
• Autonomous buses produced by the Aurrigo company will be operating
on the streets of British Cambridge.
https://youtu.be/6ttW78t4XKg
Image segmentation and recognition
AI for Urban Surveillance –
An Example of China
• https://www.youtube.com/watch
?v=7gSU_Xes3GQ
• 3.48 – 7.20
Image Recognition
• Vehicle Make
and Model
Classification
• SafeCity
Project
Captions
Generated
using Neural
Networks
ThisPersonDoesNotExist.com uses AI to
generate fake faces
https://www.theverge.c
om/tldr/2019/2/15/182
26005/ai-generated-
fake-people-portraits-
thispersondoesnotexist-
stylegan
Image Segmentation using Deep Learning
• Urban mapping and
planning
• Precision agriculture
• Flood detection
• Target detection
• Mineral exploration
• Environmental monitoring
• Disaster monitoring
• Estimation of soil erosion
and salinity
Image Segmentation: Example
Deep Learning for Natural Language
Processing (NLP)
• NLP allows a computer to understand human language using deep
learning
• Computers require structured data – human speech is unstructured
and often ambiguous
• “The boy saw the man with the telescope”. (Syntactic Ambiguity)
• “The car hit the pole while it was moving”. (Semantic Ambiguity)
• Associationism
– Humans and animals learn through association
• 400BC-1900AD: Plato, David Hume, Ivan Pavlov..
What are “Associations”
• Lightning is generally followed by thunder
– Ergo – “hey here’s a bolt of lightning, we’re
going to hear
thunder”
– Ergo – “We just heard thunder; did someone
get hit by
lightning”?
Examples?
Associationism
• Collection of ideas stating a basic philosophy:
– “Pairs of thoughts become associated based on the organism’s past experience”
– Learning is a mental process that forms associations between temporally related phenomena
• Even proposed a
learning mechanism..
Bain’s Idea 2: Making Memories
• “When two impressions concur, or closely succeed one another, the
nerve-currents find some bridge or place of continuity, better or worse,
according to the abundance of nerve matter available for the
transition.”
Bain’s Doubts
• In 1873, Bain postulated that there must be one million neurons and
5 billion connections relating to 200,000 “acquisitions”
• In 1883, Bain was concerned that he hadn’t taken into account the
number of “partially formed associations” and the number of neurons
responsible for recall/learning
• By the end of his life (1903), recanted all his ideas!
– Too complex; the brain would need too many neurons and
connections
Connectionism lives on..
• Connectionism presents a cognitive theory based on
simultaneously occurring, distributed signal activity via
connections that can be represented numerically, where
learning occurs by modifying connection strengths based on
experience
Brain Neuron
• Neuron – foundational unit of brain
• Approx. 86 billion neurons in brain
• Up to 15,000 connections with other
neurons via synapses
• Optimized to receive information from
other neurons, process this information in a
unique way, and send its result to other cells
Synaptic terminals
Brain Neuron
• Each of these incoming connections is
dynamically strengthened or weakened
based on how often it is used
• Strength of each connection that
determines the contribution of the input to
the neuron’s output
• After being weighted by the strength of
their respective connections, the inputs are
summed together in the cell body
• The sum is then transformed into a new
signal that’s propagated along the cell’s
axon and sent off to other neurons
Modeling a Neuron
Connectionist Machines
VN machines have to learn by rules, while artificial neural networks learn by example
Dedicated chips for NN - have many non-linear processing units
- The program is the connections between these units
- Connections may also define memory
Artificial
Intelligence Machine Learning
Any technique that Ability to learn without Deep Learning
enables computers to explicitly being
mimic human programmed, use human Extract patterns from data using neural
behavior created features, training networks, learn features through
training
In machine learning, instead of teaching a computer Deep learning is essentially a neural network with three or more
a massive list of rules to solve the problem, we give layers. These neural networks attempt to simulate the behavior
it a model with which it can evaluate examples, and of the human brain—albeit far from matching its ability—
a small set of instructions to modify the model allowing it to “learn” from large amounts of data. While a neural
when it makes a mistake. network with a single layer can still make approximate
predictions, additional hidden layers can help to optimize and
refine for accuracy. (IBM)
Example: Use of ANN
Three Types of AI
• Artificial narrow intelligence (ANI), which has a narrow range of
abilities – only this has been achieved
• Artificial general intelligence (AGI), which is on par with human
capabilities
• Artificial superintelligence (ASI), which is more capable than a human.