How Many Ants Does It Take to Find the Food? Jara Uitto ETH Zurich - - PowerPoint PPT Presentation

β–Ά
how many ants does it take to find the food
SMART_READER_LITE
LIVE PREVIEW

How Many Ants Does It Take to Find the Food? Jara Uitto ETH Zurich - - PowerPoint PPT Presentation

How Many Ants Does It Take to Find the Food? Jara Uitto ETH Zurich Distributed Computing www.disco.ethz.ch Ants Nearby Treasure Search Introduced by Feinerman, Korman, Lotker and Sereni [PODC 2012]. mobile agents,


slide-1
SLIDE 1

ETH Zurich – Distributed Computing – www.disco.ethz.ch

Jara Uitto

How Many Ants Does It Take to Find the Food?

slide-2
SLIDE 2
  • Introduced by Feinerman, Korman, Lotker and

Sereni [PODC 2012].

  • π‘œ mobile agents, controlled by Turing

machines, search for a treasure.

  • Communication not allowed.

Ants Nearby Treasure Search

slide-3
SLIDE 3

Model

  • Infinite integer grid.
  • Each ant initially located in the origin.
slide-4
SLIDE 4

Model

  • Adversarially hidden treasure/food.
  • (Manhattan) distance to treasure is 𝐸.
slide-5
SLIDE 5
  • How many rounds until the

treasure is found?

  • We study the number of ants

needed to find the treasure at all.

Ants Nearby Treasure Search

slide-6
SLIDE 6

Model

slide-7
SLIDE 7

Model

slide-8
SLIDE 8

Model

  • One Turing Machine is enough. No

communication needed.

=

slide-9
SLIDE 9

Model

  • Ants are controlled by

(randomized) finite state machines.

  • Communicate by sensing the

states of nearby ants.

  • Run-time studied by Emek,

Langner, Uitto and Wattenhofer [ICALP2014].

slide-10
SLIDE 10
  • Synchrony vs. Asynchrony
  • A deterministic protocol?

Model

slide-11
SLIDE 11

Model

  • Individual algorithm for

each ant.

  • An algorithm works

correctly if the ants find the treasure in expected finite time.

3 2 1

slide-12
SLIDE 12

Deterministic + Asynchronous

slide-13
SLIDE 13

Triangle Search

slide-14
SLIDE 14

Triangle Search

slide-15
SLIDE 15

Triangle Search

slide-16
SLIDE 16

Triangle Search

slide-17
SLIDE 17

Triangle Search

slide-18
SLIDE 18

Triangle Search

slide-19
SLIDE 19

Triangle Search

slide-20
SLIDE 20

Triangle Search

slide-21
SLIDE 21

Triangle Search

slide-22
SLIDE 22

Triangle Search

slide-23
SLIDE 23

Triangle Search

slide-24
SLIDE 24

Triangle Search

slide-25
SLIDE 25

Triangle Search

slide-26
SLIDE 26

Triangle Search

slide-27
SLIDE 27

Triangle Search

slide-28
SLIDE 28

Triangle Search

slide-29
SLIDE 29

Triangle Search

slide-30
SLIDE 30

Triangle Search

slide-31
SLIDE 31

Triangle Search

slide-32
SLIDE 32

Triangle Search

slide-33
SLIDE 33

Triangle Search

slide-34
SLIDE 34

Triangle Search

slide-35
SLIDE 35

Triangle Search

slide-36
SLIDE 36

Triangle Search

slide-37
SLIDE 37

Triangle Search

slide-38
SLIDE 38
  • Can we perform better if the ants have a

common sense of time?

Synchronization?

slide-39
SLIDE 39

Rectangle Search

slide-40
SLIDE 40

Rectangle Search

slide-41
SLIDE 41

Rectangle Search

slide-42
SLIDE 42

Rectangle Search

slide-43
SLIDE 43

Rectangle Search

slide-44
SLIDE 44

Rectangle Search

slide-45
SLIDE 45

Rectangle Search

slide-46
SLIDE 46

Rectangle Search

slide-47
SLIDE 47

Rectangle Search

slide-48
SLIDE 48

Rectangle Search

slide-49
SLIDE 49

Rectangle Search

slide-50
SLIDE 50

Rectangle Search

slide-51
SLIDE 51

Rectangle Search

slide-52
SLIDE 52

Rectangle Search

slide-53
SLIDE 53

Rectangle Search

slide-54
SLIDE 54

Rectangle Search

slide-55
SLIDE 55

Rectangle Search

slide-56
SLIDE 56

Rectangle Search

