phase transitions and emergent phenomena in algorithms and

39
Phase Transitions and Emergent Phenomena in Algorithms and Applications Dana Randall Georgia Institute of Technology

Upload: others

Post on 10-Apr-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Phase Transitions and Emergent Phenomena in Algorithms and

Phase Transitions and Emergent

Phenomena in Algorithms and Applications

Dana RandallGeorgia Institute of Technology

Page 2: Phase Transitions and Emergent Phenomena in Algorithms and

ā€¢ IDEaS is a new ā€œInterdisciplinary Research Instituteā€ā€¢ Launched July 1, 2016ā€¢ Executive Directors: Srinivas Aluru and Dana Randall

ā€¢ http://ideas.gatech.edu

Foundations:ā€¢ Machine Learningā€¢ Cyber-infrastructureā€¢ Algorithms & Optimizationā€¢ Signal Processingā€¢ Policy ā€¢ Security

Domains:ā€¢ Medicine & Healthā€¢ Energyā€¢ Materialsā€¢ Smart Citiesā€¢ Business Analyticsā€¢ Social Computing

Page 3: Phase Transitions and Emergent Phenomena in Algorithms and

Big Data Sharing and Infrastructure

Healthcare Coastal Hazards

Materials and Manufacturing

Habitat Planning

Economics, Privacy and Policy Issues

Industrial Big Data

Page 4: Phase Transitions and Emergent Phenomena in Algorithms and

Introducing CODA ā€¢ Midtown Atlantaā€¢ 750K sq ft mixed useā€¢ 80K sq ft data centerā€¢ $375 million investmentā€¢ GT will occupy half of the

office space; rest industry

Page 5: Phase Transitions and Emergent Phenomena in Algorithms and

Phase Transitions and Emergent

Phenomena in Algorithms and Applications

Dana RandallGeorgia Institute of Technology

Page 6: Phase Transitions and Emergent Phenomena in Algorithms and

Demographic Dataā€¢ http://demographics.coopercenter.org/DotMap/

Page 7: Phase Transitions and Emergent Phenomena in Algorithms and

Ants and Swarm RoboticsAnts build bridges to shorten distance other ants must travel:

Bridge length is a function of angle: optimize tradeoff between shorter path and more ants to traverse path

Reid, Lutz, Powell, Kao, Couzin, and Garnier. Army ants dynamically adjust living bridges in response to a cost-benefit trade-off. Proceedings of the National Academy of Sciences, 112(49):15113-15118, 2015.

Many systems proposed and realized recently:

- Modular robotics

- Swarm robotics

- DNA computing

- Smart materialskilobots

Page 8: Phase Transitions and Emergent Phenomena in Algorithms and

Understanding Data

Real World

Model

Analysis / Algorithms

Model

Real World

Algorithms

Statistical Physics

+

Goals: Identify emergent behaviors occurring in dataProvide mechanisms to explain emergent behavior.

Page 9: Phase Transitions and Emergent Phenomena in Algorithms and

Randomized Algorithms & Large DataI. Demographics: The Schelling Segregation Model ā€˜71

ā€œMicro-Motives determine Macro-Behaviorā€

ā€¢ Houses are colored red or blueā€¢ People move if they have too many neighbors of the

opposite color

Page 10: Phase Transitions and Emergent Phenomena in Algorithms and

II. Physics: Phase transitions

Macroscopic changes to the system due to a microscopic change to some parameter.

e.g.: gas/liquid/solid, spontaneous magnetization

High temperature Criticality Low temperature

Simulations of the Ising model

Randomized Algorithms & Large Data

Page 11: Phase Transitions and Emergent Phenomena in Algorithms and

Randomized Algorithms & Large DataIII. Colloids: mixtures of two types of molecules.

Binary mixtures of molecules; Must not overlap.

Low density High density

* purely entropic *Above some density increases, large particles cluster together.

Page 12: Phase Transitions and Emergent Phenomena in Algorithms and

Randomized Algorithms & Large DataIV. Sampling Algorithms: learn by sampling

