new science of complexity?

113
New science of complexity? Much attention has been given to “complex adaptive systems” in the last decade. Popularization of not just information and entropy, but phase transitions, criticality, fractals, self-similarity, power laws, chaos, emergence, self-organization, etc. Aim is to find universal characteristics of complexity. From Physics: an emphasis on emergent complexity via self-organization of a homogeneous substrate near a critical or bifurcation point (SOC/EOC).

Upload: lacy-workman

Post on 03-Jan-2016

53 views

Category:

Documents


0 download

DESCRIPTION

New science of complexity?. Much attention has been given to “complex adaptive systems” in the last decade. Popularization of not just information and entropy, but phase transitions, criticality, fractals, self-similarity, power laws, chaos, emergence, self-organization, etc. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: New science of complexity?

New science of complexity?

• Much attention has been given to “complex adaptive systems” in the last decade.

• Popularization of not just information and entropy, but phase transitions, criticality, fractals, self-similarity, power laws, chaos, emergence, self-organization, etc.

• Aim is to find universal characteristics of complexity.• From Physics: an emphasis on emergent complexity

via self-organization of a homogeneous substrate near a critical or bifurcation point (SOC/EOC).

Page 2: New science of complexity?

Highly Optimized

Tolerance (HOT)

• Complex systems in biology, ecology, technology, sociology, economics, …

• are driven by design or evolution to high-performance states which are also tolerant to uncertainty in the environment and components.

• This leads to specialized, modular, hierarchical structures, often with enormous “hidden” complexity,

• with new sensitivities to unknown or neglected perturbations and design flaws.

• “Robust, yet fragile!”

Page 3: New science of complexity?

“Robust, yet fragile”

• Robust to uncertainties – that are common,– the system was designed for, or – has evolved to handle,

• …yet fragile otherwise

• This is the most important feature of complex systems (the essence of HOT).

Page 4: New science of complexity?

HOT features of ecosystems • Organisms are constantly challenged by environmental

uncertainties,• And have evolved a diversity of mechanisms to minimize

the consequences by exploiting the regularities in the uncertainty.

• The resulting specialization, modularity, structure, and redundancy leads to high densities and high throughputs,

• But increased sensitivity to novel perturbations not included in evolutionary history.

• Robust, yet fragile!• Complex engineering systems are

similar.

Page 5: New science of complexity?

Example: Auto airbags

• Reduces risk in high-speed collisions

• Increases risk otherwise• Increases risk to small

occupants• Mitigated by new

designs with greater complexity

• Could just get a heavier vehicle

• Reduces risk without the increase!

• But shifts it elsewhere: occupants of other vehicles, pollution

Page 6: New science of complexity?

Complexity

Robustness

Page 7: New science of complexity?

Square site percolation or simplified “forest fire” model.

The simplest possible spatial model of HOT.

Carlson and Doyle,PRE, Aug. 1999

Page 8: New science of complexity?

empty square lattice occupied sites

Page 9: New science of complexity?

connectednot connected clusters

Page 10: New science of complexity?

A “spark” that hits an empty site does

nothing.

Assume one “spark” hits the

lattice at a single site.

Page 11: New science of complexity?

A “spark” that hits a cluster causes

loss of that cluster.

Page 12: New science of complexity?

Yield = the density after one spark

yield density loss

Page 13: New science of complexity?

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Y =(avg.)yield

= density

“critical point”

N=100

no sparks

sparks

Page 14: New science of complexity?

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

limit N

“critical point”Y =(avg.)yield

= density

c = .5927

Page 15: New science of complexity?

Cold

Fires don’t matter.

Y

Page 16: New science of complexity?

Y

Burned

Everything burns.

Page 17: New science of complexity?

Critical point

Y

Page 18: New science of complexity?

critical

point c

Percolation

P( ) =

probability a site is on the cluster

P( )

0

1

1

no cluster

all sites occupied

Page 19: New science of complexity?

Y = ( 1-P() ) + P() ( -P() )

P()

c

miss cluster

fulldensity

hit cluster

lose cluster

= - P()2

Y

Page 20: New science of complexity?

100

101

102

103

104

10-1

100

101

102

Power laws

Criticality

cluster size

cumulativefrequency

Page 21: New science of complexity?

