Teaching Stochastic Local Search Todd W. Neller. FLAIRS-2005 Motivation Intro AI course has many topics, little time Best learning is experiential, but.

Slides:



Advertisements
Similar presentations
Todd W. Neller Gettysburg College
Advertisements

Neural and Evolutionary Computing - Lecture 4 1 Random Search Algorithms. Simulated Annealing Motivation Simple Random Search Algorithms Simulated Annealing.
Simulated Annealing General Idea: Start with an initial solution
CHAPTER 8 A NNEALING- T YPE A LGORITHMS Organization of chapter in ISSO –Introduction to simulated annealing –Simulated annealing algorithm Basic algorithm.
Applying Machine Learning to Circuit Design David Hettlinger Amy Kerr Todd Neller.
Todd W. Neller Gettysburg College.  Specification: grid size, start state (square), goal state, jump numbers for each non- goal state.  Jump number:
1 Chapter 5 Advanced Search. 2 Chapter 5 Contents l Constraint satisfaction problems l Heuristic repair l The eight queens problem l Combinatorial optimization.
1 Intro to CIT 594 ~matuszek/cit594.html.
MAE 552 – Heuristic Optimization Lecture 6 February 6, 2002.
Task Assignment and Transaction Clustering Heuristics.
1 Chapter 5 Advanced Search. 2 l
Simulated Annealing 10/7/2005.
Simulated Annealing Van Laarhoven, Aarts Version 1, October 2000.
EDA (CS286.5b) Day 7 Placement (Simulated Annealing) Assignment #1 due Friday.
MAE 552 – Heuristic Optimization Lecture 10 February 13, 2002.
Planning operation start times for the manufacture of capital products with uncertain processing times and resource constraints D.P. Song, Dr. C.Hicks.
Informed Search Chapter 4 Adapted from materials by Tim Finin, Marie desJardins, and Charles R. Dyer CS 63.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
MAE 552 – Heuristic Optimization Lecture 6 February 4, 2002.
Informed Search Next time: Search Application Reading: Machine Translation paper under Links Username and password will be mailed to class.
Introduction to Simulated Annealing 22c:145 Simulated Annealing  Motivated by the physical annealing process  Material is heated and slowly cooled.
Optimization via Search CPSC 315 – Programming Studio Spring 2008 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
Simulated Annealing G.Anuradha. What is it? Simulated Annealing is a stochastic optimization method that derives its name from the annealing process used.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Vilalta&Eick: Informed Search Informed Search and Exploration Search Strategies Heuristic Functions Local Search Algorithms Vilalta&Eick: Informed Search.
1 IE 607 Heuristic Optimization Simulated Annealing.
Heuristic Optimization Methods
The Basics and Pseudo Code
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
CS 484 – Artificial Intelligence1 Announcements Homework 2 due today Lab 1 due Thursday, 9/20 Homework 3 has been posted Autumn – Current Event Tuesday.
1 Chapter 5 Advanced Search. 2 Chapter 5 Contents l Constraint satisfaction problems l Heuristic repair l The eight queens problem l Combinatorial optimization.
Escaping Local Optima. Where are we? Optimization methods Complete solutions Partial solutions Exhaustive search Hill climbing Random restart General.
Simulated Annealing.
Local Search: walksat, ant colonies, and genetic algorithms.
Markov Chain Monte Carlo and Gibbs Sampling Vasileios Hatzivassiloglou University of Texas at Dallas.
Computer Science CPSC 322 Lecture 16 CSP: wrap-up Planning: Intro (Ch 8.1) Slide 1.
Local Search Algorithms
Local Search Pat Riddle 2012 Semester 2 Patricia J Riddle Adapted from slides by Stuart Russell,
FORS 8450 Advanced Forest Planning Lecture 5 Relatively Straightforward Stochastic Approach.
Single-solution based metaheuristics. Outline Local Search Simulated annealing Tabu search …
CHAPTER 4, Part II Oliver Schulte Summer 2011 Local Search.
Simulated Annealing G.Anuradha.
Vaida Bartkutė, Leonidas Sakalauskas
Optimization Problems
Ramakrishna Lecture#2 CAD for VLSI Ramakrishna
Chapter 5. Advanced Search Fall 2011 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Lecture 6 – Local Search Dr. Muhammad Adnan Hashmi 1 24 February 2016.
CPSC 322, Lecture 16Slide 1 Stochastic Local Search Variants Computer Science cpsc322, Lecture 16 (Textbook Chpt 4.8) Oct, 11, 2013.
Intro. ANN & Fuzzy Systems Lecture 37 Genetic and Random Search Algorithms (2)
Metaheuristics for the New Millennium Bruce L. Golden RH Smith School of Business University of Maryland by Presented at the University of Iowa, March.
CS621: Artificial Intelligence
Stochastic Local Search Algorithms for DNA word Design Dan C Tulpan, Holger H Hoos, and Anne Condon Summerized by Ji-Eun Yun.
Scientific Research Group in Egypt (SRGE)
Department of Computer Science
Heuristic Optimization Methods
Van Laarhoven, Aarts Version 1, October 2000
Artificial Intelligence (CS 370D)
Haim Kaplan and Uri Zwick
School of Computer Science & Engineering
Boltzmann Machine (BM) (§6.4)
Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier, 2014
Artificial Intelligence
Lecture 9 Administration Heuristic search, continued
More on HW 2 (due Jan 26) Again, it must be in Python 2.7.
More on HW 2 (due Jan 26) Again, it must be in Python 2.7.
Alex Bolsoy, Jonathan Suggs, Casey Wenner
Simulated Annealing & Boltzmann Machines
Stochastic Methods.
Presentation transcript:

