SlideShare une entreprise Scribd logo
1  sur  22
Deep Learning
Introduction, Design and Case Studies
Massimiliano Patacchiola, PhD Student in Cognitive Robotics
Centre for Robotics and Neural Systems , Plymouth University
1
Introduction
What is deep Learning?
2
What is Deep Learning?
“Deep Learning is a subfield of machine learning which uses
supervised learning methods to train large artificial neural
networks.”
Machine Learning: discipline based on pattern recognition and
learning theory which explores algorithms that can learn to
make predictions.
Supervised Learning: inferring a function from labeled training
data (examples).
3
Artificial Neural Networks
An Artificial Neural Network (ANN) is a network made by
units (often called neurons) grouped in layers. Most of the
time each unit in a layer is connected with all the units in the
previous layer. Each connection is represented by a real value
which is called weight or parameter.
4
Perceptron
It is the simplest ANN, invented by Frank Rosenblatt in 1957.
It has an input and an output layer and it can learn to
discriminate only linearly separable functions.
http://playground.tensorflow.org/ 5
Multilayer Perceptron
The Multilayer Perceptron add one more layer to the
perceptron. The intermediate layer is called hidden layer. The
additional layer allows the network to solve the XOR
problem.
http://playground.tensorflow.org/ 6
Deep Neural Networks
If the ANN has more than one hidden layer then it is a deep
neural network (DNN). A DNN can model more complex
spaces but is harder to train. Only recently thanks to
Graphical Processing Units (GPUs), large datasets and new
training techniques has been possible to use deep networks.
7
Convolutional Neural Networks
Nowadays the most used deep architecture is the
Convolutional Neural Network (CNN). The CNN take as
input a three-dimensional image matrix which is processed
with kernels and subsampling operations. The training search
for the kernels that give the best prediction.
8
Convolution and Subsampling
Convolution
9
Subsampling
Training: Backpropagation
10
Training a Deep Neural Network is complicated and can require a long time
(days) to get convergence.
The standard approach for training DNN is backpropagation which treat
learning as an optimisation problem. at each epoch the weights are
adjusted in order to obtain an output which is more similar to the target.
Deep Design
How to build a Deep Network?
11
Tools for Deep Learning
12
Tensorflow C++, Python Linux, Mac, Windows (next release)
Keras Python Linux, Mac, Windows
Caffe C++ Linux, Mac, Windows, Android
Theano Python Linux, Mac, Windows
CNTK C++ Linux, Windows
Torch C, lua Linux, Mac, Windows, Android, iOS
Tensorflow
TensorFlow is an open source software library for numerical computation
using data flow graphs.
Nodes in the graph represent mathematical operations, while the graph
edges represent the multidimensional data arrays (tensors) communicated
between them.
It deploys computation to one or more CPUs or GPUs in a desktop, server,
or mobile device with a single API.
Developed by researchers and engineers working on the Google Brain Team.
13
Multilayer Perceptron with Tensorflow
14https://www.kaggle.com/c/digit-recognizer
Convolutional Neural Network with Tensorflow
15https://www.kaggle.com/uciml/iris
Case Studies
How is Deep Learning used?
16
Case Study: Image classification
Given an input image the CNN returns the probability that
the object present in that image belongs to a specific
category.
CIFAR-10 is an established computer-vision dataset used
for object recognition. It is a subset of the 80 million tiny
images dataset and consists of 60,000 32x32 color images
containing one of 10 object classes.
The best results have been achieved using CNNs, in
particular recently a fractional max-pooling method achieved
an accuracy of 96.53%
17
Case Study: Image colorization
18
Case Study: Deep Reinforcement Learning
Reinforcement Learning: Given an environment with a set of states and an
agent, the agent can move from state to state performing an action. Executing an
action in a specific state provides the agent with a reward. Using RL it is possible to
find the policy that maximise the long term reward.
Deep Reinforcement Learning: Developed by Google DeepMind the first artificial
agents to achieve human-level performance across many challenging domains. The
key idea was to use deep neural networks to predict total reward. It achieved
human-level performance in almost half of the 50 games to which it was applied,
far beyond any previous method!
19
Case Study: Head Pose Estimation in the Wild
20“Head Pose Estimation in the Wild Using Convolutional Neural Networks and Adaptive Gradient Methods”
Patacchiola, M., Cangelosi, A., (under review), 2016
We investigated the use of CNNs for head pose estimation. It is
an hard classification task. We used three different CNNs for
estimating separately roll, pitch and yaw. We obtained the
best results ever reported on three datasets.
Case Study: Head Pose Estimation in the Wild
21“Head Pose Estimation in the Wild Using Convolutional Neural Networks and Adaptive Gradient Methods”
Patacchiola, M., Cangelosi, A., (under review), 2016
Deepgaze is a python library for people detection and
tracking which uses Convolutional Neural Networks (CNNs) to
estimate the Focus of Attention (FOA) of users.
The FOA can be approximately estimated finding the head
orientation. This is particularly useful when the eyes are
covered, or when the user is too far from the camera to grab
the eye region with a good resolution.
When the eye region is visible it is possible to estimate the
gaze direction, which is much more informative and can give
a good indication of the FOA.
https://github.com/mpatacchiola/deepgaze
Thank you
Email: massimiliano.patacchiola@plymouth.ac.uk
Github: mpatacchiola
22

