Computations by Luminous Robots Giuseppe Prencipe Universit di - - PowerPoint PPT Presentation

computations by luminous robots
SMART_READER_LITE
LIVE PREVIEW

Computations by Luminous Robots Giuseppe Prencipe Universit di - - PowerPoint PPT Presentation

Computations by Luminous Robots Giuseppe Prencipe Universit di Pisa Swarms of robots Many Very Simple Generic Identical Autonomous Silent 21st Oct, 2015 MAC 2015 Swarms of robots A robot - alone - is computationally weak


slide-1
SLIDE 1

Computations by Luminous Robots

Giuseppe Prencipe Università di Pisa

slide-2
SLIDE 2

MAC 2015

Many Very Simple Generic Identical Autonomous Silent Swarms of robots

21st Oct, 2015

slide-3
SLIDE 3

MAC 2015

  • Cooperation of robots is essential

to perform complex tasks

  • A robot - alone - is computationally weak

Swarms of robots

21st Oct, 2015

slide-4
SLIDE 4

MAC 2015

viewed as points

Mobile Robots

MAC2014

x y Unit

Algorithm: 1. 2. 3. ….

Autonomous Homogeneous Identical Silent

21st Oct, 2015

slide-5
SLIDE 5

MAC 2015

LOOK COMPUTE MOVE SLEEP

Robot's behaviour : Life Cycle

LOOK

21st Oct, 2015

slide-6
SLIDE 6

MAC 2015

Powerful? Restricted?

21st Oct, 2015

  • Precision
  • Dimensionless
  • Communication
slide-7
SLIDE 7

MAC 2015

Luminous Robots

The robots are still oblivious But they are enhanced with VISIBLE LIGHTS that can change color

21st Oct, 2015

slide-8
SLIDE 8

MAC 2015

Robots’ swarm with Lights

21st Oct, 2015

S-bots: Light ring for communication. Each of the 8 sectors of the light ring can take RGB colours and can blink at different frequencies (the ring is observed with the omnidirectional camera)

slide-9
SLIDE 9

MAC 2015 21st Oct, 2015

S-bots: Light ring for communication. Each of the 8 sectors of the light ring can take RGB colours and can blink at different frequencies (the ring is observed with the omnidirectional camera).

slide-10
SLIDE 10

MAC 2015

Robots’ swarm with Lights

21st Oct, 2015

Robot Swarm, currently at the MoMath’s exhibit in NY: Robots who react to your presence and communicate with each other, chasing after you or zooming away as you move across the floor.

slide-11
SLIDE 11

MAC 2015 21st Oct, 2015

Display Swarm (Disney research): new kind of display composed of a mobile robot swarm (Pixelbots). Each robot acts as an individual pixel and has controllable color. The swarm is used to make representational images and animated movies.

slide-12
SLIDE 12

MAC 2015

Computational model

21st Oct, 2015

slide-13
SLIDE 13

MAC 2015

LOOK COMPUTE MOVE SLEEP

Uses its sensors to observe the world. result = colored SNAPSHOT

  • f the world

Robot's behaviour : Life Cycle

21st Oct, 2015

slide-14
SLIDE 14

MAC 2015

LOOK COMPUTE MOVE SLEEP

input = position of the other robots with their color result = destination point

Robot's behaviour : Life Cycle

21st Oct, 2015

slide-15
SLIDE 15

MAC 2015

LOOK COMPUTE MOVE SLEEP

Possibly change color of light

Robot's behaviour : Life Cycle

21st Oct, 2015

input = position of the other robots with their color result = destination point

slide-16
SLIDE 16

MAC 2015

LOOK COMPUTE MOVE SLEEP

The robot moves towards the computed destination (it might not reach it)

Robot's behaviour : Life Cycle

21st Oct, 2015

slide-17
SLIDE 17

MAC 2015

LOOK COMPUTE MOVE SLEEP

The robot may be idle (e.g., to recharge battery)

Robot's behaviour : Life Cycle

21st Oct, 2015

slide-18
SLIDE 18

MAC 2015

There is a global clock tick reaching all robots simultaneously At each clock tick every robot is either active or inactive, and

  • nly active robots perform their cycle atomically

Time – Synchronous/Semi-Synchronous

In Fully Synchronous: all robots are active at each step In Semi-Syncrhonous: a subset of robots is active in each step

21st Oct, 2015

slide-19
SLIDE 19

MAC 2015

There is no global clock Robots are active and perform their operations independently and asynchronously Compute and Move take a bounded but unpredictable amount

  • f time

Time – Asynchronous (ASYNC)

21st Oct, 2015

slide-20
SLIDE 20

MAC 2015

Luminosity and Synchrony

