universal laws and architectures : theory and lessons from brains, bugs, nets, grids,

152
Universal laws and architectures: Theory and lessons from brains, bugs, nets, grids, docs, planes, fire, fashion, art, turbulence, music, buildings, cities, earthquakes, bodies, running, throwing, Synesthesia, spacecraft, statistical mechanics Slow Flexible Fast Inflexible Impossible (law) Architect ure General Special

Upload: devona

Post on 24-Feb-2016

18 views

Category:

Documents


2 download

DESCRIPTION

Universal laws and architectures : Theory and lessons from brains, bugs, nets, grids, docs, planes, fire, fashion, art, turbulence, music, buildings, cities , earthquakes, bodies, running, throwing , S y n e s t h e s i a , spacecraft, statistical mechanics. Slow. Architecture. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Universal laws and architectures:Theory and lessons from

brains, bugs, nets, grids, docs, planes, fire, fashion,

art, turbulence, music, buildings, cities, earthquakes, bodies, running, throwing,

Synesthesia, spacecraft, statistical mechanics

Slow

Flexible

Fast

Inflexible

Impossible (law)

Architecture

General Special

Page 2: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

1

2

4

8

.1 1.05 .5.2

0l l

0 1l l

Length (meters)

Fragility

ln z pp

p

z

.1s

k

z pz p

10-1 100 101100

101

too fragile

complex

No tradeoff

expensive

fragile

costly

fragile

cheap

robust

Survive

Multiply

thinsmall

thickbig

Laws

Slow

Flexible

vision

eye vision

Act slowdelay

Fast

Inflexible

VOR

fast

Slow

Flexible

Fast

Inflexible

Impossible (law)

Universal laws

Page 3: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Chiang, Low, Calderbank, and Doyle

Starting point

Page 4: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Flexible

Fast

Inflexible

Impossible (law)

Architecture

General Special

Universal Turing Machine

Page 5: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fast

Slow

Flexible Inflexible

Apps

OS

HW

AppsOS

HardwareDigital

LumpedDistributed

Tech implications/extensions

Page 6: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

DiverseDeconstrained

(Hardware)

Deconstrained(Applications)

Diverse

Layered architectures

ConstrainedBut hidden

Apps

OS

HW

Core Protocols

Page 7: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fast

Slow

Flexible Inflexible

General Special

Apps

OS

HW

Page 8: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fast

Slow

Flexible Inflexible

General Special

Apps

OS

HW

Page 9: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

FastCostly

SlowCheap

Flexible Inflexible

General Special

Layered Architecture

AppsOSHW

DigitalLumpedDistrib.

OSHW

DigitalLumpedDistrib.

DigitalLumpedDistrib.

LumpedDistrib. Distrib.

Any layer needs all lower layers.

Page 10: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

DigitalLumped Lumped

.

AppsOS

HardwareDigital

Lumped

Act

Decide

Sense

Page 11: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Act

Sense

AppsOS

HardwareDigital

Lumped

Decide

Slow

InflexibleFragile

Expensive

vision

Act

delay

Page 12: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Efficiency/instability/layers/feedback

• Money/finance/lobbyists/etc• Society/agriculture/weapons/etc• Bipedalism• Maternal care• Warm blood• Flight• Mitochondria• Translation (ribosomes)• Glycolysis (2011 Science)

• All create new efficiencies but also instabilities• Requires new active/layered/complex/active control

Slow

Inflexible

Fragile

Expensive

Page 13: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

vision

Act

delay

+ Neuroscience

Completing the story

Balancing an inverted pendulum

Mechanics+Gravity +Light +

2 20

1 ln

ln

pT j dp

z ppz p

Page 14: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Speed and flexibility tradeoffs Concrete case studies?

Theorems ?

Fast

Slow

Flexible Inflexible

fragile

robust

Page 15: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Flexible

vision

eye vision

Actslow

delay

Fast

Inflexible

VOR

fast

Page 16: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

sense

move Spine

delay=death

Page 17: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

sense

move Spine

Reflex

Reflect

Page 18: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

sense

move Spine

Reflex

Reflect

Page 19: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

sense

move Spine

Reflect

Reflex

Layered?

Page 20: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

sense

move Spine

Reflect

Reflex

Layered?

