Phase Transitions in Physics and Computer Science. Cristopher Moore University of New Mexico and the Santa Fe Institute

Similar documents
A Tale of Two Cultures: Phase Transitions in Physics and Computer Science. Cristopher Moore University of New Mexico and the Santa Fe Institute

Exact solution of site and bond percolation. on small-world networks. Abstract

Independence and chromatic number (and random k-sat): Sparse Case. Dimitris Achlioptas Microsoft

Phase transitions in discrete structures

Phase Transitions in Networks: Giant Components, Dynamic Networks, Combinatoric Solvability

1 Mechanistic and generative models of network structure

Predicting Phase Transitions in Hypergraph q-coloring with the Cavity Method

Phase Transitions in k-colorability of Random Graphs

The Nature of Computation

The non-backtracking operator

Information, Physics, and Computation

arxiv: v1 [cond-mat.dis-nn] 8 Sep 2014

Spin Glas Dynamics and Stochastic Optimization Schemes. Karl Heinz Hoffmann TU Chemnitz

Random Networks. Complex Networks, CSYS/MATH 303, Spring, Prof. Peter Dodds

Phase Transitions (and their meaning) in Random Constraint Satisfaction Problems

The Beginning of Graph Theory. Theory and Applications of Complex Networks. Eulerian paths. Graph Theory. Class Three. College of the Atlantic

Almost giant clusters for percolation on large trees

Phase Transitions in the Coloring of Random Graphs

A variational approach to Ising spin glasses in finite dimensions

Statistical Physics on Sparse Random Graphs: Mathematical Perspective

Phase Transition & Approximate Partition Function In Ising Model and Percolation In Two Dimension: Specifically For Square Lattices

6.207/14.15: Networks Lecture 3: Erdös-Renyi graphs and Branching processes

Lecture 9 Examples and Problems

Long Range Frustration in Finite Connectivity Spin Glasses: Application to the random K-satisfiability problem

Mind the gap Solving optimization problems with a quantum computer

Physics 212: Statistical mechanics II Lecture XI

Lecture 5: Random Energy Model

Phase Transitions in Artificial Intelligence

Newton s Method and Localization

Physics Sep Example A Spin System

Lecture 8: February 8

Numerical Analysis of 2-D Ising Model. Ishita Agarwal Masters in Physics (University of Bonn) 17 th March 2011

On the number of circuits in random graphs. Guilhem Semerjian. [ joint work with Enzo Marinari and Rémi Monasson ]

Layering in the SOS Model Without External Fields

Phase transition phenomena of statistical mechanical models of the integer factorization problem (submitted to JPSJ, now in review process)

Statistical Physics. How to connect the microscopic properties -- lots of changes to the macroscopic properties -- not changing much.

S j H o = gµ o H o. j=1

ECS 253 / MAE 253, Lecture 15 May 17, I. Probability generating function recap

