SlideShare a Scribd company logo
Machine Learning
Shaoqing Tan <tansq7@gmail.com>
vs
Traditional Optimization
Agenda
● Share my experience of traditional (not data driven) optimization.
● Provide a slightly different angle to describe what machine learning does.
● Demo with course project.
Machine Learning
● Helps predict behavior of new samples
● Learns data pattern with mathematics
● Minimizes the deviation from correct behavior
● Hyper parameters are not learned
Traditional Optimization
● Helps select parameters in engineering design
● Minimizes a loss function defined by
○ Safety factor
○ Monetary cost
○ Performance
● Often subject to constraints
● Loss function is evaluated via
○ Solid / fluidic mechanics simulation (FEA)
○ Electrical / electromagnetic simulation
○ Other logic / mathematics
Def of loss
Optimization
Design experiment
Evaluate loss
Check terminationKnowledge
Constraint
Initialization
Generically Speaking
Def of loss
Optimization
Design experiment
Evaluate loss
Check terminationKnowledge
Constraint
Initialization
Neural Network Training
NN loss
Training data
Gradient descent +
back propagation
Def of loss
Optimization
Design experiment
Evaluate loss
Check terminationKnowledge
Constraint
Initialization
Mechanical Design
Mech simulation
performance
Design constraints
Black box sampler
Def of loss
Optimization
Design experiment
Evaluate loss
Check terminationKnowledge
Constraint
Initialization
Neural Network Param Tuning
Cross validated
model performance
Design constraints
Black box sampler
Comparison
Def of loss Constraint Experiment Design
NN training NN loss Data Gradient descent +
back propagation
Mechanical
design
Mechanical simulation
performance
Design constraints Black box sampler
NN param
tuning
Cross validated model
performance
Design constraints Black box sampler
Black Box Sampling
● Gradient descent
○ Performs very well because it directly knows where it’s going!
○ Need derivative to function
● Black box means derivative is unavailable, such samplers include
○ Grid search: Brute force
○ Random search (Monti Carlo): Aimless
○ Quasi gradient descent: Susceptible to noise
○ Surrogate adaptive sampling - Models known points and sample new
points around the minimum of the sample
● Each one of these samplers will carry its own hyper parameters!
Surrogate Adaptive Sampling
● Surrogate models include
○ Bayesian
○ Radial basis function
○ Gaussian
○ Spline
○ Ensemble of the above
● Python libraries
○ https://github.com/HIPS/Spearmint
○ https://github.com/dme65/pySOT
● Google “global / black box optimization”
Demo & Questions

More Related Content

PPTX
Steps in Simulation Study
PPTX
Estimation in Project Management
PDF
Artificial Intelligence Masterclass for managers and business heads
PPTX
Optimization
PDF
CDT Presentation
PPT
Project Operation Management
PPT
Simulation Powerpoint- Lecture Notes
Steps in Simulation Study
Estimation in Project Management
Artificial Intelligence Masterclass for managers and business heads
Optimization
CDT Presentation
Project Operation Management
Simulation Powerpoint- Lecture Notes

What's hot (20)

DOCX
Introduction to programming
PPTX
Virtual segment brief
DOCX
Introduction to programming
KEY
PPT
Lecture17aam
PDF
1 introduction to problem solving and programming
PPTX
2.1 Understand problem solving concept
PPTX
Dmm 170900713008 2721314_bhavya
PPTX
Ranking and optimization in pavements
DOCX
PPSX
New Resource
PPTX
Introduction to Machine Learning
PDF
CAA for adult numeracy and algorithms
PDF
Edexcel a level economics advice
PDF
Edexcel A level economics exam advice
DOCX
Introduction to programming
PPTX
Adapting neural networks for the estimation of treatment effects
PDF
Modeling and analysis
PPTX
Unit2 1
Introduction to programming
Virtual segment brief
Introduction to programming
Lecture17aam
1 introduction to problem solving and programming
2.1 Understand problem solving concept
Dmm 170900713008 2721314_bhavya
Ranking and optimization in pavements
New Resource
Introduction to Machine Learning
CAA for adult numeracy and algorithms
Edexcel a level economics advice
Edexcel A level economics exam advice
Introduction to programming
Adapting neural networks for the estimation of treatment effects
Modeling and analysis
Unit2 1
Ad

Similar to Machine learning vs traditional optimization (20)

