Universal laws (and architectures): networks, bugs, brains, dance, art, music, literature, fashion John Doyle John G Braun Professor Control and Dynamical.

Slides:



Advertisements
Similar presentations
New Directions for DARPA ISAT Ad Hoc Working Group on DARPA Futures Initial Draft: July Update: July x 2 Beyond Strategic Computing:
Advertisements

U Computer Systems Research: Past and Future u Butler Lampson u People have been inventing new ideas in computer systems for nearly four decades, usually.
Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 9 Fundamentals.
Hidden Metric Spaces and Navigability of Complex Networks
Chapter 7 The Nervous System.
1 Integrity Service Excellence Complex Information Systems 19 Mar 13 Robert J. Bonneau, Ph.D. AFOSR/RTC.
Universal laws and architecture: Foundations for Sustainable Infrastructure John Doyle John G Braun Professor Control and Dynamical Systems, EE, BE Caltech.
CSE 534 Fundamentals of Computer Networks Lecture 4: Bridging (From Hub to Switch by Way of Tree) Based on slides from D. Choffnes Northeastern U. Revised.
CS 4700 / CS 5700 Network Fundamentals Lecture 7: Bridging (From Hub to Switch by Way of Tree) Revised 1/14/13.
Great work built on weak foundation (science) Hope I can learn and help (shake things up) The problem of Fractal Wrongness.
John Doyle Control and Dynamical Systems, EE, BioE Caltech
Proposed Unified “ility” Definition Framework Andrew Long
Sponsored by the U.S. Department of Defense © 2005 by Carnegie Mellon University 1 Pittsburgh, PA Dennis Smith, David Carney and Ed Morris DEAS.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture.
John Doyle 道陽 Jean-Lou Chameau Professor Control and Dynamical Systems, EE, & BioE tech 1 # Ca Universal laws and architectures: Theory and lessons from.
1 Sensor Networks and Networked Societies of Artifacts Jose Rolim University of Geneva.
Principles of Biology By Frank H. Osborne, Ph. D. Nervous System.
Triangulation of network metaphors The Royal Netherlands Academy of Arts and Sciences Iina Hellsten & Andrea Scharnhorst Networked Research and Digital.
Evaluating Architectures Quality control: rarely fun, but always necessary
Architectural Design Establishing the overall structure of a software system Objectives To introduce architectural design and to discuss its importance.
On The Hidden Nature of Complex Systems Macro Trends, Architecture, Nets, Grids, Bugs, Brains, and the Meaning of Life David Meyer CTO and Chief Scientist,
Software Quality SEII-Lecture 15
| HEIDI HENNINGER Atlantic Offshore Lobstermen’s Assn. OLRAC – North.
Universal laws and architectures: Theory and lessons from nets, grids, brains, bugs, planes, docs, fire, fashion, art, turbulence, music, buildings, cities,
Exploring the Intersection of Theory and Engineering: Universal Laws, Architecture, and SDN John Doyle and David Meyer SIGCOMM October 2014 Chicago,
John Doyle 道陽 Jean-Lou Chameau Professor Control and Dynamical Systems, EE, & BioE tech 1 # Ca Universal laws and architectures: Theory and lessons from.
John Doyle 道陽 Jean-Lou Chameau Professor Control and Dynamical Systems, EE, & BioE tech 1 # Ca Universal laws and architectures: Theory and lessons from.
Complexity and Fragility? John Doyle Control and Dynamical Systems BioEngineering Electrical Engineering Caltech with Prajna, Papachristodoulou, and Parrilo.
College of Engineering and Computer Science Computer Science Department CSC 131 Computer Software Engineering Fall 2006 Lecture # 1 (Ch. 1, 2, & 3)
CSE 303 – Software Design and Architecture
1 Software Quality CIS 375 Bruce R. Maxim UM-Dearborn.
Universal laws and architecture: Challenges for Sustainable Infrastructure John Doyle John G Braun Professor Control and Dynamical Systems, EE, BioE Caltech.
Software Software is omnipresent in the lives of billions of human beings. Software is an important component of the emerging knowledge based service.
Computer Science Open Research Questions Adversary models –Define/Formalize adversary models Need to incorporate characteristics of new technologies and.
Happy Network Administrators  Happy Packets  Happy Users WIRED Position Statement Aman Shaikh AT&T Labs – Research October 16,
On The Hidden Nature of Complex Systems Tradeoffs, Architecture, Nets, Grids, Bugs, Brains, and the Meaning of Life David Meyer CTO and Chief Scientist,
BitTorrent enabled Ad Hoc Group 1  Garvit Singh( )  Nitin Sharma( )  Aashna Goyal( )  Radhika Medury( )
Slow flexible fast inflexible waste efficient fragile robust.
Other Quality Attributes Other Important Quality attributes Variability: a special form of modifiability. The ability of a system and its supporting artifacts.
WARM UP 4/12 1. Write down any parts of the brain you know (ex:cerebrum) 2. Write down 3 other facts you know about the brain 3. Write down 3 things you.
Introduction to Complexity Science Engineered Complexity.
Software Testing and Quality Assurance Software Quality Assurance 1.
1 Panel on New Air Traffic Control and Management Technology February 23, 2007 The Potential and Realities of Research in Air Traffic Management Harry.
John Doyle 道陽 Jean-Lou Chameau Professor Control and Dynamical Systems, EE, & BioE tech 1 # Ca Universal laws and architectures: Theory and lessons from.
Essentials of Anatomy and Physiology Fifth edition Seeley, Stephens and Tate Slide 2.1 Copyright © 2003 Pearson Education, Inc. publishing as Benjamin.
CS551 - Lecture 5 1 CS551 Lecture 5: Quality Attributes Yugi Lee FH #555 (816)
When concepts fail, words arise Faust, Goethe Mephistopheles. …Enter the templed hall of Certainty. Student. Yet in each word some concept there must be.
Chap 18 The Genetics of Viruses and Bacteria. Structure of Virus Approximately 20 nm in diameter Their genome can contain DNA or RNA. Enclosed by a.
Chapter 10 Software quality. This chapter discusses n Some important properties we want our system to have, specifically correctness and maintainability.
Multi-cellular paradigm The molecular level can support self- replication (and self- repair). But we also need cells that can be designed to fit the specific.
RNA level/ Transcription rate form/activity Enzyme level/ Translation rate Enzyme form/activity Reaction rate Proteins RNAs DNAs level form/activity rate.
SDN challenges Deployment challenges
Non-functional requirements as Gordian knot
Rekayasa Perangkat Lunak Part-10
Rekayasa Perangkat Lunak
Fat tails, hard limits, thin layers John Doyle, Caltech
CS 4700 / CS 5700 Network Fundamentals
Universal laws and architectures:
Rekayasa Perangkat Lunak
Quantum Engineering & Control
Software Connectors – A Taxonomy Approach
Software Defined Networking (SDN)
Charakteristiky kvality
CS 4700 / CS 5700 Network Fundamentals
Umhhh…. I have some questions…
Overview of Networking
ISO/IEC Systems and software Quality Requirements and Evaluation
Research Software Group
Presentation transcript:

