SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Downloaden Sie, um offline zu lesen
Probabilistic Modular Embedding
for Stochastic Coordinated Systems
Stefano Mariani, Andrea Omicini
{s.mariani, andrea.omicini}@unibo.it
Dipartimento di Informatica: Scienza e Ingegneria (DISI)
Alma Mater Studiorum—Universit`a di Bologna
COORDINATION2013 - Firenze, Italy, 3-5/6/2013
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 1 / 38
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 2 / 38
Motivations & Background
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 3 / 38
Motivations & Background
Comparing Languages Expressiveness
Understanding expressiveness of coordination languages is essential to deal
with interactions complexity [Wegner, 1997]
The notion of modular embedding [de Boer and Palamidessi, 1994] is
particularly effective in comparing the relative expressiveness of concurrent
languages
A new kind of systems
However, the emergence of systems featuring stochastic behaviours
[Omicini and Viroli, 2011] is asking for new techniques to observe, model
and measure their expressiveness.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 4 / 38
Motivations & Background
Shapiro’s Embedding
The informal definition of embedding assumes that a language could be
translated in another [Shapiro, 1991]:
Easily — “without the need for a global reorganisation of the program”
Equivalently — “without affecting the program’s observable behaviour”
Formally
Given two languages L, L , their program sets ProgL, ProgL , and the powersets of
their observable behaviours Obs, Obs , we assume that two observation criteria
Ψ, Ψ hold:
Ψ : ProgL → Obs Ψ : ProgL → Obs
Then, L embeds L (written L L ) iff there exist a compiler C : ProgL → ProgL
and a decoder D : Obs → Obs such that for every program W ∈ L
D(Ψ[C(W )]) = Ψ [W ]
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 5 / 38
Motivations & Background
Modular Embedding I
According to [de Boer and Palamidessi, 1994] such definition is too
weak, because any pair of Turing-complete languages would embed
each other
So they propose the definition of modular embedding1 (ME):
D can be defined independently for each of all the possible outcomes of
all the possible computations:
∀O ∈ Obs : D(O) = {d(o) | o ∈ O} (for some d)
In a concurrent setting it is reasonable to require compositionality of
the compiler C:
C(A || B) = C(A) || C(B) , C(A + B) = C(A) + C(B)
for every pair of programs A, B ∈ L .
Deadlocks should be considered and preserved by decoder D:
∀O ∈ Obs, ∀o ∈ O : tm (Dd(o)) = tm(o)
where tm and tm are L and L termination modes.
1
We stick with symbol since we assume this definition as our “reference” embedding.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 6 / 38
Motivations & Background
ME At Work I
In [Bravetti et al., 2005], the ProbLinCa calculus is defined:
as the probabilistic extension of the LinCa calculus
in which each tuple gets a weight resembling selection probability: the
higher the weight, the higher its matching chance
ProbLinCa vs. LinCa
Suppose the following ProbLinCa process P and LinCa process Q are acting on
tuple space S:
P = inp(T).∅ + inp(T).rdp(T ).∅ Q = in(T).∅ + in(T).rd(T ).∅
S = tl[20], tr[10]
where T is a Linda template matching both tuples tl and tr, whereas T
matches tr solely.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 7 / 38
Motivations & Background
ME At Work II
From the ME viewpoint, P and Q are not distinguishable, being their ending
states the same:
Ψ[P] = (success, tr[10] ) or (deadlock, tl[20] )
Ψ[Q] = (success, tr[10] ) or (deadlock, tl[20] )
Quantity vs. quality
The point is, that whereas P and Q are qualitatively equivalent, they are
not so quantitatively, but ME cannot tell apart the probabilistic
information conveyed by, e.g., a ProbLinCa primitive w.r.t. a LinCa one.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 8 / 38
Motivations & Background
ME At Work III
In fact, a “two-way” modular encoding can be established by defining compilers
C and C as
CLinCa =



out −→ out
rd −→ rdp
in −→ inp
CProbLinCa =



out −→ out
rdp −→ rd
inp −→ in
ME observational equivalence
Therefore,
ProbLinCa LinCa ∧ LinCa ProbLinCa
=⇒
ProbLinCa ≡Ψ LinCa
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 9 / 38
Probabilistic Modular Embedding
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 10 / 38
Probabilistic Modular Embedding
Redefining “Easily” and “Equivalently” I
Restricting ourselves to asynchronous coordination calculi, a process can be said
to be easily mappable into another if it requires:
1 no extra-computations to mimic complex coordination operators
2 no extra-coordinators (neither coordinated processes nor coordination
medium) to handle suspensive semantics
3 no unbounded extra-interactions to perform additional coordination
Focus on coordination primitives
Altogether, such requirements are necessary if the goal is to focus on
“pure coordination expressiveness”, that is, we intentionally consider
coordination primitives solely, abstracting away from processes and
coordination media own “algorithmic expressiveness”.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 11 / 38
Probabilistic Modular Embedding
Redefining “Easily” and “Equivalently” II
The notions of observables and termination need to be re-casted in the
probabilistic setting to re-define the term equivalently:
Probabilistic Observation — Observable actions should be associated with
their execution probability, driven by synchronisation
opportunities offered by the coordination medium at
run-time.
Probabilistic Termination — Ending states should be defined as those for
which all outgoing transitions have probability 0.
Furthermore, they should be refined with the probability of
reaching that state from a given initial one.
By meeting the three requirements and these two definitions, we shift from
ME to Probabilistic Modular Embedding (PME).
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 12 / 38
Probabilistic Modular Embedding Probabilistic Observation
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 13 / 38
Probabilistic Modular Embedding Probabilistic Observation
Probabilistic Observation
Function Θ
Formally, we define the probabilistic observation function (Θ), mapping a
process (W ) into observables, as follows:
Θ[W ] = (ρ, W [¯µ]) | (W , σ ) −→∗ (ρ, W [¯µ])
where ρ is a probability value ∈ [0, 1], ¯µ is a sequence of actual synchronisations –
e.g. ¯µ = µ(T1, t1), . . . , µ(Tn, tn) – and σ is the space state—e.g. σ = t1, . . . , tn .
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 14 / 38
Probabilistic Modular Embedding Probabilistic Termination
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 15 / 38
Probabilistic Modular Embedding Probabilistic Termination
Probabilistic Termination
Function Φ
Analogously, we define reachability value ρ⊥ and the probabilistic
termination function Φ as follows:
Φ[W ] = (ρ⊥, τ) | (W , σ ) −→∗
⊥ (ρ⊥, τ)
where subscript ⊥ stands for a sequence of finite transitions leading to
termination state τ2
.
Notice that Φ abstracts away from computation traces, that is, it does not
keep track of synchronisations in term W [¯µ], focussing solely on
termination states τ.
2
E.g. τ = success, failure, deadlock, undefined.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 16 / 38
Probabilistic Modular Embedding Formal Tools
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 17 / 38
Probabilistic Modular Embedding Formal Tools
Probability Aggregation Functions
From probability theory:
the probability of a sequence – that is, a “dot”-separated list – of
probabilistic actions is the product of the probabilities of such actions
the probability of a choice – that is, a “+”-separated list – of probabilistic
actions is the sum of the probabilities of such actions
Then we define the sequence probability aggregation function (¯ν) and the choice
probability aggregation function (ν+
) as follows:
¯ν and ν+ functions
¯ν : W × σ → ρ where ρ = n
j=0{pj | (pj , µ¯) ∈ Θ[W = ¯.W ])}
ν+ : W × σ → ρ where ρ = n
j=0{pj | (pj , µ + ) ∈ Θ[W = +.W ])}
where ¯ is a sequence of synchronisation actions and +
is a choice between
synchronisation actions.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 18 / 38
Probabilistic Modular Embedding Formal Tools
The “↑” Operator I
[Bravetti, 2008] proposes a formalism to deal with those open transition
systems which require quantitative information to be attached to
synchronisation actions at run-time.
The idea is that of partially closing labelled transition systems via the
process-algebraic operator “↑”, as follows:
1 actions labelling open transitions are equipped with handles
2 ↑ composes a LTS to a specification G, associating each handle to a given
numeric value
3 quantitative information is computed from handle values for each enabled
action
4 quantitatively-labelled actions turn an open transition into a reduction
whose execution is driven by such quantitative information
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 19 / 38
Probabilistic Modular Embedding Formal Tools
The “↑” Operator II
The ↑ operator can be used to compute synchronisations probability for
PME, e.g. in the case of ProbLinCa:
1 handles represent tuple templates associated to coordination primitives
2 handles listed in term G represent tuples offered by the tuple space (at
run-time)
3 G associates handles to their weight
4 closure operator ↑ matches admissible synchronisations between a process
and the tuple space, cutting out unavailable actions and computing
admissible ones probability
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 20 / 38
Probabilistic Modular Embedding Formal Tools
In Practice I
Given a single probabilistic observable transition step for, e.g., a ProbLinCa
process:
inp(T).P | t1[w1], .., tn[wn]
µ(T,tj )
−→ pj P[tj /T] | t1[w1], .., tn[wn] tj
we can expand its reduction steps to unambiguously define its probabilistic
semantics:
inp(T).P | t1[w1], .., tn[wn]
T
−→
inp(T).P | t1[w1], .., tn[wn] ↑ {(t1, w1), .., (tn, wn)}
→
inp(T).P | t1[w1], .., tn[wn] ↑ {(t1, p1), .., (tj , pj ), .., (tn, pn)}
tj
−→pj
P[tj /T] | t1[w1], .., tn[wn] tj
Coupling this with the probability aggregation functions ¯ν and ν+, we are
now ready to compute PME Θ and Φ functions.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 21 / 38
Early Case Studies
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 22 / 38
Early Case Studies ProbLinCa vs. LinCa
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 23 / 38
Early Case Studies ProbLinCa vs. LinCa
ProbLinCa vs. LinCa I
Recall P and Q?
P = inp(T).∅ + inp(T).rdp(T ).∅ Q = in(T).∅ + in(T).rd(T ).∅
S = tl[20], tr[10]
By repeating the embedding observation, but now under the assumptions
of PME, we get:
Φ[P] = (0.¯6, success) or (0.¯3, deadlock)
Φ[Q] = (•, success) or (•, deadlock)
where symbol • denotes “absence of information”.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 24 / 38
Early Case Studies ProbLinCa vs. LinCa
ProbLinCa vs. LinCa II
PME tells apart ProbLinCa
This time, only a “one-way” encoding can be established, by defining
compiler CLinCa as
CLinCa =



out −→ out
rd −→ rdp
in −→ inp
Therefore, we can state that ProbLinCa probabilistically embeds ( p)
LinCa, but not the opposite:
ProbLinCa p LinCa ∧ LinCa p ProbLinCa
=⇒
ProbLinCa ≡p LinCa
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 25 / 38
Early Case Studies pKlaim vs. Klaim
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 26 / 38
Early Case Studies pKlaim vs. Klaim
pKlaim vs. Klaim I
Klaim [De Nicola et al., 1998] is a kernel programming language for
mobile computing.
processes as well as data can be moved across the network among
computing environments
features Linda with multiple tuple spaces
localities are first-class abstractions to manage mobility and
distribution-related aspects
pKlaim
pKlaim [Di Pierro et al., 2004] extends such model through:
a probabilistic choice operator +n
i=1pi : Pi
a probabilistic parallel operator |n
i=1 pi : Pi
probabilistic allocation environments, formally defined as a partial map
σ : Loc → Dist(S) associating probability distributions on physical sites (S)
to logical localities (Loc)
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 27 / 38
Early Case Studies pKlaim vs. Klaim
pKlaim vs. Klaim II
First of all, we focus on the probabilistic choice operator:
P = 2
3
in(T)@s.∅ + 1
3
in(T)@s.rd(T)@s.∅
Q = in(T)@s.∅ + in(T)@s.rd(T)@s.∅
s = out(t)@self.∅ ≡ s = t
Both processes have a non-deterministic branching structure which cannot
be distinguished by ME:
Ψ[P] = (success, ) or (deadlock, )
Ψ[Q] = (success, ) or (deadlock, )
PME tells apart probabilistic choice
PME is instead sensitive to the probabilistic information available for
pKlaim process P:
Φ[P] = (0.¯6, success) or (0.¯3, deadlock)
Φ[Q] = (•, success) or (•, deadlock)
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 28 / 38
Early Case Studies pKlaim vs. Klaim
pKlaim vs. Klaim III
As regards the probabilistic allocation operator:
P = in(T)@l.∅ Q = in(T)@l.∅
s1 = t s2 = σ : l →
2
3
s1
1
3
s2
By applying ME we get:
Ψ[P] = (success, s1 = ∧ s2 = ) or (deadlock, s1 = t ∧ s2 = )
Ψ[Q] = (success, s1 = ∧ s2 = ) or (deadlock, s1 = t ∧ s2 = )
PME tells apart probabilistic allocation
Whereas ME is insensitive to the probabilistic allocation function σ, PME
provides “probability-sensitive” observation/termination functions:
Φ[P] = (0.¯6, success) or (0.¯3, deadlock)
Φ[Q] = (•, success) or (•, deadlock)
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 29 / 38
Early Case Studies πpa-calculus vs. πa-calculus
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 30 / 38
Early Case Studies πpa-calculus vs. πa-calculus
πpa-calculus vs. πa-calculus I
πpa-calculus [Herescu and Palamidessi, 2001] increases the expressive power of
πa-calculus [Boudol, 1992] through a probabilistic guarded choice operator
( i pi αi .Pi ) able to distinguish between probabilistic and purely
non-deterministic behaviours.
P = 2
3
x(y) + 1
3
z(y) .∅ Q = x(y) + z(y) .∅
S = ¯xy ≡ S = {Sx = y Sz = }
As expected, they are indistinguishable despite the probabilistic information
available for P, which is lost by ME:
Ψ[P] = (success, ) or (deadlock, y )
Ψ[Q] = (success, ) or (deadlock, y )
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 31 / 38
Early Case Studies πpa-calculus vs. πa-calculus
πpa-calculus vs. πa-calculus II
PME tells apart πpa-calculus
PME fills the gap:
Φ[P] = (0.¯6, success) or (0.¯3, deadlock)
Φ[Q] = (•, success) or (•, deadlock)
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 32 / 38
Conclusion & Further Works
Outline
1 Motivations & Background
2 Probabilistic Modular Embedding
Probabilistic Observation
Probabilistic Termination
Formal Tools
3 Early Case Studies
ProbLinCa vs. LinCa
pKlaim vs. Klaim
πpa-calculus vs. πa-calculus
4 Conclusion & Further Works
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 33 / 38
Conclusion & Further Works
Conclusion & Further Works I
We refined and extended the definition of probabilistic modular
embedding (PME) first sketched in [Mariani and Omicini, 2013]
We showed how PME succeeds in telling apart probabilistic languages
from non-probabilistic ones
A first step
Whereas apparently trivial, such distinction directly at the language level
was not possible so far, to the best of our knowledge.
Next steps
A less trivial step for PME, is to tell apart expressiveness of the different
probabilistic processes models proposed in [van Glabbeek et al., 1995],
which is currently under investigation.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 34 / 38
Bibliography
Bibliography I
Boudol, G. (1992).
Asynchrony and the Pi-calculus.
Rapport de recherche RR-1702, INRIA.
Bravetti, M. (2008).
Expressing priorities and external probabilities in process algebra via mixed open/closed
systems.
Electronic Notes in Theoretical Computer Science, 194(2):31–57.
Bravetti, M., Gorrieri, R., Lucchi, R., and Zavattaro, G. (2005).
Quantitative information in the tuple space coordination model.
Theoretical Computer Science, 346(1):28–57.
de Boer, F. S. and Palamidessi, C. (1994).
Embedding as a tool for language comparison.
Information and Computation, 108(1):128–157.
De Nicola, R., Ferrari, G., and Pugliese, R. (1998).
KLAIM: A kernel language for agent interaction and mobility.
IEEE Transaction on Software Engineering, 24(5):315–330.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 35 / 38
Bibliography
Bibliography II
Di Pierro, A., Hankin, C., and Wiklicky, H. (2004).
Probabilistic KLAIM.
In De Nicola, R., Ferrari, G.-L., and Meredith, G., editors, Coordination Models and
Languages, volume 2949 of LNCS, pages 119–134. Springer Berlin / Heidelberg.
6th International Conference (COORDINATION 2004), 24-27 February 2004, Pisa, Italy.
Herescu, O. M. and Palamidessi, C. (2001).
Probabilistic asynchronous pi-calculus.
CoRR, cs.PL/0109002.
Mariani, S. and Omicini, A. (2013).
Probabilistic embedding: Experiments with tuple-based probabilistic languages.
In 28th ACM Symposium on Applied Computing (SAC 2013), pages 1380–1382, Coimbra,
Portugal.
Poster Paper.
Omicini, A. and Viroli, M. (2011).
Coordination models and languages: From parallel computing to self-organisation.
The Knowledge Engineering Review, 26(1):53–59.
Special Issue 01 (25th Anniversary Issue).
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 36 / 38
Bibliography
Bibliography III
Shapiro, E. (1991).
Separating concurrent languages with categories of language embeddings.
In 23rd Annual ACM Symposium on Theory of Computing.
van Glabbeek, R. J., Smolka, S. A., and Steffen, B. (1995).
Reactive, generative, and stratified models of probabilistic processes.
Information and Computation, 121(1):59–80.
Wegner, P. (1997).
Why interaction is more powerful than algorithms.
Communications of the ACM, 40(5):80–91.
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 37 / 38
Probabilistic Modular Embedding
for Stochastic Coordinated Systems
Stefano Mariani, Andrea Omicini
{s.mariani, andrea.omicini}@unibo.it
Dipartimento di Informatica: Scienza e Ingegneria (DISI)
Alma Mater Studiorum—Universit`a di Bologna
COORDINATION2013 - Firenze, Italy, 3-5/6/2013
Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 38 / 38

