Ant Colony Optimization Algorithm and Approaches in Robot Path - - PowerPoint PPT Presentation

ant colony optimization
SMART_READER_LITE
LIVE PREVIEW

Ant Colony Optimization Algorithm and Approaches in Robot Path - - PowerPoint PPT Presentation

MIN-Fakult at Fachbereich Informatik Universit at Hamburg Ant Colony Optimization Ant Colony Optimization Algorithm and Approaches in Robot Path Planning Katinka B ohm Universit at Hamburg Fakult at f ur Mathematik,


slide-1
SLIDE 1

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Ant Colony Optimization

Ant Colony Optimization

Algorithm and Approaches in Robot Path Planning Katinka B¨

  • hm

Universit¨ at Hamburg Fakult¨ at f¨ ur Mathematik, Informatik und Naturwissenschaften Fachbereich Informatik Technische Aspekte Multimodaler Systeme

January 4th, 2016

Katinka B¨

  • hm

1

slide-2
SLIDE 2

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Ant Colony Optimization

Structure

  • 1. Introduction
  • 2. Theoretical Approach
  • 3. Robot Path Planning with ACO
  • 4. Analysis
  • 5. Interesting Applications
  • 6. Recap
  • 7. References

Katinka B¨

  • hm

2

slide-3
SLIDE 3

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Introduction - Motivation Ant Colony Optimization

Motivation

Natural Inspiration → based on the the behavior of ants seeking a path between their colony and a source of food

Stigmergy Unorganized actions of individuals serve as a stimuli for other individuals by modifying their environment and result in a single outcome . In short: A group of individuals that behave as a sole entity.

Katinka B¨

  • hm

3

slide-4
SLIDE 4

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Introduction - Motivation Ant Colony Optimization

Motivation (contd.)

I Swarm Intelligence method I probabilistic technique → non-deterministic I solve hard combinatorial optimization problems

Definition

Combinatorial Optimization Problem P = (S, Ω, f ) S . . . finite set of decision variables, Ω . . . constraints, f . . . objective function to be minimized Prominent example: Traveling Salesman

Katinka B¨

  • hm

4

slide-5
SLIDE 5

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Introduction - Metaheuristic Ant Colony Optimization

Metaheuristic

Ant Colony Optimization (ACO)

Set parameters Initialize pheromone trails while termination condition not met do ConstructAntSolutions DaemonActions (optional) UpdatePheromones endwhile

Katinka B¨

  • hm

5

slide-6
SLIDE 6

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Theoretical Approach - Ant System Ant Colony Optimization

Ant System (AS)

I oldest most basic algorithm I by Marco Dorigo in the 90s

Ant Movement Probability for ant k to move from i to j in the next step: pk

ij =

τ α

ij · ηβ ij

P

∀cil cil feasible

τ α

il · ηβ il

where α and β control importance of pheromone τ vs. heuristic value η Standard heuristic: ηij =

1 dij where dij is the distance between i and j

Katinka B¨

  • hm

6

slide-7
SLIDE 7

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Theoretical Approach - Ant System Ant Colony Optimization

Ant System (AS) (cont.)

Pheromone Update Pheromone update for all ants that have built a solution in that iteration: τij ← (1 − ρ) · τij +

m

X

k=1

∆τ k

ij

where ρ is the evaporation rate and ∆τ k

ij is the quantity of pheromone laid on

edge (ij) with ∆τ k

ij = Q

L k where Q is a constant and Lk is the total length of the tour of ant k

Katinka B¨

  • hm

7

slide-8
SLIDE 8

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Theoretical Approach - Max-Min Ant System Ant Colony Optimization

Max-Min Ant System (MMAS)

I pheromone values are bound I only the best ant updates its pheromone trails after solutions

have been found

Pheromone Update τij ← h (1 − ρ) · τij + ∆τ best

ij

iτmax

τmin

where ∆τ best

ij

=

1 Lbest

Lbest can be the iteration best or global best tour

Katinka B¨

  • hm

8

slide-9
SLIDE 9

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Theoretical Approach - Ant Colony System Ant Colony Optimization

Ant Colony System (ACS)

I diversify the search through a local pheromone update I pseudorandom proportional rule for ant movement