Contenu connexe

Tendances

Intro to Deep Learning for Computer Vision
Intro to Deep Learning for Computer VisionIntro to Deep Learning for Computer Vision
Intro to Deep Learning for Computer VisionChristoph Körner
 
Handwritten Recognition using Deep Learning with R
Handwritten Recognition using Deep Learning with RHandwritten Recognition using Deep Learning with R
Handwritten Recognition using Deep Learning with RPoo Kuan Hoong
 
Deep Learning Tutorial
Deep Learning TutorialDeep Learning Tutorial
Deep Learning TutorialAmr Rashed
 
Neural networks and deep learning
Neural networks and deep learningNeural networks and deep learning
Neural networks and deep learningJörgen Sandig
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeSiby Jose Plathottam
 
introduction to deep Learning with full detail
introduction to deep Learning with full detailintroduction to deep Learning with full detail
introduction to deep Learning with full detailsonykhan3
 
Neural networks and deep learning
Neural networks and deep learningNeural networks and deep learning
Neural networks and deep learningRADO7900
 
Deep Learning
Deep LearningDeep Learning
Deep LearningJun Wang
 
Introduction to deep learning
Introduction to deep learningIntroduction to deep learning
Introduction to deep learningAmr Rashed
 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work IIMohamed Loey
 
Deep learning tutorial 9/2019
Deep learning tutorial 9/2019Deep learning tutorial 9/2019
Deep learning tutorial 9/2019Amr Rashed
 
101: Convolutional Neural Networks
101: Convolutional Neural Networks 101: Convolutional Neural Networks
101: Convolutional Neural Networks Mad Scientists
 
Deep learning - Conceptual understanding and applications
Deep learning - Conceptual understanding and applicationsDeep learning - Conceptual understanding and applications
Deep learning - Conceptual understanding and applicationsBuhwan Jeong
 
Deep learning intro
Deep learning introDeep learning intro
Deep learning introbeamandrew
 
Deep Learning With Neural Networks
Deep Learning With Neural NetworksDeep Learning With Neural Networks
Deep Learning With Neural NetworksAniket Maurya
 
HML: Historical View and Trends of Deep Learning
HML: Historical View and Trends of Deep LearningHML: Historical View and Trends of Deep Learning
HML: Historical View and Trends of Deep LearningYan Xu
 
Deep learning frameworks v0.40
Deep learning frameworks v0.40Deep learning frameworks v0.40
Deep learning frameworks v0.40Jessica Willis
 
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RUnderstanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RManish Saraswat
 

Tendances (20)

Intro to Deep Learning for Computer Vision
Intro to Deep Learning for Computer VisionIntro to Deep Learning for Computer Vision
Intro to Deep Learning for Computer Vision
 
Handwritten Recognition using Deep Learning with R
Handwritten Recognition using Deep Learning with RHandwritten Recognition using Deep Learning with R
Handwritten Recognition using Deep Learning with R
 
Deep Learning Tutorial
Deep Learning TutorialDeep Learning Tutorial
Deep Learning Tutorial
 
Neural networks and deep learning
Neural networks and deep learningNeural networks and deep learning
Neural networks and deep learning
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and Hype
 
introduction to deep Learning with full detail
introduction to deep Learning with full detailintroduction to deep Learning with full detail
introduction to deep Learning with full detail
 
