Prof. Marie desJardins September 20, 2010

Slides:



Advertisements
Similar presentations
Logical and Artificial Intelligence in Games Lecture 14
Advertisements

Genetic Algorithms Chapter 3. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Genetic Algorithms GA Quick Overview Developed: USA in.
CS6800 Advanced Theory of Computation
Heuristics CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
For Friday Finish chapter 5 Program 1, Milestone 1 due.
Estimation of Distribution Algorithms Ata Kaban School of Computer Science The University of Birmingham.
Evolutionary Computational Intelligence
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Introduction to Genetic Algorithms Yonatan Shichel.
Introduction to Artificial Intelligence Local Search (updated 4/30/2006) Henry Kautz.
Genetic Algorithm for Variable Selection
Review Best-first search uses an evaluation function f(n) to select the next node for expansion. Greedy best-first search uses f(n) = h(n). Greedy best.
Informed Search Chapter 4 Adapted from materials by Tim Finin, Marie desJardins, and Charles R. Dyer CS 63.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
7/2/2015Intelligent Systems and Soft Computing1 Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Genetic Algorithm.
© Negnevitsky, Pearson Education, CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University.
Computing & Information Sciences Kansas State University Friday, 21 Nov 2008CIS 530 / 730: Artificial Intelligence Lecture 35 of 42 Friday, 21 November.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Evolution Strategies Evolutionary Programming Genetic Programming Michael J. Watts
Optimization in Engineering Design Georgia Institute of Technology Systems Realization Laboratory Mixed Integer Problems Most optimization algorithms deal.
An Introduction to Artificial Life Lecture 4b: Informed Search and Exploration Ramin Halavati In which we see how information.
CS 484 – Artificial Intelligence1 Announcements Lab 3 due Tuesday, November 6 Homework 6 due Tuesday, November 6 Lab 4 due Thursday, November 8 Current.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
Genetic Algorithms Genetic algorithms imitate a natural optimization process: natural selection in evolution. Developed by John Holland at the University.
Computational Complexity Jang, HaYoung BioIntelligence Lab.
1 Machine Learning: Lecture 12 Genetic Algorithms (Based on Chapter 9 of Mitchell, T., Machine Learning, 1997)
Chapter 4.1 Beyond “Classic” Search. What were the pieces necessary for “classic” search.
© Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
Genetic Algorithms. Evolutionary Methods Methods inspired by the process of biological evolution. Main ideas: Population of solutions Assign a score or.
For Friday Finish chapter 6 Program 1, Milestone 1 due.
Chapter 9 Genetic Algorithms.  Based upon biological evolution  Generate successor hypothesis based upon repeated mutations  Acts as a randomized parallel.
Genetic Algorithms Genetic algorithms provide an approach to learning that is based loosely on simulated evolution. Hypotheses are often described by bit.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Genetic Algorithms An Example Genetic Algorithm Procedure GA{ t = 0; Initialize P(t); Evaluate P(t); While (Not Done) { Parents(t) = Select_Parents(P(t));
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 5: Power of Heuristic; non- conventional search.
Genetic Algorithms Chapter Description of Presentations
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Overview Last two weeks we looked at evolutionary algorithms.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Introduction to Genetic Algorithms
Genetic Algorithms Author: A.E. Eiben and J.E. Smith
Evolution Strategies Evolutionary Programming
School of Computer Science & Engineering
Intelligent Systems and Soft Computing
Artificial Intelligence (CS 370D)
Advanced Artificial Intelligence Evolutionary Search Algorithm
CS621: Artificial Intelligence
Heuristics Local Search
GENETIC ALGORITHMS & MACHINE LEARNING
Design & Analysis of Algorithms Combinatorial optimization
Genetic Algorithms Chapter 3.
EE368 Soft Computing Genetic Algorithms.
Boltzmann Machine (BM) (§6.4)
Searching for solutions: Genetic Algorithms
A Gentle introduction Richard P. Simpson
Machine Learning: UNIT-4 CHAPTER-2
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Steady state Selection
Beyond Classical Search
Population Based Metaheuristics
Population Methods.
Presentation transcript:

Prof. Marie desJardins September 20, 2010 CMSC 671 Advanced Search Prof. Marie desJardins September 20, 2010

Overview Real-time heuristic search Genetic algorithms Learning Real-Time A* (LRTA*) Minimax Learning Real-Time A* (Min-Max LRTA*) Genetic algorithms

REAL-TIME SEARCH

Real-Time Search Interleave search and execution Advantages: Explore domain with unknown properties Provide variable control over amount of search (deliberation) vs. execution (reactivity) “Anytime” problem-solving performance Interruptible Learn to improve quality of heuristic function over multiple planning episodes Can solve very large problems (if they have the right problem structure) Sven Koenig, “Real-time heuristic search: Research issues,” In Proceedings of the AIPS-98 Workshop on Planning as Combinatorial Search: Propositional, Graph-Based, and Disjunctive Planning Methods, pages 75-79, 1998.

LRTA* Simplest version: one step lookahead with heuristic-value updating: Initialize s to the start state If s is a goal state, stop Choose an action a that minimizes f(succ(s,a)) Update f(s) to the max of current f(s), 1+f(succ(s,a)) Execute action a Set s to the current state Go to step 2 Richard E. Korf, “Real-time heuristic search,” Artificial Intelligence 42(2-3): 189-211, March 1990.

Search Example What will each algorithm do? f(n): 1 1 2 1 S A B C G D Greedy search (with and without repeated states) A* (with and without repeated states) Hill-climbing (One-step-lookahead) LRTA* f(n): 1 1 2 1 S A B C G D

Min-Max LRTA* Variation of LRTA* that can be used in nondeterministic domains Initialize s to the start state If s is a goal state, stop Choose an action a whose worst possible outcome minimizes f(succ(s,a)) (minimax step) Update f(s) to the max of current f(s), 1+f(succ(s,a)) (across all possible successors of s when performing a) Execute action a Set s to the current state Go to step 2 Sven Koenig, “Minimax real-time heuristic search,” Artificial Intelligence 129 (1-2): 165-197, June 2001.

More Variations Multi-step lookahead (using a “local search space”)

Incremental Heuristic Search Reuse information gathered during A* to improve future searches Variations: Failure  restart search at the point where the search failed Failure  update h-values and restart search Failure  update g-values and restart search Fringe Saving A*, Adaptive A*, Lifelong Planning A*, DLite*...

GENETIC ALGORITHMS

Genetic Algorithms Probabilistic search/optimization algorithm Start with k random states (the initial population) Generate new states by “mutating” a single state or “reproducing” (combining via crossover) two parent states Selection mechanism based on children’s fitness values Encoding used for the “genome” of an individual strongly affects the behavior of the search

GA: Genome Encoding Each variable or attribute is typically encoded as an integer value Number of values determines the granularity of encoding of continuous attributes For problems with more complex relational structure: Encode each aspect of the problem Constrain mutation/crossover operators to only generate legal offspring

Selection Mechanisms Proportionate selection: Each offspring should be represented in the new population proportionally to its fitness Roulette wheel selection (stochastic sampling): Random sampling, with fitness-proportional probabilities Deterministic sampling: Exact numbers of offspring (rounding up for most-fit individuals; rounding down for “losers”) Tournament selection: Offspring compete against each other in a series of competitions Particularly useful when fitness can’t be readily measured (e.g., genetically evolving game-playing algorithms or RoboCup players)

GA: Crossover Selecting parents: Pick pairs at random, or fitness-biased selection (e.g., using a Boltzmann distribution) One-point crossover (swap at same point in each parent) Two-point crossover Cut and splice (cut point could be different in the two parents) Bitwise crossover (“uniform crossover”) Many specialized crossover methods for specific problem types and representation choices

GA: Mutation Bitwise (“single point”) mutation

GA: When to Stop? After a fixed number of generations When a certain fitness level is reached When fitness variability drops below a threshold ...

GA: Parameters Running a GA involves many parameters Population size Crossover rate Mutation rate Number of generations Target fitness value ...