Page 21: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Physiology

Organs

Neu

rons

Neu

rons

Neu

rons

Cor

tex

Cel

ls

Cor

tex

Cor

tex

Layered architectures?

Cells

Page 22: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

sens

e

mov

eSp

ine

Refle

ct

Refle

x

Layered

Prediction

GoalsActions

errors

Actions

Page 23: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Physiology

Organs

Meta-layers

Prediction

GoalsActions

errors

ActionsCor

tex

Page 24: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

VisualCortex

VisualThalamus

10x

?

There are 10x feedback neurons

Why?

There are 10x feedback neurons

Page 25: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

VisualCortex

VisualThalamus

10x

?

There are 10x feedback neurons

Why?

Whynot?

No feedback

Page 26: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Unfortunately, not intelligent design

Ouch.

Page 27: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Why?

left recurrent laryngeal nerve

Page 28: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Why? Building humans from fish parts.

Fish parts

Page 29: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

It could be worse.

Page 30: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

VisualCortex

VisualThalamus

?

Physiology

Organs

Prediction

GoalsActions

errors

Actions

Prediction

Goals

Consciousperception

10x

Why?

What are the consequences?

Page 31: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Which blue line is longer?

Page 32: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Which blue line is longer?

Page 33: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Which blue line is longer?

Page 34: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Which blue line is longer?

Page 35: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Which blue line is longer?

Page 36: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Which blue line is longer?

Page 37: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Which blue line is longer?

With social

pressure, this one.

Standard social psychology experiment.

Page 38: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

3D+time

Simulation

Seeing is dreaming

Consciousperception

Consciousperception Zzzzzz…..

Page 39: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Same size?

Page 40: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,
Page 41: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Same size

Page 42: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Same size

Page 43: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Same size

Even when you “know” they are the same, they appear different

Toggle between this slide and the ones before and after

Page 44: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Same size?

Vision: evolved for complex simulation and control, not

2d static pictures

Even when you “know” they are the same, they appear different

Page 45: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

3D+time

Simulation+ complex

models(“priors”)

Seeing is dreaming

Consciousperception

Consciousperception Zzzzzz…..

Page 46: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

3D+time

Simulation+ complex

models(“priors”)

Seeing is dreaming

Consciousperception

Con

scio

uspe

rcep

tion

Prediction

errors

Page 47: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

3D+time

Simulation+ complex

models(“priors”)

Seeing is dreaming

Consciousperception

Con

scio

uspe

rcep

tion

Prediction

errors

Seeing is believing

Page 48: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

3D+time

Simulation+ complex

models(“priors”)

Seeing is dreaming

Consciousperception

Con

scio

uspe

rcep

tion

Prediction

errors

Seeing is believing

Our most integrated perception

of the world

Page 49: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

3D+time

Simulation+ complex

models(“priors”)

Seeing is dreaming

Consciousperception

Consciousperception Zzzzzz…..

Page 50: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

3D+time

Simulation+ complex

models(“priors”)

Seeing is dreaming

Consciousperception

Con

scio

uspe

rcep

tion

Prediction&Control

errors

Page 51: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Unconscious but high level

Effect: rival-schemata ambiguity

Page 52: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

SensoryMotor

Prefrontal

Striatum

SlowFlexible

Learning

Ashby & Crossley

Slow

Reflex(Fastest,

LeastFlexible)

Extreme heterogeneity

Page 53: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

SensoryMotor

Prefrontal

Striatum

Fast

FastInflexible

SlowFlexible

Learning

Reflex(Fastest,

LeastFlexible)

Ashby & Crossley

Learning can be very slow.

Page 54: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Sense

Universal tradeoffs?

Fast

Slow

Flexible Inflexible

Motor

Prefrontal

Fast

Learn

Reflex

Evolve

Learning can be very slow.

Evolution is even slower.

Page 55: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

?

Action (fast)?Perception (slow)?

Page 56: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Effect: rival-schemata ambiguity

Page 57: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Flexible

vision

eye vision

Actslow

delay

Fast

Inflexible

VOR

fast

3D + motion

colorvision

Slowest

See Marge Livingstone

Page 58: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

This is pretty good.Stare at the intersection

Page 59: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,
Page 60: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

