Genetic Algorithms  An example real-world application.

Slides:



Advertisements
Similar presentations
Genetic Algorithms Vida Movahedi November Contents What are Genetic Algorithms? From Biology … Evolution … To Genetic Algorithms Demo.
Advertisements

Genetic Algorithm.
Evolving Edge detection Final project by Rubshtein Andrey ( )
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
Image classification by sparse coding.
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Section 14.5: Local search – Genetic Algorithms.
Object Recognition Using Genetic Algorithms CS773C Advanced Machine Intelligence Applications Spring 2008: Object Recognition.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Evolutionary Computational Intelligence
Evolutionary Computation Introduction Peter Andras s.
1 Genetic Algorithms. CS The Traditional Approach Ask an expert Adapt existing designs Trial and error.
Design of Autonomous Navigation Controllers for Unmanned Aerial Vehicles using Multi-objective Genetic Programming Gregory J. Barlow March 19, 2004.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Genetic Art. Network Record Using Network Information Chicago Evanston ParisMoscow.
1 Genetic Algorithms. CS 561, Session 26 2 The Traditional Approach Ask an expert Adapt existing designs Trial and error.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Face Recognition Using Neural Networks Presented By: Hadis Mohseni Leila Taghavi Atefeh Mirsafian.
Image Registration of Very Large Images via Genetic Programming Sarit Chicotay Omid E. David Nathan S. Netanyahu CVPR ‘14 Workshop on Registration of Very.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Christoph F. Eick: Applying EC to TSP(n) Example: Applying EC to the TSP Problem  Given: n cities including the cost of getting from on city to the other.
1 Reasons for parallelization Can we make GA faster? One of the most promising choices is to use parallel implementations. The reasons for parallelization.
Studying Visual Attention with the Visual Search Paradigm Marc Pomplun Department of Computer Science University of Massachusetts at Boston
Genetic Algorithm.
Evolutionary Intelligence
Cristian Urs and Ben Riveira. Introduction The article we chose focuses on improving the performance of Genetic Algorithms by: Use of predictive models.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
Genetic algorithms Prof Kang Li
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 Michael J. Watts
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.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
1/27 Discrete and Genetic Algorithms in Bioinformatics 許聞廉 中央研究院資訊所.
1 Machine Learning: Lecture 12 Genetic Algorithms (Based on Chapter 9 of Mitchell, T., Machine Learning, 1997)
1 Combinatorial Problem. 2 Graph Partition Undirected graph G=(V,E) V=V1  V2, V1  V2=  minimize the number of edges connect V1 and V2.
1 Genetic Algorithms and Ant Colony Optimisation.
 Genetic Algorithms  A class of evolutionary algorithms  Efficiently solves optimization tasks  Potential Applications in many fields  Challenges.
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));
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
Genetic Algorithms. The Basic Genetic Algorithm 1.[Start] Generate random population of n chromosomes (suitable solutions for the problem) 2.[Fitness]
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
A Genetic Algorithm-Based Approach to Content-Based Image Retrieval Bo-Yen Wang( 王博彥 )
1 Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations Genetic Algorithm (GA)
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
1 Combinatorial Problem. 2 Graph Partition Undirected graph G=(V,E) V=V1  V2, V1  V2=  minimize the number of edges connect V1 and V2.
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 Algorithm(GA)
Genetic (Evolutionary) Algorithms CEE 6410 David Rosenberg “Natural Selection or the Survival of the Fittest.” -- Charles Darwin.
1 Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Genetic Algorithm (Knapsack Problem)
Introduction to Genetic Algorithms
Chapter 14 Genetic Algorithms.
Genetic Algorithms.
Introduction to Genetic Algorithm (GA)
Example: Applying EC to the TSP Problem
Example: Applying EC to the TSP Problem
Example: Applying EC to the TSP Problem
Evolving Logical-Linear Edge Detector with Evolutionary Algorithms
Searching for solutions: Genetic Algorithms
Beyond Classical Search
Presentation transcript:

Genetic Algorithms  An example real-world application

Dynamic scenes

Test stimulus

Outdoors scene (easy)

Outdoor scene (harder)

TV ad

Other outdoors

