<!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>
      <journal-title-group>
        <journal-title>Workshop on Advances in Argumentation in Artificial Intelligence (AI</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Argumentation meets Process Mining: an architecture for log interpretation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Bettina Fazzinga</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sergio Flesca</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Filippo Furfaro</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luigi Pontieri</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DICES - University of Calabria</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>DIMES - University of Calabria</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>ICAR - CNR</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>3</volume>
      <issue>2021</issue>
      <fpage>0000</fpage>
      <lpage>0001</lpage>
      <abstract>
        <p>We consider the scenario where there is an abstraction gap between the “low-level" events composing the traces in a business process log and the “high-level" activities in terms of which the analysts typically reason on the process behavior. We address the online interpretation problem of translating the event that has just been generated within a business process into the step of the activity instance it corresponds to. We present the architecture of a novel tool that models this interpretation problem as a dispute, encoded into an Abstract Argumentation Framework (AAF) [1], and that translates the computation of the valid interpretations, as well of the explanations on why the other interpretations are not valid, into instances of the AAF acceptance problem.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Thanks to the increasing difusion of automated tracing systems, the analysis of log data
describing executions of business processes has gained momentum with the growth of the
Process Mining research field [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. However, all the approaches and tools developed in this
ifeld require that each log event can be mapped to well-defined activities, corresponding to
some high-level view of the process. As a matter of fact, this assumption often does not hold
in practice: in the logs of many processes, the events just represent low-level operations, with
no clear reference to the business activities that were carried out through these operations, as
shown in the following example.
      </p>
      <p>Example Consider the scenario of a hospital where patient medical records are stored by
keeping track of the low-level events describing the exams and the checks performed by doctors
and nurses. Suppose that a trace consists of Φ = 1, 2, 3, 4, where 1 is the event Blood
sample taken, 2 is Blood pressure measurement, 3 is Temperature measurement, and 4 is
Cannula insertion, and that each of the first 3 events can be performed during any of the
highlevel activities 1 =pre-hospitalization, 2 =pre-surgery, 3 =post-surgery, while 4 can be
performed only during activity 2. In order to reconstruct the medical history of patients, there
is the need to interpret the low-level trace in terms of high-level activities, and due to the
manyto-many correspondence between events and activities, the high-level trace interpretations are
many: 1 = 1112, 2 = 1122, 3 = 2222, and so on. □</p>
      <p>In the above-described scenario, we aim at providing the business analyst with a tool
supporting explorative analyses of low-level traces, that can give insights on the “high-level" behavior
exhibited by the monitored process. We assume the presence of some background knowledge,
that is we assume that the many-to-many mapping between activities and events is known,
and some information about the dependencies between the high-level activities is available,
in the form of precedence rules among activities and of composition of activities. Example
Continuing the previous example, suppose that we know that 2 must always be immediately
preceded by 1, and that 1 must always start with Blood sample taken and end with Blood
pressure measurement. By using these rules, it is possible to filter out some of the high-level
interpretations, and find out that the only interpretation that is consistent with the rules is 2.
□</p>
      <p>In this context, given a trace Φ , expressed in terms of low-level events and representing an
execution of a business process, we focus on the online interpretation problem of evaluating
the answers and the explanations of Interpretation Queries over Φ , i.e. queries that seek for a
“high"-level description of the current event in terms of the high-level activities of the business
process at hand. We model the interpretation problem as an AAF, and translate the computation
of interpretations and explanations on why the other interpretations are not valid into instances
of the AAF acceptance problem.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>
        The form of abstraction gap described above afects process logs collected in a variety of contexts,
and several eforts have been devoted to provide techniques able to interpret logs in terms
of activities [
        <xref ref-type="bibr" rid="ref10 ref3 ref4 ref5 ref6 ref7 ref8 ref9">3, 4, 5, 6, 7, 8, 9, 10</xref>
        ]. In our opinion, two issues undermine the applicability and
usefulness of current log-abstraction solutions:
      </p>
      <p>
        I1) The analyst is not allowed to evaluate the diferent alternative interpretations that likely
exist for a log event/trace. Indeed, existing methods just return one “optimal”
interpretation, which represents an incomplete biased view of the event/trace. This makes
these methods unsuitable for operational settings (e.g., concerning security management,
auditing or business-critical decision making), where the risk of incorrectly interpreting
log data should be minimized. However, when many interpretations are possible, it is not
suficient to just compute and return them all directly to the analyst (e.g., as done in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]),
since without providing the analyst with efective tools for exploring and analyzing these
interpretations, they may become useless.
      </p>
      <p>
        I2) The analyst is not given the possibility to get explanations for the interpretations returned