Teaching Stochastic Local Search Todd W. Neller

FLAIRS-2005 Motivation Intro AI course has many topics, little time Best learning is experiential, but experience takes time! –"One must learn by doing the thing; for though you think you know it, you have no certainty, until you try." -Sophocles How to introduce stochastic local search –Simply –Concisely –Experientially

FLAIRS-2005 The Drunken Topographer Drunken Topographer Analogy Formalize the problem –Longitude, latitude  state –Altitude  energy (objective function) –Random step  next state generation –Goal: Find the lowest energy!

FLAIRS-2005 State Interface step – take a stochastic local step in the state space undo – revert one step (never two!) energy – measure state “badness” clone – copy state for future reference

FLAIRS-2005 Simple Hill Descent

FLAIRS-2005 Simple Hill Descent For a fixed number of iterations: –[Report state every iterations] –Step to next state. –If step is not uphill, check if it is the best (minimal energy) yet, Otherwise reject (undo) the step. Return best state

FLAIRS-2005 Observing Local Minima The Rastrigin Function –sinusoidally perturbed parabolic bowl –energy(x, y) = x 2 + y 2 − cos(18x) − cos(18y) + 2 –Initialize at (10,10) –x, y Gaussian step distribution with σ =.05 –Apply simple hill descent

FLAIRS-2005 Uphill Steps Allow uphill steps with some probability Experiment with acceptance rate: –0.0 = hill descent –1.0 = random walk –0.1  close approximation –0.01  closer approximation –0.001  local minima

FLAIRS-2005 Discerning Uphill Steps Not all uphill steps are equal Introduce Boltzmann distribution What is the behavior at temperature extremes? –High temperature: random walk (“super drunk”) –Low temperature: hill descent (“dead-tired drunk”) –Vary from high to low temperature…

FLAIRS-2005 Simulated Annealing Why simulated annealing? –Simple –Powerful However, annealing (cooling) schedules are a “black art”. –Side note: decision-theoretic simulated annealing There is no substitute for experience.

FLAIRS-2005 Applet Annealing Experiences

FLAIRS-2005 Next Steps Homework: Assign one or more simple combinatorial optimization problems (e.g. TSP, n-queens, etc.) Optional Labs: –Project group formation problem –Pizza ordering problem

FLAIRS-2005 Web Resources sls/index.htmlhttp://cs.gettysburg.edu/~tneller/resources/ sls/index.html –FLAIRS’05 paper –Relevant code –Links to demo applets –Readings on SA and SLS in general –Suggested Syllabus

FLAIRS-2005 In Conclusion “We can only possess what we experience. Truth, to be understood, must be lived.” – Charlie Peacock Further exploration: Hoos and Stutzle text Other SLS distillations are possible. May you and your students benefit from our good experiences!