Tutorial on Deep Learning
Tutorial on Deep LearningTutorial on Deep Learning
Tutorial on Deep Learning
 
Neural networks and deep learning
Neural networks and deep learningNeural networks and deep learning
Neural networks and deep learning
 
Deep Learning
Deep LearningDeep Learning
Deep Learning
 
Introduction to deep learning
Introduction to deep learningIntroduction to deep learning
Introduction to deep learning
 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work II
 
Deep learning tutorial 9/2019
Deep learning tutorial 9/2019Deep learning tutorial 9/2019
Deep learning tutorial 9/2019
 
101: Convolutional Neural Networks
101: Convolutional Neural Networks 101: Convolutional Neural Networks
101: Convolutional Neural Networks
 
Deep learning - Conceptual understanding and applications
Deep learning - Conceptual understanding and applicationsDeep learning - Conceptual understanding and applications
Deep learning - Conceptual understanding and applications
 
Deep learning intro
Deep learning introDeep learning intro
Deep learning intro
 
Deep Learning With Neural Networks
Deep Learning With Neural NetworksDeep Learning With Neural Networks
Deep Learning With Neural Networks
 
HML: Historical View and Trends of Deep Learning
HML: Historical View and Trends of Deep LearningHML: Historical View and Trends of Deep Learning
HML: Historical View and Trends of Deep Learning
 
Deep learning frameworks v0.40
Deep learning frameworks v0.40Deep learning frameworks v0.40
Deep learning frameworks v0.40
 
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RUnderstanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
 
Deep Learning Survey
Deep Learning SurveyDeep Learning Survey
Deep Learning Survey
 

Similaire à Introduction to Deep learning

Deep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceDeep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceLukas Masuch
 
Top 10 deep learning algorithms you should know in
Top 10 deep learning algorithms you should know inTop 10 deep learning algorithms you should know in
Top 10 deep learning algorithms you should know inAmanKumarSingh97
 
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014lebsoftshore
 
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
 
A Survey of Deep Learning Algorithms for Malware Detection
A Survey of Deep Learning Algorithms for Malware DetectionA Survey of Deep Learning Algorithms for Malware Detection
A Survey of Deep Learning Algorithms for Malware DetectionIJCSIS Research Publications
 
introduction to deeplearning
introduction to deeplearningintroduction to deeplearning
introduction to deeplearningEyad Alshami
 
FreddyAyalaTorchDomineering
FreddyAyalaTorchDomineeringFreddyAyalaTorchDomineering
FreddyAyalaTorchDomineeringFAYALA1987
 
Deep Learning With Python Tutorial For Beginners.pdf
Deep Learning With Python Tutorial For Beginners.pdfDeep Learning With Python Tutorial For Beginners.pdf
Deep Learning With Python Tutorial For Beginners.pdfSudhanshiBakre1
 
Practical deepllearningv1
Practical deepllearningv1Practical deepllearningv1
Practical deepllearningv1arthi v
 
Looking into the Black Box - A Theoretical Insight into Deep Learning Networks
Looking into the Black Box - A Theoretical Insight into Deep Learning NetworksLooking into the Black Box - A Theoretical Insight into Deep Learning Networks
Looking into the Black Box - A Theoretical Insight into Deep Learning NetworksDinesh V
 
Big Data Intelligence: from Correlation Discovery to Causal Reasoning
Big Data Intelligence: from Correlation Discovery to Causal Reasoning Big Data Intelligence: from Correlation Discovery to Causal Reasoning
Big Data Intelligence: from Correlation Discovery to Causal Reasoning Wanjin Yu
 
BASIC CONCEPT OF DEEP LEARNING.pptx
BASIC CONCEPT OF DEEP LEARNING.pptxBASIC CONCEPT OF DEEP LEARNING.pptx
BASIC CONCEPT OF DEEP LEARNING.pptxRiteshPandey184067
 
Deep learning lecture - part 1 (basics, CNN)
Deep learning lecture - part 1 (basics, CNN)Deep learning lecture - part 1 (basics, CNN)
Deep learning lecture - part 1 (basics, CNN)SungminYou
 
Learning Sparse Neural Networksvia Sensitivity-Driven Regularization
Learning Sparse Neural Networksvia Sensitivity-Driven RegularizationLearning Sparse Neural Networksvia Sensitivity-Driven Regularization
Learning Sparse Neural Networksvia Sensitivity-Driven RegularizationEnzo Tartaglione
 