Averagecumulativedistributions

clusters

fires

size

Page 22: New science of complexity?

Power laws: only at the critical point

low density

high density

cluster size

cumulativefrequency

Page 23: New science of complexity?

yiel

d

density

Tremendous attention has been given to this point.

Tremendous attention has been given to this point.

Page 24: New science of complexity?

Edge-of-chaos, criticality, self-organized criticality

(EOC/SOC)

Claim: Life, networks, the

brain, the universe and everything are at

“criticality” or the “edge of chaos.”

yield

density

Page 25: New science of complexity?

Edge-of-chaos, criticality, self-organized criticality

(EOC/SOC)

yieldyield

density

Essential claims:

• Nature is adequately described by generic configurations (with generic sensitivity).

• Interesting phenomena is at criticality (or near a bifurcation).

Page 26: New science of complexity?

Forest Fires: An Example of Self-Organized Critical BehaviorBruce D. Malamud, Gleb Morein, Donald L. Turcotte

18 Sep 1998

4 data sets

Page 27: New science of complexity?

10-6

10-4

10-2

100

102

100

102

104

106

Size of events

Cumulative

Frequency

Forest fires1000 km2

(Malamud)

WWW filesMbytes

(Crovella)-1

-1/2

Page 28: New science of complexity?

10-6

10-4

10-2

100

102

100

102

104

106

FF

WWW

SOC FF .15

Exponents are way off.

-1/2

Size of events

Cumulative

Frequency

Page 29: New science of complexity?

10-2

10-1

100

101

102

103

104

100

101

102

103

SOC FF

Additional 3 data sets

-1/2

Page 30: New science of complexity?

What about high yield

configurations?

?

Forget random, generic

configurations.

Would you design a system this way?

Page 31: New science of complexity?

Barriers

Barriers

What about high yield

configurations?

Page 32: New science of complexity?

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Page 33: New science of complexity?

• Rare, nongeneric, measure zero.• Structured, stylized configurations.• Essentially ignored in stat. physics.• Ubiquitous in

• engineering• biology• geophysical phenomena?

What about high yield

configurations?

Page 34: New science of complexity?

critical

Cold

Highly Optimized Tolerance (HOT)

Burned

Page 35: New science of complexity?

Why power laws?Why power laws?

Almost any distribution

of sparks

OptimizeYield

Power law distribution

of events

both analytic and numerical results.

Page 36: New science of complexity?

Special casesSpecial cases

Singleton(a priori

known spark)

Uniformspark

OptimizeYield

Uniformgrid

OptimizeYield

No fires

Page 37: New science of complexity?

Special casesSpecial cases

No fires

Uniformgrid

In both cases, yields 1 as N .

Page 38: New science of complexity?

Generally….Generally….

1. Gaussian2. Exponential3. Power law4. ….

OptimizeYield

Power law distribution

of events

Page 39: New science of complexity?

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

random

“optimized”

density

yield

NumericalExample32x32 grid

Page 40: New science of complexity?

x1=2.^(- ((1+ (1:n)/n)/.3 ).^2 );x2=2.^(- ((.5+ (1:n)/n)/.2 ).^2 );

Probability distribution (tail of normal)

nnyx

yp

xp

ypxpyxp

y

x