This is pretty good.Stare at the intersection

Page 61: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,
Page 62: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Flexible

vision

eye vision

Actslow

delay

Fast

Inflexible

VOR

fast

3D + motion

colorvision

Slowest

Page 63: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Flexible

vision

Fast

Inflexible

VOR

colorvision

Seeing is dreaming

Page 64: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

-3d+motionB&W

slowVOR

fast

Fast

Slow

Flexible Inflexible

slower

Objects

Mixed

Page 65: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,
Page 66: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Chess experts• can reconstruct entire chessboard with < ~ 5s inspection• can recognize 1e5 distinct patterns• can play multiple games blindfolded and simultaneous• are no better on random boards

(Simon and Gilmartin, de Groot)

www.psywww.com/intropsych/ch07_cognition/expertise_and_domain_specific_knowledge.html

Page 67: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

-3d+motionB&W

slowVOR

fast

Fast

Slow

Flexible Inflexible

Faces

slower

Objects

Mixed

Not sure how to draw this…

Page 68: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Universal tradeoffs?

Fast

Slow

Flexible Inflexible

Reflex

Evolve

Learning can be very slow.

Evolution is even slower.

Page 69: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

When needed, even wasps can do it.

Page 70: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

• Polistes fuscatus can differentiate among normal wasp face images more rapidly and accurately than nonface images or manipulated faces. • Polistes metricus is a close relative lacking facial recognition and specialized face learning. • Similar specializations for face learning are found in primates and other mammals, although P. fuscatus represents an independent evolution of specialization. • Convergence toward face specialization in distant taxa as well as divergence among closely related taxa with different recognition behavior suggests that specialized cognition is surprisingly labile and may be adaptively shaped by species-specific selective pressures such as face recognition.

Page 71: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fig. 1 Images used for training wasps.

M J Sheehan, E A Tibbetts Science 2011;334:1272-1275Published by AAAS

Page 72: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

vision

eye vision

Actslow

delay

VOR

Slow

Flexible

Fast

Inflexible

Illusion

Highly evolved (hidden)

architecture

Seeing is dreaming

Page 73: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

3D+time

Simulation+ complex

models(“priors”)

Seeing is dreaming

Consciousperception

Con

scio

uspe

rcep

tion

errors

Prediction&Control

Page 74: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

-3d+motionB&W

slowVOR

fast

Fast

Slow

Flexible Inflexible

Faces

slower

Objects

Mixed

Not sure how to draw this…

Page 75: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

SensoryMotor

Prefrontal

Striatum

SlowFlexible

Learning

Ashby & Crossley

Slow

Reflex(Fastest,

LeastFlexible)

Extreme heterogeneity

Page 76: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

SensoryMotor

Prefrontal

Striatum

Fast

FastInflexible

SlowFlexible

Learning

Reflex(Fastest,

LeastFlexible)

Ashby & Crossley

Learning can be very slow.

Page 77: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Sense

Universal tradeoffs?

Fast

Slow

Flexible Inflexible

Motor

Prefrontal

Fast

Learn

Reflex

Evolve

Learning can be very slow.

Evolution is even slower.

Page 78: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Sense

Fast

Slow

Flexible Inflexible

Motor

Prefrontal

Fast

Learn

Reflex

Evolve

Apps

OS

HW

Page 79: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

SenseMotor

Prefrontal

Fast

Learn

Reflex

Evolve

vision

VORInternal delays

Page 80: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

.01

1

delaysec/m

C

.1

AγAδ

area

.1 1 10diam(m)

.01 1 100

Axon size and

speed

Fast

Small

Slow

Large

Page 81: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

delaysec/m

.01

1

.1

area

.1 1 10diam(m)

.01 1 100

Retinal ganglion axons?

Other myelinated

Why such extreme diversity in delay and size?

VOR

Why no diversity in VOR?

Page 82: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

control feedback

RNA

mRNA

RNApTranscription

Other Control

Gene

AminoAcids

Proteins

Ribosomes

Other Control

Translation

Metabolism Products

Signal transductionATP

DNANew gene

SensoryMotor

Prefrontal

Striatum

Reflex

Learning

Software

Hardware

DigitalAnalog

Universal layered

architectures

Page 83: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

FastCostly

SlowCheap