Weitere ähnliche Inhalte

Was ist angesagt?

Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit SubstitutionsValeria de Paiva
 
Proposed entrancetestsyllabus
Proposed entrancetestsyllabusProposed entrancetestsyllabus
Proposed entrancetestsyllabusbikram ...
 
Artifial intelligence
Artifial intelligenceArtifial intelligence
Artifial intelligenceRaga Deepthi
 
Generic Model-based Approaches for Software Reverse Engineering and Comprehen...
Generic Model-based Approaches for Software Reverse Engineering and Comprehen...Generic Model-based Approaches for Software Reverse Engineering and Comprehen...
Generic Model-based Approaches for Software Reverse Engineering and Comprehen...Hugo Bruneliere
 
Introduction to theory of computation
Introduction to theory of computationIntroduction to theory of computation
Introduction to theory of computationVinod Tyagi
 

Was ist angesagt? (10)

Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit Substitutions
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
 
Proposed entrancetestsyllabus
Proposed entrancetestsyllabusProposed entrancetestsyllabus
Proposed entrancetestsyllabus
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
 
Stochastic matrices
Stochastic matricesStochastic matrices
Stochastic matrices
 
Geuvers slides
Geuvers slidesGeuvers slides
Geuvers slides
 
Artifial intelligence
Artifial intelligenceArtifial intelligence
Artifial intelligence
 