and, more importantly, for any other alternative interpretation that has been discarded
(and may yet look plausible to her/him). This deficiency makes existing methods hardly
trustable to “risk-averse” business users (as noticed in [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] for the whole class of Process
Mining tools), since: (i) the analyst is unlikely to be capable of extracting the explanations
by her/himself by looking into the raw log data and the received results, and (ii) these
Current
event
ecurr
      </p>
      <p>Log</p>
      <p>A priori knowledge (can be revised during the analysis)
- Alphabet of low-level events and high-level activities;
- mapping events-to-activities (typically many-to-many);
- composition rule (set of behavioral rules expressing</p>
      <p>dependencies between activities)
Current trace
= e1, e2, ..., ecurr</p>
      <p>REASONER
(based on abstract argumentation)</p>
      <p>The system
architecture
Alert conditions:
- request of being alerted when an
interpretation query becomes true</p>
      <p>Queries, What-if conditions:
Explanation requests - hypotheses revising/augmenting
the a-priori knowledge</p>
      <p>Query answers
Explanations</p>
      <p>Alerts</p>
      <p>
        Analyst
methods typically incorporate black-boxes or combinations of heuristics that hide the
rationale underlying the returned results (e.g., owing to the use of automatically-discovered
sequence models [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ], clustering algorithms [
        <xref ref-type="bibr" rid="ref7 ref8 ref9">7, 8, 9</xref>
        ], optimal alignments [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]).
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Our framework</title>
      <p>Our system, whose architecture is shown in Figure 1, supports an interactive exploration of
ongoing low-level traces: it provides fast answers to interpretation queries and explanation
requests: for example, considering the previous example, and interpretation query could be Can
2 of Φ be a step of an instance of 2?, and its answer, along with the explanation, would be No,
as it must be a step of an instance of 1 due to the composition rules.</p>
      <p>Our system, also, ofers further amenities. For instance, it allows the user to set alerts: the
analyst can ask to be warned when an interpretation query becomes true, e.g., when the system
detects that the current event is (possibly or certainly) the first step of an execution of a specific
activity .</p>
      <p>In our system, query answers and explanations are computed thanks to a reasoner, that
properly exploits some background knowledge on the activities and events involved in the
process. In this regard, we rely on two forms of knowledge. First, we assume that the alphabet
of high-level activities is known, along with the many-to-many mapping between activities
and events: that is, for each activity type , we assume that the set of events that can be
raised during any execution of  is known. Second, we assume that a declarative behavioral
model of the underlying process, describing what is known about the dependencies between
the high-level activities, is available. We point out that we allow activities to be complex, i.e.,
activities whose instances can be composed by many events, and that we allow more than one
instance of the same activity to be executed at the same time.</p>
      <p>
        Given this, the process of answering interpretation queries, i.e., deciding which