Colorings (Potts Model)

MatchingsIndependent Sets

The Ising Model

Page 13: Phase Transitions and Emergent Phenomena in Algorithms and

How Do We Sample?ā€¢ ā€œPushā€ the squares out of the way to increase density.

ā€¢ Scramble the squares by moving one at a time to available places.

Fast, but wrong distribution.

Right distribution, but slow.

Goal: Fast and Correct

Main Questionsā€¢ Is the problem efficiently computable (in polynomial time)?

Which problems are ā€œintractableā€?

ā€¢ Does the ā€œnaturalā€ sampling method work?

Page 14: Phase Transitions and Emergent Phenomena in Algorithms and

Outlineā€¢ Basics of Sampling

- Independent Sets on Z2

ā€¢ Applications- Physics- Colloids

ā€¢ Harnessing Phase Transitions- Self-Organizing Particle Systems

Page 15: Phase Transitions and Emergent Phenomena in Algorithms and

Markov chains

Connect the state space;

Define transition probabilities so that the chain willconverge to Ļ€ (e.g., the Metropolis Algorithm)

Show the chain is ā€œrapidly mixingā€ ā€“ i.e., distributionwill be close to Ļ€ in polynomial time.

To design a useful Markov chain:

?

Perform a random walk among valid configurations

Page 16: Phase Transitions and Emergent Phenomena in Algorithms and

Eg: Independent SetsGiven Ī», let Ļ€(I) = Ī»|I|/Z,

where Z = āˆ‘J Ī»|J|.

MCIND (ā€œGlauber Dynamicsā€)Starting at I0, Repeat:

- Pick v āˆˆ V and b āˆˆ 0,1;- If v āˆˆ I, b=0, remove v w.p. min (1,Ī»-1)- If v āˆ‰ I, b=1, add v w.p. min (1,Ī») if possible;- O.w. do nothing.

This chain connects the state space and converges to Ļ€.

How long?

Page 17: Phase Transitions and Emergent Phenomena in Algorithms and

To Upper Bound the Mixing Time

Spectral gap (1 ā€“ Ī»1 > 1/poly, Ī»1,ā€¦,Ī»|Ī©|-1 eigenvalues)

Coupling

Conductance (Cheegerā€™s Inequality)

Isoperimetric Inequalities (Dirichlet form, log Sobolev,ā€¦)

Mostly from physics

Ex: For Independent sets, Coupling gives fast mixing when Ī» ā‰¤ Ā½. Many other improvementsā€¦

Page 18: Phase Transitions and Emergent Phenomena in Algorithms and

Sampling Independent SetsIndependent sets on Z2:

Ļ€(I) = Ī»|I|/Z, where Z = āˆ‘J Ī»|J|.

Ī» ā‰¤ 1 [Luby, Vigoda]

Ī» ā‰¤ 1.68 [Weitz]

MCIND is fast on Z2 when:

Ī» ā‰¤ 2.48 [VVY ā€˜13]

Ī» > 80 [BCFKTVV]

Ī» > 50.6 [R.]

Ī» > 5.396 [Blanca, GalvinR., Tetali ā€˜13]

MCIND is slow on Z2 when:

Conjecture: Fast for Ī» < Ī»c and slow for Ī» > Ī»c for Ī»c Ī— 3.79.

Page 19: Phase Transitions and Emergent Phenomena in Algorithms and

Slow mixing of MCIND (large Ī»)(Even) (Odd)

Ī»

10 āˆž

S SC

#E/#O

(n2/2āˆ’n/2)Ī»Ī»

n2/2n2/2

Si

Ļ€(Si) = āˆ‘ Ī»i / ZIāˆˆSi

Partition by ratio of even/odd

Page 20: Phase Transitions and Emergent Phenomena in Algorithms and

Slow mixing of MCIND (large Ī»)

Ī» large ā†’ there is a ā€œbad cut,ā€ . . . so MCIND is slowly mixing.

Ī»

10 āˆž

S SC

#E/#O

