Compression in Self-Organizing Particle Systems JOSHUA J. DAYMUDE - - PowerPoint PPT Presentation

compression in self organizing particle systems
SMART_READER_LITE
LIVE PREVIEW

Compression in Self-Organizing Particle Systems JOSHUA J. DAYMUDE - - PowerPoint PPT Presentation

Compression in Self-Organizing Particle Systems JOSHUA J. DAYMUDE BARRETT UNDERGRADUATE HONORS THESIS APRIL 6 TH , 2016 Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion


slide-1
SLIDE 1

Compression in Self-Organizing Particle Systems

JOSHUA J. DAYMUDE BARRETT UNDERGRADUATE HONORS THESIS APRIL 6 TH, 2016

slide-2
SLIDE 2

Motivation

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-3
SLIDE 3

Inspirations & Applications

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-4
SLIDE 4

Current Programmable Matter

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-5
SLIDE 5

The Amoebot Model

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

Particles are:

  • Anonymous (no unique identifiers)
  • Without global orientation or compass (no shared sense of “north”)
  • Limited in memory (constant size)
  • Activated asynchronously
slide-6
SLIDE 6

The Compression Problem

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

Problem: Given a particle system that is initially connected, “gather” the particles as tightly as possible. Many possible formal interpretations of this:

  • Minimize the diameter?
  • Minimize the perimeter?
  • Maximize the total number of edges formed?
  • Maximize the number of induced triangles?
  • Eliminate all holes?
slide-7
SLIDE 7

Overview

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

Two early approaches:

  • 1. Local Compression: particles satisfy local rules to achieve global structure
  • 2. Hole Elimination: particles detect and eliminate holes contained in their structure

Local Compression Hole Elimination

slide-8
SLIDE 8

Spanning Forest Primitive

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

Gives particles a sense of orientation that otherwise does not exist.

Local Compression Hole Elimination

slide-9
SLIDE 9

Goal

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

Definition: A particle system is said to be locally compressed if every particle p is particle compressed; that is, (1) p does not have exactly five neighbors, and (2) the graph induced by N(p) is connected.

Local Compression Hole Elimination

slide-10
SLIDE 10

Goal (cont.)

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

Definition: A particle system is said to be convex if every external angle α on the outer border of the system has α ≥ 180°. Lemma: If a particle system is locally compressed, then it forms a convex configuration containing no holes.

Local Compression Hole Elimination

slide-11
SLIDE 11

Algorithm Description

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion Local Compression Hole Elimination

slide-12
SLIDE 12

Algorithm Description (cont.)

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion Local Compression Hole Elimination

Leaf switching is required when a hole is bounded entirely by leaves.

slide-13
SLIDE 13

Results

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

When compression is interpreted as convex and containing no holes, it is too permissive.

Local Compression Hole Elimination

slide-14
SLIDE 14

Results (cont.)

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

The Local Compression algorithm has the tendency to oscillate ad infinitum.

Local Compression Hole Elimination

slide-15
SLIDE 15

Goal

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Definition: A particle system is said to have achieved hole elimination if it contains no holes.

Local Compression Hole Elimination Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-16
SLIDE 16

Algorithm Description

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

[Refer to SOPS Simulator for live demo.]

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion Local Compression Hole Elimination

slide-17
SLIDE 17

Correctness Results

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Definition: For any wedge W, the coordinate system C : { (x,y) : x,y ∊ ℕ} → W is defined as in the figure below. We define a relation ≤ on the locations (x,y), (x’,y’) ∊ C as follows: (x,y) ≤ (x’,y’) ↔ x ≤ x’ ^ y ≤ y’.

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion Local Compression Hole Elimination

slide-18
SLIDE 18

Correctness Results

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Lemma: If a location (x,y) in a wedge W is docking, then every location (x’,y’) such that (x’,y’) < (x,y) is occupied by a finished particle. Theorem: A particle system entirely composed of finished particles contains no holes. Proof sketch. If a hole did exist, then there exists a location (x,y) in the hole such that (x+1,y) is occupied by a finished particle, contradicting Lemma 2. Therefore, the hole could not have existed in the first place.

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion Local Compression Hole Elimination

slide-19
SLIDE 19