Flexible Inflexible

General Special

Layered Architecture

AppsOSHW

DigitalLumpedDistrib.

OSHW

DigitalLumpedDistrib.

DigitalLumpedDistrib.

LumpedDistrib. Distrib.

Any layer needs all lower layers.

Page 84: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Flexible

Fast

Inflexible

Impossible (law)

Architecture

Architecture (constraints that

deconstrain)

General Special

Universal laws and architectures (Turing)

ideal

Page 85: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

0. HGT1. DNA repair2. Mutation 3. DNA replication4. Transcription5. Translation6. Metabolism7. Signal transduction8. …

AppsOS

HardwareDigital

LumpedDistributed

Any layer needs all lower layers.

control feedback

RNA

mRNA

RNApTranscription

Other Control

Gene

AminoAcids

Proteins

Ribosomes

Other Control

Translation

Metabolism Products

Signal transductionATP

DNANew gene

Page 86: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Horizontal Gene

Transfer

Sequence ~100 E Coli (not chosen randomly)• ~ 4K genes per cell• ~20K different genes in total (pangenome)• ~ 1K universally shared genes • ~ 300 essential (minimal) genes

Page 87: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

control feedback

RNA

mRNA

RNApTranscription

Other Control

Gene

AminoAcids

Proteins

Ribosomes

Other Control

Translation

Metabolism Products

Signal transductionATP

DNANew gene

FastCostly

SlowCheap

Flexible Inflexible

General Special

HGT DNA repair

Mutation DNA replication

Transcription Translation

MetabolismSignal…

Layered Architecture

Page 88: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Fast

Flexible InflexibleGeneral Special

AppsOSHWDig.Lump.Distrib.

OSHWDig.Lump.Distrib.

DigitalLump.Distrib.

LumpedDistrib. Distrib.

HGT DNA repair Mutation DNA replication Transcription

Translation Metabolism

Signal

SenseMotor

Prefrontal

Fast

Learn

Reflex

Evolve

vision

VOR

Page 89: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Fast

Flexible InflexibleGeneral Special

AppsOSHWDig.Lump.Distrib.

OSHWDig.Lump.Distrib.

DigitalLump.Distrib.

LumpedDistrib. Distrib.

HGT DNA repair Mutation DNA replication Transcription

Translation

Metabolism Signal

SenseMotor

Prefrontal

Fast

Learn

Reflex

EvolveVOR

Many systems/organisms only use lower layers

Page 90: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

LumpedDistrib. Distrib.

Metabolism

Signal

SenseMotor Fast

Reflex

EvolveVOR

Many systems/organisms only use lower layers

Analog

Red blood cellsDenucleated neurons

Most metazoans

Page 91: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

200 microns

Denucleated neurons

Megaphragma mymaripenne

5 day lifespan7,400 neurons vshousefly 340,000 honeybee 850,000.

Page 92: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

control feedback

RNA

mRNA

RNApTranscription

Other Control

Gene

AminoAcids

Proteins

Ribosomes

Other Control

Translation

Metabolism Products

Signal transductionATP

DNANew gene

SensoryMotor

Prefrontal

Striatum

Reflex

LearningSoftware

Hardware

DigitalAnalog

Horizontal Gene

Transfer

Horizontal App

Transfer

Horizontal Meme

Transfer

Accelerating evolution

Requires shared “OS”

Page 93: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

control feedback

RNA

mRNA

RNApTranscription

Other Control

Gene

AminoAcids

Proteins

Ribosomes

Other Control

Translation

Metabolism Products

Signal transductionATP

DNANew gene

SensoryMotor

Prefrontal

Striatum

Reflex

LearningSoftware

Hardware

DigitalAnalog

Horizontal Gene

Transfer

Horizontal App

Transfer

Horizontal Meme

Transfer

What can go wrong?

Page 94: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Horizontal Bad Gene Transfer

Horizontal Bad App Transfer

Horizontal Bad Meme

Transfer

Parasites &

Hijacking

Fragility?

Exploiting layered

architecture

Virus

Virus

Meme

Page 95: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

FastCostly

SlowCheap

Flexible Inflexible

General Special

Layered immunity

Adaptive

OS?

Innate

Vaccination ≈ horizontal transfer?

Page 96: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Fast