(n2/2āˆ’n/2)Ī»Ī»

n2/2n2/2

(Even) (Odd)

Si

Ļ€(Si) = āˆ‘ Ī»i / ZIāˆˆSi

Partition by ratio of even/odd

Page 21: Phase Transitions and Emergent Phenomena in Algorithms and

Mixing times for local algorithms1. Independent sets on Z2:Conj: Ī»c = 3.79: fast for Ī» < Ī»c; slow for Ī» > Ī»c.

Thms: Fast for Ī» < 2.48; slow for Ī» > 5.396

2. Ising model on Z2:Thms: Fast for Ī» < Ī»c; slow for Ī» > Ī»c.

Fast for Ī» = Ī»c. [Lubetzky, Sly ā€™10]

3. 3-colorings on Zd:Thms: Fast in Z2. [Luby, R., Sinclair; Goldberg, Martin, Patterson]

Slow in Zd for large d. [Galvin, Kahn, R., Sorkin; Peled]

ā€¦Sometimes suggests new (fast) approaches.

Page 22: Phase Transitions and Emergent Phenomena in Algorithms and

Outlineā€¢ Basics of Sampling

- Independent Sets on Z2

ā€¢ Applications- Physics- Colloids

ā€¢ Harnessing Phase Transitions- Self-Organizing Particle Systems

Page 23: Phase Transitions and Emergent Phenomena in Algorithms and

Physics Phase transitions:

Macroscopic changes to the system due to a microscopic change to some parameter.

e.g.: gas/liquid/solid, spontaneous magnetization

High temperature Criticality Low temperature

Simulations of the Ising model

Page 24: Phase Transitions and Emergent Phenomena in Algorithms and

Physics

Independent sets: H(Ļƒ) = -|I|

Given: A physical system Ī© = ĻƒDefine: A Gibbs measure as follows:

Ļ€(Ļƒ) = e-Ī²H(Ļƒ)/ Z,

H(Ļƒ) (the Hamiltonian),

Ī² = 1/kT (inverse temperature,

where Z = āˆ‘Ļ„ e-Ī² H(Ļ„) (the partition function)

Ising model: H(Ļƒ) = - āˆ‘ Ļƒu Ļƒv(u,v) āˆˆ E

If Ī» = eĪ² then Ļ€(Ļƒ) = Ī»|I| /Z.

If Ī½ = e2Ī² then Ļ€(Ļƒ) = Ī½|E | /Z.=

and k is Boltzmannā€™s constant)

Page 25: Phase Transitions and Emergent Phenomena in Algorithms and

Physics perspective (cont.)

Low temperature: long range effects

High temperature: boundary effects die out

ā€¦ā€¦

Tāˆž

T0

Tc(TC indicates a

ā€œphase transition.ā€)

For the ā€œhard core modelā€ the best rigorous results are 2.48 < Ī»c < 5.396. (same as mixing results!)

T0

TC

Page 26: Phase Transitions and Emergent Phenomena in Algorithms and

Other Models: Colloids

Independent SetsIsing Model

Clustering for a class of interfering binary mixtures [Miracle, R., Streib]

Including:

Thm: Low density: models wonā€™t cluster.High density: models will cluster.

Page 27: Phase Transitions and Emergent Phenomena in Algorithms and

The ā€œClustering Propertyā€What does it mean for a configuration to ā€œclusterā€?

ā€¢ There is a region with large area and small perimeterā€¢ that is dense with one kind of tileā€¢ and the complement of the region is sparse

Clustering No Clustering

Page 28: Phase Transitions and Emergent Phenomena in Algorithms and

Outlineā€¢ Basics of Sampling

- Independent Sets on Z2

ā€¢ Applications- Physics- Colloids

ā€¢ Harnessing Phase Transitions- Self-Organizing Particle Systems

Page 29: Phase Transitions and Emergent Phenomena in Algorithms and

Geometric Amoebot Model

Assumptions/Requirements:

- Particles have constant size memory

- Particles can communicate only with adjacent particles