Convergence Results

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Lemma: Every particle in a spanning tree of size k will become either finished or walking after O(k) rounds. Theorem: Hole Elimination terminates in the worst case of Θ(n) rounds, where n is the number

  • f particles in the system.

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion Local Compression Hole Elimination

slide-20
SLIDE 20

Competitive Analysis

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion Local Compression Hole Elimination

slide-21
SLIDE 21

Competitive Analysis (cont.)

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

200000 400000 600000 800000 1000000 1200000 1400000 1600000 1800000 200 400 600 800 1000 1200 1400 1600 1800

Number of Movements Number of Particles (System Size)

Hexagon Hole Elimination

  • Poly. (Hexagon)
  • Poly. (Hole Elimination)

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion Local Compression Hole Elimination

slide-22
SLIDE 22

Goal

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Definition: Given an α > 1, a connected configuration σ on n particles is said to be α-compressed if p(σ) ≤ α • pmin(n). Definition: Given an 0 < α < 1, a connected configuration σ on n particles is said to be α- expanded if p(σ) ≥ α • pmax(n). Lemma: For a connected configuration σ on n particles which contains no holes, the number of triangles t(σ) = 2n – p(σ) – 2. Corollary: t(σ) is maximized when p(σ) = pmin(n).

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-23
SLIDE 23

Markov Chain M

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Input is a starting configuration σ0 which is connected and contains no holes, and a bias parameter λ > 1. Choices are made with probability λt’-t.

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-24
SLIDE 24

Results

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Theorem: Markov chain M is ergodic, meaning it is irreducible—that is, for any configurations x,y there exists a t such that Pt(x,y) > 0—and aperiodic, that is, for any configurations x,y the g.c.d. { t : Pt(x,y) > 0 } = 1. Theorem: The stationary distribution π of M is given by π(σ) =

λt(σ) Z

=

λ−p(σ) Z′ , where Z = σσ λt(σ) and Z’ = σ𝜏 λ−p(σ).

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-25
SLIDE 25

Results (cont.)

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Lemma: The number of connected configurations with no holes and perimeter k is at most 5k. Theorem: For any α > 1, there exists a λ* = 5a/(a-1) > 5, n* ≥ 0, and γ < 1 such that for all λ > λ* and n > n*, the probability that a random sample σ drawn according to the stationary distribution π

  • f M is not α-compressed is exponentially small:

ℙ(p(σ) ≥ α • pmin(n)) < γ n.

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-26
SLIDE 26

Obtaining a Seed

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-27
SLIDE 27

Future Work

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

For the Markov chain algorithm for compression:

  • Further improve the bounds for λ in search of a critical value λc.
  • Proofs of time complexity using distributed computing techniques.

For the problem of compression in general:

  • Generalize to higher dimensions (3D is practical)
slide-28
SLIDE 28

References

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

1. Michael Rubenstein, Alejandro Cornejo, and Radhika Nagpal. Programmable self-assembly in a thousand-robot

  • swarm. Science, 345(6198):795-799, 2014.

2. John W. Romanishin, Kyle Gilpin, and Daniela Rus. M-Blocks: Momentum-driven, Magnetic Modular Robots. 3. Sarah Cannon, Joshua J. Daymude, Dana Randall, and Andrea W. Richa. A markov chain algorithm for compression in self-organizing particle systems. CoRR, abs/1603.07991, 2016. 4. Zahra Derakhshandeh, Robert Gmyr, Thim Strothmann, Rida A. Bazzi, Andrea W. Richa, and Christian Scheideler. Leader election and shape formation with self-organizing programmable matter. In DNA Computing and Molecular Programming – 21st International Conference, DNA 21, Boston and Cambridge, MA, USA, August 17-21, 2015. Proceedings, pages 117-132, 2015. 5. Zahra Derakhshandeh, Robert Gmyr, Andrea W. Richa, Christian Scheideler, and Thim Strothmann. An algorithmic framework for shape formation problems in self-organizing particle systems. In Proceedings of the Second Annual International Conference on Nanoscale Computing and Communication, NANOCOM’15, Boston, MA, USA, September 21-22, 2015, pages 21:1-21:2, 2015. Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

slide-29
SLIDE 29

Compression in Self-Organizing Particle Systems Barrett Undergraduate Honors Thesis

Introduction Background & Model Early Approaches Markov Chain Algorithm Leader Election Conclusion

Thank you!