Bridge Experiment with Overcrowding Swarm Intelligence Course - - PowerPoint PPT Presentation

bridge experiment with overcrowding
SMART_READER_LITE
LIVE PREVIEW

Bridge Experiment with Overcrowding Swarm Intelligence Course - - PowerPoint PPT Presentation

Introduction Microscopic Model Macroscopic Model Conclusion Bridge Experiment with Overcrowding Swarm Intelligence Course Project S ebastien Cuendet & Jean-Philippe Pellet { sebastien.cuendet, jean-philippe.pellet } @epfl.ch 9th


slide-1
SLIDE 1

Introduction Microscopic Model Macroscopic Model Conclusion

Bridge Experiment with Overcrowding

Swarm Intelligence Course Project S´ ebastien Cuendet & Jean-Philippe Pellet {sebastien.cuendet, jean-philippe.pellet}@epfl.ch 9th February, 2006

slide-2
SLIDE 2

Introduction Microscopic Model Macroscopic Model Conclusion

Outline

1

Introduction

2

Microscopic Model

3

Macroscopic Model

4

Conclusion

slide-3
SLIDE 3

Introduction Microscopic Model Macroscopic Model Conclusion

Outline

1

Introduction

2

Microscopic Model

3

Macroscopic Model

4

Conclusion

slide-4
SLIDE 4

Introduction Microscopic Model Macroscopic Model Conclusion

Asymmetric Bridge Experiment

Given number of agents/ants must bring back a maximal amount of food Two paths: short path (length l), long path (length r ·l) Add obstacle avoidance Study effect of pheromone

F (Food source) N (Nest) S L

slide-5
SLIDE 5

Introduction Microscopic Model Macroscopic Model Conclusion

Outline

1

Introduction

2

Microscopic Model

3

Macroscopic Model

4

Conclusion

slide-6
SLIDE 6

Introduction Microscopic Model Macroscopic Model Conclusion

Model Description

Microscopic model: PFSM Fixed probabilities and dynamic probabilities Dynamic probs depend on system’s past history ⇒ Not a markovian model Modeled aspects: Path length Collisions Pheromone

slide-7
SLIDE 7

Introduction Microscopic Model Macroscopic Model Conclusion

Model Description

Microscopic model: PFSM Fixed probabilities and dynamic probabilities Dynamic probs depend on system’s past history ⇒ Not a markovian model Modeled aspects: Path length Collisions Pheromone

slide-8
SLIDE 8

Introduction Microscopic Model Macroscopic Model Conclusion

Designing the Model: Iteration I

N F S L pNS pNL pFS pFL 1/(2TS) 1/(2TS) 1/(2TL) 1/(2TL)

Simplest case, no collision No pheromones:, pNS = pNL = pN/2, pFS = pFL = 1/2 Path length: modeled with outgoing prob (TL = r ·TS) Implicit U-turn possibility

slide-9
SLIDE 9

Introduction Microscopic Model Macroscopic Model Conclusion

Designing the Model: Iteration II

N F S L pNS pNL pFS pFL AS AL pSA pLA 1/TA 1/TA 1/(2TS) 1/(2TS) 1/(2TL) 1/(2TL)

Added collision prob (dynamic): pSA(k) = pr ·(S(k) − 1), pLA(k) = pr

r ·(L(k) − 1)

Come back from avoidance probabilistically with prob 1/TA pr, TA : new model parameters. Still implicit U-turn possibility

slide-10
SLIDE 10

Introduction Microscopic Model Macroscopic Model Conclusion

Designing the Model: Iteration III

N F S1 L1

1/TS

AS1 AL1 AS2 S2

pFS

L2 AL2

1/TL 1/TL 1/TS pSA pSA 1/TA 1/TA pLA pLA 1/TA 1/TA pFL pNL pNS

Duplicated some states: now way up and way down; no U-turn ⇒ Probabilities must be adapted Collision: pAS1(k) = pAS2(k) = pr ·(S1(k) + S2(k) − 1) pAL1(k) = pAL2(k) = pr

r ·(L1(k) + L2(k) − 1)

How to implement pheromones?

slide-11
SLIDE 11

Introduction Microscopic Model Macroscopic Model Conclusion

Modeling Pheromones I

Idea I: count number of agents in states S1 and S2, use as estimate for pheromone deposited on S. ⇒ Problem: doesn’t work (e.g. longer path is marked more). Pheromone should mark most successful path and take into account how fast ants get back using this path Idea II: Use two types of pheromones: one deposited on the way up and “smelled” on the way down; one deposited on the way down and smelled on the way up ⇒ Problem: still not OK (e.g. ants that have just entered the long path have the same influence as ants about to leave the short path) Idea III: use special exit states at the end of the paths; count ants going through them ⇒ It works!

slide-12
SLIDE 12

Introduction Microscopic Model Macroscopic Model Conclusion

Modeling Pheromones I

Idea I: count number of agents in states S1 and S2, use as estimate for pheromone deposited on S. ⇒ Problem: doesn’t work (e.g. longer path is marked more). Pheromone should mark most successful path and take into account how fast ants get back using this path Idea II: Use two types of pheromones: one deposited on the way up and “smelled” on the way down; one deposited on the way down and smelled on the way up ⇒ Problem: still not OK (e.g. ants that have just entered the long path have the same influence as ants about to leave the short path) Idea III: use special exit states at the end of the paths; count ants going through them ⇒ It works!