calculus
calculuscalculus
calculus
 
Generic Model-based Approaches for Software Reverse Engineering and Comprehen...
Generic Model-based Approaches for Software Reverse Engineering and Comprehen...Generic Model-based Approaches for Software Reverse Engineering and Comprehen...
Generic Model-based Approaches for Software Reverse Engineering and Comprehen...
 
Introduction to theory of computation
Introduction to theory of computationIntroduction to theory of computation
Introduction to theory of computation
 

Andere mochten auch

Stochastic Differentiation
Stochastic DifferentiationStochastic Differentiation
Stochastic DifferentiationSSA KPI
 
Stochastic Dividend Modeling
Stochastic Dividend ModelingStochastic Dividend Modeling
Stochastic Dividend ModelingClebson Derivan
 
Coherence and Stochastic Resonances in Fitz-Hugh-Nagumo Model
Coherence and Stochastic Resonances in Fitz-Hugh-Nagumo ModelCoherence and Stochastic Resonances in Fitz-Hugh-Nagumo Model
Coherence and Stochastic Resonances in Fitz-Hugh-Nagumo ModelPratik Tarafdar
 
computational stochastic phase-field
computational stochastic phase-fieldcomputational stochastic phase-field
computational stochastic phase-fieldcerniagigante
 
Bayesian inference for stochastic population models with application to aphids
Bayesian inference for stochastic population models with application to aphidsBayesian inference for stochastic population models with application to aphids
Bayesian inference for stochastic population models with application to aphidsColin Gillespie
 
On the value of stochastic analysis for software engineering
On the value of stochastic analysis for software engineeringOn the value of stochastic analysis for software engineering
On the value of stochastic analysis for software engineeringCS, NcState
 
Stochastic Calculus Main Results
Stochastic Calculus Main ResultsStochastic Calculus Main Results
Stochastic Calculus Main ResultsSSA KPI
 
Stochastic Analysis of Resource Plays: Maximizing Portfolio Value and Mitiga...
Stochastic Analysis of Resource Plays:  Maximizing Portfolio Value and Mitiga...Stochastic Analysis of Resource Plays:  Maximizing Portfolio Value and Mitiga...
Stochastic Analysis of Resource Plays: Maximizing Portfolio Value and Mitiga...Portfolio Decisions
 
Research internship on optimal stochastic theory with financial application u...
Research internship on optimal stochastic theory with financial application u...Research internship on optimal stochastic theory with financial application u...
Research internship on optimal stochastic theory with financial application u...Asma Ben Slimene
 
Distributed Stochastic Gradient MCMC
Distributed Stochastic Gradient MCMCDistributed Stochastic Gradient MCMC
Distributed Stochastic Gradient MCMCKaede Hayashi
 
Matlab tme series benni
Matlab tme series benniMatlab tme series benni
Matlab tme series bennidvbtunisia
 
Stochastic Alternating Direction Method of Multipliers
Stochastic Alternating Direction Method of MultipliersStochastic Alternating Direction Method of Multipliers
Stochastic Alternating Direction Method of MultipliersTaiji Suzuki
 
