SlideShare a Scribd company logo
1 of 29
Download to read offline
4C16: Machine Learning with Applications in Media Engineering — 2017/2018
00 - Introduction
François Pitié
Ussher Assistant Professor in Media Signal Processing
Department of Electronic & Electrical Engineering, Trinity College Dublin
1
[4C16] Machine Learning with Applications in Media Engineering
This module is an introduction to Machine Learning and especially
Deep Neural Nets, which are disrupting all aspects of society today.
The material is constructed in collaboration with leading industrial
practitioners including Google, YouTube and Movidius/Intel.
Hands on labs will give you experience with these applications.
2
Deep Learning is a particular type of machine learning method, and
is thus part of the broader field of artificial intelligence (using com-
puters to reason).
Deep learning is another name for artificial neural networks, which
are a loosely inspired by the structure of the neurons in the cerebral
cortex.
3
The recent quantum leap in machine learning has solely been driven
by deep learning successes.
When you read or hear about AI or machine Learning successes in
recent years, it really means Deep Learning successes.
4
Machine Learning can be split into 3 main fields:
Supervised Learning:
From a labelled dataset (x , 𝑦 ), we want to infer 𝑓(x ) = 𝑦
Unsupervised Learning:
What can we learn about a dataset (x ) by just looking at it? (ie. with-
out any labelled information 𝑦 )
Reinforcement Learning:
How can an agent interact with its environment (the data) to get max-
imum reward (eg. game playing, robots learning to walk).
Deep Learning has made major breakthroughs in all three fields.
5
Deep Learning Successes
6
Image Recognition is one of the core applications of Computer Vi-
sion. ImageNet [www.image-net.org] runs an annual challenge where
software programs compete to correctly classify and detect objects
and scenes in images.
7
The error rate in object recognition for that challenge has massively
dropped since the introduction of deep neural networks in 2012 [1].
Machines can now do better than humans.
[1] ImageNet Classification with Deep Convolutional Neural Networks
A Krizhevsky, I Sutskever, G Hinton, 2012 [https://goo.gl/wxen2Y]
8
Neural nets are also advancing the state of the art in
Scene Understanding .
[1] Conditional Random Fields as Recurrent Neural Networks
S Zheng et al., 2015 [https://arxiv.org/abs/1502.03240]
9
Image models combined with language models make it possible to
automatically generate captions from images.
Google Research Blog [https://goo.gl/U88bDQ]
10
All major tech companies have changed their machine translation
systems to use Deep Learning.
Google used to average a yearly 0.4% improvement on their machine
translation system. Their first attempt at using Deep Learning yielded
an overnight 7% improvement! More than in an entire lifetime!
Several years of handcrafted development could not match a single
initial deep learning implementation.
New York Times, “The Great AI Awakening” [https://goo.gl/DPYp6d]
11
In 2014, Skype Translator was announced. It trains and optimises
speech recognition , automatic machine translation and speech syn-
thesis tasks, acting as the glue that holds these elements together.
Skype demo [https://www.youtube.com/embed/NhxCg2PA3ZI?start=0]
Microsoft blog post [https://goo.gl/eAuPcS]
12
Deep learning has also been introduced in reinforcement learning
to solve complex sequential decision making problems.
Recent successes include:
playing old Atari computer games,
programming real world Robots
and beating humans at Go.
demo: Robots Learning how to walk https://www.youtube.com/hx_bgoTF7bs
DeepMind [https://goo.gl/3TcCNA]
13
Reasons of a Success
14
Neural Networks have been around for decades. But is only now that
it surpasses all other machine learning techniques.
Deep Learning is now a disruptive technology that has been unex-
pectedly taking over operations of technology companies around the
world.
“The revolution in deep nets has been very profound, it definitely sur-
prised me, even though I was sitting right there.”
— Sergey Brin, Google co-founder
15
Why now?
Because Deep Learning does scale .
16
Neural Nets are the only ML technique whose performance scales ef-
ficiently with the training data size. Other ML popular techniques just
can’t scale that well.
The advent of big databases, combined with cheaper computing power
(Graphic Cards), meant that Deep Learning could take advantage of all
this, whilst other techniques stagnated. Instead of using thousands
of observations, Deep Learning can take advantage of billions.
The tipping point was 2012 in Computer Vision and around 2014 in
Machine Translation.
17
Deep Learning offers a (relatively) simple framework to define and
parametrise pretty much any kind of numerical method and then op-
timise it over massive databases.
By adopting an automated brute force approach to tuning algorithms,
Deep Learning is able to surpass hand-tailored algorithms of skilled
researchers.
It offers a systematic approach when before algorithms took years of
human efforts to design.
18
Reasons of a Success
Deep Learning is a (relatively) simple framework.
Good programmers train state of the art neural nets without having
done 10+ years of research in the domain.
It is an opportunity for start-ups and it has become a ubiquitous tool
in tech companies.
19
Democratisation
Reasons of a Success
It has been applied successfully to many fields of research, industry
and society:
self-driving cars, image recognition, detecting cancer, speech recog-
nition, speech synthesis, machine translation, drug discovery and tox-
icology, customer relationship management, recommendation sys-
tems, bioinformatics, advertising, controlling lasers, etc.
20
Global Reach
Impact
Here is a question for you:
How long before your future job gets replaced by an algorithm?
Probably much sooner than you think. You might feel safe if you are
an artist...
21
... but then again:
automatic style transfer [1]
[1] A Neural Algorithm of Artistic Style
L. Gatys, A. Ecker, M. Bethge, 2015 [https://arxiv.org/abs/1508.06576]
Does an AI need to make love to Rembrandt’s girlfriend to make art? [https://goo.gl/gi7rWE]
Intelligent Machines: AI art is taking on the experts [https://goo.gl/2kfyXd]
22
4C16: Course Structure
23
Course Content
In Week 1 - 4, we will cover
Least Squares: the root of all Machine Learning.
(feature mapping, over/under fitting, regularisation, maximum likeli-
hood)
Logistic Regression: your first Neuron.
(linear classifier, cross-entropy , gradient descent optimisation)
Classic Classifiers: overview of classic machine learning algorithms.
(SVM, Decision Trees, Kernel Trick, Nearest-Neighbours)
Comparing Classifiers:
(ROC curves, confusion tables, F1 score)
24
Part 1. Machine Learning Fundamentals
Course Content
Feedforward Neural Network
(network architecture, back-propagation, regularisation, vanishing gra-
dients)
Convolutional Neural Network
(convolution layers, pooling, visualisation, knowledge transfer)
Autoencoders
(unsupervised learning, PCA, CNN autoencoder)
Recurrent Neural Network
(LSTM, encodings, text processing)
25
Part 2. Neural Net Fundamentals
Assignments
Week 2 Least Squares lab [2% mark]
Week 3 Logistic Regression lab [2% mark]
Week 4 Classifiers lab [2% mark]
Week 5 Feed Forward Neural Net lab [2% mark]
Week 6 Convolutional Neural Net lab [2% mark]
Week 8 Quiz [5% mark]
Week 8-10 lab project [5% mark]
Week 9-11 lab project [5% mark]
End of term Exam [75% mark]
26
Labs
We have developed a fantastic environment specially for you, so that
you can learn best industry practices.
27
Labs
You will be programming in python 3 using Keras and TensorFlow. Ev-
erything will be running on the Google Cloud Platform, which gives
you on-demand scalable computing resources.
Your coding environment will be a combination of shell/terminal, ed-
itor, and Jupyter notebook.
You will use Git to checkpoint your progress and for continuous feed-
back on lab assignments.
28
[1] Deep Learning (MIT press)
Ian Goodfellow et al.
[https://www.deeplearningbook.org]
[2] Machine Learning on Cousera
Andrew Ng
[https://www.coursera.org/learn/machine-learning]
[3] Neural Networks and Deep Learning
Michael Nielsen
[http://neuralnetworksanddeeplearning.com/]
[4] Curated list of links https://github.com/ChristosChristofidis/awesome-deep-learning
[5] Brandon Rohrer’s YT channel https://www.youtube.com/user/BrandonRohrer
[6] Siraj Raval’s YT channel https://www.youtube.com/channel/UCWN3xxRkmTPmbKwht9FuE5A
29
Books & Resources

More Related Content

Similar to ML Applications in Media Engineering

Case study on machine learning
Case study on machine learningCase study on machine learning
Case study on machine learningHarshitBarde
 
Vertex perspectives artificial intelligence
Vertex perspectives   artificial intelligenceVertex perspectives   artificial intelligence
Vertex perspectives artificial intelligenceYanai Oron
 
Vertex Perspectives | Artificial Intelligence
Vertex Perspectives | Artificial IntelligenceVertex Perspectives | Artificial Intelligence
Vertex Perspectives | Artificial IntelligenceVertex Holdings
 
Facial expression recognition projc 2 (3) (1)
Facial expression recognition projc 2 (3) (1)Facial expression recognition projc 2 (3) (1)
Facial expression recognition projc 2 (3) (1)AbhiAchalla
 
The upsurge of deep learning for computer vision applications
The upsurge of deep learning for computer vision applicationsThe upsurge of deep learning for computer vision applications
The upsurge of deep learning for computer vision applicationsIJECEIAES
 
Deep Learning And Business Models (VNITC 2015-09-13)
Deep Learning And Business Models (VNITC 2015-09-13)Deep Learning And Business Models (VNITC 2015-09-13)
Deep Learning And Business Models (VNITC 2015-09-13)Ha Phuong
 
Machine Learning Meetup SOF: Intro to ML
Machine Learning Meetup SOF: Intro to MLMachine Learning Meetup SOF: Intro to ML
Machine Learning Meetup SOF: Intro to MLImagga Technology
 
Intelligent System For Face Mask Detection
Intelligent System For Face Mask DetectionIntelligent System For Face Mask Detection
Intelligent System For Face Mask DetectionIRJET Journal
 
HARDWARE DESIGN FOR MACHINE LEARNING
HARDWARE DESIGN FOR MACHINE LEARNINGHARDWARE DESIGN FOR MACHINE LEARNING
HARDWARE DESIGN FOR MACHINE LEARNINGijaia
 
Hardware design for_machine_learning
Hardware design for_machine_learningHardware design for_machine_learning
Hardware design for_machine_learninggerogepatton
 
Using Algorithmia to leverage AI and Machine Learning APIs
Using Algorithmia to leverage AI and Machine Learning APIsUsing Algorithmia to leverage AI and Machine Learning APIs
Using Algorithmia to leverage AI and Machine Learning APIsRakuten Group, Inc.
 
Deep Learning with CNTK
Deep Learning with CNTKDeep Learning with CNTK
Deep Learning with CNTKAshish Jaiman
 
NATO Workshop on Pre-Detection of Lone Wolf Terrorists of the Future
NATO Workshop on Pre-Detection of Lone Wolf Terrorists of the FutureNATO Workshop on Pre-Detection of Lone Wolf Terrorists of the Future
NATO Workshop on Pre-Detection of Lone Wolf Terrorists of the FutureJerome Glenn
 
BEST IMAGE PROCESSING TOOLS TO EXPECT in 2023 – Tutors India
BEST IMAGE PROCESSING TOOLS TO EXPECT in 2023 – Tutors IndiaBEST IMAGE PROCESSING TOOLS TO EXPECT in 2023 – Tutors India
BEST IMAGE PROCESSING TOOLS TO EXPECT in 2023 – Tutors IndiaTutors India
 
A Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningA Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningHaptik
 
Introduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolutionIntroduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolutionDarian Frajberg
 
Learn to Build an App to Find Similar Images using Deep Learning- Piotr Teterwak
Learn to Build an App to Find Similar Images using Deep Learning- Piotr TeterwakLearn to Build an App to Find Similar Images using Deep Learning- Piotr Teterwak
Learn to Build an App to Find Similar Images using Deep Learning- Piotr TeterwakPyData
 
Learn Real World Machine Learning By Building Projects
Learn Real World Machine Learning By Building ProjectsLearn Real World Machine Learning By Building Projects
Learn Real World Machine Learning By Building ProjectsJohn Alex
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence4imprint
 

Similar to ML Applications in Media Engineering (20)

Case study on machine learning
Case study on machine learningCase study on machine learning
Case study on machine learning
 
Vertex perspectives artificial intelligence
Vertex perspectives   artificial intelligenceVertex perspectives   artificial intelligence
Vertex perspectives artificial intelligence
 
Vertex Perspectives | Artificial Intelligence
Vertex Perspectives | Artificial IntelligenceVertex Perspectives | Artificial Intelligence
Vertex Perspectives | Artificial Intelligence
 
Facial expression recognition projc 2 (3) (1)
Facial expression recognition projc 2 (3) (1)Facial expression recognition projc 2 (3) (1)
Facial expression recognition projc 2 (3) (1)
 
The upsurge of deep learning for computer vision applications
The upsurge of deep learning for computer vision applicationsThe upsurge of deep learning for computer vision applications
The upsurge of deep learning for computer vision applications
 
Deep Learning And Business Models (VNITC 2015-09-13)
Deep Learning And Business Models (VNITC 2015-09-13)Deep Learning And Business Models (VNITC 2015-09-13)
Deep Learning And Business Models (VNITC 2015-09-13)
 
Machine Learning Meetup SOF: Intro to ML
Machine Learning Meetup SOF: Intro to MLMachine Learning Meetup SOF: Intro to ML
Machine Learning Meetup SOF: Intro to ML
 
Intelligent System For Face Mask Detection
Intelligent System For Face Mask DetectionIntelligent System For Face Mask Detection
Intelligent System For Face Mask Detection
 
HARDWARE DESIGN FOR MACHINE LEARNING
HARDWARE DESIGN FOR MACHINE LEARNINGHARDWARE DESIGN FOR MACHINE LEARNING
HARDWARE DESIGN FOR MACHINE LEARNING
 
Hardware design for_machine_learning
Hardware design for_machine_learningHardware design for_machine_learning
Hardware design for_machine_learning
 
Using Algorithmia to leverage AI and Machine Learning APIs
Using Algorithmia to leverage AI and Machine Learning APIsUsing Algorithmia to leverage AI and Machine Learning APIs
Using Algorithmia to leverage AI and Machine Learning APIs
 
Deep Learning with CNTK
Deep Learning with CNTKDeep Learning with CNTK
Deep Learning with CNTK
 
3234150
32341503234150
3234150
 
NATO Workshop on Pre-Detection of Lone Wolf Terrorists of the Future
NATO Workshop on Pre-Detection of Lone Wolf Terrorists of the FutureNATO Workshop on Pre-Detection of Lone Wolf Terrorists of the Future
NATO Workshop on Pre-Detection of Lone Wolf Terrorists of the Future
 
BEST IMAGE PROCESSING TOOLS TO EXPECT in 2023 – Tutors India
BEST IMAGE PROCESSING TOOLS TO EXPECT in 2023 – Tutors IndiaBEST IMAGE PROCESSING TOOLS TO EXPECT in 2023 – Tutors India
BEST IMAGE PROCESSING TOOLS TO EXPECT in 2023 – Tutors India
 
A Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningA Friendly Introduction to Machine Learning
A Friendly Introduction to Machine Learning
 
Introduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolutionIntroduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolution
 
Learn to Build an App to Find Similar Images using Deep Learning- Piotr Teterwak
Learn to Build an App to Find Similar Images using Deep Learning- Piotr TeterwakLearn to Build an App to Find Similar Images using Deep Learning- Piotr Teterwak
Learn to Build an App to Find Similar Images using Deep Learning- Piotr Teterwak
 
Learn Real World Machine Learning By Building Projects
Learn Real World Machine Learning By Building ProjectsLearn Real World Machine Learning By Building Projects
Learn Real World Machine Learning By Building Projects
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 

Recently uploaded

An Introduction guidance of the European Union Law 2020_EU Seminar 4.pptx
An Introduction guidance of the European Union Law 2020_EU Seminar 4.pptxAn Introduction guidance of the European Union Law 2020_EU Seminar 4.pptx
An Introduction guidance of the European Union Law 2020_EU Seminar 4.pptxKUHANARASARATNAM1
 
SecuritiesContracts(Regulation)Act,1956.pdf
SecuritiesContracts(Regulation)Act,1956.pdfSecuritiesContracts(Regulation)Act,1956.pdf
SecuritiesContracts(Regulation)Act,1956.pdfDrNiteshSaraswat
 
如何办理密德萨斯大学毕业证(本硕)Middlesex学位证书
如何办理密德萨斯大学毕业证(本硕)Middlesex学位证书如何办理密德萨斯大学毕业证(本硕)Middlesex学位证书
如何办理密德萨斯大学毕业证(本硕)Middlesex学位证书FS LS
 
Alexis O'Connell lexileeyogi Bond revocation for drug arrest Alexis Lee
Alexis O'Connell lexileeyogi Bond revocation for drug arrest Alexis LeeAlexis O'Connell lexileeyogi Bond revocation for drug arrest Alexis Lee
Alexis O'Connell lexileeyogi Bond revocation for drug arrest Alexis LeeBlayneRush1
 
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一st Las
 
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》o8wvnojp
 
如何办理新加坡南洋理工大学毕业证(本硕)NTU学位证书
如何办理新加坡南洋理工大学毕业证(本硕)NTU学位证书如何办理新加坡南洋理工大学毕业证(本硕)NTU学位证书
如何办理新加坡南洋理工大学毕业证(本硕)NTU学位证书Fir L
 
Vanderburgh County Sheriff says he will Not Raid Delta 8 Shops
Vanderburgh County Sheriff says he will Not Raid Delta 8 ShopsVanderburgh County Sheriff says he will Not Raid Delta 8 Shops
Vanderburgh County Sheriff says he will Not Raid Delta 8 ShopsAbdul-Hakim Shabazz
 
Special Accounting Areas - Hire purchase agreement
Special Accounting Areas - Hire purchase agreementSpecial Accounting Areas - Hire purchase agreement
Special Accounting Areas - Hire purchase agreementShubhiSharma858417
 
POLICE ACT, 1861 the details about police system.pptx
POLICE ACT, 1861 the details about police system.pptxPOLICE ACT, 1861 the details about police system.pptx
POLICE ACT, 1861 the details about police system.pptxAbhishekchatterjee248859
 
John Hustaix - The Legal Profession: A History
John Hustaix - The Legal Profession:  A HistoryJohn Hustaix - The Legal Profession:  A History
John Hustaix - The Legal Profession: A HistoryJohn Hustaix
 
如何办理(UCD毕业证书)加州大学戴维斯分校毕业证学位证书
如何办理(UCD毕业证书)加州大学戴维斯分校毕业证学位证书如何办理(UCD毕业证书)加州大学戴维斯分校毕业证学位证书
如何办理(UCD毕业证书)加州大学戴维斯分校毕业证学位证书SD DS
 
Rights of under-trial Prisoners in India
Rights of under-trial Prisoners in IndiaRights of under-trial Prisoners in India
Rights of under-trial Prisoners in IndiaAbheet Mangleek
 
如何办理(ISU毕业证书)爱荷华州立大学毕业证学位证书
如何办理(ISU毕业证书)爱荷华州立大学毕业证学位证书如何办理(ISU毕业证书)爱荷华州立大学毕业证学位证书
如何办理(ISU毕业证书)爱荷华州立大学毕业证学位证书SD DS
 
Law360 - How Duty Of Candor Figures In USPTO AI Ethics Guidance
Law360 - How Duty Of Candor Figures In USPTO AI Ethics GuidanceLaw360 - How Duty Of Candor Figures In USPTO AI Ethics Guidance
Law360 - How Duty Of Candor Figures In USPTO AI Ethics GuidanceMichael Cicero
 
Trial Tilak t 1897,1909, and 1916 sedition
Trial Tilak t 1897,1909, and 1916 seditionTrial Tilak t 1897,1909, and 1916 sedition
Trial Tilak t 1897,1909, and 1916 seditionNilamPadekar1
 
如何办理(GWU毕业证书)乔治华盛顿大学毕业证学位证书
如何办理(GWU毕业证书)乔治华盛顿大学毕业证学位证书如何办理(GWU毕业证书)乔治华盛顿大学毕业证学位证书
如何办理(GWU毕业证书)乔治华盛顿大学毕业证学位证书SD DS
 
如何办理佛蒙特大学毕业证学位证书
 如何办理佛蒙特大学毕业证学位证书 如何办理佛蒙特大学毕业证学位证书
如何办理佛蒙特大学毕业证学位证书Fir sss
 
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptxConstitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptxsrikarna235
 
Comparison of GenAI benchmarking models for legal use cases
Comparison of GenAI benchmarking models for legal use casesComparison of GenAI benchmarking models for legal use cases
Comparison of GenAI benchmarking models for legal use casesritwikv20
 

Recently uploaded (20)

An Introduction guidance of the European Union Law 2020_EU Seminar 4.pptx
An Introduction guidance of the European Union Law 2020_EU Seminar 4.pptxAn Introduction guidance of the European Union Law 2020_EU Seminar 4.pptx
An Introduction guidance of the European Union Law 2020_EU Seminar 4.pptx
 
SecuritiesContracts(Regulation)Act,1956.pdf
SecuritiesContracts(Regulation)Act,1956.pdfSecuritiesContracts(Regulation)Act,1956.pdf
SecuritiesContracts(Regulation)Act,1956.pdf
 
如何办理密德萨斯大学毕业证(本硕)Middlesex学位证书
如何办理密德萨斯大学毕业证(本硕)Middlesex学位证书如何办理密德萨斯大学毕业证(本硕)Middlesex学位证书
如何办理密德萨斯大学毕业证(本硕)Middlesex学位证书
 
Alexis O'Connell lexileeyogi Bond revocation for drug arrest Alexis Lee
Alexis O'Connell lexileeyogi Bond revocation for drug arrest Alexis LeeAlexis O'Connell lexileeyogi Bond revocation for drug arrest Alexis Lee
Alexis O'Connell lexileeyogi Bond revocation for drug arrest Alexis Lee
 
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
 
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
 
如何办理新加坡南洋理工大学毕业证(本硕)NTU学位证书
如何办理新加坡南洋理工大学毕业证(本硕)NTU学位证书如何办理新加坡南洋理工大学毕业证(本硕)NTU学位证书
如何办理新加坡南洋理工大学毕业证(本硕)NTU学位证书
 
Vanderburgh County Sheriff says he will Not Raid Delta 8 Shops
Vanderburgh County Sheriff says he will Not Raid Delta 8 ShopsVanderburgh County Sheriff says he will Not Raid Delta 8 Shops
Vanderburgh County Sheriff says he will Not Raid Delta 8 Shops
 
Special Accounting Areas - Hire purchase agreement
Special Accounting Areas - Hire purchase agreementSpecial Accounting Areas - Hire purchase agreement
Special Accounting Areas - Hire purchase agreement
 
POLICE ACT, 1861 the details about police system.pptx
POLICE ACT, 1861 the details about police system.pptxPOLICE ACT, 1861 the details about police system.pptx
POLICE ACT, 1861 the details about police system.pptx
 
John Hustaix - The Legal Profession: A History
John Hustaix - The Legal Profession:  A HistoryJohn Hustaix - The Legal Profession:  A History
John Hustaix - The Legal Profession: A History
 
如何办理(UCD毕业证书)加州大学戴维斯分校毕业证学位证书
如何办理(UCD毕业证书)加州大学戴维斯分校毕业证学位证书如何办理(UCD毕业证书)加州大学戴维斯分校毕业证学位证书
如何办理(UCD毕业证书)加州大学戴维斯分校毕业证学位证书
 
Rights of under-trial Prisoners in India
Rights of under-trial Prisoners in IndiaRights of under-trial Prisoners in India
Rights of under-trial Prisoners in India
 
如何办理(ISU毕业证书)爱荷华州立大学毕业证学位证书
如何办理(ISU毕业证书)爱荷华州立大学毕业证学位证书如何办理(ISU毕业证书)爱荷华州立大学毕业证学位证书
如何办理(ISU毕业证书)爱荷华州立大学毕业证学位证书
 
Law360 - How Duty Of Candor Figures In USPTO AI Ethics Guidance
Law360 - How Duty Of Candor Figures In USPTO AI Ethics GuidanceLaw360 - How Duty Of Candor Figures In USPTO AI Ethics Guidance
Law360 - How Duty Of Candor Figures In USPTO AI Ethics Guidance
 
Trial Tilak t 1897,1909, and 1916 sedition
Trial Tilak t 1897,1909, and 1916 seditionTrial Tilak t 1897,1909, and 1916 sedition
Trial Tilak t 1897,1909, and 1916 sedition
 
如何办理(GWU毕业证书)乔治华盛顿大学毕业证学位证书
如何办理(GWU毕业证书)乔治华盛顿大学毕业证学位证书如何办理(GWU毕业证书)乔治华盛顿大学毕业证学位证书
如何办理(GWU毕业证书)乔治华盛顿大学毕业证学位证书
 
如何办理佛蒙特大学毕业证学位证书
 如何办理佛蒙特大学毕业证学位证书 如何办理佛蒙特大学毕业证学位证书
如何办理佛蒙特大学毕业证学位证书
 
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptxConstitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
 
Comparison of GenAI benchmarking models for legal use cases
Comparison of GenAI benchmarking models for legal use casesComparison of GenAI benchmarking models for legal use cases
Comparison of GenAI benchmarking models for legal use cases
 

ML Applications in Media Engineering

  • 1. 4C16: Machine Learning with Applications in Media Engineering — 2017/2018 00 - Introduction François Pitié Ussher Assistant Professor in Media Signal Processing Department of Electronic & Electrical Engineering, Trinity College Dublin 1
  • 2. [4C16] Machine Learning with Applications in Media Engineering This module is an introduction to Machine Learning and especially Deep Neural Nets, which are disrupting all aspects of society today. The material is constructed in collaboration with leading industrial practitioners including Google, YouTube and Movidius/Intel. Hands on labs will give you experience with these applications. 2
  • 3. Deep Learning is a particular type of machine learning method, and is thus part of the broader field of artificial intelligence (using com- puters to reason). Deep learning is another name for artificial neural networks, which are a loosely inspired by the structure of the neurons in the cerebral cortex. 3
  • 4. The recent quantum leap in machine learning has solely been driven by deep learning successes. When you read or hear about AI or machine Learning successes in recent years, it really means Deep Learning successes. 4
  • 5. Machine Learning can be split into 3 main fields: Supervised Learning: From a labelled dataset (x , 𝑦 ), we want to infer 𝑓(x ) = 𝑦 Unsupervised Learning: What can we learn about a dataset (x ) by just looking at it? (ie. with- out any labelled information 𝑦 ) Reinforcement Learning: How can an agent interact with its environment (the data) to get max- imum reward (eg. game playing, robots learning to walk). Deep Learning has made major breakthroughs in all three fields. 5
  • 7. Image Recognition is one of the core applications of Computer Vi- sion. ImageNet [www.image-net.org] runs an annual challenge where software programs compete to correctly classify and detect objects and scenes in images. 7
  • 8. The error rate in object recognition for that challenge has massively dropped since the introduction of deep neural networks in 2012 [1]. Machines can now do better than humans. [1] ImageNet Classification with Deep Convolutional Neural Networks A Krizhevsky, I Sutskever, G Hinton, 2012 [https://goo.gl/wxen2Y] 8
  • 9. Neural nets are also advancing the state of the art in Scene Understanding . [1] Conditional Random Fields as Recurrent Neural Networks S Zheng et al., 2015 [https://arxiv.org/abs/1502.03240] 9
  • 10. Image models combined with language models make it possible to automatically generate captions from images. Google Research Blog [https://goo.gl/U88bDQ] 10
  • 11. All major tech companies have changed their machine translation systems to use Deep Learning. Google used to average a yearly 0.4% improvement on their machine translation system. Their first attempt at using Deep Learning yielded an overnight 7% improvement! More than in an entire lifetime! Several years of handcrafted development could not match a single initial deep learning implementation. New York Times, “The Great AI Awakening” [https://goo.gl/DPYp6d] 11
  • 12. In 2014, Skype Translator was announced. It trains and optimises speech recognition , automatic machine translation and speech syn- thesis tasks, acting as the glue that holds these elements together. Skype demo [https://www.youtube.com/embed/NhxCg2PA3ZI?start=0] Microsoft blog post [https://goo.gl/eAuPcS] 12
  • 13. Deep learning has also been introduced in reinforcement learning to solve complex sequential decision making problems. Recent successes include: playing old Atari computer games, programming real world Robots and beating humans at Go. demo: Robots Learning how to walk https://www.youtube.com/hx_bgoTF7bs DeepMind [https://goo.gl/3TcCNA] 13
  • 14. Reasons of a Success 14
  • 15. Neural Networks have been around for decades. But is only now that it surpasses all other machine learning techniques. Deep Learning is now a disruptive technology that has been unex- pectedly taking over operations of technology companies around the world. “The revolution in deep nets has been very profound, it definitely sur- prised me, even though I was sitting right there.” — Sergey Brin, Google co-founder 15
  • 16. Why now? Because Deep Learning does scale . 16
  • 17. Neural Nets are the only ML technique whose performance scales ef- ficiently with the training data size. Other ML popular techniques just can’t scale that well. The advent of big databases, combined with cheaper computing power (Graphic Cards), meant that Deep Learning could take advantage of all this, whilst other techniques stagnated. Instead of using thousands of observations, Deep Learning can take advantage of billions. The tipping point was 2012 in Computer Vision and around 2014 in Machine Translation. 17
  • 18. Deep Learning offers a (relatively) simple framework to define and parametrise pretty much any kind of numerical method and then op- timise it over massive databases. By adopting an automated brute force approach to tuning algorithms, Deep Learning is able to surpass hand-tailored algorithms of skilled researchers. It offers a systematic approach when before algorithms took years of human efforts to design. 18
  • 19. Reasons of a Success Deep Learning is a (relatively) simple framework. Good programmers train state of the art neural nets without having done 10+ years of research in the domain. It is an opportunity for start-ups and it has become a ubiquitous tool in tech companies. 19 Democratisation
  • 20. Reasons of a Success It has been applied successfully to many fields of research, industry and society: self-driving cars, image recognition, detecting cancer, speech recog- nition, speech synthesis, machine translation, drug discovery and tox- icology, customer relationship management, recommendation sys- tems, bioinformatics, advertising, controlling lasers, etc. 20 Global Reach
  • 21. Impact Here is a question for you: How long before your future job gets replaced by an algorithm? Probably much sooner than you think. You might feel safe if you are an artist... 21
  • 22. ... but then again: automatic style transfer [1] [1] A Neural Algorithm of Artistic Style L. Gatys, A. Ecker, M. Bethge, 2015 [https://arxiv.org/abs/1508.06576] Does an AI need to make love to Rembrandt’s girlfriend to make art? [https://goo.gl/gi7rWE] Intelligent Machines: AI art is taking on the experts [https://goo.gl/2kfyXd] 22
  • 24. Course Content In Week 1 - 4, we will cover Least Squares: the root of all Machine Learning. (feature mapping, over/under fitting, regularisation, maximum likeli- hood) Logistic Regression: your first Neuron. (linear classifier, cross-entropy , gradient descent optimisation) Classic Classifiers: overview of classic machine learning algorithms. (SVM, Decision Trees, Kernel Trick, Nearest-Neighbours) Comparing Classifiers: (ROC curves, confusion tables, F1 score) 24 Part 1. Machine Learning Fundamentals
  • 25. Course Content Feedforward Neural Network (network architecture, back-propagation, regularisation, vanishing gra- dients) Convolutional Neural Network (convolution layers, pooling, visualisation, knowledge transfer) Autoencoders (unsupervised learning, PCA, CNN autoencoder) Recurrent Neural Network (LSTM, encodings, text processing) 25 Part 2. Neural Net Fundamentals
  • 26. Assignments Week 2 Least Squares lab [2% mark] Week 3 Logistic Regression lab [2% mark] Week 4 Classifiers lab [2% mark] Week 5 Feed Forward Neural Net lab [2% mark] Week 6 Convolutional Neural Net lab [2% mark] Week 8 Quiz [5% mark] Week 8-10 lab project [5% mark] Week 9-11 lab project [5% mark] End of term Exam [75% mark] 26
  • 27. Labs We have developed a fantastic environment specially for you, so that you can learn best industry practices. 27
  • 28. Labs You will be programming in python 3 using Keras and TensorFlow. Ev- erything will be running on the Google Cloud Platform, which gives you on-demand scalable computing resources. Your coding environment will be a combination of shell/terminal, ed- itor, and Jupyter notebook. You will use Git to checkpoint your progress and for continuous feed- back on lab assignments. 28
  • 29. [1] Deep Learning (MIT press) Ian Goodfellow et al. [https://www.deeplearningbook.org] [2] Machine Learning on Cousera Andrew Ng [https://www.coursera.org/learn/machine-learning] [3] Neural Networks and Deep Learning Michael Nielsen [http://neuralnetworksanddeeplearning.com/] [4] Curated list of links https://github.com/ChristosChristofidis/awesome-deep-learning [5] Brandon Rohrer’s YT channel https://www.youtube.com/user/BrandonRohrer [6] Siraj Raval’s YT channel https://www.youtube.com/channel/UCWN3xxRkmTPmbKwht9FuE5A 29 Books & Resources