la-ur-03-8665 approved for public release; distribution is unlimited title: sequential dynamical...

48
LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based Computing Author: Madhav M. Marathe Submitted to: IMA, Minneapolis, MN Los Alamos National Laboratory Los Alamos National Laboratory, an affirmative action/equal opportunity employer, is operated by the University of California for the U.S. Department of Energy under contract W-7405-ENG-36. By acceptance of this article, the publisher recognizes that the U.S. Government retains a nonexclusive, royalty-free license to publish or reproduce the published form of this contribution, or to allow others to do so, for U.S. Government purposes. Los Alamos National Laboratory request that the publisher identify this article as work performed under the auspices of the U.S. Department of Energy. Los Alamos National Laboratory strongly supports academic freedom and a researcher’s right to publish; as an institution, however, the Laboratory does not endorse the viewpoint of a publication or guarantee its technical correctness. Form 836(8/00)

Upload: bryan-sanders

Post on 13-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

LA-UR-03-8665Approved for public release; distribution is unlimited

Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based Computing

Author: Madhav M. Marathe

Submitted to: IMA, Minneapolis, MN

Los Alamos National Laboratory

Los Alamos National Laboratory, an affirmative action/equal opportunity employer, is operated by the University of California for the U.S. Department of Energy under contract W-7405-ENG-36. By acceptance of this article, the publisher recognizes that the U.S. Government retains a nonexclusive, royalty-free license to publish or reproduce the published form of this contribution, or to allow others to do so, for U.S. Government purposes. Los Alamos National Laboratory request that the publisher identify this article as work performed under the auspices of the U.S. Department of Energy. Los Alamos National Laboratory strongly supports academic freedom and a researcher’s right to publish; as an institution, however, the Laboratory does not endorse the viewpoint of a publication or guarantee its technical correctness.

Form 836(8/00)

Page 2: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Sequential Dynamical Systems, Socio-Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Technical Simulations and Interaction

Based ComputingBased Computing

Madhav V. MaratheBasic and Applied Simulation Science (CCS-5)

Los Alamos National [email protected]

Joint work with: H.B. Hunt III, S.S. Ravi, D.J. Rosenkrantz and R.E. Stearns (SUNY-Albany)

and group members in CCS-5

Page 3: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Urban Infrastructure Suite: Interdependent Infrastructure Simulations

Page 4: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Sequential Dynamical Systems (SDS)

nor3(x1,x2,x3) = (x1 x2 x3),

–Local functions (e.g. Boolean): correspond to agent or entity decision rules.

–Dependency graph: represents inter-agent communication capabilities.

–Partial orders (permutation): capture the update order of agent updates

GraphGraph

Phase space Phase space withwith

Л= Л= (1,2,3,4)(1,2,3,4)

Phase space withPhase space with

Л= (1,3,2,4)Л= (1,3,2,4)

Page 5: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Why Computational SDS (cSDS)

• Motivation:

– Size: 107 travelers, 109 nodes, 109 transceivers & 1012pkts/hr

• Efficiently scalable on HPC. Usual agent based concepts do not

scale

– Composed of smaller heterogeneous, inter-operable simulations

– Need to formalize simulation methods (esp. ST simulations)

• cSDS: Enabling Idea-- local functions can be viewed procedurally

– Computational cost and semantics of implementing simulations

– A formal framework for design, analysis and specifications of socio-

technical simulations

– A bridge between a mathematical theory of simulation and HPC algorithm design and implementation

Page 6: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Examples: CA Based Simulation of Roadway Traffic

7.5 meter 1 lane cellularautomaton grid cells

intersection with multipleturn buffers (not internallydivided into grid cells)

single-cell vehicle

multiple-cell vehicle

Page 7: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

ResultsComputational Complexity and

Tractability

Page 8: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Modeling & Computational Power of SDS

• Simple SDS are Universal Computing devices

– SDS as formal systems encompass such models as Hopfield networks, cellular automata, communicating finite state machines, etc

– capable of simulating Turing machines for all “natural” complexity classes

• Are simulations optional : NO ( often no shorter computation possible)

• Simple interactions with simple local functions are intractable (Global algorithms are intractable: e.g. Reachability)

Page 9: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Example: REACHABILITY Problem (RP)

• REACHABILITY Problem : Starting from a configuration P can SDS S reach

a configuration T in less than r steps ?

• Dichotomy based on local functionsDichotomy based on local functions

– RP for SDS is PSPACE-hard when

• all nodes have identical symmetric Boolean function