- Particles have no common orientation, only common chirality

- Require that particles stay connected

Particles on the Triangular Lattice

Particles move by expanding and contracting

Page 30: Phase Transitions and Emergent Phenomena in Algorithms and

Previous Work in Amoebot ModelAlgorithms exist for:- Leader election- Shape formation (triangle, hexagon)- Infinite object coating(Rida A. Bazzi, Zahra Derakhshandeh, Shlomi Dolev, Robert Gmyr, AndrƩa W. Richa, Christian Scheideler, Thim Strothmann, Shimrit Tzur-David)

We were interested in the compression problem: to gather the particles together as tightly as possible.- Often found in natural systems- Our approach is decentralized, self-stabilizing, and oblivious

(no leader necessary)- Use a Markov chain that rewards internal edges for the local algorithm

Ī (Ļƒ) = Ī»e(Ļƒ) / Z, where e(Ļƒ) is # internal edges.MC converges to:

Page 31: Phase Transitions and Emergent Phenomena in Algorithms and

Proof TechniquesResults for Compression[Cannon, Daymude, R., Richa ā€˜16]

Thm: (compression) For any Ī» > 2 + 21/2, there is a constant Ī± > 1 s.t.particles will be Ī±-compressed almost surely.

Thm: (non-compression) For any Ī» < 2.17, for any Ī± > 1, the probability that particles are Ī±-compessed is exp. small.

Defn: A particle configuration is Ī±-compressed if its perimeter is at most Ī±times the minimum perimeter (i.e., ĪŸ(n1/2)).

Pf. idea: * ā€œPeierls argumentsā€ based on information theory* Use of combinatorial identities:

e.g., Ī» = 2 + 21/2 is the ā€œconnective constantā€ for self-avoiding walks on the hexagonal lattice

Page 32: Phase Transitions and Emergent Phenomena in Algorithms and

Simulations: Ī» = 4

1 million steps 2 million steps

3 million steps 5 million steps4 million steps

Start: 100 particles in a line

Page 33: Phase Transitions and Emergent Phenomena in Algorithms and

Simulations: Ī» = 2Start: 100 particles in a line

10 million steps 20 million steps

Page 34: Phase Transitions and Emergent Phenomena in Algorithms and

pmax=

12

pmaxpmin

=Ī˜( š‘›š‘›)

perimeter

Exponentially small probability

Why not compression for all Ī» > 1?

A graph of perimeter vs. stationary probability when all configurations have equal weight.

Ī» = 1

Ī (Ļƒ) = Ī»e(Ļƒ) / Z

Page 35: Phase Transitions and Emergent Phenomena in Algorithms and

18

pmax

perimeter

Exponentially small probability

pmax=2š‘›š‘› āˆ’ 2

pmin=Ī˜( š‘›š‘›)

Why not compression for all Ī» > 1?

Ī» = 2

Ī (Ļƒ) = Ī»e(Ļƒ) / Z

Perimeter vs. stationary probability when configurations with more internal edges have higher probability

Page 36: Phase Transitions and Emergent Phenomena in Algorithms and

9pmin

perimeter

Exponentially small probability

Perimeter vs. stationary probability when configurations with more internal edges have higher probability

pmax=2š‘›š‘› āˆ’ 2

pmin=Ī˜( š‘›š‘›)

Why not compression for all Ī» > 1?

Ī» = 4

Ī (Ļƒ) = Ī»e(Ļƒ) / Z

Page 37: Phase Transitions and Emergent Phenomena in Algorithms and

Challenges and Opportunities

ā€¢ Applications: Can we develop better methods to confirm phase changes without rigorous proofs?

ā€¢ Data: Does stat. phys. play an increasing role as ā€œnā€ becomes huge and algs are forced to be simpler?

ā€¢ Algorithms: How an we use knowledge of phase trans to design efficient algorithms at all temps?

Page 38: Phase Transitions and Emergent Phenomena in Algorithms and

Thank you!

Page 39: Phase Transitions and Emergent Phenomena in Algorithms and