21st Oct, 2015

[Das, Flocchini, Prencipe, Santoro, Yamashita, TCS 2015]

slide-21
SLIDE 21

MAC 2015

For non-luminous robots

FSYNCH > SSYNCH > ASYNCH

21st Oct, 2015

slide-22
SLIDE 22

MAC 2015

Gathering of 2 robots Move-and-switch (non oblivious)

For non-luminous robots

21st Oct, 2015

FSYNCH > SSYNCH > ASYNCH

  • Move along x axis
  • Switch to moving along y only after
  • 1. I observed all others in at least 3 different positions, and
  • 2. I have been observed in at least 3 different positions
slide-23
SLIDE 23

MAC 2015

  • 1. Any problem solvable in SSYNC without

lights is also solvable in ASYNC with lights

ASYNC + lights >= SSYNC

Impact of Lights

Let A be an algorithm that solves problem P in SSYNC There exists an algorithm B in ASYNC + lights (5 colors) in which every execution is equivalent to a SSYNC execution of A

21st Oct, 2015

slide-24
SLIDE 24

MAC 2015

To simulate a SSYNC execution: I COMPUTE and MOVE according to algorithm A

  • nly if the colors I see indicate that

my movement is consistent with a SSYNC execution

There exists an algorithm B in ASYNC+lights (5 colors) in which every execution is equivalent to a SSYNC execution of A

LOOK

21st Oct, 2015

slide-25
SLIDE 25

MAC 2015

If it is a safe-snapshot

21st Oct, 2015

slide-26
SLIDE 26

MAC 2015 21st Oct, 2015

slide-27
SLIDE 27

MAC 2015 21st Oct, 2015

slide-28
SLIDE 28

MAC 2015

If it is not a safe snapshot (i.e. someone is moving on the basis

  • f a different snapshot)

21st Oct, 2015

slide-29
SLIDE 29

MAC 2015

Wait next turn

21st Oct, 2015

slide-30
SLIDE 30

MAC 2015 21st Oct, 2015

slide-31
SLIDE 31

MAC 2015 21st Oct, 2015

slide-32
SLIDE 32

MAC 2015

T M S F W T, S M, W, S S, F F, T

21st Oct, 2015

States:

T(rying) M(oving) S(topped) F(inished) W(aiting)

slide-33
SLIDE 33

MAC 2015

  • 2. There are problems unsolvable in SSYNC

without lights, but solvable in ASYNC with lights

ASYNC + light > SSYNC

Impact of Lights

Gathering of two robots

21st Oct, 2015

slide-34
SLIDE 34

MAC 2015

FSYNCH SSYNCH ASYNCH yes impossible impossible

Gathering of 2 robots without lights

Suzuki, Yamashita, SIAM J. Comp 1999

Exactly in the same point 21st Oct, 2015

slide-35
SLIDE 35

MAC 2015

FSYNCH SSYNCH ASYNCH yes yes yes

MAC 2014

Gathering of 2 robots with lights

[Das, Flocchini, Prencipe, Santoro, Yamashita, TCS 2015] (4 colors) [Viglietta, ALGOSENSORS 2013] (2 colors, optimal)

ASYNCH + lights > SSYNC

21st Oct, 2015

slide-36
SLIDE 36

MAC 2015

Main Idea

ASYNCH If we are both white, I move towards you, becoming red If this combinationoccurs, we get CLOSER to the solution

21st Oct, 2015

slide-37
SLIDE 37

MAC 2015

Main Idea

ASYNCH If we are both white, I move towards you, becoming red If this combinationoccurs, we get CLOSER to the solution

21st Oct, 2015

slide-38
SLIDE 38

MAC 2015

Main Idea

ASYNCH If we are both white, I move towards you, becoming red If this combinationoccurs, we get CLOSER to the solution

21st Oct, 2015

slide-39
SLIDE 39

MAC 2015

if I am white and I see you blue I move towards you If this combinationoccurs, we get CLOSER to the solution if I am blue and I see you white, I don’t move.

Main Idea

21st Oct, 2015

slide-40
SLIDE 40

MAC 2015

If this combinationoccurs, we get CLOSER to the solution if I am blue and I see you white, I don’t move.

Main Idea

if I am white and I see you blue I move towards you

21st Oct, 2015

slide-41
SLIDE 41

MAC 2015

The algorithm guarantees that those combinations occur periodically until the two robots eventually gather Main Idea

21st Oct, 2015

slide-42
SLIDE 42

MAC 2015

Starting Moving Waiting for you Not Waiting anymore, will become White again

21st Oct, 2015

slide-43
SLIDE 43

MAC 2015

