Title: Complexity and robustness
1(No Transcript)
2Complexity and robustness
John Doyle Control and Dynamical Systems Caltech
3Complexity?
4Complex adaptive systems?
new science of complexity
Artificial, emergent, adaptive, etc etc
Edge-of-chaos (EOC)
Self-organized criticality (SOC)
Neuro-fuzzy-genetic expert agents
Buzzword science
5(No Transcript)
6Dynamical systems
Control, optimization, identification
Uncertainty and robustness
Focus
Statistical physics
7Robustness and uncertainty
Sensitive
Error, sensitivity
Robust
Meteor impact
speech
Types of uncertainty
8Complex systems
Extreme robustness
Sensitive
Error, sensitivity
Robust
Types of uncertainty
9Selected examples
- Software (Y2K, embedded systems, Ariane 5, Denver
airport baggage handling, IRS upgrade) - Networks (internet, power, transportation, phone,
financial, food, water, waste) - Computer-aided design and manufacturing (VLSI,
Mechanical, Virtual engineering, simulation based
design) - Fluids and continuum mechanics (Hydrodynamic
stability, shear flows, boundary layer controls,
flutter, weather, climate) - Physics, chemistry, materials (Quantum systems
and computing, laser control of molecular
dynamic, statistical and nonequilibrium physics
of designed systems, composite materials, smart
materials)
10Selected examples (cont.)
- Biology (DNA networks, signal transduction
networks, neural networks, protein folding,
organism behavior, macroevolution) - Medicine (stem cells, cancer, multiorgan failure,
autoimmune disease, AIDS, resistant parasites,
organ and tissue regeneration) - Ecology and environment (Specie extinction and
biodiversity, forestry and resource management,
sustainable agriculture and energy) - Military "systems of systems"
- Social systems and complexity (sustainable
societies, economics and finance, political
systems)
11- In these examples, robustness is more important
than - materials
- energy
- entropy
- information
- computation
- They have extreme robustness robust yet
fragile. - Developing new theories of complexity that focus
on robustness
12Conservation of robustness
Error, sensitivity
is balanced by
Types of uncertainty
13Focus on
- Statistical physics
- Power systems
- Ecosystems and extinction
- Turbulence
- Computers and Internet
- Software
- Stem cells
- Bacterial chemotaxis
14Start with some data US Power outages 1984-1997
151
10
Frequency (per year) of outages gt N
0
10
US Power outages 1984-1997
-1
10
-2
10
4
5
6
7
10
10
10
10
N of customers affected by outage
161
10
Power laws
0
10
-1
10
-2
10
4
5
6
7
10
10
10
10
17On average, once every
1
10
0
10
-1
10
-2
10
4
5
6
7
10
10
10
10
there will be an outage of
18Size of events vs. frequency
p ? s-a
log(probability)
1 lt a lt 3
log(size)
19Incomplete data
Heavy tails
1
10
Frequency (per year) of outages gt N
0
10
Gaussian
-1
10
Gaussians have vanishing probability of large
events
-2
10
4
5
6
7
10
10
10
10
N of customers affected by outage
201
10
1984-1997
Frequency (per year) of outages gt N
0
10
-1
10
-2
10
4
5
6
7
10
10
10
10
N of customers affected by outage
21(No Transcript)
22Power laws are ubiquitous.
- Cascading failures in power grids
- Freeway traffic jams
- Deaths and due to disasters
- Specie extinction
- Practically every quantity in the Internet
- The world is extremely non-Gaussian.
23Are power laws surprising?
- Central limit theorem (law of large numbers) says
we should expect - Gaussian distributions
- (normal, bell curves,).
- Right?
24Actually
- The full central limit theorem says we should
expect Gaussians or power laws.
25However
- We still need to understand how heavy tails
arise in the first place.
26- Statistical physics
- Power systems
- Ecosystems and extinction
- Turbulence
- Computers and Internet
- Software
- Stem cells
- Bacterial chemotaxis
Joint work with Jean Carlson Physics UCSB
27The simplest possible toy model of cascading
failure.
Square site percolation or simplified forest
fire model.
28Connected clusters
connected
not connected
29A spark that hits a cluster causes loss of that
cluster.
30Assume one randomly located spark
yield density - loss
(average)
31Think of (toy) forest fires.
yield density - loss
(average)
321
0.9
critical point
(avg.) yield
0.8
0.7
0.6
0.5
N100
0.4
0.3
0.2
0.1
0
0
0.2
0.4
0.6
0.8
1
density
33Reductionist science.. boring.
isolated
34(No Transcript)
35Critical point
361
limit N ? ?
0.9
(avg.) yield
0.8
critical point
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0
0.2
0.4
0.6
0.8
1
density
37This picture is very generic.
criticality
38Thermodynamics and statistical mechanics
Mean field theory
Renormalization group ? Universality classes
Power laws Fractals Self-similarity
hallmarksor signatures of criticality
39Fractal and self-similar
Criticality
40(No Transcript)
41Criticality
Power laws
422
10
1
10
Power laws only at the critical point
0
10
-1
10
0
1
2
3
4
10
10
10
10
10
43Characteristics at criticality depend only on
connectivity.
Higher dimensions
Other lattices
44The critical density goes down with dimension.
Dimension Density 2 .592746 3 .3116 4 .197
5 .107 ... ? 0
45This phase transition is universal.
46Self-organized criticality (SOC) dynamics have
critical point as global attractor
Simpler explanation systems that reward yield
will naturally evolve to critical point.
47Life, networks, the brain, the universe and
everything are at criticality or the edge of
chaos.
Does anyone really believe this?
48Would you design a system this way?
49Maybe random networks arent so great
50High yields
511
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0
0.2
0.4
0.6
0.8
1
52tolerant
critical
isolated
53Why power laws?
Optimize Yield
Almost any distribution of sparks
Power law distribution of events
54Numerical Example 32x32 grid
1
0.9
optimized
0.8
0.7
grid
0.6
yield
0.5
0.4
random
0.3
0.2
0.1
0
0
0.2
0.4
0.6
0.8
1
density
55Probability distribution (tail of normal)
x12.(- ((1 (1n)/n)/.3 ).2 ) x22.(- ((.5
(1n)/n)/.2 ).2 )
56Probability distribution (tail of normal)
2.9529e-016
0.1902
5
10
15
20
25
30
5
10
15
20
25
30
2.8655e-011
4.4486e-026
57Optimal evolved density 0.9678 yield
0.9625
Small events likely
Evolved add one site at a time to maximize
incremental (local) yield
At density ? explores only
choices out of a possible
Very local and limited optimization, yet still
gives very high yields.
58High yields.
59Optimized grid
Small events likely
density0.8496 yield 0.7752
60Optimized grid
density0.8496 yield 0.7752
1
0.9
High yields.
0.8
0.7
grid
0.6
0.5
0.4
random
0.3
0.2
0.1
0
0
0.2
0.4
0.6
0.8
1
610
10
critical
Cumulative distributions
-1
10
evolved
-2
10
critical density is .55 (which maximizes yield)
grid
-3
10
-4
10
0
1
2
3
10
10
10
10
620
10
optimal density 0.9678 yield 0.9625
-2
10
-4
10
.9
Evolution
-6
10
.8
This shows various stages on the way to the
optimal. Density is shown.
-8
10
.7
-10
10
-12
10
0
1
2
3
10
10
10
10
63evolving (yield ?density)
Density.8
Density.9
64Power laws are inevitable.
Good (small events)
Bad (large events)
Gaussian
65This source of power laws is quite universal.
Optimize Yield
Almost any distribution of sparks
Power law distribution of events
66Tolerance is very different from criticality.
- Mechanism generating power laws.
- Higher densities.
- Higher yields, more robust to sparks.
- Highly structured, even stylized.
- Nongeneric, wont arise due to random
fluctuations. - Not fractal, not self-similar, not
renormalizable. - Extremely sensitive to small perturbations that
were not designed for, changes in the rules.
67Extreme robustness and extreme hypersensitivity.
Small flaws
681
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0
0.2
0.4
0.6
0.8
1
691
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0
0.2
0.4
0.6
0.8
1
70Features of tolerance that involve totally new
questions.
- New fundamental principles and conservation
laws. - Dominated by robustness tradeoffs.
- Optimization of yield in the presence of
uncertainty -
- Highly Optimized Tolerance (H.O.T.)
71These four regimes are all extremely different.
72In this view, power laws occur only at one point.
critical
isolated
73H.O.T.
But HOT systems have power laws at all densities.
74These 3 transitions are all extremely different.
75flaws
Sensitivity to
76Important robustness conservation principles
The net amount of positive and negative
feedback in any causal system is equal.
Biological systems seem to cope with this in
especially creative ways.
77Claim This picture is key to understanding
everything from networks to turbulence to
developmental biology.
yield
Intensity, interconnectedness, (pressure,
density, gene count)
78Our scientific foundation is based on only this
part of the picture, and as a consequence...
Approaches out here often are mystical and
sloppy.
yield
Intensity, interconnectedness, (pressure,
density, gene count)
79severe robustness tradeoffs
The HOT state is dominated by
and cascading failure
80Comparison
Characteristic Critical HOT Densities
Moderate High Yields Low-moderate
High Robustness Generic, moderate High to
designed-for uncertainty Low to
flaws and unanticipated perturb. Configurat
ions Generic, fractal Structured,
stylized Large events Cascading, fractal
Cascading, structured External behavior
Complex Nominally simple Internally Simple
Complex Statistics Power laws Power laws
81Examples of criticality?
(Systems exhibiting features of criticality,
self-organized criticality (SOC), or
edge-of-chaos (EOC))
- Second-order phase transitions
- Some kinds of sand piles and rice piles
- Earthquakes? (probably not)
82Examples of H.O.T.?
Note The toy forest fire is emphatically not a
model for any specific system, even forests.
However, it is remarkable how many complex
systems have most or all of the HOT features.
83Selected examples
- Software (Y2K, embedded systems, Ariane 5, Denver
airport baggage handling, IRS upgrade) - Networks (internet, power, transportation, phone,
financial, food, water, waste) - Computer-aided design and manufacturing (VLSI,
Mechanical, Virtual engineering, simulation based
design) - Fluids and continuum mechanics (Hydrodynamic
stability, shear flows, boundary layer controls,
flutter, weather, climate)
84- Biology (DNA networks, signal transduction
networks, neural networks, protein folding,
organism behavior, macroevolution) - Medicine (stem cells, cancer, multiorgan failure,
autoimmune disease, AIDS, resistant parasites,
organ and tissue regeneration) - Ecology and environment (Specie extinction and
biodiversity, forestry and resource management,
sustainable agriculture and energy) - Social systems and complexity (sustainable
societies, economics and finance, political
systems)
85- Statistical physics
- Power systems
- Ecosystems and extinction
- Turbulence
- Computers and Internet
- Software
- Stem cells
- Bacterial chemotaxis
86Ecosystems and extinction
- 99.9 of all species which have ever existed are
now extinct - Extinction events have heavy tails.
- 5 major extinction events and numerous smaller
ones. - Currently in the sixth major extinction with the
rate increasing orders of magnitude in the last
10,000 years.
87Ecosystems and extinction
- There is an ongoing debate about the cause of
these extinctions. - Biologists now agree that they are due to
catastrophic external events - meteor impacts
- large scale geophysical phenomena.
- Advocates of SOC/EOC argue instead that they are
due to SOC/EOC co-evolutionary biological
phenomena. - But while extinctions may be triggered by
exogenous events, the distribution of extinctions
for a given disturbance is a fairly structured,
deterministic, and even predictable process.
88Habitats
- terrestrial vs. marine
- island vs. continental
- tropical vs nontropical
89Specialization
- Within a habitat, specialization offers
short-term benefits. - Specialization consistently correlates with
extinction risk in large extinctions. - For example, large body size has been a risk
factor in all major extinctions (although not
always in marine animals). - However, in the smaller late Eocene extinctions,
large-bodied mammal species were not selected
against. - This highlights the role of external causes the
late Eocene extinctions were generally related to
global cooling, which tends to favor large body
size.
90Evolution and extinction
91Ecosystems
HOT
92Ecosystems and extinction
Characteristic Critical HOT Densities
Moderate High Yields Low-moderate
High Robustness Generic, moderate High to
designed-for uncertainty Low to
flaws. Configurations Generic, fractal
Structured, stylized Large events Cascading,
fractal Cascading, structured External behavior
Complex Nominally simple Internally Simple
Complex Statistics Power laws Power laws
93- Statistical physics
- Power systems
- Ecosystems and extinction
- Turbulence
- Computers and Internet
- Software
- Stem cells
- Bacterial chemotaxis
94Turbulence in shear flows
wings
channels
Turbulence is the graveyard of theories. Hans
Liepmann Caltech
pipes
95velocity
high
low
equilibrium
periodic
chaotic
96random pipe
97bifurcation
laminar
flow (average speed)
turbulent
pressure (drop)
98velocity
high
low
equilibrium
periodic
chaotic
99Typical flow
flow
pressure
100wings
Streamline
channels
pipes
101theory
laminar
log(flow)
experiment
turbulent
Random pipe
log(pressure)
102This transition is extremely delicate (and
controversial).
log(flow)
It can be promoted (or delayed!) with tiny
perturbations.
log(pressure)
103Transition to turbulence is promoted (occurs at
lower speeds) by
Surface roughness Inlet distortions Vibrations The
rmodynamic fluctuations? Non-Newtonian effects?
104None of which makes much difference in this case.
105Shark skin delays transition to turbulence
106log(flow)
It can be reduced with small amounts of polymers.
log(pressure)
107spanwise
108high-speed region
From Kline
109spanwise
110streamwise
111vortices
flow
112 the structure results now seem to provide, at
long last, a reasonably complete picture of how
turbulence is produced and maintained in the
boundary layer and of the major eddies in the
various regions of the layer. In nearly every
other case in physics such increased knowledge
has translated into improved models for
computation. That has not been the case in
turbulent boundary layers.
S.J. Kline Stanford
113However
- We still need to understand how the near-wall
streamwise vorticity arises in the first place.
114Consider infinitesimal normal velocity
fluctuations near the wall, due to
- Surface roughness
- Inlet distortions
- Vibrations
- Thermodynamic fluctuations?
- Non-Newtonian effects?
- .
v
115(No Transcript)
116Theorem (Bamieh and Dahleh)
The energy growth in vorticity due to velocity
perturbations scales with (mean flow speed)3
vorticity
So at high speeds and pressure drops, the energy
amplification blows up (but there is no
bifurcation.)
3-D flow
shear
Lots of previous arguments and evidence for this
from many researchers (Farrell, Trefethen,
Lorenz, )
? v
117What does the resulting flow look like?
118(No Transcript)
119Turbulence
flow
HOT
pressure drop
120Turbulence is fundamentally a robustness problem!
- Depending on who you ask, this is
- Complete nonsense
- Interesting, but irrelevant
- The most important results in the history of the
subject
121- Statistical physics
- Power systems
- Ecosystems and extinction
- Turbulence
- Computers and Internet
- Software
- Stem cells
- Bacterial chemotaxis
122Building complexity computers and networks
High-level functionality
Layers of rules and protocols
Physical implementation
123Early computing.
Machine code
High-level functionality
Layers of rules and protocols
Logic
Transistors
Physical implementation
124 User interface
Modern computation.
Applications
High-level functionality
Applications
Layers of rules and protocols
OS
Computer
Board
VLSI
Physical implementation
125 User interface
VLSI design
Instructions
Applications
Logic
Applications
Topology
OS
Geometry
Computer
Timing
Board
Fabrication
VLSI
Silicon
126Generic versus designed
Instructions
Climate
Logic
Weather
Topology
Navier-Stokes
Keep only sets of measure zero.
Throw away sets of measure zero.
Geometry
Boltzmann dist
Timing
particle dynamics
Fabrication
Quantum mech.
Silicon
???
127Network protocols.
Routers
128Network protocols.
129Networks
demand
HOT
throughput
130Power laws in networks?
Power laws are everywhere in network. Its
controversial how important this is.
Most power laws in networks can be traced to
power laws in web sites and other files.
Why are file sizes on websites power laws?
131A simple model for power laws?
Optimize Throughput
Power law distribution of files
The same mechanism!
132Suppose you have documents to put on the web.
133Suppose there is a variable probability of hits.
134Then optimizing network throughput will lead to
power law file size distributions.
135(No Transcript)
136A simple model for power laws?
Optimize Throughput
Power law distribution of files
The same mechanism!
137Networks have all the HOT features
Characteristic Critical HOT Densities
Moderate High Yields Low-moderate
High Robustness Generic, moderate High to
designed-for uncertainty Low to
flaws. Configurations Generic, fractal
Structured, stylized Large events Cascading,
fractal Cascading, structured External behavior
Complex Nominally simple Internally Simple
Complex Statistics Power laws Power laws
138- Statistical physics
- Power systems
- Ecosystems and extinction
- Turbulence
- Computers and Internet
- Software
- Stem cells
- Bacterial chemotaxis
139Advanced software devours complex problems
Software-intensive systems are the most extreme.
140(No Transcript)