Flexible InflexibleGeneral Special

AppsOSHWDig.Lump.Distrib.

OSHWDig.Lump.Distrib.

DigitalLump.Distrib.

LumpedDistrib. Distrib.

HGT DNA repair Mutation DNA replication Transcription

Translation Metabolism

Signal

SenseMotor

Prefrontal

Fast

Learn

Reflex

Evolve

vision

VORAdapt

Page 97: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Adapt

Slow

Fast

Flexible InflexibleGeneral Special

Complex modelsRobust controllers

Page 98: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Efficiency/instability/layers/feedback

Working backwards• Money/finance/lobbyists/etc• Society/agriculture/weapons/etc• Bipedalism• Maternal care• Warm blood• Flight• Mitochondria• Translation (ribosomes)• Glycolysis (see 2011 Science paper)

• All create new efficiencies but also instabilities• Requires new active/layered/complex/active control

Page 99: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Fast

Flexible Inflexible

Undecidable

Universal Turing

MachineArchitecture

(constraints that deconstrain)

General Special

Laws and architectures(Turing, 1936)

Turing 1912-1954

Page 100: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Turing’s 3 step research:0. Virtual (TM) machines1. hard limits, (un)decidability

using standard model (TM)2. Universal architecture

achieving hard limits (UTM)3. Practical implementation in

digital electronics (biology?)

Essentials:0. Model1. Universal laws2. Universal architecture3. Practical implementation

Software

Hardware

DigitalAnalog

Turing as “new”

starting point?

Page 101: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fast

Slow

Flexible/General

Inflexible/Specific

Undecidable NP P

hard limits

Really slow

Computational complexity

Decidable

Page 102: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fast

Slow

NP P

hard limits

Really slow

Computational complexity

Decidable

Space?

Page 103: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Flexible/General

Inflexible/Specific

NP P

Decidable

Computational complexityPSPACENPPNL

PSPACE ≠ NL

NLPSPACE

Space is powerful and/or cheap.

Page 104: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Conjectures, biology• Memory potential • Examples

– Insects– Scrub jays– Autistic Savants

Gallistel and King

• But why so rare and/or accidental?• Large memory, computation of limited value?• Selection favors fast robust action? • Brains are distributed (not studied by Gallistel)

Page 105: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Essentials:0. Model1. Universal laws2. Universal architecture3. Practical implementation

….0. Model

0. Model0. Model1. Universal laws2. Universal architecture3. Practical implementation

But there are always hidden assumptions…

0. Model1. Universal laws2. Universal architecture3. Practical implementation

Page 106: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Software

Hardware

DigitalAnalog

0. Analog components 1. 2. 3.

0. Digital components + algorithms

1. Undecidability2. Universal TM

0. Software1. Undecidability2. OS + Apps

Page 107: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Control, OR

CommsCompute

Physics

Shannon

Bode

Turing

Gödel

EinsteinHeisenberg

Carnot

Boltzmann

Theory?Deep, but fragmented, incoherent, incomplete

Nash

Von Neumann

Page 108: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Control, OR

Compute

Bode

Turing

Delay and risk are most important

• Worst-case (“risk”)• Time complexity (delay)

• Worst-case (“risk”)• Delay severely degrades

robust performance

Computation for control• Off-line design• On-line implementation• Learning and adaptation

Page 109: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Control, OR

CommunicateCompute

Physics

Shannon

Bode

Turing

Einstein

Heisenberg

Carnot

Boltzmann

Delay and risk are

most important

Delay and risk are

least important

Page 110: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Communicate

Physics

Shannon

Einstein

Heisenberg

Carnot

Boltzmann

Dominates “high

impactscience” literature

• Average case (risk neutral)• Random ensembles• Asymptotic (infinite delay)

• Space complexity

Page 111: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Control, OR

CommunicateCompute

Physics

Shannon

Bode

Turing

Delay and risk are

most important

Delay and risk are

least important

New progress!

Page 112: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Modern Turing tradeoffs: PC, smartphone, router, etc

AppsOSHW

DigitalLumpedDistrib.

OSHW

DigitalLumpedDistrib.

DigitalLumpedDistrib.

LumpedDistrib. Distrib.

Fast

Slow

Flexible Inflexible