/),...,2,1(,

2)(

2)(

)()(),(

2

2

2./)5(.

3./)1(

Page 41: New science of complexity?

5 10 15 20 25 30

5

10

15

20

25

30

0.1902 2.9529e-016

2.8655e-011 4.4486e-026

Probability distribution (tail of normal)

High probability region

Page 42: New science of complexity?

• We expect barriers concentrated in the upper left.• Computing the global optimal is difficult, since

the number of configurations is

• But practically anything you do…• …gives high yields and power laws…• …at almost all densities.

102432 222

Page 43: New science of complexity?

Grid design: optimize the position of “cuts.”

cuts = empty sites in an otherwise fully occupied lattice.

Compute the global optimum for this constraint.

Page 44: New science of complexity?

Optimized grid

density = 0.8496yield = 0.7752

Small events likely

large events are unlikely

Page 45: New science of complexity?

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

random

grid

High yields.

Optimized grid

density = 0.8496yield = 0.7752

Page 46: New science of complexity?

“grow” one site at a time to maximize incremental (local) yield

“Evolutionary”algorithm

Page 47: New science of complexity?

density= 0.8yield = 0.8

“grow” one site at a time to maximize incremental (local) yield

Page 48: New science of complexity?

density= 0.9yield = 0.9

“grow” one site at a time to maximize incremental (local) yield

Page 49: New science of complexity?

Optimal “evolved”density= 0.97yield = 0.96

“grow” one site at a time to maximize incremental (local) yield

Page 50: New science of complexity?

Optimal “evolved”density= 0.9678yield = 0.9625

Several small events

A very large event.

Page 51: New science of complexity?

Optimal “evolved”density= 0.9678yield = 0.9625Small events likely

large events are unlikely

Page 52: New science of complexity?

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

random

“optimized”

density

High yields.

At almost all densities.

Page 53: New science of complexity?

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

random

density

Very sharp “phase transition.”

Page 54: New science of complexity?

Robust, yet fragile?

Page 55: New science of complexity?

Robust, yet fragile?

Extreme robustness and extreme hypersensitivity.

Small flaws

Page 56: New science of complexity?

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Page 57: New science of complexity?

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Page 58: New science of complexity?

If probability of sparks changes.

disaster

Page 59: New science of complexity?

“Robust, yet fragile”

• Robust to uncertainties – that are common,– the system was designed for, or – has evolved to handle,

• …yet fragile otherwise

• This is the most important feature of complex systems (the essence of HOT).

Page 60: New science of complexity?

Conserved?

Sensitivity to:

sparks

flawsassumed

p(i,j)

Page 61: New science of complexity?

Can eliminate sensitivity to: assumed

p(i,j)

Uniformgrid

Eliminates power laws as well.

Page 62: New science of complexity?

Can reduce impact of: flaws

Thick open barriers.

There is a yield penalty.

Page 63: New science of complexity?

100

101

102

103

10-4

10-3

10-2

10-1

100

grid

“evolved”

“critical”

size

Cum.Prob.

All producePower laws

Page 64: New science of complexity?

100

10110

210

310

-12

10-10

10-8

10-6

10-4

10-2

100Evolution

.9

.8

.7

optimaldensity= 0.9678yield = 0.9625

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

random

density

yield

Page 65: New science of complexity?

This source of power laws is quite universal.

Almost any distribution

of sparks

OptimizeYield

Power law distribution

of events

Page 66: New science of complexity?

10-6

10-4

10-2

100

102

100

102

104

106

Size of events

Cumulative

Frequency

Forest fires1000 km2

(Malamud)

WWW filesMbytes

(Crovella)

Data compression

(Huffman)

-1-1/2

Page 67: New science of complexity?

Universal network behavior?

demand

throughputCongestion

induced “phase

transition.”

Similar for:• Power grid?• Freeway traffic?• Gene regulation?• Ecosystems?• Finance?

Page 68: New science of complexity?

random networks

log(thru-put)

log(demand)

Networks Making a “random network:”• Remove protocols

– No IP routing

– No TCP congestion control

• Broadcast everything

Many orders of magnitude slower

BroadcastNetwork

Page 69: New science of complexity?

Networks

random networks

real networks

HOTlog(thru-put)

log(demand)

BroadcastNetwork

Page 70: New science of complexity?

random

designed

HOTYield,flow, …

Densities, pressure,…

The yield/density curve predicted using random ensembles is way off.

Similar for:• Power grid• Freeway traffic• Gene regulation• Ecosystems• Turbulence• Finance?

Page 71: New science of complexity?

10-6

10-4

10-2

100

102

100

102

104

106

Size of events

Cumulative

Frequency

Forest fires1000 km2

(Malamud)

WWW filesMbytes

(Crovella)

Data compression

(Huffman)

-1-1/2

Page 72: New science of complexity?

document

split into N files to minimize download time

A toy website model(= 1-d grid HOT design)

Page 73: New science of complexity?

Forest fires?

Burnt regions are 2-d

Fire suppression mechanisms must stop a 1-d front.

Page 74: New science of complexity?

pi = Probability

of event

drl

li = volume enclosed

ri = barrier density

d-dimensional

i

d

id

i lrl

1

,

Resource/loss relationship:

Page 75: New science of complexity?

PLR optimization

1)(

r

crl

RrlpJ iiiMinimize

expected loss

P: uncertain events with probabilities pi L: with

loss li

R: limited resources ri

Resource/loss relationship

d

Page 76: New science of complexity?

1)(

r

crl

RrlpJ iii

PLR optimization

d

1)( crrl

0)1( l Set amplitudes and small scale cutoff

Page 77: New science of complexity?

1)(

r

crl

RrlpJ iii

PLR optimization

d

= 0 data compression = 1 web layout = 2 forest fires

= “dimension”

Page 78: New science of complexity?

RrlpJ iii

PLR optimization

= 0 data compression

=0 is Shannon

source coding

0

0

1

)log(

)(

r

c

r

rl

Page 79: New science of complexity?

0

0)log()log(

1

1

1

ii

iiii

pRc

ppRpp

J

p

01

0)log()(

r

cr

rl

1

)1/(1

)1/(1

j

j

ii

p

Rpcl

RrlpJ iii

11

ipcR

Minimize average cost using standard Lagrange multipliers

With optimal cost

Leads to optimal solutions for resource allocations and the relationship between the event probabilities and sizes.

Page 80: New science of complexity?

01

0)log()(

r

cr

rl

1

)1/(1

)1/(1

j

j

ii

p

Rpcl

RrlpJ iii

11

ipcR

Minimize average cost using standard Lagrange multipliers

With optimal cost

Leads to optimal solutions for resource allocations and the relationship between the event probabilities and sizes.

011

0)log(

1

1

1

i

ii

p

pp

J

Page 81: New science of complexity?

)/11(21ˆ clcp ii

1ˆˆ

iiik

ii llpP

1 ii llorder

ii Pl ˆ,plot

sizesfromdata

computeusingmodel

1

)1/(1

)1/(1

j

j

ii

p

Rpcl

Solve for p(l) gives

To compare with data.

Cumulative

Page 82: New science of complexity?

10-6

10-4

10-2

100

102

100

102

104

106

HOT FF

HOT WWW

DC

Page 83: New science of complexity?

10-6

10-4

10-2

100

102

100

102

104

106

HOT FF

HOT WWW

DC

SOC FF

Page 84: New science of complexity?

10-6

10-4

10-2

100

102

100

101

102

103

104

105

106

1

4

3

3

4

4

5

5

4

Page 85: New science of complexity?

HOT

SOC

Page 86: New science of complexity?

HOT

SOC

d=1

d

d=1

d

Page 87: New science of complexity?

10-6

10-4

10-2

100

102

100

102

104

106

HOT FF

HOT WWW

DC

SOC FF

Why are the HOT PRL predictions so good?

DC and WWW are prescriptive.

Page 88: New science of complexity?

Forest Fires: An Example of Self-Organized Critical BehaviorBruce D. Malamud, Gleb Morein, Donald L. Turcotte

18 Sep 1998

4 data sets

Page 89: New science of complexity?

10-2

10-1

100

101

102

103

104

100

101

102

103

SOC FF

HOT FF = 2

Additional 3 data sets

Page 90: New science of complexity?

Forest fires?

Burnt regions are 2-d

Fire suppression mechanisms must stop a 1-d front.

Page 91: New science of complexity?

Forest fires?

Geography could make <2.

Page 92: New science of complexity?

California geography:further irresponsible speculation

• Rugged terrain, mountains, deserts• Fractal dimension 1?

Page 93: New science of complexity?

100

101

102

103

104

105

106

100

101

102

103

104

105

= 1

California brushfires

d = 1

SOC FF

d = 2

Page 94: New science of complexity?

Characteristic Critical HOT

Yield/density Low High

Robustness Generic Robust, yet fragile

Events/structure Generic, fractal Structured, modular

External behavior Complex Nominally simpleInternally Simple Complex

Power laws at criticality everywhere

Details Don’t matter Do matter

Page 95: New science of complexity?

Characteristic Critical HOT

Yield/density Low High

Robustness Generic Robust, yet fragile

Events/structure Generic, fractal Structured, modular

External behavior Complex Nominally simpleInternally Simple Complex

Power laws at criticality everywhere

Details Don’t matter Do matter

Characteristics

Toy models

?• Power systems• Computers• Internet• Software • Ecosystems • Extinction• Turbulence

Examples/Applications

Page 96: New science of complexity?

Characteristic Critical HOT

Yield/density Low High

Robustness Generic Robust, yet fragile

Events/structure Generic, fractal Structured, modular

External behavior Complex Nominally simpleInternally Simple Complex

Power laws at criticality everywhere

Details Don’t matter Do matter

• Power systems• Computers• Internet• Software • Ecosystems • Extinction• Turbulence

But when we look in detail at any of these examples...

…they have all the HOT features...

Page 97: New science of complexity?

Robust

ComplexityRobustness

Aim: simplest possible story

Humans have exceptionally robust systems for vision and speech.

Page 98: New science of complexity?

Yet fragile…but we’re not so good at surviving, say, large meteor impacts.

Page 99: New science of complexity?

Yet fragile…but we’re not so good at surviving, say, large meteor impacts.

Page 100: New science of complexity?

Robustness and uncertainty

Error,sensitivity

Types of uncertainty

Sensitive

Robust

Page 101: New science of complexity?

Robustness and uncertainty

Error,sensitivity

Types of uncertainty

speech/vision

Meteor impact

Humans

Archaebacteria

Sensitive

Robust

Page 102: New science of complexity?

Robust

yet fragile

Error,sensitivity

Types of uncertainty

speech/vision

Meteor impact

Humans

Archaebacteria

Sensitive

Robust

Robustness and uncertainty

Page 103: New science of complexity?

Robust

yet fragile

Error,sensitivity

Types of uncertainty

“Complex” systems

Sensitive

Robust

Page 104: New science of complexity?

Types of uncertainty

Automobile air bags

Error,sensitivity

high speedhead-oncollisions

children low-speed

Page 105: New science of complexity?

Types of uncertainty

Sensitive details

Robust statistics

Multiscale modeling: Homogeneous systems

Sensitive

Error,sensitivity

Robust

Page 106: New science of complexity?

Types of uncertainty

Sensitive details

Robust statistics

Multiscale, homogeneous example

Sensitive

Error,sensitivity

Robust

initial conditions

Gas molecules in this room

Temperature and pressure

StatisticalMechanics

Page 107: New science of complexity?

Gas molecules in this room

Temperature and pressure

StatisticalMechanics

Types of uncertainty

Sensitive details

Robust statistics

Multiscale, homogeneous example

Sensitive

Error,sensitivity

Robust

initial conditions

The macroscopic statistics are uniformly and robustly

independent...

...of the microscopic details...

and can be obtainedby taking ensemble

averages

Page 108: New science of complexity?

Robust

yet fragile

Error,sensitivity

Types of uncertainty

“Complex” systems

Sensitive

Robust

The macroscopic behavior has both extreme robustness

and hypersensitivity...

…to the microscopic details...

…and ensemble averages are of limited usefulness.

Page 109: New science of complexity?

Robust

yet fragile

Error,sensitivity

Types of uncertainty

“Complex” systems

Sensitive

Robust

• Thus we are (forced into) redoing statistical physics from scratch for these systems. • The HOT results are among the first outcomes.•These are just steps toward...

Page 110: New science of complexity?

Robust

yet fragile

Error,sensitivity

Types of uncertainty

“Complex” systems

Sensitive

RobustThe ultimate goal of

modeling, simulation, and analysis is to create this

plot for specific systems.

Page 111: New science of complexity?

Types of uncertainty

Modeling “complex” systems

Required model

complexityError,sensitivity

Sensitive

Robust

May need great detail here

And much less detail here.

Page 112: New science of complexity?

Error,sensitivity

Types of uncertainty

Why “scientific supercomputing” has disappointed.

Sensitive

Robust

averageteraflops

petaflops

googaflops

Still haven’t capturedimportant phenomena.

Page 113: New science of complexity?

Error,sensitivity

Types of uncertainty

Why “scientific supercomputing” has disappointed.

Sensitive

Robust

averageteraflops

petaflops

googaflops

Still haven’t capturedimportant phenomena.• Relied too heavily on the

homogeneous view of multiscale phenomena from physics.• Deep misunderstanding of the “robust, yet fragile” character of much complex phenomena.