slide-57
SLIDE 57

Rectangle Search

slide-58
SLIDE 58
  • How about random coin tosses?

Randomization

slide-59
SLIDE 59

Geometric Search

slide-60
SLIDE 60

NE

Geometric Search

slide-61
SLIDE 61

NE 1

Geometric Search

slide-62
SLIDE 62

NE 11

Geometric Search

slide-63
SLIDE 63

NE 111

Geometric Search

slide-64
SLIDE 64

NE 1110

Geometric Search

slide-65
SLIDE 65

NE 11101

Geometric Search

slide-66
SLIDE 66

NE 111011

Geometric Search

slide-67
SLIDE 67

NE 1110110

Geometric Search

slide-68
SLIDE 68

NE 1110110

Geometric Search

slide-69
SLIDE 69

NE 1110110

Geometric Search

slide-70
SLIDE 70

NE 1110110

Geometric Search

slide-71
SLIDE 71

NE 1110110

Geometric Search

slide-72
SLIDE 72

NE 1110110

Geometric Search

slide-73
SLIDE 73

Geometric Search

slide-74
SLIDE 74

Run-Time

  • For every search 𝑗, we have a probability of at

least Ai =

1 4 βˆ™ 2βˆ’(𝐸+1) to find the treasure.

  • Let 𝐢𝑗 be the event that the treasure is not

found during any search π‘˜ < 𝑗.

slide-75
SLIDE 75
  • Let π‘ˆ be the total time required.
  • 𝐹 π‘ˆ ≀

𝑄(𝐡𝑗+1 βˆ™ 𝐢𝑗)

∞ 𝑗=1

(𝑃 𝑗 + 𝑃(𝐸)).

  • 𝑄 𝐡𝑗+1 βˆ™ 𝐢𝑗 ≀ 2βˆ’ 𝐸+3 βˆ™ 1 βˆ’ 2βˆ’ 𝐸+3

𝑗.

  • 𝐹 π‘ˆ ≀ 2βˆ’ 𝐸+3

1 βˆ’ 2βˆ’(𝐸+3) 𝑗 𝑃 𝑗 + 𝑃(𝐸)

∞ 𝑗=1

= 𝑃 2𝐸 .

Run-Time

slide-76
SLIDE 76
  • Can we do better? In the deterministic and

synchronous case, the answer is no.

  • Let us start with showing that one ant is not

enough.

Lower Bounds?

slide-77
SLIDE 77
  • A finite state machine repeats its behavior.

One Ant

slide-78
SLIDE 78

q

One Ant

slide-79
SLIDE 79

q q

One Ant

slide-80
SLIDE 80

q q q

One Ant

slide-81
SLIDE 81

A band of constant width

𝑑

One Ant

slide-82
SLIDE 82
  • One ant can only discover a band of constant

width.

  • How about two ants?

One Ant

slide-83
SLIDE 83
  • Let 𝑒 be the time of the last meeting.

Two Ants

  • Both agents (alone) discover a band after 𝑒.
slide-84
SLIDE 84
  • Lemma: The ants meet infinitely often in some

pair of states (π‘Ÿ, π‘Ÿβ€²).

  • Observation: the time between two such

meetings is bounded by a constant.

Two Ants

slide-85
SLIDE 85

Two Ants

(π‘Ÿ, π‘Ÿβ€²)

slide-86
SLIDE 86

Two Ants

(π‘Ÿ, π‘Ÿβ€²) (π‘Ÿ, π‘Ÿβ€²)

slide-87
SLIDE 87

Two Ants

(π‘Ÿ, π‘Ÿβ€²) (π‘Ÿ, π‘Ÿβ€²) (π‘Ÿ, π‘Ÿβ€²)

slide-88
SLIDE 88

Two Ants

(π‘Ÿ, π‘Ÿβ€²) (π‘Ÿ, π‘Ÿβ€²) (π‘Ÿ, π‘Ÿβ€²)

slide-89
SLIDE 89

Two Ants

  • Two deterministic ants can only discover a band
  • f constant width.
  • Two deterministic ants cannot find the food.

𝑑′ (π‘Ÿ, π‘Ÿβ€²) (π‘Ÿ, π‘Ÿβ€²) (π‘Ÿ, π‘Ÿβ€²)

slide-90
SLIDE 90
  • Three asynchronous ants?
  • Two randomized ants?

Conclusion

slide-91
SLIDE 91

Conclusion

slide-92
SLIDE 92

Questions?

Thanks to my co-authors Yuval Emek, Tobias Langner, David Stolz and Roger Wattenhofer