If other = WHITE Become RED and Move to half BLUE /GREEN GREEN/WHITE If other= BLUE Become RED and Move to other

COMPUTE If other = WHITE or RED

BLUE waits

21st Oct, 2015

If gathered: STOP

slide-44
SLIDE 44

MAC 2015

A B

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

If they both see each other WHITE and they both move all the way to half, gathering is achieved

go-to-half go-to-half

21st Oct, 2015

slide-45
SLIDE 45

MAC 2015

A B

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

go-to-half

21st Oct, 2015

slide-46
SLIDE 46

MAC 2015

A B

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

21st Oct, 2015

slide-47
SLIDE 47

MAC 2015

go-to-half B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

Another scenario

21st Oct, 2015

slide-48
SLIDE 48

MAC 2015

B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

21st Oct, 2015

slide-49
SLIDE 49

MAC 2015

B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

See blue, go-to-other

21st Oct, 2015

slide-50
SLIDE 50

MAC 2015

B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

21st Oct, 2015

slide-51
SLIDE 51

MAC 2015

go-to-half go-to-half B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

Yet another scenario

(not-rigid)

21st Oct, 2015

slide-52
SLIDE 52

MAC 2015

B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

21st Oct, 2015

go-to-half

slide-53
SLIDE 53

MAC 2015

A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

21st Oct, 2015

go-to-half B

slide-54
SLIDE 54

MAC 2015

B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

21st Oct, 2015

slide-55
SLIDE 55

MAC 2015

B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

21st Oct, 2015

slide-56
SLIDE 56

MAC 2015

B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

21st Oct, 2015

slide-57
SLIDE 57

MAC 2015

B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

21st Oct, 2015

slide-58
SLIDE 58

MAC 2015

B A

OFF Go-to half BLUE/GREEN GREEN OFF BLUE Go-to

  • ther

Restarting from a closer distance

21st Oct, 2015

slide-59
SLIDE 59

MAC 2015

ASYNC + lights = SSYNC + lights

  • 3. SSYNC with lights and ASYNC with lights

have the same computational power Impact of Lights

21st Oct, 2015

slide-60
SLIDE 60

MAC 2015

ASYNC + lights = SSYNC + lights

  • 3. SSYNC with lights and ASYNC with lights

have the same computational power Impact of Lights

21st Oct, 2015

SSYNC + lights >= ASYNC + lights ASYNC + lights >= SSYNC + lights

Obvious

slide-61
SLIDE 61

MAC 2015

ASYNC + lights = SSYNC + lights

  • 3. SSYNC with lights and ASYNC with lights

have the same computational power Impact of Lights

21st Oct, 2015

ASYNC + lights >= SSYNC + lights

Based on the simulation of SSYNC with ASYNC with 5 lights

slide-62
SLIDE 62

MAC 2015

  • 4. FSYNC is not more powerful than

ASYNC with lights Impact of Lights

21st Oct, 2015

Oscillating Points problem (OSP): two robots are required to alternately come closer and move further from each other

slide-63
SLIDE 63

MAC 2015

  • 4. FSYNC is not more powerful than

ASYNC with lights Impact of Lights

21st Oct, 2015

FSYNC: the robots cannot distinguish whether they are getting closer or moving further away Oscillating Points problem (OSP): two robots are required to alternately come closer and move further from each other

slide-64
SLIDE 64

MAC 2015

  • 4. FSYNC is not more powerful than

ASYNC with lights Impact of Lights

21st Oct, 2015

FSYNC: the robots cannot distinguish whether they are getting closer or moving further away Oscillating Points problem (OSP): two robots are required to alternately come closer and move further from each other ASYNC: it can be done with 4 lights

slide-65
SLIDE 65

MAC 2015

Impact of Lights

21st Oct, 2015

ASYNC: it can be done with 4 lights

If other = WHITE/RED Become RED and Move towards If other = RED/BLUE Become BLUE If other = GREEN/WHITE Become WHITE If other = BLUE/GREEN Become GREEN and Move away

  • 4. FSYNC is not more powerful than

ASYNC with lights

slide-66
SLIDE 66

ASYNC+lights = SSYNC+lights

MAC 2015

FSYNC SSYNC ASYNC

?

OSP

Impact of Lights

Gathering-2

21st Oct, 2015

slide-67
SLIDE 67

MAC 2015

Availabilityof a single snapshot renders ASYNC with lights more powerful than FSYNC without lights. Are there weaker conditions ?

Open Problems

Are there problems solvable in FSYNC without lights, but not solvable in ASYNC with lights (i.e., FSYNC and ASYNC with lights

  • rthogonal) ?

21st Oct, 2015

Yes, in discrete

slide-68
SLIDE 68