Universal laws (and architectures): networks, bugs, brains, dance, art, music, literature, fashion John Doyle John G Braun Professor Control and Dynamical Systems, EE, & BioE C a # l t e c h and zombies

accessible accountable accurate adaptable administrable affordable auditable autonomy available credible process capable compatible composable configurable correctness customizable debugable degradable determinable demonstrable dependable deployable discoverable distributable durable effective efficient evolvable extensible fail transparent fast fault-tolerant fidelity flexible inspectable installable Integrity interchangeable interoperable learnable maintainable manageable mobile modifiable modular nomadic operable orthogonality portable precision predictable producible provable recoverable relevant reliable repeatable reproducible resilient responsive reusable robust safety scalable seamless self-sustainable serviceable supportable securable simplicity stable standards compliant survivable sustainable tailorable testable timely traceable ubiquitous understandable upgradable usable Requirements on systems and architectures

accessible accountable accurate adaptable administrable affordable auditable autonomy available credible process capable compatible composable configurable correctness customizable debugable degradable determinable demonstrable dependable deployable discoverable distributable durable effective efficient evolvable extensible fail transparent fast fault-tolerant fidelity flexible inspectable installable Integrity interchangeable interoperable learnable maintainable manageable mobile modifiable modular nomadic operable orthogonality portable precision predictable producible provable recoverable relevant reliable repeatable reproducible resilient responsive reusable robust safety scalable seamless self-sustainable serviceable supportable securable simplicity stable standards compliant survivable sustainable tailorable testable timely traceable ubiquitous understandable upgradable usable Requirements on systems and architectures When concepts fail, words arise. Mephistopheles, Faust, Goethe Mephistopheles. …Enter the templed hall of Certainty. Student. Yet in each word some concept there must be. Mephistopheles. Quite true! But don't torment yourself too anxiously; For at the point where concepts fail, At the right time a word is thrust in there… Mephistopheles. …Enter the templed hall of Certainty. Student. Yet in each word some concept there must be. Mephistopheles. Quite true! But don't torment yourself too anxiously; For at the point where concepts fail, At the right time a word is thrust in there…