Stochastic Modeling for Valuation and Risk Management
Stochastic Modeling for Valuation and Risk ManagementStochastic Modeling for Valuation and Risk Management
Stochastic Modeling for Valuation and Risk ManagementRoderick Powell
 
Matlab practical and lab session
Matlab practical and lab sessionMatlab practical and lab session
Matlab practical and lab sessionDr. Krishna Mohbey
 
Stochastic Approximation and Simulated Annealing
Stochastic Approximation and Simulated AnnealingStochastic Approximation and Simulated Annealing
Stochastic Approximation and Simulated AnnealingSSA KPI
 
The Stochastic Simulation Algorithm
The Stochastic Simulation AlgorithmThe Stochastic Simulation Algorithm
The Stochastic Simulation AlgorithmStephen Gilmore
 
Hierarchical Stochastic Neighbor Embedding
Hierarchical Stochastic Neighbor EmbeddingHierarchical Stochastic Neighbor Embedding
Hierarchical Stochastic Neighbor EmbeddingNicola Pezzotti
 
Practical Aspects of Stochastic Modeling.pptx
Practical Aspects of Stochastic Modeling.pptxPractical Aspects of Stochastic Modeling.pptx
Practical Aspects of Stochastic Modeling.pptxRon Harasym
 
Efficient Numerical PDE Methods to Solve Calibration and Pricing Problems in ...
Efficient Numerical PDE Methods to Solve Calibration and Pricing Problems in ...Efficient Numerical PDE Methods to Solve Calibration and Pricing Problems in ...
Efficient Numerical PDE Methods to Solve Calibration and Pricing Problems in ...Volatility
 

Andere mochten auch (20)

Stochastic Differentiation
Stochastic DifferentiationStochastic Differentiation
Stochastic Differentiation
 
Stochastic Dividend Modeling
Stochastic Dividend ModelingStochastic Dividend Modeling
Stochastic Dividend Modeling
 
Coherence and Stochastic Resonances in Fitz-Hugh-Nagumo Model
Coherence and Stochastic Resonances in Fitz-Hugh-Nagumo ModelCoherence and Stochastic Resonances in Fitz-Hugh-Nagumo Model
Coherence and Stochastic Resonances in Fitz-Hugh-Nagumo Model
 
computational stochastic phase-field
computational stochastic phase-fieldcomputational stochastic phase-field
computational stochastic phase-field
 
Bayesian inference for stochastic population models with application to aphids
Bayesian inference for stochastic population models with application to aphidsBayesian inference for stochastic population models with application to aphids
Bayesian inference for stochastic population models with application to aphids
 
On the value of stochastic analysis for software engineering
On the value of stochastic analysis for software engineeringOn the value of stochastic analysis for software engineering
On the value of stochastic analysis for software engineering
 
MATLAB INTRODUCTION
MATLAB INTRODUCTIONMATLAB INTRODUCTION
MATLAB INTRODUCTION
 
Stochastic Calculus Main Results
Stochastic Calculus Main ResultsStochastic Calculus Main Results
Stochastic Calculus Main Results
 
Stochastic Analysis of Resource Plays: Maximizing Portfolio Value and Mitiga...
Stochastic Analysis of Resource Plays:  Maximizing Portfolio Value and Mitiga...Stochastic Analysis of Resource Plays:  Maximizing Portfolio Value and Mitiga...
Stochastic Analysis of Resource Plays: Maximizing Portfolio Value and Mitiga...
 
Research internship on optimal stochastic theory with financial application u...
Research internship on optimal stochastic theory with financial application u...Research internship on optimal stochastic theory with financial application u...
Research internship on optimal stochastic theory with financial application u...
 
Distributed Stochastic Gradient MCMC
Distributed Stochastic Gradient MCMCDistributed Stochastic Gradient MCMC
Distributed Stochastic Gradient MCMC
 
Matlab tme series benni
Matlab tme series benniMatlab tme series benni
Matlab tme series benni
 
Stochastic Alternating Direction Method of Multipliers
Stochastic Alternating Direction Method of MultipliersStochastic Alternating Direction Method of Multipliers
Stochastic Alternating Direction Method of Multipliers
 
Stochastic Modeling for Valuation and Risk Management
Stochastic Modeling for Valuation and Risk ManagementStochastic Modeling for Valuation and Risk Management
Stochastic Modeling for Valuation and Risk Management
 
Matlab practical and lab session
Matlab practical and lab sessionMatlab practical and lab session
Matlab practical and lab session
 
Stochastic Approximation and Simulated Annealing
Stochastic Approximation and Simulated AnnealingStochastic Approximation and Simulated Annealing
Stochastic Approximation and Simulated Annealing
 
The Stochastic Simulation Algorithm
The Stochastic Simulation AlgorithmThe Stochastic Simulation Algorithm
The Stochastic Simulation Algorithm
 
Hierarchical Stochastic Neighbor Embedding
Hierarchical Stochastic Neighbor EmbeddingHierarchical Stochastic Neighbor Embedding
Hierarchical Stochastic Neighbor Embedding
 
Practical Aspects of Stochastic Modeling.pptx
Practical Aspects of Stochastic Modeling.pptxPractical Aspects of Stochastic Modeling.pptx
Practical Aspects of Stochastic Modeling.pptx
 
Efficient Numerical PDE Methods to Solve Calibration and Pricing Problems in ...
Efficient Numerical PDE Methods to Solve Calibration and Pricing Problems in ...Efficient Numerical PDE Methods to Solve Calibration and Pricing Problems in ...
Efficient Numerical PDE Methods to Solve Calibration and Pricing Problems in ...
 

Ähnlich wie Probabilistic Modular Embedding for Stochastic Coordinated Systems

Machine Learning for Automated Reasoning: An Overview
Machine Learning for Automated Reasoning: An OverviewMachine Learning for Automated Reasoning: An Overview
Machine Learning for Automated Reasoning: An OverviewVincenzo Lomonaco
 
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...Stefano Mariani
 
Cari2020 Parallel Hybridization for SAT: An Efficient Combination of Search S...
Cari2020 Parallel Hybridization for SAT: An Efficient Combination of Search S...Cari2020 Parallel Hybridization for SAT: An Efficient Combination of Search S...
Cari2020 Parallel Hybridization for SAT: An Efficient Combination of Search S...Mokhtar SELLAMI
 
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...Andrea Omicini
 
Compositional testing for fsm based models
Compositional testing for fsm based modelsCompositional testing for fsm based models
Compositional testing for fsm based modelsijseajournal
 
SEMANTIC STUDIES OF A SYNCHRONOUS APPROACH TO ACTIVITY RECOGNITION
SEMANTIC STUDIES OF A SYNCHRONOUS APPROACH TO ACTIVITY RECOGNITIONSEMANTIC STUDIES OF A SYNCHRONOUS APPROACH TO ACTIVITY RECOGNITION
SEMANTIC STUDIES OF A SYNCHRONOUS APPROACH TO ACTIVITY RECOGNITIONcscpconf
 
Utility Theory, Minimum Effort, and Predictive Coding
Utility Theory, Minimum Effort, and Predictive CodingUtility Theory, Minimum Effort, and Predictive Coding
Utility Theory, Minimum Effort, and Predictive CodingFabrizio Sebastiani
 
Measuring Computational Complexity the qualitative and quantitative intertwin...
Measuring Computational Complexity the qualitative and quantitative intertwin...Measuring Computational Complexity the qualitative and quantitative intertwin...
Measuring Computational Complexity the qualitative and quantitative intertwin...Federico Gobbo
 