AI_07_Deep Learning.pptx
AI_07_Deep Learning.pptxAI_07_Deep Learning.pptx
AI_07_Deep Learning.pptxYousef Aburawi
 
1st review android malware.pptx
1st review  android malware.pptx1st review  android malware.pptx
1st review android malware.pptxNambiraju
 
Image classification with Deep Neural Networks
Image classification with Deep Neural NetworksImage classification with Deep Neural Networks
Image classification with Deep Neural NetworksYogendra Tamang
 

Similaire à Introduction to Deep learning (20)

Deep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceDeep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial Intelligence
 
Top 10 deep learning algorithms you should know in
Top 10 deep learning algorithms you should know inTop 10 deep learning algorithms you should know in
Top 10 deep learning algorithms you should know in
 
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
 
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
 
A Survey of Deep Learning Algorithms for Malware Detection
A Survey of Deep Learning Algorithms for Malware DetectionA Survey of Deep Learning Algorithms for Malware Detection
A Survey of Deep Learning Algorithms for Malware Detection
 
introduction to deeplearning
introduction to deeplearningintroduction to deeplearning
introduction to deeplearning
 
FreddyAyalaTorchDomineering
FreddyAyalaTorchDomineeringFreddyAyalaTorchDomineering
FreddyAyalaTorchDomineering
 
Deep Learning With Python Tutorial For Beginners.pdf
Deep Learning With Python Tutorial For Beginners.pdfDeep Learning With Python Tutorial For Beginners.pdf
Deep Learning With Python Tutorial For Beginners.pdf
 
Practical deepllearningv1
Practical deepllearningv1Practical deepllearningv1
Practical deepllearningv1
 
Looking into the Black Box - A Theoretical Insight into Deep Learning Networks
Looking into the Black Box - A Theoretical Insight into Deep Learning NetworksLooking into the Black Box - A Theoretical Insight into Deep Learning Networks
Looking into the Black Box - A Theoretical Insight into Deep Learning Networks
 
Deep Learning
Deep LearningDeep Learning
Deep Learning
 
Big Data Intelligence: from Correlation Discovery to Causal Reasoning
Big Data Intelligence: from Correlation Discovery to Causal Reasoning Big Data Intelligence: from Correlation Discovery to Causal Reasoning
Big Data Intelligence: from Correlation Discovery to Causal Reasoning
 
BASIC CONCEPT OF DEEP LEARNING.pptx
BASIC CONCEPT OF DEEP LEARNING.pptxBASIC CONCEPT OF DEEP LEARNING.pptx
BASIC CONCEPT OF DEEP LEARNING.pptx
 
Deep learning lecture - part 1 (basics, CNN)
Deep learning lecture - part 1 (basics, CNN)Deep learning lecture - part 1 (basics, CNN)
Deep learning lecture - part 1 (basics, CNN)
 
Learning Sparse Neural Networksvia Sensitivity-Driven Regularization
Learning Sparse Neural Networksvia Sensitivity-Driven RegularizationLearning Sparse Neural Networksvia Sensitivity-Driven Regularization
Learning Sparse Neural Networksvia Sensitivity-Driven Regularization
 
AI_07_Deep Learning.pptx
AI_07_Deep Learning.pptxAI_07_Deep Learning.pptx
AI_07_Deep Learning.pptx
 
1st review android malware.pptx
1st review  android malware.pptx1st review  android malware.pptx
1st review android malware.pptx
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Cnn
CnnCnn
Cnn
 
Image classification with Deep Neural Networks
Image classification with Deep Neural NetworksImage classification with Deep Neural Networks
Image classification with Deep Neural Networks
 