Accident or necessity?

General Special

Page 113: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

AppsOSHW

DigitalLumpedDistrib.

OSHW

DigitalLumpedDistrib.

DigitalLumpedDistrib.

LumpedDistrib. Distrib.

Fast

Slow

Flexible Inflexible

General Special

What does this cartoon mean?

Page 114: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fast

Slow

Flexible Inflexible

General Special

There are tradeoffs

Page 115: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

AppsOSHW

DigitalLumpedDistrib.

Fast

Slow Software

Hardware

DigitalAnalog

Apps

OS

Speed depends on implementation

Page 116: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

AppsOSHW

DigitalAnalog

Software

Hardware

DigitalAnalog

Apps

OS

HWDigitalAnalog

…Lumped analogDistrib. analog

Every layer needs all layers below

Page 117: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

AppsOSHW

DigitalAnalog

HWDigitalAnalog

…Lumped analogDistrib. analog

Networks permit heterogeneity in # and kind of layers

Device 1 Device 2

Device 3

We completely understand

this but don’t explain it well.

Page 118: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Software

Hardware

DigitalAnalog

Apps

OS

AppsOSHW

DigitalLumpedDistrib.

OSHW

DigitalLumpedDistrib.

DigitalLumpedDistrib.

LumpedDistrib. Distrib.

Flexible InflexibleGeneral Special

Flexibility depends on implementation

Page 119: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

AppsOSHW

DigitalLumpedDistrib.

OSHW

DigitalLumpedDistrib.

DigitalLumpedDistrib.

LumpedDistrib. Distrib.

Fast

Slow

Flexible Inflexible

General Special

Simplify/compress the cartoon (there is no standard notation)

Page 120: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

AppsOSHW

DigitalLumpedDistrib.

OSHW

DigitalLumpedDistrib.

DigitalLumpedDistrib.

LumpedDistrib. Distrib.

Fast

Slow

Flexible Inflexible

General Special

Software

Hardware

DigitalAnalog

Simplify/compress the cartoon (there is no standard notation)

Page 121: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Software

Hardware

DigitalAnalog

Flexible/ Adaptable/Evolvable

Horizontal App

Transfer

Depends crucially on

layered architecture

AppsOS

HW

Digital

Lumped

Distrib.

OSHW

Digital

Lumped

Distrib.

DigitalLumped

Distrib.

LumpedDistrib. Distrib.Fast

Slow

Flexible Inflexible

Page 122: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

SensoryMotor

Prefrontal

Striatum

Reflex

Learning

Catabolism

AA

RNA

transl.Proteins

xRNA transc.Precursors

Nucl.AA

DNARepl.Gene

ATP

ATPRibosome

RNAp

DNAp

Software

Hardware

DigitalAnalog

Flexible/ Adaptable/Evolvable

Horizontal Gene

Transfer

Horizontal App

Transfer

Horizontal Meme

Transfer

Depends crucially on

layered architecture

Page 123: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

.01

1

delaysec/m

C

20 m

.2 m

2 s/m

.008 s/m

.1

Axon size and

speed

area

.1 1 10diam(m)

.01 1 100

Page 124: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

.01

1

delaysec/m

C

.1

AγAδ

area

.1 1 10diam(m)

.01 1 100

Page 125: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

delaysec/m

.01

1

.1 myelinated

unmyelinated

area

.1 1 10diam(m)

.01 1 100

Axon size and speed

Page 126: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

2marea

delaysec/m

.01

1

.1 1 10diam(m)

.110 m

.1 m

1 m

myelinated

.01 1 100

myelin

Page 127: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

delaysec/m

.01

1

.1

area

.1 1 10diam(m)

.01 1 100

Retinal ganglion axons?

Other myelinated

Why such extreme diversity in delay and size?

VOR

Why no diversity in VOR?

Page 128: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

What about noise?

Page 129: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Practically everythingdelay

low

high

errorlow high

Page 130: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

delay

low

high

errorlow high

?2

delay

?2

noise

Page 131: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

.01

1

delaysec/m

20 m

.2 m

2 s/m

.008 s/m

.1

area

.1 1 10diam(m)

.01 1 100

120 m/s

.5 m/s 2.03 m

2300 m

250 delay

410 area

speed costs