Local Pheromone Update Performed by all ants after each construction step to the last traversed edge τij = (1 − ψ) · τij + ψ · τ0 where ψ ∈ (0, 1] is the pheromone decay coefficient and ψ0 is the initial pheromone value Pheromone Update τij ← ( (1 − ρ) · τij + ρ · ∆τij if (i, j) belongs to the best tour τij

  • therwise

Katinka B¨

  • hm

9

slide-10
SLIDE 10

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Theoretical Approach - Overview Ant Colony Optimization

Theoretical Approach

Overview

Algorithm Ant Movement Pheromones Update Evaporation Ant System (AS) 1991 random proportional τij ← (1 − ρ) · τij + Pm

k=1 ∆τk ij

all paths Max-Min Ant Sys- tem (MMAX) 2000 random proportional τij ← h (1 − ρ) · τij + ∆τbest

ij

iτmax

τmin

best-so-far tour min/max bound Ant Colony System (ACS) 1997 pseudorandom proportional local: τij = (1 − ψ) · τij + ψ · τ0 global: τij ← ( (1 − ρ) · τij + ρ · ∆τij τij last step best-so-far tour

Katinka B¨

  • hm

10

slide-11
SLIDE 11

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Problem Types Ant Colony Optimization

Problem Types

I Routing Problems

→ Traveling Salesman, Vehicle Routing, Network Routing

I Assignment Problems

→ Graph Coloring

I Subset Problems

→ Set Covering, Knapsack Problem

I Scheduling

→ Project Scheduling, Timetable Scheduling

I Constraint Satisfaction Problems I Protein Folding

Katinka B¨

  • hm

11

slide-12
SLIDE 12

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Robot Path Planning with ACO Ant Colony Optimization

Robot Path Planning

I NP-complete problem I static vs. dynamic environment I known vs. unknown environment I rerouting on collision I shortest path

Katinka B¨

  • hm

12

slide-13
SLIDE 13

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Robot Path Planning with ACO Ant Colony Optimization

Robot Path Planning Alg1

Mohamad Z. et al. [8]

Shortest Path in a static environment Map Construction Generate a global free space map where the robot can traverse between the yellow nodes Free space nodes (white) can be traversed by the robot

Katinka B¨

  • hm

13

slide-14
SLIDE 14

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Robot Path Planning with ACO Ant Colony Optimization

Robot Path Planning Alg1

Mohamad Z. et al. [8]

Ant Movement

Probability pij = ηβ

ij · τ α ij with α = 5, β = 5

Heuristic η = 1 distance between next point with intersect point at reference line

Katinka B¨

  • hm

14

slide-15
SLIDE 15

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Robot Path Planning with ACO Ant Colony Optimization

Robot Path Planning Alg1

Mohamad Z. et al. [8]

Pheromone Update local → after each step from one node to another global → after path calculation is finished

Local Evaporation prevents accumulation of pheromone τij = (1 − ρ) · τij with ρ = 0.5 Global Reinforcement (AS) τij = τij + Pm

k=1 ∆τ k ij ,

∆τij = Q

Lk

where Q . . . number of nodes Lk . . . length of path chosen by ant k

Katinka B¨

  • hm

15

slide-16
SLIDE 16

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Robot Path Planning with ACO Ant Colony Optimization

Robot Path Planning Alg1

Mohamad Z. et al. [8]

Results

I comparison to a standard GA algorithm I ACO faster with smaller number of iterations

(due to good state transition rule - distance to baseline)

Katinka B¨

  • hm

16

slide-17
SLIDE 17

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Robot Path Planning with ACO Ant Colony Optimization

Robot Path Planning Alg2

Michael Brand et al. [2]

Shortest path in a dynamic environment

I grid world of 20x20, 30x30 and 40x40

four possible movement directions: left, right, up, down

I basic AS approach I re-routing after obstacles are added I focus on re-initialization of pheromones

Global Initialization τij = 0.1 for every transition between blocks Local Initialization Gradient of pheromones around every object Pheromone levels are decreased in a cyclic fashion by a certain fraction (50%)

Katinka B¨

  • hm

17

slide-18
SLIDE 18

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Robot Path Planning with ACO Ant Colony Optimization

Robot Path Planning Alg2

Michael Brand et al. [2]

Results Global Initialization Map Size 20x20 30x30 40x40 Iterations 151 277 148 Path Length 39 66 138 Local Initialization Map Size 20x20 30x30 40x40 Iterations 122 84 69 Path Length 39 64 128

Local Initialization: 1st iteration Local Initialization: 1000th iteration

Katinka B¨

  • hm

18

slide-19
SLIDE 19

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Analysis - Comparison Ant Colony Optimization

Comparison to other meta-heuristic techniques

I other techniques:

Genetic Algorithms (GA), Simulated Annealing (SA), Particle Swarm Optimization (PSO), Tabu Search (TS)

I hard to compare in general → dependent on specific problem

instance, algorithm implementation and parameter settings (No free lunch theorem)

I slow convergence compared to other approaches

→ long runtime for small easy instances and fast, pretty good results for complex instances

I ACO often performs really bad or really good

Katinka B¨

  • hm

19

slide-20
SLIDE 20

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Analysis - TSP Ant Colony Optimization

Traveling Salesman Problem

results for a small TSP instance with 20 nodes over multiple runs

Measures ACO GA SA PSO TS Parameters pheromone eva- poration population, crossover, mutation temperature annealing rate population size, velocity tabu list length Convergence slow due to phe- romone evapo- ration rapid avoids trapping by deterioration moves less rapid tabulist avoids trapping in local optima Intensification Diversification ant movement, pheromone up- date crossover, mutation cooling, solution accep- tance strategy local search, fitness tabulist, neighbor selecti-

  • n

CPU Time(s) 250 200 101 220 140 Path Length 300 200 99 250 97

Katinka B¨

  • hm

20

slide-21
SLIDE 21

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Analysis - Advantages and Drawbacks Ant Colony Optimization

Advantages and Drawbacks

Advantages

I inherent parallelism I easy to implement on a basic

level → few parameters

I possible to solve NP-hard

problems

I fast in finding near optimal

solutions in comparison to classical approaches

I robust → suitable for

dynamic applications Drawbacks

I randomness → not

guaranteed to find the

  • ptimal solution

I slow convergence I theoretical research is hard

→ mostly rely on experimental results

Katinka B¨

  • hm

21

slide-22
SLIDE 22

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Interesting Applications Ant Colony Optimization

Interesting Applications

Dexterous Manipulation: Gripper Configuration

Determine forces extracted by robot grippers to guarantee stability of the grip without causing defect or damage to the object. Non-linear problem containing five

  • bjective functions, nine constraints

and seven variables.

Image Processing: Edge Detection

Ants move from one pixel to another and are directed by the local variation

  • f the images intensity values stored in

a heuristics matrix. The highest density

  • f the pheromone is deposited at the

edges.

Katinka B¨

  • hm

22

slide-23
SLIDE 23

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik Recap Ant Colony Optimization

Recap

I Swarm Intelligence I Inspired by ant colony movement I Three basic approaches

I Ant System I Min-Max Ant System I Ant Colony System

I Application: Robot Path Planning

I Shortest path in static environment with free space map I Shortest path in dynamic environment

I slow convergence but fast good solutions for complex problems

Katinka B¨

  • hm

23

slide-24
SLIDE 24

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik References Ant Colony Optimization

References

[1] Toolika Arora and Yogita Gigras. A Survey of Comarison Between Various Meta-Heuristic Techniques for Path Planning Problem. International Journal of Computer Engineering & Science, 3(2):62–66, November 2013. [2] Michael Brand, Michael Masuda, Michael Masuda, Nicole Wehner, and Xiao-Hua Yu. Ant Colony Optimization Algorithm for Robot Path Planning. International Conference On Computer Design And Appliations (ICCDA 2010), 3:436–440, 2010. [3] Marco Dorigo and Thomas St¨ utzle. Ant colony optimization. MIT Press, 2004. [4] Marco Dorigo and Thomas St¨ utzle. International Series in Operations Research & Management Science 146, Ant Colony Optimization: Overview and Recent Advances, chapter 8, pages 227–263. Springer Science+Business Media, 2010. [5] Yogita Gigras and Kusum Gupta. Ant Colony Based Path Planning Algorithm for Autonomous Robotic Vehicles. International Journal of Artificial Intelligence & Applications (IJAIA), 3(6), November 2012. [6] Mauro Birattari Marco Dorigo and Thomas St¨ utzle. Ant Colony Optimization Artificial Ants as a Computational Intelligence Technique. IEEE Computational Intelligence Magazine, 1556-603X(06):28–39, 2006.

Katinka B¨

  • hm

24

slide-25
SLIDE 25

Universit¨ at Hamburg

MIN-Fakult¨ at Fachbereich Informatik References Ant Colony Optimization

References (cont.)

[7] Seedarla Moses Mullar and R. Satya Meher. Optimizing of Robot Gripper Configurations Using Ant Colony Optimization. International Journal of Engineering Research & Technology (IJERT), 2(9), September 2013. [8] Buniyamin N., Sariff N., Wan Ngah W.A.J., and Mohamad Z. Robot global path planning overview and a variation of ant colony system algorithm. International Journal of Mathematics and Computers in Simulation, 5(1), 2011. [9] Alpa Reshamwala and Deepika P Vinchurkar. Robot Path Planning using An Ant Colony Optimization Approach: A Survey. International Journal of Advanced Research in Artificial Intelligence, 2(3), 2013.

Katinka B¨

  • hm

25