slide-13
SLIDE 13

Introduction Microscopic Model Macroscopic Model Conclusion

Modeling Pheromones I

Idea I: count number of agents in states S1 and S2, use as estimate for pheromone deposited on S. ⇒ Problem: doesn’t work (e.g. longer path is marked more). Pheromone should mark most successful path and take into account how fast ants get back using this path Idea II: Use two types of pheromones: one deposited on the way up and “smelled” on the way down; one deposited on the way down and smelled on the way up ⇒ Problem: still not OK (e.g. ants that have just entered the long path have the same influence as ants about to leave the short path) Idea III: use special exit states at the end of the paths; count ants going through them ⇒ It works!

slide-14
SLIDE 14

Introduction Microscopic Model Macroscopic Model Conclusion

Designing the Model: Iteration III (again)

N F S1 L1

1/TS

AS1 AL1 AS2 S2

pFS

L2 AL2

1/TL 1/TL 1/TS pSA pSA 1/TA 1/TA pLA pLA 1/TA 1/TA pFL pNL pNS

(what we had previously)

slide-15
SLIDE 15

Introduction Microscopic Model Macroscopic Model Conclusion

Designing the Model: Iteration IV

N F S1 L1

1/TS

AS1 AL1 AS2 S2

pFS

L2 AL2

1/TL 1/TL 1/TS pSA pSA 1/TA 1/TA pLA pLA 1/TA 1/TA pFL pNL pNS

S1 ^

1

L1 ^

1

S2 ^ L2 ^

1 1

Added exit states S1, S2, L1, L2 Ants remain only one time step in exit states Neglect collision prob in exit states Pheromones implemented by varying pFS, pFL, pNS and pNL

slide-16
SLIDE 16

Introduction Microscopic Model Macroscopic Model Conclusion

Modeling Pheromones II

No pheromone: pNS = pNL = pN/2 pFS = pFL = 1/2 With pheromone: “Smelled” pheromone for S at time k from the nest: ΦNS(k) =

jmax

  • j=0

hj · S2(k − j), ΦNL(k) =

jmax

  • j=0

hj · L2(k − j) Transition prob: pNS(k) = pN · [q + ΦNS(k)]n [q + ΦNS(k)]n + [q + ΦNL(k)]n New parameters: pN, h, n, q, (jmax)

slide-17
SLIDE 17

Introduction Microscopic Model Macroscopic Model Conclusion

Modeling Pheromones II

No pheromone: pNS = pNL = pN/2 pFS = pFL = 1/2 With pheromone: “Smelled” pheromone for S at time k from the nest: ΦNS(k) =

jmax

  • j=0

hj · S2(k − j), ΦNL(k) =

jmax

  • j=0

hj · L2(k − j) Transition prob: pNS(k) = pN · [q + ΦNS(k)]n [q + ΦNS(k)]n + [q + ΦNL(k)]n New parameters: pN, h, n, q, (jmax)

slide-18
SLIDE 18

Introduction Microscopic Model Macroscopic Model Conclusion

Modeling Pheromones II

No pheromone: pNS = pNL = pN/2 pFS = pFL = 1/2 With pheromone: “Smelled” pheromone for S at time k from the nest: ΦNS(k) =

jmax

  • j=0

hj · S2(k − j), ΦNL(k) =

jmax

  • j=0

hj · L2(k − j) Transition prob: pNS(k) = pN · [q + ΦNS(k)]n [q + ΦNS(k)]n + [q + ΦNL(k)]n New parameters: pN, h, n, q, (jmax)

slide-19
SLIDE 19

Introduction Microscopic Model Macroscopic Model Conclusion

Outline

1

Introduction

2

Microscopic Model

3

Macroscopic Model

4

Conclusion

slide-20
SLIDE 20

Introduction Microscopic Model Macroscopic Model Conclusion

Macroscopic Model

Equations: just read the PFSM, set of non-linear difference equations of the form S1(k+1) = S1(k)+pNS·N(k)+pA·AS1(k)−pS·S1(k)−pSA·S1(k) Goal: determine optimal evaporation rate h given ratio r. Macroscopic equation are difficult to solve ⇒ Determine optimal h with macrosimulation

slide-21
SLIDE 21

Introduction Microscopic Model Macroscopic Model Conclusion

Outline

1

Introduction

2

Microscopic Model

3

Macroscopic Model

4

Conclusion

slide-22
SLIDE 22

Introduction Microscopic Model Macroscopic Model Conclusion

Conclusion & Outlook

Model works according to previous case studies of the trail laying/following mechanism Optimal evaporation rate h is monotonic function of the ratio r, also when taking into account the overcrowding effet Further work could include: Modeling of more aspects (geometry of the paths and of the robots, U-turn prob, wall avoidance, etc.) Realistic simulation or real-robot implementation to try to reach a zero-free parameter model

slide-23
SLIDE 23

Introduction Microscopic Model Macroscopic Model Conclusion

Conclusion & Outlook

Model works according to previous case studies of the trail laying/following mechanism Optimal evaporation rate h is monotonic function of the ratio r, also when taking into account the overcrowding effet Further work could include: Modeling of more aspects (geometry of the paths and of the robots, U-turn prob, wall avoidance, etc.) Realistic simulation or real-robot implementation to try to reach a zero-free parameter model

slide-24
SLIDE 24

Introduction Microscopic Model Macroscopic Model Conclusion

Thanks for your attention!