Collective Adaptive Systems as Coordination Media: The Case of Tuples in Spac...
Collective Adaptive Systems as Coordination Media: The Case of Tuples in Spac...Collective Adaptive Systems as Coordination Media: The Case of Tuples in Spac...
Collective Adaptive Systems as Coordination Media: The Case of Tuples in Spac...Roberto Casadei
 
Limiting Logical Violations in Ontology Alignnment Through Negotiation
Limiting Logical Violations in Ontology Alignnment Through NegotiationLimiting Logical Violations in Ontology Alignnment Through Negotiation
Limiting Logical Violations in Ontology Alignnment Through NegotiationErnesto Jimenez Ruiz
 
An Importance Sampling Approach to Integrate Expert Knowledge When Learning B...
An Importance Sampling Approach to Integrate Expert Knowledge When Learning B...An Importance Sampling Approach to Integrate Expert Knowledge When Learning B...
An Importance Sampling Approach to Integrate Expert Knowledge When Learning B...NTNU
 
M.E.Bontempi-Panel data: Models, estimation,and the role of attrition and Mea...
M.E.Bontempi-Panel data: Models, estimation,and the role of attrition and Mea...M.E.Bontempi-Panel data: Models, estimation,and the role of attrition and Mea...
M.E.Bontempi-Panel data: Models, estimation,and the role of attrition and Mea...Istituto nazionale di statistica
 
Modeling and Simulation lecture1.pdf
Modeling and Simulation lecture1.pdfModeling and Simulation lecture1.pdf
Modeling and Simulation lecture1.pdfperfix1
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignmenttesfahunegn minwuyelet
 
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecTAdvanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecTStefano Mariani
 
Automated Program Repair, Distinguished lecture at MPI-SWS
Automated Program Repair, Distinguished lecture at MPI-SWSAutomated Program Repair, Distinguished lecture at MPI-SWS
Automated Program Repair, Distinguished lecture at MPI-SWSAbhik Roychoudhury
 
Topological Data Analysis and Persistent Homology
Topological Data Analysis and Persistent HomologyTopological Data Analysis and Persistent Homology
Topological Data Analysis and Persistent HomologyCarla Melia
 
Numerical Analysis and Epistemology of Information
Numerical Analysis and Epistemology of InformationNumerical Analysis and Epistemology of Information
Numerical Analysis and Epistemology of InformationMarco Benini
 

Ähnlich wie Probabilistic Modular Embedding for Stochastic Coordinated Systems (20)

Machine Learning for Automated Reasoning: An Overview
Machine Learning for Automated Reasoning: An OverviewMachine Learning for Automated Reasoning: An Overview
Machine Learning for Automated Reasoning: An Overview
 
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
Promoting Space-Aware Coordination: ReSpecT as a Spatial Computing Virtual Ma...
 
DEFENSE
DEFENSEDEFENSE
DEFENSE
 
Cari2020 Parallel Hybridization for SAT: An Efficient Combination of Search S...
Cari2020 Parallel Hybridization for SAT: An Efficient Combination of Search S...Cari2020 Parallel Hybridization for SAT: An Efficient Combination of Search S...
Cari2020 Parallel Hybridization for SAT: An Efficient Combination of Search S...
 
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
TuCSoN on Cloud: An Event-driven Architecture for Embodied / Disembodied Coor...
 
2019 Fall Series: Postdoc Seminars - Special Guest Lecture, Attacking the Cur...
2019 Fall Series: Postdoc Seminars - Special Guest Lecture, Attacking the Cur...2019 Fall Series: Postdoc Seminars - Special Guest Lecture, Attacking the Cur...
2019 Fall Series: Postdoc Seminars - Special Guest Lecture, Attacking the Cur...
 
Compositional testing for fsm based models
Compositional testing for fsm based modelsCompositional testing for fsm based models
Compositional testing for fsm based models
 
SEMANTIC STUDIES OF A SYNCHRONOUS APPROACH TO ACTIVITY RECOGNITION
SEMANTIC STUDIES OF A SYNCHRONOUS APPROACH TO ACTIVITY RECOGNITIONSEMANTIC STUDIES OF A SYNCHRONOUS APPROACH TO ACTIVITY RECOGNITION
SEMANTIC STUDIES OF A SYNCHRONOUS APPROACH TO ACTIVITY RECOGNITION
 
Utility Theory, Minimum Effort, and Predictive Coding
Utility Theory, Minimum Effort, and Predictive CodingUtility Theory, Minimum Effort, and Predictive Coding
Utility Theory, Minimum Effort, and Predictive Coding
 
Measuring Computational Complexity the qualitative and quantitative intertwin...
Measuring Computational Complexity the qualitative and quantitative intertwin...Measuring Computational Complexity the qualitative and quantitative intertwin...
Measuring Computational Complexity the qualitative and quantitative intertwin...
 
Collective Adaptive Systems as Coordination Media: The Case of Tuples in Spac...
Collective Adaptive Systems as Coordination Media: The Case of Tuples in Spac...Collective Adaptive Systems as Coordination Media: The Case of Tuples in Spac...
Collective Adaptive Systems as Coordination Media: The Case of Tuples in Spac...
 
Limiting Logical Violations in Ontology Alignnment Through Negotiation
Limiting Logical Violations in Ontology Alignnment Through NegotiationLimiting Logical Violations in Ontology Alignnment Through Negotiation
Limiting Logical Violations in Ontology Alignnment Through Negotiation
 
An Importance Sampling Approach to Integrate Expert Knowledge When Learning B...
An Importance Sampling Approach to Integrate Expert Knowledge When Learning B...An Importance Sampling Approach to Integrate Expert Knowledge When Learning B...
An Importance Sampling Approach to Integrate Expert Knowledge When Learning B...
 
M.E.Bontempi-Panel data: Models, estimation,and the role of attrition and Mea...
M.E.Bontempi-Panel data: Models, estimation,and the role of attrition and Mea...M.E.Bontempi-Panel data: Models, estimation,and the role of attrition and Mea...
M.E.Bontempi-Panel data: Models, estimation,and the role of attrition and Mea...
 
Modeling and Simulation lecture1.pdf
Modeling and Simulation lecture1.pdfModeling and Simulation lecture1.pdf
Modeling and Simulation lecture1.pdf
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignment
 
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecTAdvanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
Advanced Coordination Techniques: Experiments with TuCSoN and ReSpecT
 
Automated Program Repair, Distinguished lecture at MPI-SWS
Automated Program Repair, Distinguished lecture at MPI-SWSAutomated Program Repair, Distinguished lecture at MPI-SWS
Automated Program Repair, Distinguished lecture at MPI-SWS
 
Topological Data Analysis and Persistent Homology
Topological Data Analysis and Persistent HomologyTopological Data Analysis and Persistent Homology
Topological Data Analysis and Persistent Homology
 
Numerical Analysis and Epistemology of Information
Numerical Analysis and Epistemology of InformationNumerical Analysis and Epistemology of Information
Numerical Analysis and Epistemology of Information
 

Mehr von Stefano Mariani

Coordination of Complex Socio-technical Systems: Challenges and Opportunities
Coordination of Complex Socio-technical Systems: Challenges and OpportunitiesCoordination of Complex Socio-technical Systems: Challenges and Opportunities
Coordination of Complex Socio-technical Systems: Challenges and OpportunitiesStefano Mariani
 
Twenty Years of Coordination Technologies: State-of-the-Art and Perspectives
Twenty Years of Coordination Technologies: State-of-the-Art and PerspectivesTwenty Years of Coordination Technologies: State-of-the-Art and Perspectives
Twenty Years of Coordination Technologies: State-of-the-Art and PerspectivesStefano Mariani
 
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...Stefano Mariani
 
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...Stefano Mariani
 
