SlideShare una empresa de Scribd logo
1 de 27
Descargar para leer sin conexión
An Introduction to
Search and Optimisation
for DesignTheorists
Akın Kazakçı
MINES ParisTech

PSL Research University, CGS-I3 UMR 9217
akin.kazakci@mines-paristech.fr
Everyone designs who devises courses of action aimed at
changing existing situations into preferred ones.
- Herbert Simon
Everyone designs who devises courses of action aimed at
changing existing situations into preferred ones.
- States (situations)
- Actions (transformations)
-Value function
Assumes the following ontology: Can be represented with:
-Vectors: x=(x1,…, xn) ∈ S
- Functions: y = f(x), S→S
- Function, v(x), S→ℝ or
S→S°⊂S
Maze
States?
Actions?
Goal: find the exit
What changes if goal = find shortest path?
Positions on the board (x, y); here discrete
values for the sake of the example
Current state: (4,4), Goal state: (7,8)
Go North: (0, +1)
Go South: (0, -1)
Go West: (-1, 0)
Go East: (+1,0)
= Agent
= Exit
Value?
Distance to exit
Maze
= Agent
= Exit
(4,4)
(5,4)
Right
Up
(5,5)
Right
(5,6)
(6,6)
Right
(6,7)
(7,7)
(7,8)
Up
Up
Up
The path(s) to the solution
cannot be determined in
advance (otherwise why
search?)
So, how to “explore”?
- States
- Actions
-Value function
Are state variables discreet or continuous?
What is the search space size?
Which actions are allowed/forbidden in a given states?
What is the cost of applying an action?
Explicit (subset of states) or based on value?
Is the value function known analytically?
Is it costly to evaluate (call) the value function?
Several important factors to consider
when dealing with a search space
Generating the search space
The search space is usually not explicitly stated.
That means, it needs to be generated.
Conceptually, this generative process can be
represented as a tree.
Given a “Node” (state), we can
“expand” it with its
“neighbours” (states accessible
through actions).
Maze
= Agent
= Exit
(4,4)
(4,5)
Right
Up
= Obstacle
Down
(4,3) (5,4)
Moving left is not allowed at state
(4,4)
Thus, we cannot transform the state
to (3,4)
The (average) number of neighbours
we can generate in a given state is
called (effective) branching factor.
Maze
= Agent
= Exit
(3,4)
Left
Down
(3,3)
(4,4)
(5,4)
Right
Up
(5,5)
Right
(5,6)
(6,6)
Right
(6,7)
(7,7)
(7,8)
Up
Up
Up
What if we expand like this?
We loose time (and possibly resources)
Blind search
- Two basic strategies for generating the search tree are
breadth-first and deep-first search.
- Neither strategy offers an ideal approach: no guidance of
search, very costly in time, memory or both.
Breadth-first exploration Deep-first exploration
Images from Wikipedia
Numbers represent the order in which nodes are visited
(If branching factor is infinite (i.e. continuous state representations), no guarantee of completeness.)
How to guide the search?
• That’s the million dollar question.
• A starting point is to use the “value” function (when it is
available) for evaluating the “promise” of a path.
• This kind of search strategy is called heuristic or informed
search.
• The archetypical example is Hill-Climbing (greedy) search.
Greedy local search
(Hill-Climbing)
function Hill-Climbing(problem)
variables: current, neighbour
current⟵ MAKE_NODE(INIT(problem))
loop
neighbour = ARGMAX(VALUE (GET_NEIGHBOURS(current)))
if VALUE(neighbour)	<	VALUE(current)	then return current
current ⟵	neighbour
return current
Initialise with starting state
Generate all neighbours and
select the max valued one
If not better than current
state, return the current state
(if not) change the current
state to the best neighbour
Maze
= Agent
= Exit
(4,4)
(5,4)
Right
Up
(5,5)
Up
(5,6)
(4,5)
Up
Up
(4,6)
Up
(5,6)
This is not the (optimal) solution
This is a “local” optima
Very much dreaded in all search and
optimisation literature
= Barrier
An illustration of local optima
V(x)
distance
to exit
states
Assume the red dot is the
value of the current state.
What’s the next move?
xk xl
All neighbouring states have higher values!
Remember we are minimising the distance
global optima
An illustration of local optima
V(x)
distance
to exit
states
Assume the red dot is the
value of the current state.
What’s the next move?
xk xl
Greedy search easily gets stuck within local optima.
global optima
Rastrigin function
Image from MathWorks
You think this is complicated? - What if the number of variables increases?
function Simulated_annealing(problem)
variables: current, neighbour, T
current⟵ MAKE_NODE(INIT(problem))
while T > 0
neighbour = PICK_ONE(GET_NEIGHBOURS(current)))
current⟵ neighbour, if probability P (VALUE(neighbour),	
VALUE(current),	T) > RANDOM(0,1)	
DECREASE_TEMPERATURE(T)
return current
Initialise with starting state
Pick one neighbour
Move to neighbour with
some probability
Decrease system temperature
Simulated annealing
Simulated annealing
Gif from Wikipedia
Demo
http://qiao.github.io/PathFinding.js/visual/
Optimisation
Given a search problem, find the optimum value for v(x).
max v(x), s.t. x ∈ S
“subject to”, x is constrained
to take values only in S
Remark: max v(x) = min -v(x)
Same algorithms can be used to solve either of them.
Optimisation
Given a search problem, find the optimum value for v(x).
max v(x), s.t. x ∈ S
What changes compared to the previous search setup?
The ideal (desired) state is not known now.
If we are lucky, an analytical form of the value function is known.
In optimization, it is the value function that is being explored
We don’t know which state we want to end up in, but we want it
to have the best possible value.
Why is this even a model for
design?
What would be the points?
What does the objective
function represent?
Consider the following, in the
context of a design activity
How would the designer
generate the search tree?
What would be a new move?
How would you model Wooten&Ulrich’s notion of feedback?
Bonus question:What kind of “design space”underlies logo design?
Can Lehman&Stanley’s approach be seen as a model of creative
behaviour?
Is this different than search & optimisation we have seen?
The effect of adding “one”
variable to the “design space”
Questions
• What does the model become, if we assume that the
designer can add/remove variables during the course of
the design?
• Where would the designer find new variables?
• How can a designer decide which variable to add?
• How would you model this process?
Akın Kazakçı
akin.kazakci@mines-paristech.fr