TV news

Questions  This model uses hardcoded low-level visual feature detectors inspired from monkey and human brains  Are these the best possible detectors?  Why did our brains evolve in such a way?

Training Filters to Detect Specific Salient Objects Romain Bosa iLab April – July 04

Olshausen & Field, Nature, 1996  Learning a sparse code for natural images  Basis function similar to receptive fields  Focus on picture reconstruction  Can be adapt to detect specific targets  E = – [preserve information] – k[sparseness]

Our Work  Training filters to specific target detection E = – [detection accuracy] – k[sparseness]  Goals : Automate specific target detection in natural pictures Try to understand better the learning process of object detection in human beings Use information on filters evolution during the training to be able to train analysts more efficiently

Detecting Fruits  First we tried to train filters in order to detect fruits (oranges and apples) in natural scenes  Training of 3 RGB filters 8*8 (9 grayscale filters, 9*8*8=576 coefficients)  Or, training on 3 greyscale filters 8*8 (3*8*8=192 coefficients)

The Data  Various pictures taken in iLab, and outside HNB  The objects to detect in these pictures are fruits: oranges, red and green apples  14 pictures containing only one fruit are used for the training process

The Score Function  Object detection accuracy : Manually-drawn binary mask (ideal saliency map) (MaxSalOut – MaxSalIn) /  Sparseness : Dot products of the filters (absolute values)

The Training Process  A wavelet transformation (Haar) is applied to the filters to train more meaningful filters :  Real function of 576 (or 192 for greyscale version) coefficients to minimize : the mean of the scores on each picture  The method used is a genetic algorithm  Filters are initialized with random values

Genetic Algorithm  Reduce number of possible filters by allowing each wavelet coefficient to only be -1, 0 or 1  Chromosomes: sequences of 576 (color) or 192 (greyscale) numbers, e.g.: -1, 0, 0, 1, 1, -1, -1, 1, 0, …, 0, 1  Mutations: randomly change some value in the chromosome into another value  Crossovers: create two children by exchanging some of the genes from two parents

A “Population” Chromosomes: sequences of 576 or 192 numbers, e.g.: -1, 0, 0, 1, -1, 1, 0, …, 0, 1 Population: start with 200 “individuals” initialized with random chromosomes

Ranking by Fitness: For each individual: compute saliency map using the filters from that individual’s chromosomes, and measure how salient the fruits of interest are. Repeat over all training images and compute average score. This is the “fitness” of that individual.

Mate Selection: Fittest are copied and replace less-fit

Mate Selection Roulette: Increasing the likelihood but not guaranteeing the fittest reproduction Create N children from N parents (population size remains constant) 11% 38% 7% 16% 0% 3% 25%

Crossover: Exchanging information through some part of information (representation) 1,-1, 0, 1, …. 1, 1,-1 1, 1, 1, 0, …. 1, 0,1

Mutation: Random change of binary digits from 0 to 1 and vice versa (to avoid local minima) In our case, Random change to -1, 0 or 1

Best Design

The GA Cycle

Computation on HPCC cluster  193 nodes (CPUs)  1 “master” node which keeps filters and score function up to date  192 “slaves” nodes which handle score evaluation  MPI protocol is used for communications between nodes

Detecting Interesting Targets  Instead of trying to detect specific targets, we are now trying to detect targets of interest in satellite pictures  Training of 3 grayscale filters 8*8  Same training process used  New score function

The Data  Satellite pictures with records of 4 subjects’ eye-movements (Rob’s data)  10 pictures are used for the training process  The aim is to get a saliency map matching the eye-movement (in particular the end of eye saccade locations)

The Score Function  Detection accuracy : Samples around end of saccades locations S i = max saliency in sample #i S = mean(S i ) A = average saliency on the map Accuracy score = (A + 1) / (S + 1)  The sparseness score doesn’t change

Convolution by

Conclusion  The work is still in progress, but the training process seems to work better with the eye movement score than with the fruits detection.  The next step will be to train more filters, in order to get more accurate results.  This work can be really interesting in terms of satellite images analysis, because if we managed to train accurate filters, we would have an automatic and very efficient way to find interesting locations, as a human being would.