Programming the Interaction Space Effectively with ReSpecTX
Programming the Interaction Space Effectively with ReSpecTXProgramming the Interaction Space Effectively with ReSpecTX
Programming the Interaction Space Effectively with ReSpecTXStefano Mariani
 
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...Stefano Mariani
 
Self-organisation of Knowledge in MoK
Self-organisation of Knowledge in MoKSelf-organisation of Knowledge in MoK
Self-organisation of Knowledge in MoKStefano Mariani
 
Stochastic Coordination in CAS: Expressiveness & Predictability
Stochastic Coordination in CAS: Expressiveness & PredictabilityStochastic Coordination in CAS: Expressiveness & Predictability
Stochastic Coordination in CAS: Expressiveness & PredictabilityStefano Mariani
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsStefano Mariani
 
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...Stefano Mariani
 
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...Stefano Mariani
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsStefano Mariani
 
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...Stefano Mariani
 
Event-driven Programming for Situated MAS with ReSpecT Tuple Centres
Event-driven Programming for Situated MAS with ReSpecT Tuple CentresEvent-driven Programming for Situated MAS with ReSpecT Tuple Centres
Event-driven Programming for Situated MAS with ReSpecT Tuple CentresStefano Mariani
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsStefano Mariani
 
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...Stefano Mariani
 
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive EnvironmentsMolecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive EnvironmentsStefano Mariani
 
Self-Organising News Management: The Molecules Of Knowledge Approach
Self-Organising News Management: The Molecules Of Knowledge ApproachSelf-Organising News Management: The Molecules Of Knowledge Approach
Self-Organising News Management: The Molecules Of Knowledge ApproachStefano Mariani
 

Mehr von Stefano Mariani (18)

Coordination of Complex Socio-technical Systems: Challenges and Opportunities
Coordination of Complex Socio-technical Systems: Challenges and OpportunitiesCoordination of Complex Socio-technical Systems: Challenges and Opportunities
Coordination of Complex Socio-technical Systems: Challenges and Opportunities
 
Twenty Years of Coordination Technologies: State-of-the-Art and Perspectives
Twenty Years of Coordination Technologies: State-of-the-Art and PerspectivesTwenty Years of Coordination Technologies: State-of-the-Art and Perspectives
Twenty Years of Coordination Technologies: State-of-the-Art and Perspectives
 
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
 
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
The Speaking Objects Vision: Argumentation for Coordinating Distributed Syste...
 
Programming the Interaction Space Effectively with ReSpecTX
Programming the Interaction Space Effectively with ReSpecTXProgramming the Interaction Space Effectively with ReSpecTX
Programming the Interaction Space Effectively with ReSpecTX
 
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
Coordination Issues in Complex Socio-technical Systems: Self-organisation of ...
 
Self-organisation of Knowledge in MoK
Self-organisation of Knowledge in MoKSelf-organisation of Knowledge in MoK
Self-organisation of Knowledge in MoK
 
Stochastic Coordination in CAS: Expressiveness & Predictability
Stochastic Coordination in CAS: Expressiveness & PredictabilityStochastic Coordination in CAS: Expressiveness & Predictability
Stochastic Coordination in CAS: Expressiveness & Predictability
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
 
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
On the “Local-to-Global” Issue in Self-Organisation: Chemical Reactions with ...
 
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
Models of Autonomy and Coordination: Integrating Subjective & Objective Appro...
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
 
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
Parameter Engineering vs. Parameter Tuning: the Case of Biochemical Coordinat...
 
Event-driven Programming for Situated MAS with ReSpecT Tuple Centres
Event-driven Programming for Situated MAS with ReSpecT Tuple CentresEvent-driven Programming for Situated MAS with ReSpecT Tuple Centres
Event-driven Programming for Situated MAS with ReSpecT Tuple Centres
 
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive EnvironmentsMolecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
Molecules of Knowledge: Self-Organisation in Knowledge-Intensive Environments
 
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
MoK: Stigmergy Meets Chemistry to Exploit Social Actions for Coordination Pur...
 
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive EnvironmentsMolecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
Molecules Of Knowledge: Self-Organisation In Knowledge-Intensive Environments
 
Self-Organising News Management: The Molecules Of Knowledge Approach
Self-Organising News Management: The Molecules Of Knowledge ApproachSelf-Organising News Management: The Molecules Of Knowledge Approach
Self-Organising News Management: The Molecules Of Knowledge Approach
 

Kürzlich hochgeladen

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 