(# = %(& )(* +,(- Closed system, well-defined energy (or e.g. E± E/2): Microcanonical ensemble

CS224W: Analysis of Networks Jure Leskovec, Stanford University

Phys Midterm. March 17

Random Networks. Complex Networks CSYS/MATH 303, Spring, Prof. Peter Dodds

Learning MN Parameters with Approximation. Sargur Srihari

Susceptible-Infective-Removed Epidemics and Erdős-Rényi random

The Phase Transition of the 2D-Ising Model

213 Midterm coming up

Networks: Lectures 9 & 10 Random graphs

Hard-Core Model on Random Graphs

Metropolis Monte Carlo simulation of the Ising Model

Counting independent sets up to the tree threshold

Network models: random graphs

arxiv:cond-mat/ v2 [cond-mat.stat-mech] 7 Jan 2000

Mind the gap Solving optimization problems with a quantum computer

Notes 6 : First and second moment methods

6.207/14.15: Networks Lecture 12: Generalized Random Graphs

UNDERSTANDING BOLTZMANN S ANALYSIS VIA. Contents SOLVABLE MODELS

Lecture 8. The Second Law of Thermodynamics; Energy Exchange

XVI International Congress on Mathematical Physics

Spontaneous Symmetry Breaking

Introduction to the Renormalization Group

Monte Carlo Simulations in Statistical Physics

Chasing the k-sat Threshold

RANDOM GRAPHS. Joel Spencer ICTP 12

Non-magnetic states. The Néel states are product states; φ N a. , E ij = 3J ij /4 2 The Néel states have higher energy (expectations; not eigenstates)

A brief introduction to the inverse Ising problem and some algorithms to solve it

Kyle Reing University of Southern California April 18, 2018

3.320 Lecture 18 (4/12/05)

Non-equilibrium phase transitions

6.207/14.15: Networks Lecture 4: Erdös-Renyi Graphs and Phase Transitions

Phase transitions in Boolean satisfiability and graph coloring

Epidemic spreading is always possible on regular networks

Sharpness of second moment criteria for branching and tree-indexed processes

Spin glasses and Adiabatic Quantum Computing

Statistical Thermodynamics

ADFOCS 2006 Saarbrücken. Phase Transition. Joel Spencer

The Phases of Hard Sphere Systems

Slightly off-equilibrium dynamics

The glass transition as a spin glass problem

Approximate counting of large subgraphs in random graphs with statistical mechanics methods

Mini course on Complex Networks

The Effects of Coarse-Graining on One- Dimensional Cellular Automata Alec Boyd UC Davis Physics Deparment

Some Polyomino Tilings of the Plane

Lab 70 in TFFM08. Curie & Ising

Modern WalkSAT algorithms

The condensation phase transition in random graph coloring

A stretched-exponential Pinning Model with heavy-tailed Disorder

CHAPTER 4. Cluster expansions

The cavity method. Vingt ans après

c 2006 Society for Industrial and Applied Mathematics

13 : Variational Inference: Loopy Belief Propagation and Mean Field

arxiv: v2 [cond-mat.dis-nn] 4 Dec 2008

First Law Limitations

Tensor network simulations of strongly correlated quantum systems

Foundations of Artificial Intelligence

The ultrametric tree of states and computation of correlation functions in spin glasses. Andrea Lucarelli

Discrete random structures whose limits are described by a PDE: 3 open problems

Physics Nov Phase Transitions

Phase Transitions and Critical Behavior:

Phase transitions and finite-size scaling

Lecture 2: Discrete Probability Distributions

Transcription:

Phase Transitions in Physics and Computer Science Cristopher Moore University of New Mexico and the Santa Fe Institute

Magnetism When cold enough, Iron will stay magnetized, and even magnetize spontaneously But above a critical temperature, it suddenly ceases to be magnetic Interactions between atoms remain the same, but global behavior changes! Like water freezing, outbreaks becoming epidemics, opinions changing...

The Ising model Lattice (e.g. square) with sites n Each has a spin s i = ±1, up or down Energy is a sum over neighboring pairs: E = ij s i s j Lowest energy: all up or all down Highest energy: checkerboard

Boltzmann Distribution At thermodynamic equilibrium, temperature T Higher-energy states are less likely: P (s) e E(s)/T When When T 0 T, only lowest energies appear, all states are equally likely

What Happens Below critical temperature, the system magnetizes : mostly up or mostly down Small islands of the minority state; as T increases, these islands grow Above critical temperature, islands=sea; at large scales, equal numbers of up and down When T=T c, islands of all scales: system is scale-invariant!

Mean Field Ignore topology: forget lattice structure If a of the sites are up and 1 a are down, energy is E = 2n 2 ( 2a(1 a) a 2 (1 a) 2) At any T, most-likely states have a=0 or a=1 But the number of such states is, is tightly peaked around a=1/2. ( n an ) which Total probability(a) = #states(a) Boltzmann(a)

Energy vs. Entropy 1 0.8 0.6 0.4 T=5 0.2 0.2 0.4 0.6 0.8 1

Energy vs. Entropy 1 0.8 0.6 0.4 T=4 0.2 0.2 0.4 0.6 0.8 1

Energy vs. Entropy 1 0.8 0.6 0.4 T=3 0.2 0.2 0.4 0.6 0.8 1

Correlations C(r) = correlation between two sites r apart If T > T c, correlations decay exponentially: C(r) e r/l Correlation length l decreases as T grows As we approach T c, correlation length diverges At T c, power-law correlations (scale-free): C(r) l α

Percolation Fill a fraction p of the sites in a lattice When p < p c, small islands, whose size is exponentially distributed: P (s) e s/s When p > p c, giant cluster appears At p c, power-law distribution of cluster sizes: P (s) s α

The Adversary...designs problems that are as diabolically hard as possible, forcing us to solve them in the worst case. (Hated and feared by computer scientists.)

La Dame Nature...asks questions whose answers are simpler and more beautiful than we have any right to imagine. (Worshipped by physicists.)

Random NP Problems A 3-SAT formula with n variables, m clauses Choose each clause randomly: possible ( n 3) triplets, negate each one with probability 1/2 Precedents: Random Graphs (Erdős-Rényi) Statistical Physics: ensembles of disordered systems, e.g. spin glasses Sparse Case: m = αn for some density α

A Phase Transition 1.0 P 0.8 0.6 0.4 n = 10 n = 15 n = 20 n = 30 n = 50 n = 100 0.2 0.0 3 4 5 6 7!

The Threshold Conjecture We believe that for each critical clause density α k k 3, there is a such that lim Pr [F k(n, m = αn) is satisfiable] n { 1 if α < αk = 0 if α > α k So far, only known rigorously for k = 2

Search Times 10 6 10 5 DPLL calls 10 4 10 3 10 2 1 2 3 4 5 6 7 8!

An Upper Bound The average number of solutions is ( ( 8) m 2 n 7 = 2 8 ( ) α ) n 7 E[X] This is exponentially small whenever α > log 8/7 2 5.19 But the transition is much lower, at α 4.27. What s going on?

In the range A Heavy Tail 4.27 < α < 5.19, the average number of solutions is exponentially large. Occasionally, there are exponentially many......but most of the time there are none! A classic heavy-tailed distribution Large average doesn t prove satisfiability!

Lower Bound #1 Idea: track the progress of a simple algorithm! When we set variables, clauses disappear or get shorter: x (x y z) (y z) Unit Clauses propagate: x (x y) y

One Path Through the Tree If there is a unit clause, satisfy it. Otherwise, choose a random variable and give it a random value! The remaining formula is random for all t: ds 3 dt = 3s 3 1 t, ds 2 dt = (3/2)s 3 2s 2 1 t s 3 (0) = α, s 2 (0) = 0

One Path Through the Tree α These differential equations give s 3 (t) = α(1 t) 3 s 2 (t) = 3 2 αt(1 t)2 0.2 0.4 0.6 0.8 1

Branching Unit Clauses Each unit clause has on average children, where λ λ = 1 2 2s 2 1 t = 3 αt(1 t) 4 When λ > 1, they proliferate and contradictions appear Maximized at t = 1/2 But if α < 8/3, then λ < 1 always, and the unit clauses stay manageable.

Constructive Methods Fail Fancier algorithms, harder math: α < 3.52. But, for larger k, algorithmic methods are nowhere near the upper bound for k-sat: O ( 2 k k ) < α < O(2 k ) To close this gap, we need to resort to non-constructive methods.

Lower Bound #2 Idea: bound the variance of the number of solutions. If X is a nonnegative random variable, Pr[X > 0] E[X]2 E[X 2 ] E[X] E[X 2 ] correlations between solutions. is easy; requires us to understand

Correlations The second moment is the expected number of pairs of satisfying assignments. If two assignments have overlap z, they satisfy a random k-sat clause with probability Note that E[X 2 ] q(z) = 1 2 2 k + z k 2 k q(1/2) = (1 2 k ) 2 as if the pair were independent.

Now Correlations is the number of pairs with overlap z, times the probability each pair is satisfying, summed over z : where E[X 2 ] E[X 2 ] z 1 2 n 0 ( ) 2 n n q(z) αn dz zn e n ( h(z)+α ln q(z) ) dz h(z) = z ln z (1 z) ln(1 z) Again, a tradeoff between entropy and energy.

A Function of Distance When the expected number of pairs of solutions is peaked at 1/2, most pairs are independent and the variance is small. 1.02 0.98 0.2 0.4 0.6 0.8 1 0.96 0.94

Determining the Threshold A series of results has narrowed the range for the transition in k-sat to 2 k ln 2 O(k) < α < 2 k ln 2 O(1) Prediction from statistical physics: 2 k ln 2 O(1) Seems difficult to prove with current methods.

Scaling and Universality Rescaling α around the critical point causes different n to coincide. A universal function? 1.0 0.8 0.6 0.4 0.2 0.0-1 0 1! "

Clustering Below the critical temperature, magnets have two macrostates (Gibbs measures) Glasses, and 3-SAT, have exponentially many!

Clustering An idea from statistical physics: there is another transition, from a unified cloud of solutions to separate clusters. Is this why algorithms fail at α 2 k /k? 3.9 4.27 α

The Physicists Algorithm A message-passing algorithm: I can t give you what you want u j a u a i You re the only one who can satisfy me

Why Does It Work? Random formulas are locally treelike. Assume the neighbors are independent: T 1 T 3 T 1 Proving this will take some very deep work.

Shameless Plugs The Nature of Computation Mertens and Moore

Acknowledgments