When concepts fail, words arise. Mephistopheles, Faust, Goethe Mephistopheles. …Enter the templed hall of Certainty. Student. Yet in each word some concept there must be. Mephistopheles. Quite true! But don't torment yourself too anxiously; For at the point where concepts fail, At the right time a word is thrust in there… Concrete case studies Theorems

Neuroscience Tech nets Cell biology Medical physiology Smartgrid, cyber-phys Wildfire ecology Earthquakes Lots of aerospace Physics: –turbulence, –stat mech (QM?) “Toy”: –Lego –clothing, fashion Buildings, cities Synesthesia Case studies

Neuroscience Tech nets Cell biology Medical physiology Smartgrid, cyber-phys Wildfire ecology Earthquakes Lots of aerospace Physics: –turbulence, –stat mech (QM?) “Toy”: –Lego –clothing, fashion Buildings, cities Synesthesia Case studies

Cloth Thread Fiber Diverse Garments Xform Diverse outfits Constraints that deconstrain Protocols The layered architecture of clothing

This paper aims to bridge progress in neuroscience involving sophisticated quantitative analysis of behavior, including the use of robust control, with other relevant conceptual and theoretical frameworks from systems engineering, systems biology, and mathematics. Doyle, Csete, Proc Nat Acad Sci USA, JULY Most accessible No math

Architecture case studies comparison BacteriaInternetBrain Understood? By scientists? Live demos?!? Who cares? Design quality?    Math? 

Fast Slow Flexible Inflexible VOR d = hand - vision d = head e=d-u Act u slow delay VOR fast vision Speed and flexibility tradeoffs Vestibular Ocular Reflex (VOR)

A handwaving explanation illustrating fundamental tradeoffs eye headhand vision eye Head and hand motion Compensating eye movement

eye head hand vision eye EasyHard Why? StillMove StillEasy MoveHardHardest Head Hand Accident or necessity?

d = disturbance = hand - vision error=d-u Act u u = eye position eye vision hand eye

d = hand - vision e=d-u Act u slow delay eye hand vision slow eye Hard

- vision d = head e=d-u Act u eye head vision eye

- vision d = head e=d-u Act u VOR fast Easy eye head vision eye fast

- d = head e=d-u Act u VOR fast Easy eye head eye fast Doesn’t depend on vision Works in the dark

- vision d = head e=d-u Act u VOR fast Easy eye head vision eye fast

d = hand - vision d = head e=d-u Act u slow delay VOR fast eye headhand vision eye slow fast

Standing and seeing 2 legs1 leg eyes openEasiestHarder eyes shutEasyHardest Why? Vision is important in balance?

eyes2 legs1 leg openEasiestHarder shutEasyHardest Fast Slow Flexible Inflexible VOR vision Better at low frequencies Better at high frequencies

Laws and architectures: lessons from VOR and vision Robust control –nested, diverse feedbacks –hidden, automatic, unconscious Speed vs flexibility tradeoffs (laws?) Good architectures manage tradeoffs Evolution: necessity vs accident? Universal?

efficient Fast Slow Flexible Inflexible Global Local (Overly) Simple dichotomous tradeoff pairs

accessible accountable accurate adaptable administrable affordable auditable autonomy available compatible composable configurable correctness customizable debugable degradable determinable demonstrable dependable deployable discoverable distributable durable effective evolvable extensible fail transparent fast fault-tolerant fidelity flexible inspectable installable Integrity interchangeable interoperable learnable maintainable manageable mobile modifiable modular nomadic operable orthogonality portable precision predictable producible provable recoverable relevant reliable repeatable reproducible resilient responsive reusable safety scalable seamless self-sustainable serviceable supportable securable simple stable standards survivable tailorable testable timely traceable ubiquitous understandable upgradable usable efficient robust sustainable Fast Slow Flexible Inflexible Global Local Simple dichotomous tradeoff pairs PCA  Principal Concept Analysis