Kürzlich hochgeladen (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

Probabilistic Modular Embedding for Stochastic Coordinated Systems

  • 1. Probabilistic Modular Embedding for Stochastic Coordinated Systems Stefano Mariani, Andrea Omicini {s.mariani, andrea.omicini}@unibo.it Dipartimento di Informatica: Scienza e Ingegneria (DISI) Alma Mater Studiorum—Universit`a di Bologna COORDINATION2013 - Firenze, Italy, 3-5/6/2013 Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 1 / 38
  • 2. Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 2 / 38
  • 3. Motivations & Background Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 3 / 38
  • 4. Motivations & Background Comparing Languages Expressiveness Understanding expressiveness of coordination languages is essential to deal with interactions complexity [Wegner, 1997] The notion of modular embedding [de Boer and Palamidessi, 1994] is particularly effective in comparing the relative expressiveness of concurrent languages A new kind of systems However, the emergence of systems featuring stochastic behaviours [Omicini and Viroli, 2011] is asking for new techniques to observe, model and measure their expressiveness. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 4 / 38
  • 5. Motivations & Background Shapiro’s Embedding The informal definition of embedding assumes that a language could be translated in another [Shapiro, 1991]: Easily — “without the need for a global reorganisation of the program” Equivalently — “without affecting the program’s observable behaviour” Formally Given two languages L, L , their program sets ProgL, ProgL , and the powersets of their observable behaviours Obs, Obs , we assume that two observation criteria Ψ, Ψ hold: Ψ : ProgL → Obs Ψ : ProgL → Obs Then, L embeds L (written L L ) iff there exist a compiler C : ProgL → ProgL and a decoder D : Obs → Obs such that for every program W ∈ L D(Ψ[C(W )]) = Ψ [W ] Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 5 / 38
  • 6. Motivations & Background Modular Embedding I According to [de Boer and Palamidessi, 1994] such definition is too weak, because any pair of Turing-complete languages would embed each other So they propose the definition of modular embedding1 (ME): D can be defined independently for each of all the possible outcomes of all the possible computations: ∀O ∈ Obs : D(O) = {d(o) | o ∈ O} (for some d) In a concurrent setting it is reasonable to require compositionality of the compiler C: C(A || B) = C(A) || C(B) , C(A + B) = C(A) + C(B) for every pair of programs A, B ∈ L . Deadlocks should be considered and preserved by decoder D: ∀O ∈ Obs, ∀o ∈ O : tm (Dd(o)) = tm(o) where tm and tm are L and L termination modes. 1 We stick with symbol since we assume this definition as our “reference” embedding. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 6 / 38
  • 7. Motivations & Background ME At Work I In [Bravetti et al., 2005], the ProbLinCa calculus is defined: as the probabilistic extension of the LinCa calculus in which each tuple gets a weight resembling selection probability: the higher the weight, the higher its matching chance ProbLinCa vs. LinCa Suppose the following ProbLinCa process P and LinCa process Q are acting on tuple space S: P = inp(T).∅ + inp(T).rdp(T ).∅ Q = in(T).∅ + in(T).rd(T ).∅ S = tl[20], tr[10] where T is a Linda template matching both tuples tl and tr, whereas T matches tr solely. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 7 / 38
  • 8. Motivations & Background ME At Work II From the ME viewpoint, P and Q are not distinguishable, being their ending states the same: Ψ[P] = (success, tr[10] ) or (deadlock, tl[20] ) Ψ[Q] = (success, tr[10] ) or (deadlock, tl[20] ) Quantity vs. quality The point is, that whereas P and Q are qualitatively equivalent, they are not so quantitatively, but ME cannot tell apart the probabilistic information conveyed by, e.g., a ProbLinCa primitive w.r.t. a LinCa one. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 8 / 38
  • 9. Motivations & Background ME At Work III In fact, a “two-way” modular encoding can be established by defining compilers C and C as CLinCa =    out −→ out rd −→ rdp in −→ inp CProbLinCa =    out −→ out rdp −→ rd inp −→ in ME observational equivalence Therefore, ProbLinCa LinCa ∧ LinCa ProbLinCa =⇒ ProbLinCa ≡Ψ LinCa Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 9 / 38
  • 10. Probabilistic Modular Embedding Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 10 / 38
  • 11. Probabilistic Modular Embedding Redefining “Easily” and “Equivalently” I Restricting ourselves to asynchronous coordination calculi, a process can be said to be easily mappable into another if it requires: 1 no extra-computations to mimic complex coordination operators 2 no extra-coordinators (neither coordinated processes nor coordination medium) to handle suspensive semantics 3 no unbounded extra-interactions to perform additional coordination Focus on coordination primitives Altogether, such requirements are necessary if the goal is to focus on “pure coordination expressiveness”, that is, we intentionally consider coordination primitives solely, abstracting away from processes and coordination media own “algorithmic expressiveness”. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 11 / 38
  • 12. Probabilistic Modular Embedding Redefining “Easily” and “Equivalently” II The notions of observables and termination need to be re-casted in the probabilistic setting to re-define the term equivalently: Probabilistic Observation — Observable actions should be associated with their execution probability, driven by synchronisation opportunities offered by the coordination medium at run-time. Probabilistic Termination — Ending states should be defined as those for which all outgoing transitions have probability 0. Furthermore, they should be refined with the probability of reaching that state from a given initial one. By meeting the three requirements and these two definitions, we shift from ME to Probabilistic Modular Embedding (PME). Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 12 / 38
  • 13. Probabilistic Modular Embedding Probabilistic Observation Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 13 / 38
  • 14. Probabilistic Modular Embedding Probabilistic Observation Probabilistic Observation Function Θ Formally, we define the probabilistic observation function (Θ), mapping a process (W ) into observables, as follows: Θ[W ] = (ρ, W [¯µ]) | (W , σ ) −→∗ (ρ, W [¯µ]) where ρ is a probability value ∈ [0, 1], ¯µ is a sequence of actual synchronisations – e.g. ¯µ = µ(T1, t1), . . . , µ(Tn, tn) – and σ is the space state—e.g. σ = t1, . . . , tn . Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 14 / 38
  • 15. Probabilistic Modular Embedding Probabilistic Termination Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 15 / 38
  • 16. Probabilistic Modular Embedding Probabilistic Termination Probabilistic Termination Function Φ Analogously, we define reachability value ρ⊥ and the probabilistic termination function Φ as follows: Φ[W ] = (ρ⊥, τ) | (W , σ ) −→∗ ⊥ (ρ⊥, τ) where subscript ⊥ stands for a sequence of finite transitions leading to termination state τ2 . Notice that Φ abstracts away from computation traces, that is, it does not keep track of synchronisations in term W [¯µ], focussing solely on termination states τ. 2 E.g. τ = success, failure, deadlock, undefined. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 16 / 38
  • 17. Probabilistic Modular Embedding Formal Tools Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 17 / 38
  • 18. Probabilistic Modular Embedding Formal Tools Probability Aggregation Functions From probability theory: the probability of a sequence – that is, a “dot”-separated list – of probabilistic actions is the product of the probabilities of such actions the probability of a choice – that is, a “+”-separated list – of probabilistic actions is the sum of the probabilities of such actions Then we define the sequence probability aggregation function (¯ν) and the choice probability aggregation function (ν+ ) as follows: ¯ν and ν+ functions ¯ν : W × σ → ρ where ρ = n j=0{pj | (pj , µ¯) ∈ Θ[W = ¯.W ])} ν+ : W × σ → ρ where ρ = n j=0{pj | (pj , µ + ) ∈ Θ[W = +.W ])} where ¯ is a sequence of synchronisation actions and + is a choice between synchronisation actions. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 18 / 38
  • 19. Probabilistic Modular Embedding Formal Tools The “↑” Operator I [Bravetti, 2008] proposes a formalism to deal with those open transition systems which require quantitative information to be attached to synchronisation actions at run-time. The idea is that of partially closing labelled transition systems via the process-algebraic operator “↑”, as follows: 1 actions labelling open transitions are equipped with handles 2 ↑ composes a LTS to a specification G, associating each handle to a given numeric value 3 quantitative information is computed from handle values for each enabled action 4 quantitatively-labelled actions turn an open transition into a reduction whose execution is driven by such quantitative information Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 19 / 38
  • 20. Probabilistic Modular Embedding Formal Tools The “↑” Operator II The ↑ operator can be used to compute synchronisations probability for PME, e.g. in the case of ProbLinCa: 1 handles represent tuple templates associated to coordination primitives 2 handles listed in term G represent tuples offered by the tuple space (at run-time) 3 G associates handles to their weight 4 closure operator ↑ matches admissible synchronisations between a process and the tuple space, cutting out unavailable actions and computing admissible ones probability Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 20 / 38
  • 21. Probabilistic Modular Embedding Formal Tools In Practice I Given a single probabilistic observable transition step for, e.g., a ProbLinCa process: inp(T).P | t1[w1], .., tn[wn] µ(T,tj ) −→ pj P[tj /T] | t1[w1], .., tn[wn] tj we can expand its reduction steps to unambiguously define its probabilistic semantics: inp(T).P | t1[w1], .., tn[wn] T −→ inp(T).P | t1[w1], .., tn[wn] ↑ {(t1, w1), .., (tn, wn)} → inp(T).P | t1[w1], .., tn[wn] ↑ {(t1, p1), .., (tj , pj ), .., (tn, pn)} tj −→pj P[tj /T] | t1[w1], .., tn[wn] tj Coupling this with the probability aggregation functions ¯ν and ν+, we are now ready to compute PME Θ and Φ functions. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 21 / 38
  • 22. Early Case Studies Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 22 / 38
  • 23. Early Case Studies ProbLinCa vs. LinCa Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 23 / 38
  • 24. Early Case Studies ProbLinCa vs. LinCa ProbLinCa vs. LinCa I Recall P and Q? P = inp(T).∅ + inp(T).rdp(T ).∅ Q = in(T).∅ + in(T).rd(T ).∅ S = tl[20], tr[10] By repeating the embedding observation, but now under the assumptions of PME, we get: Φ[P] = (0.¯6, success) or (0.¯3, deadlock) Φ[Q] = (•, success) or (•, deadlock) where symbol • denotes “absence of information”. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 24 / 38
  • 25. Early Case Studies ProbLinCa vs. LinCa ProbLinCa vs. LinCa II PME tells apart ProbLinCa This time, only a “one-way” encoding can be established, by defining compiler CLinCa as CLinCa =    out −→ out rd −→ rdp in −→ inp Therefore, we can state that ProbLinCa probabilistically embeds ( p) LinCa, but not the opposite: ProbLinCa p LinCa ∧ LinCa p ProbLinCa =⇒ ProbLinCa ≡p LinCa Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 25 / 38
  • 26. Early Case Studies pKlaim vs. Klaim Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 26 / 38
  • 27. Early Case Studies pKlaim vs. Klaim pKlaim vs. Klaim I Klaim [De Nicola et al., 1998] is a kernel programming language for mobile computing. processes as well as data can be moved across the network among computing environments features Linda with multiple tuple spaces localities are first-class abstractions to manage mobility and distribution-related aspects pKlaim pKlaim [Di Pierro et al., 2004] extends such model through: a probabilistic choice operator +n i=1pi : Pi a probabilistic parallel operator |n i=1 pi : Pi probabilistic allocation environments, formally defined as a partial map σ : Loc → Dist(S) associating probability distributions on physical sites (S) to logical localities (Loc) Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 27 / 38
  • 28. Early Case Studies pKlaim vs. Klaim pKlaim vs. Klaim II First of all, we focus on the probabilistic choice operator: P = 2 3 in(T)@s.∅ + 1 3 in(T)@s.rd(T)@s.∅ Q = in(T)@s.∅ + in(T)@s.rd(T)@s.∅ s = out(t)@self.∅ ≡ s = t Both processes have a non-deterministic branching structure which cannot be distinguished by ME: Ψ[P] = (success, ) or (deadlock, ) Ψ[Q] = (success, ) or (deadlock, ) PME tells apart probabilistic choice PME is instead sensitive to the probabilistic information available for pKlaim process P: Φ[P] = (0.¯6, success) or (0.¯3, deadlock) Φ[Q] = (•, success) or (•, deadlock) Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 28 / 38
  • 29. Early Case Studies pKlaim vs. Klaim pKlaim vs. Klaim III As regards the probabilistic allocation operator: P = in(T)@l.∅ Q = in(T)@l.∅ s1 = t s2 = σ : l → 2 3 s1 1 3 s2 By applying ME we get: Ψ[P] = (success, s1 = ∧ s2 = ) or (deadlock, s1 = t ∧ s2 = ) Ψ[Q] = (success, s1 = ∧ s2 = ) or (deadlock, s1 = t ∧ s2 = ) PME tells apart probabilistic allocation Whereas ME is insensitive to the probabilistic allocation function σ, PME provides “probability-sensitive” observation/termination functions: Φ[P] = (0.¯6, success) or (0.¯3, deadlock) Φ[Q] = (•, success) or (•, deadlock) Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 29 / 38
  • 30. Early Case Studies πpa-calculus vs. πa-calculus Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 30 / 38
  • 31. Early Case Studies πpa-calculus vs. πa-calculus πpa-calculus vs. πa-calculus I πpa-calculus [Herescu and Palamidessi, 2001] increases the expressive power of πa-calculus [Boudol, 1992] through a probabilistic guarded choice operator ( i pi αi .Pi ) able to distinguish between probabilistic and purely non-deterministic behaviours. P = 2 3 x(y) + 1 3 z(y) .∅ Q = x(y) + z(y) .∅ S = ¯xy ≡ S = {Sx = y Sz = } As expected, they are indistinguishable despite the probabilistic information available for P, which is lost by ME: Ψ[P] = (success, ) or (deadlock, y ) Ψ[Q] = (success, ) or (deadlock, y ) Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 31 / 38
  • 32. Early Case Studies πpa-calculus vs. πa-calculus πpa-calculus vs. πa-calculus II PME tells apart πpa-calculus PME fills the gap: Φ[P] = (0.¯6, success) or (0.¯3, deadlock) Φ[Q] = (•, success) or (•, deadlock) Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 32 / 38
  • 33. Conclusion & Further Works Outline 1 Motivations & Background 2 Probabilistic Modular Embedding Probabilistic Observation Probabilistic Termination Formal Tools 3 Early Case Studies ProbLinCa vs. LinCa pKlaim vs. Klaim πpa-calculus vs. πa-calculus 4 Conclusion & Further Works Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 33 / 38
  • 34. Conclusion & Further Works Conclusion & Further Works I We refined and extended the definition of probabilistic modular embedding (PME) first sketched in [Mariani and Omicini, 2013] We showed how PME succeeds in telling apart probabilistic languages from non-probabilistic ones A first step Whereas apparently trivial, such distinction directly at the language level was not possible so far, to the best of our knowledge. Next steps A less trivial step for PME, is to tell apart expressiveness of the different probabilistic processes models proposed in [van Glabbeek et al., 1995], which is currently under investigation. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 34 / 38
  • 35. Bibliography Bibliography I Boudol, G. (1992). Asynchrony and the Pi-calculus. Rapport de recherche RR-1702, INRIA. Bravetti, M. (2008). Expressing priorities and external probabilities in process algebra via mixed open/closed systems. Electronic Notes in Theoretical Computer Science, 194(2):31–57. Bravetti, M., Gorrieri, R., Lucchi, R., and Zavattaro, G. (2005). Quantitative information in the tuple space coordination model. Theoretical Computer Science, 346(1):28–57. de Boer, F. S. and Palamidessi, C. (1994). Embedding as a tool for language comparison. Information and Computation, 108(1):128–157. De Nicola, R., Ferrari, G., and Pugliese, R. (1998). KLAIM: A kernel language for agent interaction and mobility. IEEE Transaction on Software Engineering, 24(5):315–330. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 35 / 38
  • 36. Bibliography Bibliography II Di Pierro, A., Hankin, C., and Wiklicky, H. (2004). Probabilistic KLAIM. In De Nicola, R., Ferrari, G.-L., and Meredith, G., editors, Coordination Models and Languages, volume 2949 of LNCS, pages 119–134. Springer Berlin / Heidelberg. 6th International Conference (COORDINATION 2004), 24-27 February 2004, Pisa, Italy. Herescu, O. M. and Palamidessi, C. (2001). Probabilistic asynchronous pi-calculus. CoRR, cs.PL/0109002. Mariani, S. and Omicini, A. (2013). Probabilistic embedding: Experiments with tuple-based probabilistic languages. In 28th ACM Symposium on Applied Computing (SAC 2013), pages 1380–1382, Coimbra, Portugal. Poster Paper. Omicini, A. and Viroli, M. (2011). Coordination models and languages: From parallel computing to self-organisation. The Knowledge Engineering Review, 26(1):53–59. Special Issue 01 (25th Anniversary Issue). Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 36 / 38
  • 37. Bibliography Bibliography III Shapiro, E. (1991). Separating concurrent languages with categories of language embeddings. In 23rd Annual ACM Symposium on Theory of Computing. van Glabbeek, R. J., Smolka, S. A., and Steffen, B. (1995). Reactive, generative, and stratified models of probabilistic processes. Information and Computation, 121(1):59–80. Wegner, P. (1997). Why interaction is more powerful than algorithms. Communications of the ACM, 40(5):80–91. Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 37 / 38
  • 38. Probabilistic Modular Embedding for Stochastic Coordinated Systems Stefano Mariani, Andrea Omicini {s.mariani, andrea.omicini}@unibo.it Dipartimento di Informatica: Scienza e Ingegneria (DISI) Alma Mater Studiorum—Universit`a di Bologna COORDINATION2013 - Firenze, Italy, 3-5/6/2013 Mariani, Omicini (Universit`a di Bologna) PME for Stochastic Coordinated Systems COORDINATION, 4/6/2013 38 / 38