Dernier

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Dernier (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Introduction to Deep learning

  • 1. Deep Learning Introduction, Design and Case Studies Massimiliano Patacchiola, PhD Student in Cognitive Robotics Centre for Robotics and Neural Systems , Plymouth University 1
  • 3. What is Deep Learning? “Deep Learning is a subfield of machine learning which uses supervised learning methods to train large artificial neural networks.” Machine Learning: discipline based on pattern recognition and learning theory which explores algorithms that can learn to make predictions. Supervised Learning: inferring a function from labeled training data (examples). 3
  • 4. Artificial Neural Networks An Artificial Neural Network (ANN) is a network made by units (often called neurons) grouped in layers. Most of the time each unit in a layer is connected with all the units in the previous layer. Each connection is represented by a real value which is called weight or parameter. 4
  • 5. Perceptron It is the simplest ANN, invented by Frank Rosenblatt in 1957. It has an input and an output layer and it can learn to discriminate only linearly separable functions. http://playground.tensorflow.org/ 5
  • 6. Multilayer Perceptron The Multilayer Perceptron add one more layer to the perceptron. The intermediate layer is called hidden layer. The additional layer allows the network to solve the XOR problem. http://playground.tensorflow.org/ 6
  • 7. Deep Neural Networks If the ANN has more than one hidden layer then it is a deep neural network (DNN). A DNN can model more complex spaces but is harder to train. Only recently thanks to Graphical Processing Units (GPUs), large datasets and new training techniques has been possible to use deep networks. 7
  • 8. Convolutional Neural Networks Nowadays the most used deep architecture is the Convolutional Neural Network (CNN). The CNN take as input a three-dimensional image matrix which is processed with kernels and subsampling operations. The training search for the kernels that give the best prediction. 8
  • 10. Training: Backpropagation 10 Training a Deep Neural Network is complicated and can require a long time (days) to get convergence. The standard approach for training DNN is backpropagation which treat learning as an optimisation problem. at each epoch the weights are adjusted in order to obtain an output which is more similar to the target.
  • 11. Deep Design How to build a Deep Network? 11
  • 12. Tools for Deep Learning 12 Tensorflow C++, Python Linux, Mac, Windows (next release) Keras Python Linux, Mac, Windows Caffe C++ Linux, Mac, Windows, Android Theano Python Linux, Mac, Windows CNTK C++ Linux, Windows Torch C, lua Linux, Mac, Windows, Android, iOS
  • 13. Tensorflow TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. It deploys computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. Developed by researchers and engineers working on the Google Brain Team. 13
  • 14. Multilayer Perceptron with Tensorflow 14https://www.kaggle.com/c/digit-recognizer
  • 15. Convolutional Neural Network with Tensorflow 15https://www.kaggle.com/uciml/iris
  • 16. Case Studies How is Deep Learning used? 16
  • 17. Case Study: Image classification Given an input image the CNN returns the probability that the object present in that image belongs to a specific category. CIFAR-10 is an established computer-vision dataset used for object recognition. It is a subset of the 80 million tiny images dataset and consists of 60,000 32x32 color images containing one of 10 object classes. The best results have been achieved using CNNs, in particular recently a fractional max-pooling method achieved an accuracy of 96.53% 17
  • 18. Case Study: Image colorization 18
  • 19. Case Study: Deep Reinforcement Learning Reinforcement Learning: Given an environment with a set of states and an agent, the agent can move from state to state performing an action. Executing an action in a specific state provides the agent with a reward. Using RL it is possible to find the policy that maximise the long term reward. Deep Reinforcement Learning: Developed by Google DeepMind the first artificial agents to achieve human-level performance across many challenging domains. The key idea was to use deep neural networks to predict total reward. It achieved human-level performance in almost half of the 50 games to which it was applied, far beyond any previous method! 19
  • 20. Case Study: Head Pose Estimation in the Wild 20“Head Pose Estimation in the Wild Using Convolutional Neural Networks and Adaptive Gradient Methods” Patacchiola, M., Cangelosi, A., (under review), 2016 We investigated the use of CNNs for head pose estimation. It is an hard classification task. We used three different CNNs for estimating separately roll, pitch and yaw. We obtained the best results ever reported on three datasets.
  • 21. Case Study: Head Pose Estimation in the Wild 21“Head Pose Estimation in the Wild Using Convolutional Neural Networks and Adaptive Gradient Methods” Patacchiola, M., Cangelosi, A., (under review), 2016 Deepgaze is a python library for people detection and tracking which uses Convolutional Neural Networks (CNNs) to estimate the Focus of Attention (FOA) of users. The FOA can be approximately estimated finding the head orientation. This is particularly useful when the eyes are covered, or when the user is too far from the camera to grab the eye region with a good resolution. When the eye region is visible it is possible to estimate the gaze direction, which is much more informative and can give a good indication of the FOA. https://github.com/mpatacchiola/deepgaze