Formalize architecture as constraints Good architecture = “constraints that deconstrain” (G&K) Most effective architectures are layered Constraints on system and components –System level function and uncertainty –Component level capability and uncertainty Laws, hard limits, tradeoffs Protocols (are the essence of constraints that deconstrain)

Slow Fast Flexible Inflexible Impossible Architecture Architecture (constraints that deconstrain) General Special Want fast, flexible, and general

Fast Slow Flexible Inflexible Speed and flexibility tradeoffs both vision VOR Combining controls

Fast Slow Flexible Inflexible both laws? (constraints) Speed and flexibility tradeoffs Accident or necessity? vision VOR

Sensing fast and slow Applies to vision and hearing? For action (fast, luminance) For “perception” (slow, includes color)

Stare at the intersection

This is pretty good.

Universal tradeoffs? Fast Slow Flexible Inflexible Learning Evolution

SensoryMotor Prefrontal Striatum Slow Flexible Slow Flexible Learning Ashby & Crossley Slow Reflex (Fastest, Least Flexible)

SensoryMotor Prefrontal Striatum Fast Inflexible Fast Inflexible Slow Flexible Slow Flexible Learning Reflex (Fastest, Least Flexible) Ashby & Crossley Learning can be very slow.

Sense Universal tradeoffs? Fast Slow Flexible Inflexible Motor Prefrontal Fast Learn Reflex Evolve Learning can be very slow. Evolution is even slower.

Sense Universal architectures Motor Prefrontal Fast Reflex Evolution on long timescales Learn Evolve Evolution on long timescales

accessible accountable accurate administrable affordable auditable autonomy available credible process capable compatible composable configurable correctness customizable debugable degradable determinable demonstrable dependable deployable discoverable distributable durable effective efficient extensible fail transparent fault-tolerant fidelity inspectable installable Integrity interchangeable interoperable learnable maintainable manageable mobile modifiable modular nomadic operable orthogonality portable precision predictable producible provable recoverable relevant repeatable reproducible responsive reusable safety scalable seamless self-sustainable serviceable supportable securable simplicity standards compliant survivable sustainable tailorable testable timely traceable ubiquitous understandable upgradable usable Many more dimensions robust resilient stable adaptable evolvable reliable flexible fast

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

Modern Turing tradeoffs: PC, smartphone, router, etc Apps OS HW Digital Lumped Distrib. OS HW Digital Lumped Distrib. Digital Lumped Distrib. Lumped Distrib. Fast Slow Flexible Inflexible Accident or necessity? General Special

SensoryMotor Prefrontal Striatum Reflex Learning Catabolism AA RN A transl. Proteins xRNA transc. Precursors Nucl. AA DNA Repl. Gene ATP Ribosome RNAp DNAp Software Hardware Digital Analog Flexible/ Adaptable/ Evolvable Horizontal Gene Transfer Horizontal App Transfer Horizontal Meme Transfer Depends crucially on layered architecture

Catabolism AA RN A transl. Proteins xRNA transc. Precursors Nucl. AA DNA Repl. Gene ATP Ribosome RNAp DNAp Horizontal Gene Transfer Sequence ~100 E Coli (not chosen randomly) ~ 4K genes per cell ~20K different genes in total ~ 1K universally shared genes ~ 300 essential (minimal) genes See slides on bacterial biosphere

Mechanisms in molecular biology Think of this as a “protocol stack” 0.HGT (Horizontal Gene Transfer) 1.DNA replication 2.DNA repair 3.Mutation 4.Transcription 5.Translation 6.Metabolism 7.Signal transduction 8.…

Think of this as a “protocol stack” 0.HGT 1.DNA replication 2.DNA repair 3.Mutation 4.Transcription 5.Translation 6.Metabolism 7.Signal transduction 8.… Highly controlled Control 1.0

Think of this as a “protocol stack” 0.HGT 1.DNA replication 2.DNA repair 3.Mutation 4.Transcription 5.Translation 6.Metabolism 7.Signal transduction 8.… Highly controlled Highly controlled ?!? Control 2.0

Apps OS HW Digital Lumped Distrib. OS HW Digital Lumped Distrib. Digital Lumped Distrib. Lumped Distrib. Fast Costly Slow Cheap Flexible Inflexible General Special HGT DNA replication DNA repair Mutation Transcription Translation Metabolism Signal…

