<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Asynchronous Interaction Patterns for Mining Multi-Agent System Models from Event Logs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Roman A. Nesterov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Irina A. Lomazova</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dipartimento di Informatica, Sistemistica e Comunicazione, Universit`a degli Studi di Milano-Bicocca</institution>
          ,
          <addr-line>Viale Sarca 336 - Edificio U14, I-20126 Milano</addr-line>
          ,
          <country country="IT">Italia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>National Research University Higher School of Economics</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University Higher School of Economics</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Process models discovered from event logs of multi-agent systems may be complicated and unreadable. To overcome this problem, we suggest using a compositional approach. A system model is composed from agent models w.r.t. an interface. Morphisms guarantee that composition of correct models is correct. This study contributes to the practical implementation of the morphism-based compositional approach. We use interaction patterns to model typical interfaces. Experimental evaluation justifies the practical value of the compositional approach.</p>
      </abstract>
      <kwd-group>
        <kwd>multi-agent systems</kwd>
        <kwd>event logs</kwd>
        <kwd>process discovery</kwd>
        <kwd>Petri nets</kwd>
        <kwd>composition</kwd>
        <kwd>morphisms</kwd>
        <kwd>interaction patterns</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>To overcome this problem, we suggest using a compositional approach to
discover a MAS process model clearly indicating agents as subnets and their
interactions through channels. Assume that we know in advance how channels
are exploited (sending/receiving messages) by agents. The compositional process
discovery is straightforward. Firstly, we discover process models of agents from
filtered event logs. Then agent models are composed via channels. Consider the
Petri net shown in Fig. 1(b). It can reproduce event sequences from the same
event log as the model from Fig. 1(a). What is more important, this model
explicitly indicates the agent behavior (left and right subnet) and the channels
(gray nodes) used for interaction.
t1 t2</p>
      <p>
        s1
t3 t4
Petri net composition has been extensively studied in the literature (e.g. in
[
        <xref ref-type="bibr" rid="ref13 ref4 ref8">4,8,13</xref>
        ]). The main problem here is that composing correct models can result in
a model with the incorrect behavior. We consider soundness (also referred to as
proper termination) to be the key correctness property of process models.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] we have proposed a compositional approach to discover process
models of MAS with two asynchronously interacting agents. This approach involves
abstraction to preserve soundness of agent models in their composition.
Abstraction is implemented via special morphisms [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. We abstract process models of
agents regarding actions through which they exchange messages. A composition
of abstract agent models is an interaction protocol (interface). Soundness of
agent model composition results from the verified soundness of an interface.
      </p>
      <p>
        However, the practical implementation of this approach may require extensive
theoretical knowledge. Our work contributes to solving this problem in practice
by applying service interaction patterns (SIPs). They have been described in
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. SIPs provide generic solutions for designing composite services with several
interacting entities. We have done the preliminary work on using simple patterns
for compositional discovery of MAS process models in [
        <xref ref-type="bibr" rid="ref16 ref17">16,17</xref>
        ]. The practical value
of a pattern-based approach has been justified by the experimental results.
      </p>
      <p>
        In this study, we identify typical patterns describing asynchronous
interaction on the basis of related research analysis. Patterns model agent interaction
protocols at the abstract level. Following the approach proposed in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], we also
show these typical patterns are applied for compositional discovery of sound
MAS models clearly indicating agent interactions.
      </p>
      <p>
        Another view on the problem of discovering interactions from event logs has
been discussed in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], where artifact-centric approach to process mining has been
proposed. The authors analyze life-cycles of data objects (artifacts) created and
consumed during a business process execution.
      </p>
      <p>The remainder of the paper is organized as follows. The next section provides
an informal description of service interaction patterns. Section 3 recalls necessary
notions from Petri net theory. Section 4 describes an approach to modeling and
refining abstract service interaction patterns. In Section 5, we show experimental
results on using patterns for mining MAS models from event logs. Section 6
concludes the paper by discussing results and possible continuations.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Service Interaction Patterns</title>
      <p>
        Service interaction patterns provide a systematic approach to address the
problem of organizing complex and large-scale interactions. They have been used in
different contexts. Among the others, in [
        <xref ref-type="bibr" rid="ref10 ref11">10,11</xref>
        ] interaction patterns have also
been explored within process modeling using BPMN. The important problem of
pattern correctness has been discussed in [
        <xref ref-type="bibr" rid="ref1 ref12">1,12</xref>
        ], where patterns have been
formalized using process algebras and open Petri nets. The authors used operating
guidelines to define services interacting correctly with the given one.
      </p>
      <p>
        Service interaction patterns are classified according to the number of
interacting entities: (a) bilateral (two) and (b) multilateral (more than two). Also,
service interaction patterns are classified w.r.t. the way entities interact: (a)
single transmission patterns and (b) multiple transmission patterns [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The
number of transmissions defines the number of times an agent can send (receive)
a message to (from) the others.
      </p>
      <p>In our work, we study bilateral patterns with both single and multiple
transmissions. Table 1 provides a brief informal description of patterns considered in
the paper. Short IDs are used to refer to these patterns in the text. Note that
patterns SIP-1, SIP-2 and SIP-3 describe rather primitive interaction, since an
agent sending a message is not supposed to get a response from another agent.
More sophisticated communications are given in patterns SIP-4, SIP-5, SIP-6,
when two agents actually exchange messages in different ways. SIP-7 is a multiple
transmission pattern, where one agent decides to stop exchanging messages.</p>
      <p>The aim of our work is to apply these patterns for compositional discovery
of formal multi-agent system models from event logs. That is why, we show how
to model these patterns using Petri nets in Section 4. Each pattern corresponds
to a specification of a protocol according to which agents agree to communicate.
Moreover, these patterns contains only abstract information on agent interaction
providing minimal information on an internal agent behavior. We also describe</p>
      <p>An agent X sends (receives) a message to
(from) an agent Y.</p>
      <p>An agent X concurrently sends (receives)
several messages (&gt;1) to (from) an agent Y.</p>
      <p>An agent X sends (receives) exactly one out
of two (or more) alternative message sets to
(from) an agent Y.</p>
      <p>An agent X sends a message to an agent Y .</p>
      <p>Subsequently, Y sends a response to X.</p>
      <p>An agent X concurrently sends several
messages (&gt;1) to an agent Y. Then Y sends a
response to each message received from X.</p>
      <p>An agent X sends exactly one out of two (or
more) alternative message sets to an agent
Y. Subsequently, Y sends a corresponding
response to a message received from X.</p>
      <p>The iterative implementation of SIP-4, s.t.
message exchange process continues till an
Agent X does not need responses from an</p>
      <p>Agent Y .
how to instantiate (refine) patterns with details of each agent behavior to obtain
sound and structured models of multi-agent systems with two interacting agents.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Basic Notions</title>
      <p>In this section, we recall definitions from Petri net theory necessary for
constructing and refining formal models of service interaction patterns.</p>
      <p>N denotes the set of non-negative integers. Let A be a set. The set of all
finite non-empty sequences over A is denoted by A+, and A∗ = A+ ∪ {}, where
 corresponds to the empty sequence. A function m : A → N defines a multiset
m over A. Let m1, m2 be a pair of multisets over A. The standard set operations
are extended to multisets as well, i.e. (a) m1 ⊆ m2 ⇔ m1(a) ≤ m2(a), (b)
m′ = m1 ∪ m2 ⇔ m′(a) = m1(a) + m2(a) and (c) m′′ = m1 \ m2 ⇔ m′′(a) =
max(0, m1(a) − m2(a)) for all a ∈ A.</p>
      <p>A Petri net is a triple N = (P, T, F ), where where P and T are two disjoint
sets of places and transitions, i.e. P ∩ T = ∅, and F ⊆ (P × T ) ∪ (T × P ) is a
flow relation, where dom(F ) ∪ cod(F ) = P ∪ T . Graphically, places are shown
by circles, transitions — by boxes, and flow relation — by arcs.</p>
      <p>Let N = (P, T, F ) be a Petri net, and X = P ∪ T . The set •x = {y ∈
X|(y, x) ∈ F } denotes the preset of x ∈ X. The set x• = {y ∈ X|(x, y) ∈ F }
denotes the postset of x ∈ X. Let A ⊆ X, then •A = x∈A •x, A• = x∈A x•.
By N (A) we denote a subnet of N generated by A, i.e. N (A) = (P ∩ A, T ∩
A, F ∩ (A × A)). Note that we consider nets, s.t. ∀t ∈ T : |•t| ≥ 1 and |t•| ≥ 1.</p>
      <p>A marking (state) of a Petri net N = (P, T, F ) is a function m : P → N.
A marking is shown by putting m(p) black dots (tokens) inside a place p ∈ P .
A marked Petri net N = (P, T, F, m0) is a Petri net together with its initial
marking m0. A marking m enables a transition t ∈ T , denoted m[t〉, if •t ⊆ m.
The firing t at m leads to a new marking m′ = (m \ •t) ∪ t•, denoted m[t〉m′.</p>
      <p>A sequence w ∈ T ∗ is a firing sequence of N = (P, T, F, m0) if w = t1t2 . . . tn
and m0[t1〉m1[t2〉 . . . mn−1[tn〉mn. Then we can write m0[w〉mn. The set of all
firing sequences of N is denoted by F S(N ).</p>
      <p>A marking m of N = (P, T, F, m0) is reachable if ∃w ∈ F S(N ) : m0[w〉m. Any
reachable marking is reachable from itself, i.e. m[〉m. The set of all markings
reachable from m is denoted by [m〉. A reachable marking is dead if it does not
enable any transition. N is safe if ∀p ∈ P ∀m ∈ [m0〉 : m(p) ≤ 1. In other words,
in a safe net N we have ∀m ∈ [m0〉 : m ⊆ P .</p>
      <p>A state machine is a connected Petri net N = (P, T, F ), s.t. ∀t ∈ T : |•t| =
|t•| = 1. A subnet of a marked Petri net N = (P, T, F, m0) identified by a
subset of places A ⊆ P and its neighborhood, i.e. N (A ∪ (•A•)), is a sequential
component of N if it is a state machine and has a single token in the initial
marking. N is covered by sequential components if every place belongs to at
least one sequential component. Then N is state machine decomposable (SMD).</p>
      <p>Workflow nets form a special subclass of Petri nets used for modeling
processes. They have an explicitly specified initial and final state. The initial state is
obviously to correspond with the initial marking. We define generalized workflow
nets which initial and final states are expressed in terms of subsets of places.
Note that SMD GWF-nets are safe.</p>
      <p>A marked Petri net N = (P, T, F, m0, mf ) is a generalized workflow net
(GWF-net) if and only if:
1. m0 ⊆ P , s.t. •m0 = ∅ and m0 ∕= ∅.
2. mf ⊆ P , s.t. mf • = ∅ and mf ∕= ∅.
3. ∀x ∈ P ∪ T ∃s ∈ m0 ∃f ∈ mf : (s, x) ∈ F ∗ and (x, f ) ∈ F ∗, where F ∗ is the
reflexive transitive closure of F .</p>
      <p>The third requirement intuitively means that each node of a GWF-net should
lie on a path from a place in the initial state to a place in the final state. The
correctness of processes modeled via GWF-nets is considered in terms of their
soundness. A GWF-net N = (P, T, F, m0, mf ) is sound if and only if:
1. ∀m ∈ [m0〉 : mf ∈ [m〉.
2. ∀m ∈ [m0〉 : mf ⊆ m ⇒ m = mf .
3. ∀t ∈ T ∃m ∈ [m0〉 : m[t〉.
4</p>
      <p>
        Modeling and Refining Abstract Service Interaction
Patterns
Figure 2 shows seven sound and state machine decomposable GWF-nets
constructed according to the specification of abstract patterns given in Section 2.
Each GWF-net is also a channel-composition of two disjoint GWF-nets.
Channels are places which we add to connect selected transitions of GWF-nets.
Channels model message exchange between two agents. A channel-composition of two
GWF-nets N1 and N2 via a set of channels C is denoted by N1 ⊕C N2, where
C is a parameter. In an abstract pattern N1 ⊕C N2, N1 and N2 are abstract
models of agent behavior. The precise definition of the channel-composition has
been given in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Channels are indicated as small gray places in Fig. 2.
(a) SIP-1
      </p>
      <p>(b) SIP-2
N1
s
N1
s1
r1
r</p>
      <p>N2
r2
s2</p>
      <p>N2
s1</p>
      <p>s2
N1
r1</p>
      <p>r2</p>
      <p>N2
s11
r11</p>
      <p>N1
s12
r12
r21
s21</p>
      <p>N2
r22
s22
s1
N1
s11
r11
N1
s2</p>
      <p>r1
(c) SIP-3
s12
r12
r21
s21
r22
s22
N2
r2
N2
(d) SIP-4
(e) SIP-5</p>
      <p>(f) SIP-6
s12
r11
s11
N1
s21
r21</p>
      <p>N2</p>
      <p>
        r22
(g) SIP-7
We refine GWF-nets of abstract interaction patterns with detailed models
of agent behavior following the compositional approach described in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Given
a channel-composed GWF-net of an abstract pattern N1 ⊕C N2, N1 and N2 are
refined with agent behavior details. Refinement is implemented with the help of
α-morphisms [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>The α-morphism is a mapping between two state machine decomposable
GWF-nets: from a refined model to its abstraction. The α-morphism is a
total surjective mapping. It maps nodes of a refined model onto nodes of its
ϕ : N1 →</p>
      <p>N2, where N2 is an abstract model, and N1 is its refinement.
Consider the α-morphism ϕ : N1′ → N1 shown in Fig. 3(a), where N1′ is a refinement
of N1 from the abstract pattern SIP-4. The refinement of places is depicted by
shaded ovals and by the transition labels explicitly, which can also result in
splitting transitions of an abstract model. As shown in Fig. 3(a), the transition r1 of
the abstract GWF-net N1 is refined (split) by a pair of transitions r11 and r12
of the detailed GWF-net N1′ , whereas the transition s1 is not refined.
s
1
also mapped to this place. In Fig. 3(a), the transition t9 is mapped to the final
place of N1. Then its neighborhood is also mapped to the final place of N2.</p>
      <p>
        The main motivation behind α-morphisms is the ability to ensure that
propleft in the subnet ϕ−1(p) of N1′ refining the place p of N1.
erties of an abstract model hold in its refinement (refer to Lemma 1 in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). For
instance, when the transition s1 of N1 from Fig. 3(a) fires, the token is moved to
the place q. Correspondingly, when the transition s1 of N1′ fires, no tokens are
      </p>
      <p>
        According to the main result of [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], in the general case one can simultaneously
refine N1 and N2 in their channel-composition N1 ⊕C N2 by N1′ and N2′ , if
then N1′ ⊕C N2′ is also a sound GWF-net.
there are two corresponding α-morphisms ϕi : Ni′ → Ni for i = 1, 2, obtaining
N1′ ⊕C N2′ as a result. Moreover, if N1 ⊕C N2, N1′ and N2′ are sound GWF-nets,
      </p>
      <p>Thus, we can refine interaction patterns with sound GWF-nets corresponding
to the detailed models of agent behavior. As a result, we obtain sound GWF-nets
of multi-agent systems with two asynchronously interacting agents. Therefore,
each pattern defines a class of sound process models for multi-agent systems.</p>
      <p>For example, consider the pattern SIP-4 (see Fig. 2(d)). Its refinement is
and ϕ2 : N2′ →
provided in Fig. 3(b), according to α-morphisms ϕ1 : N1′ → N1 given in Fig. 3(a)</p>
      <p>
        N2 indicated by shaded ovals and transition labels. A possible
refinement of the pattern SIP-7 has been given in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] (see Fig. 5(a) there).
      </p>
      <p>
        Let us consider the patterns with conflicts (SIP-3, SIP-6 and SIP-7) in more
detail. A set of transitions is in conflict if the share at least one common
input place. Conflicts of the abstract model should be properly refined (given by
definition of α-morphisms in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). This is clarified in the following example.
      </p>
      <p>Consider refinements of N1 from the pattern SIP-3 shown in Fig. 4. The
refinement shown in Fig. 4(a) is incorrect, since the output places (a, b) of the
shaded subnet have only one outgoing transition, whereas the abstract place p
has the choice between two transitions. The refinement shown in Fig. 4(b) is
valid, since the output places (c, d) of the shaded subnet has “the same choices”
the abstract place p does. Moreover, in the case of the place d, the transition s2
is split into two other transitions (s21 and s22) at the detailed level in N1′ .</p>
      <p>N'1
t
1
a
s
1
t
2
b
s
2
s
1
N1
p
s
2
t
1
c
t
2
d
s1 s2 s1 s21 s21
N'1
'v3U+MXGZPwY7E
8gRn&gt;ACcjHLNFD/quQTIKkB5Jo
l&lt;atexish1_b64="0fO9rWzmSyd2Vp
s
1
N1
p
s
2
(a) wrong refinement</p>
      <p>
        (b) correct refinement
our experiments inductive miner [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] has been used, since it guarantees
soundness and state machine decomposability (see Section 3) of discovered models.
5.1
      </p>
      <p>Main Layout of Experiments
The experiments have been conducted according to the plan provided below.
Step 1. Take a service interaction pattern which is modeled in terms of the
channel-composition N1 ⊕C N2 and refine it by using α-morphisms ϕi : Ni′ → Ni
(i = 1, 2). Thus, obtain a sound system model N1′ ⊕ N2′ .</p>
      <p>
        Step 2. Compute an event log L of N1′ ⊕ N2′ by simulating it using the tool
presented in [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. This event log is considered to be the main input to the process
discovery algorithm.
      </p>
      <p>Step 3. Discover a GWF-net Nd from the event log L directly.</p>
      <p>Step 4. Filter the event log L according to the behavior of individual agents
obtaining the two sub-logs LN1′ and LN2′ .</p>
      <p>Step 5. Discover two sound GWF-nets N1′ and N2′ from the sub-logs LN1′ and
LN2′ computed at the previous step.</p>
      <p>Step 6. Having constructed the α-morphism ϕi : Ni′ →

compositionally discovered GWF-net Nc = N1′ ⊕C N2′ .</p>
      <p>Step 7. Compare quality of Nc with that of Nd constructed at Step 4.
Ni (i = 1, 2), get a</p>
      <p>The construction of the two α-morphisms at Step 6 is done manually so far.
An algorithm for constructing α-morphisms is subject for further investigations.</p>
      <p>
        There are four main quality dimensions used in process discovery: fitness,
precision, simplicity and generalization [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. In our experiments, we estimate
precision and simplicity (Step 7). Precision shows how much extra behavior a
discovered model adds in comparison with that given in an initial event log.
      </p>
      <p>The (structural) complexity of a discovered process model is captured by the
simplicity dimension. We express a model simplicity through assessing:
– the number of places, transitions and arcs;
– the number of neighboring transitions between different agents.
The following paragraph explains the main idea behind the notion of neighboring
transitions.</p>
      <p>Neighboring transitions. Inductive miner produces a sound GWF-net N = (P, T,
F, m0, mf ) with transitions labeled by a transition labeling function λ : T →
A ∪ {τ }. A is a set of visible event names recorded in an event log from which N
is discovered, whereas τ is a special label of a silent transitions. Silent transitions
do not correspond to any event from an event log.</p>
      <p>We introduce the notion of neighboring transitions as an attempt to
measure the extent to which a structure of a discovered model correspond to the
actual multi-agent system structure w.r.t. agent interaction. In other words, we
expect a structured model of a multi-agent system to explicitly indicate behavior
of individual agents as well as the way the communicate by sending/receiving
messages (via channels). Below we give precise definitions.</p>
      <p>Let N = (P, T, F, m0, mf ) be a GWF-net, and λ : A ∪ {τ } be a transition
labeling function. Two transitions t1, t2 ∈ T , s.t. λ(t1) ∕= τ and λ(t2) ∕= τ , are
called neighboring iff there exists a path in N connecting t1 and t2, where other
transitions are silent. This is expressed symbolically as follows:
– (t1, t2) ∈ F ∗, where F ∗ is the reflexive transitive closure of F , and
– ∀t ∈ T \ {t1, t2} : ((t1, t) ∈ F ∗ ∧ (t, t2) ∈ F ∗) ⇒ λ(t) = τ.</p>
      <p>When N represents a model for a multi-agent system with two asynchronously
interacting agents X and Y , T = TX ∪TY , s.t. TX ∩TY = ∅. We are interested in
finding neighboring transition pairs involving different agents. NbN denotes the
number of neighboring transition pairs of N from (TX × TY ) ∪ (TY × TX ), s.t. two
symmetric pairs are counted as a single pair. Intuitively, the bigger the value of
NbN is, the less transparent and understandable the structure N is w.r.t. agent
interaction. NbN of a “perfect” model of a multi-agent system is minimized up
to transitions connected directly via channel places.</p>
      <p>Consider two GWF-net fragments shown in Fig. 5, where ti and qi transition
labels correspond to actions of different agents. Silent transitions are indicated
by black boxes. The fragment shown in Fig. 5(a) has 5 neighboring transitions
pairs, whereas NbN of the fragment shown in Fig. 5(b) is 2 corresponding to the
only transitions connected via the small channel place.</p>
      <p>t1 t2 q1
t3 q2 q3
(a) NbN = 5
t1</p>
      <p>t2
t3
q1
q3
q2
q4
(b) NbN = 2</p>
      <p>The following conclusions can be made based on the results obtained:
1. Compositionally discovered models are more compact w.r.t. the number of
nodes and arcs;
2. Precision of composed models is generally higher in comparison with the
precision of directly discovered models (except for SIP-2 and SIP-4);</p>
      <p>SIP-1 SIP-2 SIP-3 SIP-4 SIP-5 SIP-6 SIP-7
3. Using compositional approach results in minimizing NbN up to transitions
connected only via channel places.</p>
      <p>In the case of patterns SIP-2 and SIP-4, precision decrease stems from the
structure of the agent models and the lack of event data. Compositionally
discovered models with concurrent branches allow for more behavior in comparison
with directly discovered models. However, precision of these models will grow, if
event logs have more examples (more traces) of the possible observed behavior.
6</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>
        This paper deals with the problem of discovering structured and sound models
of multi-agent systems from their event logs. The proposed approach is based on
using asynchronous service interaction patterns. A system model is composed
from two agent models w.r.t. an interaction pattern. We have constructed
formal models of seven typical interaction patterns. They describe communication
between two agents at the abstract level. By using channel-composition and
αmorphisms as described in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], we show how abstract pattern models can be
refined to obtain sound models of multi-agent systems.
      </p>
      <p>We have conducted the series of experiments on using the proposed
interaction patterns for compositional process discovery. Experiment results show that
composition allows us to obtain more compact and precise models. Moreover, the
structure of compositionally discovered models explicitly indicates agents as
subnets and their interaction as channel places. To quantify it, we have introduced
the notion of neighboring transitions. The number of neighboring transitions in
composed models is exactly the number of transitions connected via channels.</p>
      <p>The future research will be focused on working with more general multilateral
patterns involving k (more than two) interaction agents. We also plan to conduct
more experiments applying other process discovery algorithms provided that
discovered models meets necessary requirements. Note also that formal models
of the proposed patterns can be regularly composed (sequencing, alternative of
parallel composition) producing more complex interaction patterns.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>van der Aalst</surname>
            ,
            <given-names>W.M.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mooij</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stahl</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolf</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Service interaction: Patterns, formalization, and analysis</article-title>
          .
          <source>In: SFM 2009. LNCS</source>
          , vol.
          <volume>5569</volume>
          , pp.
          <fpage>42</fpage>
          -
          <lpage>88</lpage>
          . Springer, Heidelberg (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>van der Aalst</surname>
          </string-name>
          , W.: Process Mining - Data Science in Action. Springer,
          <volume>2</volume>
          <fpage>edn</fpage>
          . (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Augusto</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Conforti</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosa</surname>
            ,
            <given-names>M.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maggi</surname>
            ,
            <given-names>F.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marrella</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mecella</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soo</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Automated discovery of process models from event logs: Review and benchmark</article-title>
          .
          <source>IEEE TKDE</source>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Baldan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Corradini</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ehrig</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heckel</surname>
          </string-name>
          , R.:
          <article-title>Compositional modeling of reactive systems using open nets</article-title>
          .
          <source>In: CONCUR 2001. LNCS</source>
          , vol.
          <volume>2154</volume>
          , pp.
          <fpage>502</fpage>
          -
          <lpage>518</lpage>
          . Springer (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Barros</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>ter Hofstede</surname>
          </string-name>
          , A.:
          <article-title>Service interaction patterns</article-title>
          .
          <source>In: BPM 2005. LNCS</source>
          , vol.
          <volume>3649</volume>
          , pp.
          <fpage>302</fpage>
          -
          <lpage>318</lpage>
          . Springer, Heidelberg (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Bernardinello</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lomazova</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nesterov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pomello</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Compositional discovery of workflow nets from event logs using morphisms</article-title>
          .
          <source>In: Proceedings of ATAED-2018. CEUR Workshop Proceedings</source>
          , vol.
          <volume>2115</volume>
          , pp.
          <fpage>23</fpage>
          -
          <lpage>38</lpage>
          . CEUR-WS.org (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Bernardinello</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mangioni</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pomello</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Local state refinement and composition of elementary net systems: An approach based on morphisms</article-title>
          .
          <source>In: ToPNoC VIII. LNCS</source>
          , vol.
          <volume>8100</volume>
          , pp.
          <fpage>48</fpage>
          -
          <lpage>70</lpage>
          . Springer, Heidelberg (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Best</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Devillers</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , Hall,
          <string-name>
            <surname>J.G.</surname>
          </string-name>
          :
          <article-title>The box calculus: A new causal algebra with multi-label communication</article-title>
          .
          <source>LNCS</source>
          , vol.
          <volume>609</volume>
          , pp.
          <fpage>21</fpage>
          -
          <lpage>69</lpage>
          . Springer (
          <year>1992</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Buijs</surname>
            ,
            <given-names>J.C.A.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>van Dongen</surname>
            ,
            <given-names>B.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>van der Aalst</surname>
            ,
            <given-names>W.M.P.</given-names>
          </string-name>
          :
          <article-title>On the role of fitness, precision, generalization and simplicity in process discovery</article-title>
          .
          <source>In: OTM 2012</source>
          . pp.
          <fpage>305</fpage>
          -
          <lpage>322</lpage>
          . Springer, Heidelberg (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Campagna</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kavka</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Onesti</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Bpmn 2.0 and the service interaction patterns: Can we support them all? In: ICSOFT 2014</article-title>
          .
          <article-title>CCIS</article-title>
          , vol.
          <volume>555</volume>
          , pp.
          <fpage>3</fpage>
          -
          <lpage>20</lpage>
          . Springer, Heidelberg (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Decker</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barros</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Interaction modeling using bpmn</article-title>
          .
          <source>In: BPM 2007 Workshops. LNCS</source>
          , vol.
          <volume>4928</volume>
          , pp.
          <fpage>208</fpage>
          -
          <lpage>219</lpage>
          . Springer, Heidelberg (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Decker</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Puhlmann</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weske</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Formalizing service interactions</article-title>
          .
          <source>In: BPM 2006. LNCS</source>
          , vol.
          <volume>4102</volume>
          , pp.
          <fpage>414</fpage>
          -
          <lpage>419</lpage>
          . Springer, Heidelberg (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Girault</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Valk</surname>
          </string-name>
          , R.:
          <article-title>Petri Nets for Systems Engineering: A Guide to Modeling, Verification,</article-title>
          and Applications. Springer, Heidelberg (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Leemans</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fahland</surname>
            , D., van der Aalst,
            <given-names>W.M.P.</given-names>
          </string-name>
          :
          <article-title>Discovering block-structured process models from event logs - a constructive approach</article-title>
          .
          <source>In: PETRI NETS</source>
          <year>2013</year>
          .
          <article-title>LNCS</article-title>
          , vol.
          <volume>7927</volume>
          , pp.
          <fpage>311</fpage>
          -
          <lpage>329</lpage>
          . Springer, Heidelberg (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Lu</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nagelkerke</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , v. d. Wiel,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Fahland</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          :
          <article-title>Discovering interacting artifacts from erp systems</article-title>
          .
          <source>IEEE Transactions on Services Computing</source>
          <volume>8</volume>
          (
          <issue>6</issue>
          ),
          <fpage>861</fpage>
          -
          <lpage>873</lpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Nesterov</surname>
            ,
            <given-names>R.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lomazova</surname>
            ,
            <given-names>I.A.</given-names>
          </string-name>
          :
          <article-title>Using interface patterns for compositional discovery of distributed system models</article-title>
          .
          <source>Proceedings of the Institute for System Programming</source>
          <volume>29</volume>
          (
          <issue>4</issue>
          ),
          <fpage>21</fpage>
          -
          <lpage>38</lpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Nesterov</surname>
            ,
            <given-names>R.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lomazova</surname>
            ,
            <given-names>I.A.</given-names>
          </string-name>
          :
          <article-title>Compositional process model synthesis based on interface patterns</article-title>
          .
          <source>In: TMPA 2017. CCIS</source>
          , vol.
          <volume>779</volume>
          , pp.
          <fpage>151</fpage>
          -
          <lpage>162</lpage>
          . Springer (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Nesterov</surname>
            ,
            <given-names>R.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mitsyuk</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lomazova</surname>
            ,
            <given-names>I.A.</given-names>
          </string-name>
          :
          <article-title>Simulating behavior of multi-agent systems with acyclic interactions of agentss</article-title>
          .
          <source>Proceedings of the Institute for System Programming</source>
          <volume>30</volume>
          (
          <issue>3</issue>
          ),
          <fpage>285</fpage>
          -
          <lpage>302</lpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Reisig</surname>
          </string-name>
          , W.: Understanding Petri Nets: Modeling Techniques,
          <source>Analysis Methods, Case Studies. Springer</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>