Más contenido relacionado

La actualidad más candente

The world of loss function
The world of loss functionThe world of loss function
The world of loss function홍배 김
 
(DL輪読)Matching Networks for One Shot Learning
(DL輪読)Matching Networks for One Shot Learning(DL輪読)Matching Networks for One Shot Learning
(DL輪読)Matching Networks for One Shot LearningMasahiro Suzuki
 
Visual Translation Embedding Network for Visual Relation Detection (UPC Readi...
Visual Translation Embedding Network for Visual Relation Detection (UPC Readi...Visual Translation Embedding Network for Visual Relation Detection (UPC Readi...
Visual Translation Embedding Network for Visual Relation Detection (UPC Readi...Universitat Politècnica de Catalunya
 
Variational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationVariational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationJason Anderson
 
InfoGAN and Generative Adversarial Networks
InfoGAN and Generative Adversarial NetworksInfoGAN and Generative Adversarial Networks
InfoGAN and Generative Adversarial NetworksZak Jost
 
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...Shao-Chuan Wang
 
Generative modeling with Convolutional Neural Networks
Generative modeling with Convolutional Neural NetworksGenerative modeling with Convolutional Neural Networks
Generative modeling with Convolutional Neural NetworksDenis Dus
 
Introduction to Deep Learning and Tensorflow
Introduction to Deep Learning and TensorflowIntroduction to Deep Learning and Tensorflow
Introduction to Deep Learning and TensorflowOswald Campesato
 
Fcv hum mach_geman
Fcv hum mach_gemanFcv hum mach_geman
Fcv hum mach_gemanzukun
 
2017: Prototype-based models in unsupervised and supervised machine learning
2017: Prototype-based models in unsupervised and supervised machine learning2017: Prototype-based models in unsupervised and supervised machine learning
2017: Prototype-based models in unsupervised and supervised machine learningUniversity of Groningen
 
On the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
On the Dynamics of Machine Learning Algorithms and Behavioral Game TheoryOn the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
On the Dynamics of Machine Learning Algorithms and Behavioral Game TheoryRikiya Takahashi
 
Predicting Preference Reversals via Gaussian Process Uncertainty Aversion
Predicting Preference Reversals via Gaussian Process Uncertainty AversionPredicting Preference Reversals via Gaussian Process Uncertainty Aversion
Predicting Preference Reversals via Gaussian Process Uncertainty AversionRikiya Takahashi
 
Reviews on Deep Generative Models in the early days / GANs & VAEs paper review
Reviews on Deep Generative Models in the early days / GANs & VAEs paper reviewReviews on Deep Generative Models in the early days / GANs & VAEs paper review
Reviews on Deep Generative Models in the early days / GANs & VAEs paper reviewchangedaeoh
 
Anomaly detection using deep one class classifier
Anomaly detection using deep one class classifierAnomaly detection using deep one class classifier
Anomaly detection using deep one class classifier홍배 김
 
Reading group gan - 20170417
Reading group   gan - 20170417Reading group   gan - 20170417
Reading group gan - 20170417Shuai Zhang
 
Machine Intelligence.html
Machine Intelligence.htmlMachine Intelligence.html
Machine Intelligence.htmlJohnChan191
 
Variational Autoencoder
Variational AutoencoderVariational Autoencoder
Variational AutoencoderMark Chang
 
Deep Learning for Search
Deep Learning for SearchDeep Learning for Search
Deep Learning for SearchBhaskar Mitra
 
04 structured support vector machine
04 structured support vector machine04 structured support vector machine
04 structured support vector machinezukun
 

La actualidad más candente (20)

The world of loss function
The world of loss functionThe world of loss function
The world of loss function
 
(DL輪読)Matching Networks for One Shot Learning
(DL輪読)Matching Networks for One Shot Learning(DL輪読)Matching Networks for One Shot Learning
(DL輪読)Matching Networks for One Shot Learning
 
Visual Translation Embedding Network for Visual Relation Detection (UPC Readi...
Visual Translation Embedding Network for Visual Relation Detection (UPC Readi...Visual Translation Embedding Network for Visual Relation Detection (UPC Readi...
Visual Translation Embedding Network for Visual Relation Detection (UPC Readi...
 
Variational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationVariational Autoencoders For Image Generation
Variational Autoencoders For Image Generation
 
InfoGAN and Generative Adversarial Networks
InfoGAN and Generative Adversarial NetworksInfoGAN and Generative Adversarial Networks
InfoGAN and Generative Adversarial Networks
 
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
 
Generative modeling with Convolutional Neural Networks
Generative modeling with Convolutional Neural NetworksGenerative modeling with Convolutional Neural Networks
Generative modeling with Convolutional Neural Networks
 
Introduction to Deep Learning and Tensorflow
Introduction to Deep Learning and TensorflowIntroduction to Deep Learning and Tensorflow
Introduction to Deep Learning and Tensorflow
 
Fcv hum mach_geman
Fcv hum mach_gemanFcv hum mach_geman
Fcv hum mach_geman
 
2017: Prototype-based models in unsupervised and supervised machine learning
2017: Prototype-based models in unsupervised and supervised machine learning2017: Prototype-based models in unsupervised and supervised machine learning
2017: Prototype-based models in unsupervised and supervised machine learning
 
On the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
On the Dynamics of Machine Learning Algorithms and Behavioral Game TheoryOn the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
On the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
 
Predicting Preference Reversals via Gaussian Process Uncertainty Aversion
Predicting Preference Reversals via Gaussian Process Uncertainty AversionPredicting Preference Reversals via Gaussian Process Uncertainty Aversion
Predicting Preference Reversals via Gaussian Process Uncertainty Aversion
 
Reviews on Deep Generative Models in the early days / GANs & VAEs paper review
Reviews on Deep Generative Models in the early days / GANs & VAEs paper reviewReviews on Deep Generative Models in the early days / GANs & VAEs paper review
Reviews on Deep Generative Models in the early days / GANs & VAEs paper review
 
Lec14 eigenface and fisherface
Lec14 eigenface and fisherfaceLec14 eigenface and fisherface
Lec14 eigenface and fisherface
 
Anomaly detection using deep one class classifier
Anomaly detection using deep one class classifierAnomaly detection using deep one class classifier
Anomaly detection using deep one class classifier
 
Reading group gan - 20170417
Reading group   gan - 20170417Reading group   gan - 20170417
Reading group gan - 20170417
 
Machine Intelligence.html
Machine Intelligence.htmlMachine Intelligence.html
Machine Intelligence.html
 
Variational Autoencoder
Variational AutoencoderVariational Autoencoder
Variational Autoencoder
 
Deep Learning for Search
Deep Learning for SearchDeep Learning for Search
Deep Learning for Search
 
04 structured support vector machine
04 structured support vector machine04 structured support vector machine
04 structured support vector machine
 

Destacado

Toma de Decisiones
Toma de DecisionesToma de Decisiones
Toma de Decisionesaguanarondon
 
คู่มือโรงงานสีขาว
คู่มือโรงงานสีขาวคู่มือโรงงานสีขาว
คู่มือโรงงานสีขาวadisorn boonsukha
 
A saida dos estados unidos do tratado tranpacifico
A saida dos estados unidos do tratado tranpacificoA saida dos estados unidos do tratado tranpacifico
A saida dos estados unidos do tratado tranpacificoIsabel Cabral
 
presentation KORNBERGER CONSULTING
presentation KORNBERGER CONSULTING    presentation KORNBERGER CONSULTING
presentation KORNBERGER CONSULTING Andreas Kornberger
 
Ống thoát rác nhà cao tầng
Ống thoát rác nhà cao tầngỐng thoát rác nhà cao tầng
Ống thoát rác nhà cao tầngPham Ngoc Hoang
 
Effect of discrete_fiber_reinforcement_on_soil_ten
Effect of discrete_fiber_reinforcement_on_soil_tenEffect of discrete_fiber_reinforcement_on_soil_ten
Effect of discrete_fiber_reinforcement_on_soil_tenShuhaib Mohammed
 
Laringotraqueobronquitis (crup)
Laringotraqueobronquitis (crup)Laringotraqueobronquitis (crup)
Laringotraqueobronquitis (crup)Majestic Surgeon
 
Tos ferina/ Coqueluche
Tos ferina/ CoquelucheTos ferina/ Coqueluche
Tos ferina/ CoquelucheKaren Recalde
 
Narración de anécdotas
Narración de anécdotasNarración de anécdotas
Narración de anécdotasAngeles Bañon
 
Lesson 4 Physical Aspects of the Business Letters
Lesson 4 Physical Aspects of the Business LettersLesson 4 Physical Aspects of the Business Letters
Lesson 4 Physical Aspects of the Business LettersDana Bitagon
 
Toma de Decisiones Herbert Simon
Toma de Decisiones Herbert SimonToma de Decisiones Herbert Simon
Toma de Decisiones Herbert Simongarciara
 
A Preliminary Exploration of the Relationships Between Student-Created OER, S...
A Preliminary Exploration of the Relationships Between Student-Created OER, S...A Preliminary Exploration of the Relationships Between Student-Created OER, S...
A Preliminary Exploration of the Relationships Between Student-Created OER, S...David Wiley
 

Destacado (17)

Toma de Decisiones
Toma de DecisionesToma de Decisiones
Toma de Decisiones
 
Poesía
Poesía Poesía
Poesía
 
คู่มือโรงงานสีขาว
คู่มือโรงงานสีขาวคู่มือโรงงานสีขาว
คู่มือโรงงานสีขาว
 
A saida dos estados unidos do tratado tranpacifico
A saida dos estados unidos do tratado tranpacificoA saida dos estados unidos do tratado tranpacifico
A saida dos estados unidos do tratado tranpacifico
 
Ann
AnnAnn
Ann
 
presentation KORNBERGER CONSULTING
presentation KORNBERGER CONSULTING    presentation KORNBERGER CONSULTING
presentation KORNBERGER CONSULTING
 
Ống thoát rác nhà cao tầng
Ống thoát rác nhà cao tầngỐng thoát rác nhà cao tầng
Ống thoát rác nhà cao tầng
 
Effect of discrete_fiber_reinforcement_on_soil_ten
Effect of discrete_fiber_reinforcement_on_soil_tenEffect of discrete_fiber_reinforcement_on_soil_ten
Effect of discrete_fiber_reinforcement_on_soil_ten
 
Syphilis
SyphilisSyphilis
Syphilis
 
M commerce
M commerceM commerce
M commerce
 
Laringotraqueobronquitis (crup)
Laringotraqueobronquitis (crup)Laringotraqueobronquitis (crup)
Laringotraqueobronquitis (crup)
 
Tos ferina/ Coqueluche
Tos ferina/ CoquelucheTos ferina/ Coqueluche
Tos ferina/ Coqueluche
 
Dbc 2017 ok_ukraine_kosonotskyi_k
Dbc 2017 ok_ukraine_kosonotskyi_kDbc 2017 ok_ukraine_kosonotskyi_k
Dbc 2017 ok_ukraine_kosonotskyi_k
 
Narración de anécdotas
Narración de anécdotasNarración de anécdotas
Narración de anécdotas
 
Lesson 4 Physical Aspects of the Business Letters
Lesson 4 Physical Aspects of the Business LettersLesson 4 Physical Aspects of the Business Letters
Lesson 4 Physical Aspects of the Business Letters
 
Toma de Decisiones Herbert Simon
Toma de Decisiones Herbert SimonToma de Decisiones Herbert Simon
Toma de Decisiones Herbert Simon
 
A Preliminary Exploration of the Relationships Between Student-Created OER, S...
A Preliminary Exploration of the Relationships Between Student-Created OER, S...A Preliminary Exploration of the Relationships Between Student-Created OER, S...
A Preliminary Exploration of the Relationships Between Student-Created OER, S...
 

Similar a An Introduction to Search and Optimisation

block-mdp-masters-defense.pdf
block-mdp-masters-defense.pdfblock-mdp-masters-defense.pdf
block-mdp-masters-defense.pdfJunghyun Lee
 
CptS 440 / 540 Artificial Intelligence
CptS 440 / 540 Artificial IntelligenceCptS 440 / 540 Artificial Intelligence
CptS 440 / 540 Artificial Intelligencebutest
 
Cuckoo Search Algorithm: An Introduction
Cuckoo Search Algorithm: An IntroductionCuckoo Search Algorithm: An Introduction
Cuckoo Search Algorithm: An IntroductionXin-She Yang
 
Poggi analytics - star - 1a
Poggi   analytics - star - 1aPoggi   analytics - star - 1a
Poggi analytics - star - 1aGaston Liberman
 
Supervised Prediction of Graph Summaries
Supervised Prediction of Graph SummariesSupervised Prediction of Graph Summaries
Supervised Prediction of Graph SummariesDaniil Mirylenka
 
MS CS - Selecting Machine Learning Algorithm
MS CS - Selecting Machine Learning AlgorithmMS CS - Selecting Machine Learning Algorithm
MS CS - Selecting Machine Learning AlgorithmKaniska Mandal
 
Regression_1.pdf
Regression_1.pdfRegression_1.pdf
Regression_1.pdfAmir Saleh
 
Informed-search TECHNIQUES IN ai ml data science
Informed-search TECHNIQUES IN ai ml data scienceInformed-search TECHNIQUES IN ai ml data science
Informed-search TECHNIQUES IN ai ml data sciencedevvpillpersonal
 
Sorting Seminar Presentation by Ashin Guha Majumder
Sorting Seminar Presentation by Ashin Guha MajumderSorting Seminar Presentation by Ashin Guha Majumder
Sorting Seminar Presentation by Ashin Guha MajumderAshin Guha Majumder
 
Searching Informed Search.pdf
Searching Informed Search.pdfSearching Informed Search.pdf
Searching Informed Search.pdfDrBashirMSaad
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisXin-She Yang
 
AI - Local Search - Hill Climbing
AI - Local Search - Hill ClimbingAI - Local Search - Hill Climbing
AI - Local Search - Hill ClimbingAndrew Ferlitsch
 
Lecture 6-computer vision features descriptors matching
Lecture 6-computer vision features descriptors matchingLecture 6-computer vision features descriptors matching
Lecture 6-computer vision features descriptors matchingcairo university
 
Computer Vision harris
Computer Vision harrisComputer Vision harris
Computer Vision harrisWael Badawy
 
Applied machine learning for search engine relevance 3
Applied machine learning for search engine relevance 3Applied machine learning for search engine relevance 3
Applied machine learning for search engine relevance 3Charles Martin
 
Machine learning (1)
Machine learning (1)Machine learning (1)
Machine learning (1)NYversity
 
Lambda? You Keep Using that Letter
Lambda? You Keep Using that LetterLambda? You Keep Using that Letter
Lambda? You Keep Using that LetterKevlin Henney
 

Similar a An Introduction to Search and Optimisation (20)

block-mdp-masters-defense.pdf
block-mdp-masters-defense.pdfblock-mdp-masters-defense.pdf
block-mdp-masters-defense.pdf
 
CptS 440 / 540 Artificial Intelligence
CptS 440 / 540 Artificial IntelligenceCptS 440 / 540 Artificial Intelligence
CptS 440 / 540 Artificial Intelligence
 
Cuckoo Search Algorithm: An Introduction
Cuckoo Search Algorithm: An IntroductionCuckoo Search Algorithm: An Introduction
Cuckoo Search Algorithm: An Introduction
 
Poggi analytics - star - 1a
Poggi   analytics - star - 1aPoggi   analytics - star - 1a
Poggi analytics - star - 1a
 
Supervised Prediction of Graph Summaries
Supervised Prediction of Graph SummariesSupervised Prediction of Graph Summaries
Supervised Prediction of Graph Summaries
 
MS CS - Selecting Machine Learning Algorithm
MS CS - Selecting Machine Learning AlgorithmMS CS - Selecting Machine Learning Algorithm
MS CS - Selecting Machine Learning Algorithm
 
Generalized Reinforcement Learning
Generalized Reinforcement LearningGeneralized Reinforcement Learning
Generalized Reinforcement Learning
 
Regression_1.pdf
Regression_1.pdfRegression_1.pdf
Regression_1.pdf
 
Optimization tutorial
Optimization tutorialOptimization tutorial
Optimization tutorial
 
Informed-search TECHNIQUES IN ai ml data science
Informed-search TECHNIQUES IN ai ml data scienceInformed-search TECHNIQUES IN ai ml data science
Informed-search TECHNIQUES IN ai ml data science
 
Search 2
Search 2Search 2
Search 2
 
Sorting Seminar Presentation by Ashin Guha Majumder
Sorting Seminar Presentation by Ashin Guha MajumderSorting Seminar Presentation by Ashin Guha Majumder
Sorting Seminar Presentation by Ashin Guha Majumder
 
Searching Informed Search.pdf
Searching Informed Search.pdfSearching Informed Search.pdf
Searching Informed Search.pdf
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical Analysis
 
AI - Local Search - Hill Climbing
AI - Local Search - Hill ClimbingAI - Local Search - Hill Climbing
AI - Local Search - Hill Climbing
 
Lecture 6-computer vision features descriptors matching
Lecture 6-computer vision features descriptors matchingLecture 6-computer vision features descriptors matching
Lecture 6-computer vision features descriptors matching
 
Computer Vision harris
Computer Vision harrisComputer Vision harris
Computer Vision harris
 
Applied machine learning for search engine relevance 3
Applied machine learning for search engine relevance 3Applied machine learning for search engine relevance 3
Applied machine learning for search engine relevance 3
 
Machine learning (1)
Machine learning (1)Machine learning (1)
Machine learning (1)
 
Lambda? You Keep Using that Letter
Lambda? You Keep Using that LetterLambda? You Keep Using that Letter
Lambda? You Keep Using that Letter
 

Más de Akin Osman Kazakci

Transformation digitale par l'IA et la valorisation des données
Transformation digitale par l'IA et la valorisation des données Transformation digitale par l'IA et la valorisation des données
Transformation digitale par l'IA et la valorisation des données Akin Osman Kazakci
 
Learning, Representations, Generative modelling
Learning, Representations, Generative modellingLearning, Representations, Generative modelling
Learning, Representations, Generative modellingAkin Osman Kazakci
 
Data Science for Business Managers - An intro to ROI for predictive analytics
Data Science for Business Managers - An intro to ROI for predictive analyticsData Science for Business Managers - An intro to ROI for predictive analytics
Data Science for Business Managers - An intro to ROI for predictive analyticsAkin Osman Kazakci
 
Data Science for Business Managers - The bare minimum a manager should know
Data Science for Business Managers - The bare minimum a manager should knowData Science for Business Managers - The bare minimum a manager should know
Data Science for Business Managers - The bare minimum a manager should knowAkin Osman Kazakci
 
Data Science for Business Managers - Trends and Evolutions
Data Science for Business Managers - Trends and EvolutionsData Science for Business Managers - Trends and Evolutions
Data Science for Business Managers - Trends and EvolutionsAkin Osman Kazakci
 
Creating new classes of objects with deep generative neural nets
Creating new classes of objects with deep generative neural netsCreating new classes of objects with deep generative neural nets
Creating new classes of objects with deep generative neural netsAkin Osman Kazakci
 
Creativity through deep learning
Creativity through deep learningCreativity through deep learning
Creativity through deep learningAkin Osman Kazakci
 
A data science observatory based on RAMP - rapid analytics and model prototyping
A data science observatory based on RAMP - rapid analytics and model prototypingA data science observatory based on RAMP - rapid analytics and model prototyping
A data science observatory based on RAMP - rapid analytics and model prototypingAkin Osman Kazakci
 
Data science as a new frontier for design.
Data science as a new frontier for design.Data science as a new frontier for design.
Data science as a new frontier for design.Akin Osman Kazakci
 
Innovative Design Workshop - HiggsML and beyond (Machine Learning in Particle...
Innovative Design Workshop - HiggsML and beyond (Machine Learning in Particle...Innovative Design Workshop - HiggsML and beyond (Machine Learning in Particle...
Innovative Design Workshop - HiggsML and beyond (Machine Learning in Particle...Akin Osman Kazakci
 
Innovative design methods for data science - beyond brainstorming
Innovative design methods for data science - beyond brainstormingInnovative design methods for data science - beyond brainstorming
Innovative design methods for data science - beyond brainstormingAkin Osman Kazakci
 

Más de Akin Osman Kazakci (12)

Transformation digitale par l'IA et la valorisation des données
Transformation digitale par l'IA et la valorisation des données Transformation digitale par l'IA et la valorisation des données
Transformation digitale par l'IA et la valorisation des données
 
Learning, Representations, Generative modelling
Learning, Representations, Generative modellingLearning, Representations, Generative modelling
Learning, Representations, Generative modelling
 
Value of Data Science
Value of Data ScienceValue of Data Science
Value of Data Science
 
Data Science for Business Managers - An intro to ROI for predictive analytics
Data Science for Business Managers - An intro to ROI for predictive analyticsData Science for Business Managers - An intro to ROI for predictive analytics
Data Science for Business Managers - An intro to ROI for predictive analytics
 
Data Science for Business Managers - The bare minimum a manager should know
Data Science for Business Managers - The bare minimum a manager should knowData Science for Business Managers - The bare minimum a manager should know
Data Science for Business Managers - The bare minimum a manager should know
 
Data Science for Business Managers - Trends and Evolutions
Data Science for Business Managers - Trends and EvolutionsData Science for Business Managers - Trends and Evolutions
Data Science for Business Managers - Trends and Evolutions
 
Creating new classes of objects with deep generative neural nets
Creating new classes of objects with deep generative neural netsCreating new classes of objects with deep generative neural nets
Creating new classes of objects with deep generative neural nets
 
Creativity through deep learning
Creativity through deep learningCreativity through deep learning
Creativity through deep learning
 
A data science observatory based on RAMP - rapid analytics and model prototyping
A data science observatory based on RAMP - rapid analytics and model prototypingA data science observatory based on RAMP - rapid analytics and model prototyping
A data science observatory based on RAMP - rapid analytics and model prototyping
 
Data science as a new frontier for design.
Data science as a new frontier for design.Data science as a new frontier for design.
Data science as a new frontier for design.
 
Innovative Design Workshop - HiggsML and beyond (Machine Learning in Particle...
Innovative Design Workshop - HiggsML and beyond (Machine Learning in Particle...Innovative Design Workshop - HiggsML and beyond (Machine Learning in Particle...
Innovative Design Workshop - HiggsML and beyond (Machine Learning in Particle...
 
Innovative design methods for data science - beyond brainstorming
Innovative design methods for data science - beyond brainstormingInnovative design methods for data science - beyond brainstorming
Innovative design methods for data science - beyond brainstorming
 

Último

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 

Último (20)

(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 

An Introduction to Search and Optimisation

  • 1. An Introduction to Search and Optimisation for DesignTheorists Akın Kazakçı MINES ParisTech
 PSL Research University, CGS-I3 UMR 9217 akin.kazakci@mines-paristech.fr
  • 2. Everyone designs who devises courses of action aimed at changing existing situations into preferred ones. - Herbert Simon
  • 3. Everyone designs who devises courses of action aimed at changing existing situations into preferred ones. - States (situations) - Actions (transformations) -Value function Assumes the following ontology: Can be represented with: -Vectors: x=(x1,…, xn) ∈ S - Functions: y = f(x), S→S - Function, v(x), S→ℝ or S→S°⊂S
  • 4. Maze States? Actions? Goal: find the exit What changes if goal = find shortest path? Positions on the board (x, y); here discrete values for the sake of the example Current state: (4,4), Goal state: (7,8) Go North: (0, +1) Go South: (0, -1) Go West: (-1, 0) Go East: (+1,0) = Agent = Exit Value? Distance to exit
  • 5. Maze = Agent = Exit (4,4) (5,4) Right Up (5,5) Right (5,6) (6,6) Right (6,7) (7,7) (7,8) Up Up Up The path(s) to the solution cannot be determined in advance (otherwise why search?) So, how to “explore”?
  • 6. - States - Actions -Value function Are state variables discreet or continuous? What is the search space size? Which actions are allowed/forbidden in a given states? What is the cost of applying an action? Explicit (subset of states) or based on value? Is the value function known analytically? Is it costly to evaluate (call) the value function? Several important factors to consider when dealing with a search space
  • 7. Generating the search space The search space is usually not explicitly stated. That means, it needs to be generated. Conceptually, this generative process can be represented as a tree. Given a “Node” (state), we can “expand” it with its “neighbours” (states accessible through actions).
  • 8. Maze = Agent = Exit (4,4) (4,5) Right Up = Obstacle Down (4,3) (5,4) Moving left is not allowed at state (4,4) Thus, we cannot transform the state to (3,4) The (average) number of neighbours we can generate in a given state is called (effective) branching factor.
  • 10. Blind search - Two basic strategies for generating the search tree are breadth-first and deep-first search. - Neither strategy offers an ideal approach: no guidance of search, very costly in time, memory or both. Breadth-first exploration Deep-first exploration Images from Wikipedia Numbers represent the order in which nodes are visited (If branching factor is infinite (i.e. continuous state representations), no guarantee of completeness.)
  • 11. How to guide the search? • That’s the million dollar question. • A starting point is to use the “value” function (when it is available) for evaluating the “promise” of a path. • This kind of search strategy is called heuristic or informed search. • The archetypical example is Hill-Climbing (greedy) search.
  • 12. Greedy local search (Hill-Climbing) function Hill-Climbing(problem) variables: current, neighbour current⟵ MAKE_NODE(INIT(problem)) loop neighbour = ARGMAX(VALUE (GET_NEIGHBOURS(current))) if VALUE(neighbour) < VALUE(current) then return current current ⟵ neighbour return current Initialise with starting state Generate all neighbours and select the max valued one If not better than current state, return the current state (if not) change the current state to the best neighbour
  • 13. Maze = Agent = Exit (4,4) (5,4) Right Up (5,5) Up (5,6) (4,5) Up Up (4,6) Up (5,6) This is not the (optimal) solution This is a “local” optima Very much dreaded in all search and optimisation literature = Barrier
  • 14. An illustration of local optima V(x) distance to exit states Assume the red dot is the value of the current state. What’s the next move? xk xl All neighbouring states have higher values! Remember we are minimising the distance global optima
  • 15. An illustration of local optima V(x) distance to exit states Assume the red dot is the value of the current state. What’s the next move? xk xl Greedy search easily gets stuck within local optima. global optima
  • 16. Rastrigin function Image from MathWorks You think this is complicated? - What if the number of variables increases?
  • 17. function Simulated_annealing(problem) variables: current, neighbour, T current⟵ MAKE_NODE(INIT(problem)) while T > 0 neighbour = PICK_ONE(GET_NEIGHBOURS(current))) current⟵ neighbour, if probability P (VALUE(neighbour), VALUE(current), T) > RANDOM(0,1) DECREASE_TEMPERATURE(T) return current Initialise with starting state Pick one neighbour Move to neighbour with some probability Decrease system temperature Simulated annealing
  • 20. Optimisation Given a search problem, find the optimum value for v(x). max v(x), s.t. x ∈ S “subject to”, x is constrained to take values only in S Remark: max v(x) = min -v(x) Same algorithms can be used to solve either of them.
  • 21. Optimisation Given a search problem, find the optimum value for v(x). max v(x), s.t. x ∈ S What changes compared to the previous search setup? The ideal (desired) state is not known now. If we are lucky, an analytical form of the value function is known. In optimization, it is the value function that is being explored We don’t know which state we want to end up in, but we want it to have the best possible value.
  • 22. Why is this even a model for design? What would be the points? What does the objective function represent? Consider the following, in the context of a design activity How would the designer generate the search tree? What would be a new move?
  • 23. How would you model Wooten&Ulrich’s notion of feedback? Bonus question:What kind of “design space”underlies logo design?
  • 24. Can Lehman&Stanley’s approach be seen as a model of creative behaviour? Is this different than search & optimisation we have seen?
  • 25. The effect of adding “one” variable to the “design space”
  • 26. Questions • What does the model become, if we assume that the designer can add/remove variables during the course of the design? • Where would the designer find new variables? • How can a designer decide which variable to add? • How would you model this process?