40 x bandwidth

Need to check x

Page 132: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

.01

1

delaysec/m

.1

area

.1 1 10diam(m)

.01 1 100

250 delay

410 area

speed costs

40 x bandwidth

Need to check x

Page 133: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

.01

1

delaysec/m

.1

area

.1 1 10diam(m)

.01 1 100

250 delay

410 area

speed costs

40 x bandwidth

Need to check x

Idea seems right, but details might not be…

Page 134: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

.01 1 100area

2

/16 m sm

2

/.4 m sm

2 2

bw speedm m

.01

1

.1 1 10diam(m)

.1delayaxon

Max Mutual Info

Page 135: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Communicate

Physics

delay and

perfect parts

B&Wvision

e=d-u

slow

delay

brains

1e5-1e8 kT J/bit(Laughlin)

1 kT J/bit(Landauer)

Page 136: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

delayaxon

.01

1

.1

» 1 kT J/bit

» 1e5-1e8 kT J/bit

Theory

Biology

Better theory?

Page 137: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Budd JML et al. (2010)Neocortical Axon Arbors Trade-off Material and Conduction Delay Conservation. PLoS Comput Biol 6(3): e1000711. doi:10.1371/journal.pcbi.1000711

Page 138: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

.01

1

.1

.01 1 1002area d

1delay d

periphery, reflex

centrally, reflect

AppsOS

HW

Digital

Lumped

Distrib.

OSHW

Digital

Lumped

Distrib.

DigitalLumped

Distrib.

LumpedDistrib.

HGT DNA repair

Mutation DNA replication

TranscriptionMetabolism

Signal…

VOR

Slow

Fast

Flexible Inflexible

General Special

visionSystem

tradeoffs

component tradeoffs

network tradeoffs?

Yorie Nakahira

Page 139: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fast

Cheap

Random

Axon geometry?delay

wire costmin

min

(cartoon version)

Page 140: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fast

Cheap

Random

actual

Axon geometry?delay

wire costmin

min

Page 141: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Fast

Cheap

Random

actual

Axon geometry?

delay

wire costmin

min

synchro

Page 142: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

ideally

delayperfect synchro

wiring

Page 143: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

wiring

delaysynchro

sweet spot

delaysynchro

wiring

Page 144: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

wiring

delaysynchro

sweet spot

Page 145: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Universal laws (constraints)

Well known from physics and chemistry:• Classical: gravity, energy, carbon,…• Modern: speed of light, “Heisenberg”, …

Not so much:• Robustness

– Critical to study of complex systems– Unknown outside narrow technical disciplines– Theorems, not mere metaphors

Page 146: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Control, OR

CommsCompute

Physics

Shannon

Bode

Turing

Gödel

EinsteinHeisenberg

Carnot

Boltzmann

Theory?Deep, but fragmented, incoherent, incomplete

Nash

Von Neumann

Page 147: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Control, OR

Compute

Bode

Turing

Delay and risk are most important

• Worst-case (“risk”)• Time complexity (delay)

• Worst-case (“risk”)• Delay severely degrades

robust performance

Computation for control• Off-line design• On-line implementation• Learning and adaptation

Page 148: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Control, OR

CommunicateCompute

Physics

Shannon

Bode

Turing

Einstein

Heisenberg

Carnot

Boltzmann

Delay and risk are

most important

Delay and risk are

least important

Page 149: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Communicate

Physics

Shannon

Einstein

Heisenberg

Carnot

Boltzmann

Dominates “high

impactscience” literature

• Average case (risk neutral)• Random ensembles• Asymptotic (infinite delay)

• Space complexity

Page 150: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Control, OR

CommunicateCompute

Physics

Shannon

Bode

Turing

Delay and risk are

most important

Delay and risk are

least important

New progress!

Page 151: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Control, OR

CommunicateCompute

Physics

Delay and risk are

most important

Delay and risk are

least important

New progress!

Martins (UMD)Rotkowitz (UMD)

Sarma (JHU)

Page 152: Universal  laws  and  architectures : Theory and lessons from brains, bugs, nets, grids,

Slow

Flexible

vision

eye vision

Actslow

delay

Fast

Inflexible

VOR

fast

B&W (luminence only):3D, motion, and action

3D + motion