• A fixed permutation is used to update the local states

• graph is constant degree & bandwidth bounded (fixed radius size)

– RPT for SDSs is in P when each local function is

• Boolean Symmetric and Monotone (threshold):

• individual nodes need no have same local function.

• Ordering need not be strict so far as it is fair

• Interaction graph can be arbitrary

– Corollary:Transient lengths < O(# of edges), no limit cycles > 1 threshold

SDS

Page 10: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Basic Technique: Local Simulations

SS

SS11

Local Transformation of the interaction Local Transformation of the interaction graphgraph

•Structure Preserving Local Transformations

• Very Efficient and Distributed

•Phase Space of S is embedded in the phase space of S1

c & F (c): configurations of Sc & F (c): configurations of S

c’ & F(c’): configurations of Sc’ & F(c’): configurations of S11

Each node replaced by a Each node replaced by a constant # of nodesconstant # of nodes

Page 11: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Local Inter-simulations: SDS Compliers

SynchronousSynchronous

Finite arityFinite arity

Simple pathSimple path

SynchronousSynchronous

Boolean SymmetricBoolean Symmetric

Bandwidth boundedBandwidth bounded

SequentialSequential

Boolean SymmetricBoolean Symmetric

Bandwidth boundedBandwidth bounded

SequentialSequential

Boolean SymmetricBoolean Symmetric

Identical functionsIdentical functions

Bounded degreeBounded degree

Bandwidth boundedBandwidth bounded

DeterministicDeterministic

Space BoundedSpace Bounded

LBALBA

Page 12: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Results

Parametric Local Algorithms

Example: Local Provable Algorithm for

Contention Resolution at MAC layer

Page 13: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Distance-2 Interference in 802.11

• Two way transmission needed in 802.11

• s to t transmission received at x y cannot transmit

• w to a transmission received at t w cannot transmit

• No transmission on edges within distance-2 of (s,t) in interference graph

Page 14: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Network Capacity: Distance-2 Matching

Transceivers on a plane with identical power levels: capacity of this network is 2

Red edges are not within distance 2. Similarly nodes a and f are not within distance 2.

Page 15: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Network Capacity and MAC layer scheduling

• Efficient provable methods for computing the instantaneous media-

access layer capacity of ad-hoc networks

– Concentration results for computing capacity in Erdos Renyi

random graphs and geometric random graphs.

– Alternative proof of network capacity

• Distributed provable protocols for MAC layer scheduling

– Extension to MAC-aware routing protocols (designing unified

protocols for routing and scheduling)

Theorem: A local algorithm running in O(log n) rounds can compute a

constant factor approximation for the disance-2 matching in a unit

disk graph

Page 16: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Distributed vs Sequential Algorithm: Performance Comparison

• Large fraction of edges selected in the first few roundsLarge fraction of edges selected in the first few rounds

• Size of matching is within 4 times the optimalSize of matching is within 4 times the optimal

• Number of rounds required is quite smallNumber of rounds required is quite small

Page 17: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Network Capacity and Topology

• MAC layer capacity critically depends on topology

• Protocols need to be optimized for specific topologies

Page 18: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

ILLUSTRATIONAdHopNet: Simulation Based

Analytical Tool for 3G+ Telecommunication Networks

Page 19: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Urban Infrastructure Suite: Interdependent Infrastructure Simulations

Page 20: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Schematic of a Hybrid Communication Network

System MobilityUPMoST Technology

Radio Packet Network:SORSRER

Wireline/BasestationNetwork

Satellite Network

Page 21: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Functional Design of AdHopNet

Device Generator

Session Generator

PacketSimulator

TopologicalGraph Module

UPMoST Module

UPMoST Entities

Filter

UPMoSTData File

Survey Data

DeviceMobility

Device Data

Device Data

PolygonDefinitionsOptional

Device Status

Session File

Graph File

Packet Stream

Packet Data

ANALYSIS

Survey Data

Topography Data

Occlusion Data

Graph Data

Packet Twist

PacketDuplication

NetworkDynamics QoS

RESTORED

NetworkAnalysis

DynamicsAnalysis

Vulnerability Analysis

Packet Stream

Packet Data

Graph Data

LARGE-SCALE ANALYSIS AND MEASUREMENTS

AdHopNet

UPMoST

Page 22: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

QuickTime™ and a Cinepak decompressor are needed to see this picture.

Page 23: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Module 1: Device Assignment

Cell phone/PDA

Page 24: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Activity variation in time

QuickTime™ and a Cinepak decompressor are needed to see this picture.

Page 25: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Mobile Entities Colored by Age

Page 26: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Module 2: Session Generation

John DoeJohn Doe

•In carIn car

•Age = 34Age = 34

•Income > $26kIncome > $26k

Jane SmithJane Smith

•At WorkAt Work

•Age = 57Age = 57

•Income > $100kIncome > $100k

Video stream, 14.5 kbps, 3.48 minutes

Page 27: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Cell Assignment

Coverage region

Base Station

Page 28: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Locations at which devices begin active sessions

Page 29: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Connections between devices

Page 30: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Active connections in each cell (BTS load)

Page 31: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Handoffs per second per cell

Page 32: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Module 3: Dynamic Construction of (interaction) Network

Timestep: 200

Transceiver connectivity at an instant in time after executing MAC layer protocol.

radio range

radioOcclusionNo No connection

Page 33: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Enlarged view of the focused area

Page 34: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Simulated Cars using TRANSIMS

QuickTime™ and a Cinepak decompressor are needed to see this picture.

Page 35: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Dynamic Ad-hoc Network of Transceivers on Cars

Page 36: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Ad-hoc Network as broadcast radius increases

Page 37: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Variation in Clustering Coefficient (CC) with Node degree in TRANSIMS and Random Way Point Generated Networks

Mobility Models Matters for Ad-hoc NetworksMobility Models Matters for Ad-hoc Networks

Page 38: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Mobility Models Matter: Degree Distributions

SD: Structured DistributionSD: Structured Distribution

RD: Random DistributionRD: Random Distribution

Page 39: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Mobility Affects Protocol Performance: Packet Delivery Success Rate

Page 40: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Module 4: Packet Simulator

• Connecting in and out-channels in a network of three transceivers. Left: Network

- Middle: Channel connections.

• Internal functions f1, f2 and f3.

• Each function is a composition of functions representing the MAC layer, the

routing layer and the transport layer.

• Resulting function: f3 o f2 o f1

Page 41: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Parametric Routing and Scheduling in AdHopNETF

lood

ing

Des

tinat

ionA

ttra

ctor

Dire

cted

Tra

nsm

issi

on

Page 42: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

RESTORED: Receiver Oriented Stochastic Re-generation of Data

Module 5: RESTORED: Constructing Smaller Monte-Carlo Simulations

kk

kkk

kkk

tj

iij

arctan

1

0

1

(index distortion)

(time and index distortion)

(phase angle)

Packets sent at rate 1/0, ik is index of kth packet arriving at destination

Page 43: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Unified view of Computing and Simulations

Page 44: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

A Unified view of Computing and ST systems: Interaction based Representation

Page 45: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Natural Questions with this perspective

• Algorithmic Semantics: What are we computing ? Traditional View: How to

compute

– What does a market Compute ?

– What are the semantics of TCP ?

• Computational Complexity: How hard is it to compute/design global system

properties

– Who will be sick after 5 days of an epidemic

– How can we design local functions so that a given algorithmic semantic

is implemented

• HPC Implementation: How can we implement our abstraction efficiently

(distributed algorithms)

– Paralel (parametric, approximate, local, efficient) Algorithms

Page 46: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

A Unified theory of Computing and Simulations ?

• Unified approach for the entire spectrum of computing

– Nanoscale computing to Grid Computing

– Next generation computing systems are formally speaking simulations

• Unified approach for specifying and analyzing large scale socio-technical

simulations

• (Prof. Abramsky):There is a unified science of information embracing both

``artificial'' and ``natural'' computation

Modified Thesis: There is a unified science of computing and simulations

Page 47: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Summary

• First Steps in a Computational theory of SDS (and Simulations)

– Computational Complexity

– Designing Efficient HPC capable local algorithms

– Algorthmic Semantics & Formal Specifications of Simulations

• SDS and their generalizations can be used to design, specify and

analyze the socio-technical simulations that such as AdHopNET

• Open Questions:

– Complexity of REACHABILITY problem for NOR SDS

• Is NOR Universal local function ? Conjecture: PSPACE-hard.

– Complete Characterization of complexity of Predecessor

existence Dichotomy result

Page 48: LA-UR-03-8665 Approved for public release; distribution is unlimited Title: Sequential Dynamical Systems, Socio-Technical Simulations and Interaction Based

Interdependent Infrastructure and Social Systems: Interdependent Infrastructure and Social Systems:

Transport NetworkTransport Network

Wireless Ad-hoc Network

Social Contact Network

Portland Power Grid