interpretations of the steps of a trace Φ make sense, is modeled as a dispute. Here, virtual agents
participate by proposing either interpretation arguments, i.e., arguments providing possible
interpretations of the trace events (according to the event-to-activity mapping), or attacking
arguments, i.e., arguments claiming that some interpretation arguments may not be considered
as valid interpretations of the corresponding event, since they may raise violations of the
behavioral rules. In particular, this dispute is encoded into an instance  (Φ) of an Abstract
Argumentation Framework (AAF) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], that is a popular paradigm for modeling debates. In fact,
we translate the problem of answering an interpretation query over Φ into the problem of
verifying whether the argument proposing the interpretation specified in the query is “accepted"
in  (Φ) . In fact, the prototype implementation of our framework invokes the state-of-the-art
argumentation solver  -toksia [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] to answer interpretation queries and compute explanations,
and benefits from its well-known eficiency. In particular, we model the process of reasoning on
the actual cause of the current event curr of Φ as an AAF  (Φ) , whose arguments can be:
1. interpretation arguments: arguments that propose an interpretation for a single step  of
Φ (such as the argument  : “Given the current composition of Φ , I believe that the event 
occurred as the first step of the 3rd execution of activity ”);
2. undermining arguments: arguments that attack interpretation arguments for an event on
the basis of how the other events have been interpreted (such as the argument  1: “Since
a composition rule of the process says that an execution of activity  cannot be followed
by an execution of , and since the event preceding curr was the last step of an execution
of , the argument curr cannot be interpreted as a step of an instance of ”, or  2: “Since
the number of instances of  started before the arrival of curr is less than 3, the event curr
cannot be interpreted as the first step of the 4-th instance of .”)
      </p>
      <p>These arguments are suitably connected by means of attacks: an attack is from an argument
to another one if the first argument undermines or rebuts or undercuts the second. For instance,
for the above arguments  ,  1, an attack is put from  1 to  .  (Φ) is built progressively: as
soon as a new event  is detected and appended to Φ , the AAF  (Φ) is built by adding to
the “old”  (Φ) new interpretation arguments regarding the current step curr , as well as new
undermining arguments and attacks.</p>
      <p>The point is that, once  (Φ) is constructed, it can be used to “simulate" a complex form