PPTX
Deep learning with tensorflow
PPTX
tensorflow.pptx
PDF
Meetup 18/10/2018 - Artificiële intelligentie en mobiliteit
PPTX
SKLearn Workshop.pptx
PPTX
Chapter8_What_Is_Machine_Learning Testing Cases
PDF
AutoML lectures (ACDL 2019)
PDF
Machine learning
PDF
Learning to Optimize
PDF
MS CS - Selecting Machine Learning Algorithm
PPTX
machine learning types methods classification regression decision tree
PPTX
Introduction to Machine Learning basics.pptx
PPTX
PPTX
Introduction to Deep learning and H2O for beginner's
PDF
Engineering Intelligent Systems using Machine Learning
PPTX
supervised.pptx
PDF
deep-learning-ppt-full-notes.pdf notesss
PDF
Introduction to Deep Learning with Python
PDF
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...
PPTX
Module 4.pptx............................
PDF
Introduction to Data Science
Deep learning with tensorflow
tensorflow.pptx
Meetup 18/10/2018 - Artificiële intelligentie en mobiliteit
SKLearn Workshop.pptx
Chapter8_What_Is_Machine_Learning Testing Cases
AutoML lectures (ACDL 2019)
Machine learning
Learning to Optimize
MS CS - Selecting Machine Learning Algorithm
machine learning types methods classification regression decision tree
Introduction to Machine Learning basics.pptx
Introduction to Deep learning and H2O for beginner's
Engineering Intelligent Systems using Machine Learning
supervised.pptx
deep-learning-ppt-full-notes.pdf notesss
Introduction to Deep Learning with Python
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...
Module 4.pptx............................
Introduction to Data Science
Ad

Recently uploaded (20)

PPTX
Business Acumen Training GuidePresentation.pptx
PPT
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PPT
Quality review (1)_presentation of this 21
PPTX
1_Introduction to advance data techniques.pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PDF
Lecture1 pattern recognition............
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
Database Infoormation System (DBIS).pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Business Acumen Training GuidePresentation.pptx
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
IBA_Chapter_11_Slides_Final_Accessible.pptx
Miokarditis (Inflamasi pada Otot Jantung)
Data_Analytics_and_PowerBI_Presentation.pptx
Fluorescence-microscope_Botany_detailed content
Quality review (1)_presentation of this 21
1_Introduction to advance data techniques.pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Lecture1 pattern recognition............
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Galatica Smart Energy Infrastructure Startup Pitch Deck
Clinical guidelines as a resource for EBP(1).pdf
Database Infoormation System (DBIS).pptx
Reliability_Chapter_ presentation 1221.5784
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...

Machine learning vs traditional optimization

  • 1. Machine Learning Shaoqing Tan <tansq7@gmail.com> vs Traditional Optimization
  • 2. Agenda ● Share my experience of traditional (not data driven) optimization. ● Provide a slightly different angle to describe what machine learning does. ● Demo with course project.
  • 3. Machine Learning ● Helps predict behavior of new samples ● Learns data pattern with mathematics ● Minimizes the deviation from correct behavior ● Hyper parameters are not learned
  • 4. Traditional Optimization ● Helps select parameters in engineering design ● Minimizes a loss function defined by ○ Safety factor ○ Monetary cost ○ Performance ● Often subject to constraints ● Loss function is evaluated via ○ Solid / fluidic mechanics simulation (FEA) ○ Electrical / electromagnetic simulation ○ Other logic / mathematics
  • 5. Def of loss Optimization Design experiment Evaluate loss Check terminationKnowledge Constraint Initialization Generically Speaking
  • 6. Def of loss Optimization Design experiment Evaluate loss Check terminationKnowledge Constraint Initialization Neural Network Training NN loss Training data Gradient descent + back propagation
  • 7. Def of loss Optimization Design experiment Evaluate loss Check terminationKnowledge Constraint Initialization Mechanical Design Mech simulation performance Design constraints Black box sampler
  • 8. Def of loss Optimization Design experiment Evaluate loss Check terminationKnowledge Constraint Initialization Neural Network Param Tuning Cross validated model performance Design constraints Black box sampler
  • 9. Comparison Def of loss Constraint Experiment Design NN training NN loss Data Gradient descent + back propagation Mechanical design Mechanical simulation performance Design constraints Black box sampler NN param tuning Cross validated model performance Design constraints Black box sampler
  • 10. Black Box Sampling ● Gradient descent ○ Performs very well because it directly knows where it’s going! ○ Need derivative to function ● Black box means derivative is unavailable, such samplers include ○ Grid search: Brute force ○ Random search (Monti Carlo): Aimless ○ Quasi gradient descent: Susceptible to noise ○ Surrogate adaptive sampling - Models known points and sample new points around the minimum of the sample ● Each one of these samplers will carry its own hyper parameters!
  • 11. Surrogate Adaptive Sampling ● Surrogate models include ○ Bayesian ○ Radial basis function ○ Gaussian ○ Spline ○ Ensemble of the above ● Python libraries ○ https://github.com/HIPS/Spearmint ○ https://github.com/dme65/pySOT ● Google “global / black box optimization”