Prosen- cephalon Telen- cephalon Rhinencephalon, Amygdala, Hippocampus, Neocortex, Basal ganglia, Lateral ventricles Dien- cephalon Epithalamus, Thalamus, Hypothalamus, Subthalamus, Pituitary gland, Pineal gland, Third ventricle Brain stem Mesen- cephalon Tectum, Cerebral peduncle, Pretectum, Mesencephalic duct Rhomb- encephalon Meten- cephalon Pons, Cerebellum Myelen- cephalon Medulla oblongata Spinal cord CNS HW “stack” Brain

Slow Fast Flexible Inflexible Undecidable Universal Turing Machine Architecture (constraints that deconstrain) General Special Laws and architectures (Turing, 1936) Turing

Fast Slow Flexible/ General Inflexible/ Specific UndecidableNPP hard limits Really slow Computational complexity Decidable

Flexible/ General Inflexible/ Specific NP P Decidable Computational complexity PSPACE  NP  P  NL PSPACE ≠ NL NL PSPACE Space is powerful and/or cheap.

Fast Slow Flexible/ General Inflexible/ Specific UndecidableNPP hard limits Really slow These are hard limits on the intrinsic computational complexity of problems. Decidable Must still seek algorithms that achieve the limits, and architectures that support this process.

Control, OR CommsCompute Physics Shannon Bode Turing Gödel Einstein Heisenberg Carnot Boltzmann Theory? Deep, but fragmented, incoherent, incomplete Nash Von Neumann

Control, OR CommunicateCompute Physics Shannon Bode Turing Einstein Heisenberg Carnot Boltzmann Delay and risk are most important Delay and risk are least important

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

Communicate Physics Shannon Einstein Heisenberg Carnot Boltzmann Delay and risk are least important Average case (risk neutral) Random ensembles Asymptotic (infinite delay) Space complexity

Control, OR CommunicateCompute Physics Shannon Bode Turing Delay and risk are most important Delay and risk are least important New progress!

Slow Fast Flexible Inflexible Impossible Architecture Architecture (constraints that deconstrain) General Special How general is this picture?

simple tech complex tech How general is this picture? wasteful fragile efficient robust Implications for human evolution? Cognition? Technology? Basic sciences?

Chandra, Buzi, and Doyle UG biochem, math, control theory Most important paper so far.

simple enzyme Fragility Enzyme amount complex enzyme Theorem! z and p functions of enzyme complexity and amount Savageaumics

Simple, but too fragile complex No tradeoff Hard tradeoff in glycolysis is robustness vs efficiency absent without autocatalysis too fragile with simple control plausibly robust with complex control expensive fragile

hard harder hardest! Easy to prove using simple models. What is sensed matters. Why?

This is a cartoon, but can be made precise. Fragility change length L change sense down

I recently found this paper, a rare example of exploring an explicit tradeoff between robustness and efficiency. This seems like an important paper but it is rarely cited.

1m1m Bacteria Phage

Multiply Survive Phage lifecycle Infect Lyse

slow fragile fast robust Survive Multiply thin small Good architectures? Hard limits? thick big Capsid Genome

Universal architectures What can go wrong?

Horizontal Bad Gene Transfer Horizontal Bad App Transfer Horizontal Bad Meme Transfer Parasites & Hijacking Fragility? Exploiting layered architecture Virus

Unfortunately, not intelligent design Ouch.

Why? left recurrent laryngeal nerve

Why? Building humans from fish parts. Fish parts

It could be worse.

Original design challenge? TCP/ IP Deconstrained (Hardware) Deconstrained (Applications) Constrained Expensive mainframes Trusted end systems Homogeneous Sender centric Unreliable comms Facilitated wild evolution Created whole new ecosystem completely opposite Networked OS

App IPC Global and direct access to physical address! DNS IP addresses interfaces (not nodes) caltech.edu?

App IPC Global and direct access to physical address! Robust? Secure Scalable Verifiable Evolvable Maintainable Designable … DNS IP addresses interfaces (not nodes)

Naming and addressing need to have scope and resolved within layer translated between layers not exposed outside of layer Related “issues” VPNs NATS Firewalls Multihoming Mobility Routing table size Overlays …

? Deconstrained (Hardware) Deconstrained (Applications) Next layered architectures Constrained Control, share, virtualize, and manage resources Comms Memory, storage Latency Processing Cyber-physical Few global variables Don’t cross layers

Every layer has different diverse graphs. Architecture is least graph topology. Architecture facilitates arbitrary graphs. Persistent errors and confusion (“network science”) Physical IP TCP Application