of reasoning on the interpretation of the trace steps. This is allowed by the property that an
interpretation argument  for curr is credulously (resp., skeptically) accepted if and only if the
interpretation (curr ) coinciding with  is a credulously (resp., skeptically) valid interpretation
for curr . Thus, the analyst can elaborate on the reasonability of a candidate interpretation of
curr by solving an instance of the acceptance problem over  (Φ) . Analogously, an explanation
of why an interpretation is not accepted can be obtained by solving other instances of the
acceptance problem.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>We have presented an architecture for supporting an interactive analysis of low-level process
logs, that aims at interpreting each event of a given trace as a step of an activity instance,
based on a loose description of the process activities. We model the interpretation process as
an AAF and compute the valid interpretations of the trace and the explanations of why other
interpretations are not valid by solving an instance of the acceptance problem.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P. M.</given-names>
            <surname>Dung</surname>
          </string-name>
          ,
          <article-title>On the acceptability of arguments and its fundamental role in nonmonotonic reasoning, logic programming and n-person games</article-title>
          ,
          <source>Artif. Intell</source>
          .
          <volume>77</volume>
          (
          <year>1995</year>
          )
          <fpage>321</fpage>
          -
          <lpage>358</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>W. Van Der Aalst</surname>
          </string-name>
          , Data science in action, Springer,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>B.</given-names>
            <surname>Fazzinga</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Flesca</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Furfaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Masciari</surname>
          </string-name>
          , L. Pontieri,
          <article-title>Eficiently interpreting traces of low level events in business process logs</article-title>
          ,
          <source>Inf. Syst</source>
          .
          <volume>73</volume>
          (
          <year>2018</year>
          )
          <fpage>1</fpage>
          -
          <lpage>24</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>B.</given-names>
            <surname>Fazzinga</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Folino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Furfaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Pontieri</surname>
          </string-name>
          ,
          <article-title>An ensemble-based approach to the securityoriented classification of low-level log traces</article-title>
          ,
          <source>Expert Syst. Appl</source>
          .
          <volume>153</volume>
          (
          <year>2020</year>
          )
          <fpage>113386</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>N.</given-names>
            <surname>Tax</surname>
          </string-name>
          ,
          <article-title>Human activity prediction in smart home environments with lstm neural networks</article-title>
          ,
          <source>in: 2018 14th International Conference on Intelligent Environments (IE)</source>
          , IEEE,
          <year>2018</year>
          , pp.
          <fpage>40</fpage>
          -
          <lpage>47</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>D. R.</given-names>
            <surname>Ferreira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Szimanski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. G.</given-names>
            <surname>Ralha</surname>
          </string-name>
          ,
          <article-title>Improving process models by mining mappings of low-level events to high-level activities</article-title>
          ,
          <source>Journal of Intelligent Information Systems</source>
          <volume>43</volume>
          (
          <year>2014</year>
          )
          <fpage>379</fpage>
          -
          <lpage>407</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>T.</given-names>
            <surname>Baier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mendling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weske</surname>
          </string-name>
          ,
          <article-title>Bridging abstraction layers in process mining</article-title>
          ,
          <source>Information Systems</source>
          <volume>46</volume>
          (
          <year>2014</year>
          )
          <fpage>123</fpage>
          -
          <lpage>139</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>T.</given-names>
            <surname>Baier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Di Ciccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mendling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weske</surname>
          </string-name>
          ,
          <article-title>Matching events and activities by integrating behavioral aspects and label analysis</article-title>
          ,
          <source>Software and Systems Modeling</source>
          <volume>17</volume>
          (
          <year>2018</year>
          ). doi:
          <volume>10</volume>
          . 1007/s10270-017-0603-z.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>G.</given-names>
            <surname>Tello</surname>
          </string-name>
          , G. Gianini,
          <string-name>
            <given-names>R.</given-names>
            <surname>Mizouni</surname>
          </string-name>
          ,
          <string-name>
            <surname>E. Damiani,</surname>
          </string-name>
          <article-title>Machine Learning-Based Framework for Log-Lifting in Business Process Mining Applications</article-title>
          ,
          <source>in: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)</source>
          , volume
          <volume>11675</volume>
          LNCS,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>F.</given-names>
            <surname>Mannhardt</surname>
          </string-name>
          , M. de Leoni,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>Reijers</surname>
          </string-name>
          ,
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
            ,
            <given-names>P. J.</given-names>
          </string-name>
          <string-name>
            <surname>Toussaint</surname>
          </string-name>
          ,
          <article-title>From lowlevel events to activities-a pattern-based approach</article-title>
          ,
          <source>in: Proc. 14th Int. Conf. on Business Process Management (BPM)</source>
          ,
          <year>2016</year>
          , pp.
          <fpage>125</fpage>
          -
          <lpage>141</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>S. T. K.</given-names>
            <surname>Jan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ishakian</surname>
          </string-name>
          , V. Muthusamy,
          <string-name>
            <surname>AI</surname>
          </string-name>
          <article-title>Trust in Business Processes: The Need for Process-Aware Explanations</article-title>
          .
          <source>BT - The Thirty-Fourth AAAI Conference on Artificial Intelligence</source>
          ,
          <source>AAAI</source>
          <year>2020</year>
          , The Thirty-Second
          <source>Innovative Applications of Artificial Intelligence Conference</source>
          ,
          <string-name>
            <surname>IAAI</surname>
          </string-name>
          <year>2020</year>
          ,
          <string-name>
            <given-names>The</given-names>
            <surname>Tenth</surname>
          </string-name>
          <string-name>
            <surname>A</surname>
          </string-name>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Niskanen</surname>
          </string-name>
          , M. Järvisalo,
          <article-title>-toksia: An eficient abstract argumentation reasoner</article-title>
          ,
          <source>in: Proceedings of the 17th International Conference on Principles of Knowledge Representation and Reasoning (KR</source>
          <year>2020</year>
          ), AAAI Press, United States,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>