M2.1. Varieties of Concurrent System
Computer Science view of concurrent system
Communicating Sequential ProcessesCommonsense Concurrencyabstract math models
= everyday concurrent systemsProblem of scaling up mathematical techniques?doors, clocks, cricket bats, timetables
computers, electronic, electro-mechanical devices
fly-by-wire, the intelligent car or house
VR, customised environments for the disabled
computer-aided education, CACW
Harel: Biting the Siver BulletLotos, SDL, Petri Nets
expressive power + intelligibility vs. precise operational semantics
Motivation
practical techniques + theoretical principles
"everyday life" as concurrent system
CCS model
public commonly agreed semanticscf. everyday lifelogically sound predictions
behaviour of generic systems
subjectivelocated in the here and now
uncircumscribed and typically unpredictable
Key issues:
M2.2. Commonsense Concurrency
Dictionary definitions:
concurrent
running, coming, acting, or existing together
concurrence joint action, coincidence, assent
"Existing together" => an external observer
external observer
= mind in which system is concurrent= the creator of a concurrent system
Interpret fundamental notions in concurrent systems:
concurrency, agency, dependency, action, state
wrt interaction between a person-like agent & the world.
Empirical Modelling
... used to represent the external observer's conception of a concurrent system, as it evolves, typically incrementally, through experience of the system
representation via environment where observer uses perceptualisation to imitate the interactions in a concurrent system as currently understood
perceptualisation is typically visualisation:
visual metaphors, textual annotations, analogue representations
Use formal models where subjectivity, discretion over viewpoint,
discrimination of essential entities resolved
external observer = objective observer
when observables + agents are known to conform to the operational semantics of the model
Uses for Empirical Modelling?
in selection of observables and agents for closed-world
.... also has potential beyond formal models
e.g. specifying reactive, social, Virtual Reality systems
M2.3. Agency in Commonsense Concurrency
Agency = attributing state-change to its primary source
Commonplace in commonsense concurrency:
who's been eating my porridge?Single simple characterisation of agency??is there a doctor on board? etc
cf. interaction between agents ...
.... as represented by 4 concurrent system scenarios:
1. waterfall + birds singingWhat is agency? (1)
2. listening to string quartet
3. observing a meeting
4. using word-processor
1: waterfall + birds singing
no communication? nor causal connection?2: listening to string quartetgravity an agent in waterfall?
waterfall and birds as commonsense agents:
"that's the bird that makes a whooping sound"
"you can't hear it because of the waterfall"
beating of time = primary cause?variations from strict time etc
attribute to performers? or composer?effect of breaking of a string?
What is agency? (2)
3: observing a meeting
autonomous members, explicit communication4: using word-processorPrivate responses visible to external observer?
Status of the meeting as an agent?
current agenda item attribute of meetingstate-changes are prerogative of the meeting
word-processor as agent?its state changes only through my actions
BUT I may interact with it in an experimental modecan function erratically
sunlight falls on dust on the screenkeys may cease to respond
can serve a function beyond scope of designpresent a poem prettilygive me a headache
What is an agent?
Several meanings in dictionary definition:
agenta person or thing that acts or exerts power
any natural force acting on matter
one authorised or delegated to transact business for another
Mathematical / logical formalisation? cf Luck & d'Inverno
Empirical Modelling alternative principled (?) approach:
Agency is in the mind of the external observer
essentially empirical and subjective, shapedM2.4. Analysing Commonsense Concurrencyby the explanatory prejudices & requirements
by past experience of the system
Empirical Modelling
construct an artefact that reflects the external observer's conception of the concurrent system
typically computer-based
artefact metaphorically imitates states of the systemopen to exploration in the same mannerNB not necessarily a VR representationconceptual similarity not verisimilitude
cf. library database vs. a VR library.
Observation alone cf. cosmology
direct and directed intervention
"off-line" experiments
Also uses
legacy of off-line experimentsKey concepts in insight:
previous experience of similar systems
e.g. gravitational phenomena for cosmology.
observables, current state, dependency, agency
2.4.1. Observables and State
Observables environmental features with an identity
"The pigeon on the TV aerial on the house next door"Observables can be abstract
"That's the 9.15 London train arriving"
"What's the current flowing through this circuit?"
"This is tied with a reef knot"
Need experimental procedures to determine
whether they are currently accessible
and if so, to determine their current status
must have some degree of persistence, BUTtypically come and go out of presence / existence
commonsense object / entity = cluster of observables coincident wrt presence / existence
States of mind
presence of observables = "current state of mind"
State of mind like real-world location
can dwell at ("I'm concentrating on this at the moment")Continuity and change for a particular state of mindcan leave ("let's have a cup of coffee")
can return ("back to work now")
("I've corrected the spelling in the first paragraph")State change = a change to observable in state of mind
Further classification of observables via
can be directly ("instantly") apprehended?2.4.2. Agencyby the external observer?? agent as capable of or responsible for changing:by agents within the system?
Other agents as directly apprehending as in
forces on wheels of a carvoltage across a light bulb
status of the handbrakeIdentity, status and integrity of observables and agentsillumination in the room
all empirically determined, no absolute criteriacf. Kent's Data and Reality
Commonsense agency is attributing state change
often objects / entitiesGoal is scored"the centre-forward scored the goal"BUT which commonsense objects are agents?"the wind blew the window open"
by the referee, not the player?Also changes in mind of external observercf. Maradona - or the Hand of God?
? also need a ball, goal posts and a goal line
"I didn't use to like that, but I do now"Primitive observable can have agency"I should be looking at that this way"
"I was so pleased when I saw a tick against my answer"
Empirical Modelling position (cf commonsense view):
Our view of an agent is a function of
past system experience
knowledge
present context
3 views:
View 1: every observable or object is an agent, as is the external observer
any observable / object = potential cause, cue, trigger for action
Potential state changes <=> particular agent presentflag moves only if wind
train departs only if a stationmasterAlso stronger association ("I saw you do that")
Context for observation circumscribed
Agent existence and presence secure
Stimulus-response operation of agents reliable
behaviour of agents "=" behaviour of the system
In Empirical Modelling activity
tendency for View 1 --> View 3
View 1: agent concept is vacuously broad
View 3: agent-orientation redundant / impotent?
Empirical Modelling focuses on View 2
i.e. status of entities as agents uncertainView 1 --> View 2 :
does an entity influence state changes?View 3 --> View 2 :all eventualities considered / encountered?Exploration may lead to reclassification"I've never seen it do that before"
"I didn't know I could do that"
2.4.3. Interaction and Dependency
External observer = archetypal agent
directly experiences
novelty of action or shift in perspectiveSurprise?what it is to be surprised by an interaction
attributed each state change to the appropriate agency
... kings, princes, peasants ... so "Acts of God"lower expectations of reliable interaction
unpredictability and unreliability pervasive
... so not much View 3 agency?
So: capacity to be surprised <--> explanatory framework
Agency and Surprise
potentially many surprises for scientific reductionist
!! a Rolls Royce gives birth to a Mini?
agency = antidote to surprise
cf. "With God, all things are possible"Rationalist view:
agency is recourse when expectations confoundedAgent becomes View 3
i.e. an acknowledgment of ignorance
when its interactions incapable of surprise
cf. Paradox of Experiment
experiment
= activity where outcome uncertain
= activity where expectations clear
Typical interactions of two kinds:
confirming expectation + explorationapprehending agency =
first recognising extent of our influenceThis is an empirical classification of experience
then observing state change beyond our control
determining our influence over our environment
<--> identifying dependencies between observablescf. Dennet: "the basic method of obtaining self-knowledge ... about our own internal states, tendencies, decisions, strengths and weaknesses" : Do something and "look" to see what "moves"
Interaction for Identification of Self
A chimpanzee can readily learn to reach through a hole in the wall of its cage for bananas, guiding its arm movements by watching its own arm on a closed circuit TV camera mounted quite some distance from his arm ... a decidedly non-trivial bit of self-recognition, depending as it does on noticing the consonance of the seen arm movements on the screen with the unseen but intended arm movements.
being able to "Do something"cf. human-computer interaction in spreadsheet
perception of state-change
perception of identity ("look to see what moves")
memory and hence expectation
power to correlate action with what moves
Empirical Modelling and Agency
Development proceeds from
1-agent --> multi-agent systemsM2.5. Summary
1-agent system as spreadsheet set up and use
In commonsense concurrency and Empirical Modelling:
interaction is central to concurrent system concept
concurrency, agency, dependency, action, state
are defined empirically via interaction between a person-like intelligent agent and the world
M2.6. Concluding Remarks
Representation of commonsense concurrency cannot be satisfactorily addressed by traditional formal methods?
formal methods => closed worldscf. environments of Empirical Modelling
even if extensible, closed world => View 3 agents
View 1 + View 2 + View 3 co-exist
Empirical Modelling has a means for representationSolaris sometimes crashes
can still make discoveries in Unix