<!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>Behavior-Based Process Comparison in Apromore</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Abel Armas-Cervantes</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nick R.T.P. van Beest</string-name>
          <email>nick.vanbeest@data61.csiro.au</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marlon Dumas</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luciano Garc´ıa-Ban˜uelos</string-name>
          <email>luciano.garciag@ut.ee</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marcello La Rosa</string-name>
          <email>m.larosag@qut.edu.au</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Data61</institution>
          ,
          <addr-line>CSIRO</addr-line>
          ,
          <country country="AU">Australia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Queensland University of Technology</institution>
          ,
          <country country="AU">Australia</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Tartu</institution>
          ,
          <country country="EE">Estonia</country>
        </aff>
      </contrib-group>
      <fpage>34</fpage>
      <lpage>38</lpage>
      <abstract>
        <p>This paper presents the integration of three behavior-based comparison operations between logs and/or models into the Apromore process model repository. Each of these operations takes as input a pair of process artifacts (two event logs, two models, or one log and one model) and describes their behavioral differences by means of natural language statements. The generated difference diagnosis has a range of applications of interest to both practitioners and researchers. For example, the difference diagnosis can offer guidance for reconciling discrepancies between business process variants (model2model comparison); can be used to pinpoint and explain differences between actual and expected behavior for conformance checking purposes (model2log comparison); or can explain dissimilarities between normal and deviant executions of a process (log2log comparison).</p>
      </abstract>
      <kwd-group>
        <kwd>Apromore</kwd>
        <kwd>behavioral comparison</kwd>
        <kwd>deviance mining</kwd>
        <kwd>conformance checking</kwd>
        <kwd>consolidation of variants</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The behavioral comparison of process models and event logs is a recurrent primitive
in business process analysis. Conformance checking, deviance mining and
(behaviorbased) process model comparison can be seen as specific instances of this general
primitive. In particular, conformance checking aims at finding if the observed behavior
captured in an event log complies with the behavior specified in the model; deviance mining
compares the behavior captured in event logs to explain why a business process deviates
from its normal or expected behavior; finally, (behavior-based) process model
comparison aims at explaining the behavioral differences between process models that may
correspond to variants of the same business process.</p>
      <p>
        A critical feature of behavioral comparison operations is the interpretability of the
identified differences between logs, models or between a model and a log. In this
regard, a set of techniques for conformance checking, deviance mining and process model
Copyright c 2016 for this paper by its authors. Copying permitted for private and academic
purposes.
comparison have been proposed in [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ], [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ], respectively. These techniques
use event structures [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], a well-known model of concurrency, as unified behavioral
abstractions for both logs and models [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. This comparison approach is independent of
the input-format, i.e. process models, event logs or both. The differences are reported
to the user in the same way regardless of the input type, using a set of sentences in
natural language, without requiring in-depth knowledge of formal modeling languages
like Petri nets. Consequently, our tool is suitable for use by business analysts and, as
opposed to other approaches, it does not require process modeling or mining experts to
interpret the results. Figure 1 depicts an overview of the implemented operations.
      </p>
      <p>Model 1
Model 2
Model to log
comparison
(e.g., conformance Compare
checking)</p>
      <p>Prime event
structure of</p>
      <p>Model 1
Prime event
structure of</p>
      <p>Log 1
Log 1</p>
      <p>Model to model</p>
      <p>comparison
(e.g., consolidation
of variants)
Compare
Compare
Log to log
comparison
(e.g., deviance
mining)</p>
      <p>Prime event
structure of
Model 2
Compare
Prime event
structure of</p>
      <p>Log 2
Log 2</p>
      <p>
        This paper presents the integration of the techniques proposed in [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ], [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ]
into the Apromore process model repository 2. Apromore is an open-source and
extensible online repository of state-of-the-art capabilities for managing large process model
collections. The operations for conformance checking, deviance mining and
(behaviorbased) process model comparison complement the wide range of existing capabilities,
e.g., process model merging, simulation, restructuring, querying and similarity search,
provided by Apromore. The three techniques are wrapped into a pairwise Compare
operation that will automatically execute the appropriate comparison operation depending
on the type of selected artifacts as input, two models, one model and one log, two logs.
The modeling languages supported are all those available in Apromore, namely BPMN,
EPCs, Petri nets and YAWL. The log format can be XES or MXML.
2 http://apromore.qut.edu.au
      </p>
      <p>Fig. 2: Apromore Compare interface.</p>
      <p>
        Given a pair of process artifacts, the steps for the three types of comparison are:
1. computation of event structures out of event logs and/or models, 2. comparison of
event structures, and 3. verbalization of the identified differences. In the current
implementation the type of event structures used is prime event structures [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], the comparison
is performed using a so called partial synchronized product [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], and the verbalization
of the differences is aligned with the corresponding papers [
        <xref ref-type="bibr" rid="ref1 ref3 ref4 ref5">1, 3–5</xref>
        ].
      </p>
      <p>Figure 2 shows the different user interfaces in Apromore for the comparison of two
logs and two models. Figure 2(a) shows the menu in Apromore where the Compare
operation is located, Figure 2(b) depicts the input dialog to upload a pair of event logs
and Figure 2(c) shows the popup window displaying the statements in natural language
explaining the identified differences. Finally, Figure 2(d) depicts the representation of
the differences resulting from the comparison of two models. In this case, the
differences are represented in two ways: 1. as statements in natural language (left) and 2. as
overlaid graphics on the process models (right).
2</p>
    </sec>
    <sec id="sec-2">
      <title>Significance and Maturity</title>
      <p>Our toolchain exhibits a novel approach for identifying root causes of deviant process
executions (via event log comparison), identifying differences between process
executions and normative process specifications (conformance checking of an event log with
a process model), and identifying differences between different versions or
specifications of process models (i.e. comparing two different business process models).</p>
      <p>The approach can be applied both in intra-organizational and cross-organizational
settings. For instance, different process variants and executions in public organizations
can be identified and analyzed to obtain a set of generic models (e.g. including best
practices) and a set of additional organization-specific features. In addition, process
executions in different organizational branches can be analyzed to identify causes for
performance differences.</p>
      <p>This approach provides for the first time a tool that abstracts from the representation
(i.e. process model or event log) and is capable of reporting a complete set of
differences via natural language statements. The set of produced statements are compact and
interpretable to allow for a clear overview of differences between process models and/or
logs of process executions. The reporting of differences is specifically intended to
inform business analysts, and comparison of complex models and logs is, as such, no
longer limited to technical users only. Consequently, users who are directly involved
in the business process under investigation are now able to interpret the results of the
comparison. Furthermore, the results provided are complete (i.e. all behavioral
differences are identified), more compact and precise than existing approaches and provide,
therefore, a much better assessment of differences between process models and logs.</p>
      <p>
        The Apromore features used in this approach have been evaluated extensively with
respect to accuracy, scalability and advantages over existing approaches. The
evaluations comprised large collections of both artificial and real-life process models and
event logs. The qualitative evaluation showed that the presented toolchain produces
a more compact and much more understandable diagnosis than existing techniques.
Furthermore, the tool exposes differences that are difficult or impossible to identify
otherwise. The quantitative evaluation involved over 700 real-life process models and
showed that the proposed approach has reasonable execution times (within seconds).
Even in extreme cases with a high number of differences between the process model
and the event log (with the event log containing more than 8,000 event occurrences,
considering distinct traces only), the execution time is still within a few minutes. The
detailed results of these evaluations are reported in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] (log2log), [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] (model2log) and
[
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ] (model2model).
      </p>
      <p>Apromore features an OSGi plugin framework to support dynamic
enabling/disabling of plugin bundles and multiple bundle versions. These capabilities include
presentation capabilities with respect to process model restructuring, filtering of models
based on process-related aspects, searching and querying for specific process patterns,
advanced design of process models, including configuring and merging if existing
models, and evaluation capabilities to assess the quality and correctness of models, as well
as simulation and conformance checking techniques for benchmarking. Furthermore,
Apromore provides full import and export functionality to a large variety of business
process modeling languages and log formats, such as BPMN, XPDL, EPML, ARIS,
YAWL, PNML, XES and MXML.</p>
      <p>Apromore is the result of over six years of ongoing development and is currently
in version 3.4. The platform is implemented via a service-oriented architecture and
deployed as a Software as a Service. The technologies used in Apromore combine Spring
as the Java development framework, Maven as the dependency manager, OSGi as the
plugin architecture, EclipseVirgo as the OSGi-based application server, and ZK as the
AJAX front end. The chosen technologies allow Apromore to be an extensible
framework, where new plugins can be easily added to an ecosystem of advanced capabilities
for managing process model collections.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Screencast</title>
      <p>A screencast of Apromore’s compare feature can be found at http://goo.gl/JB1EDv.
The public release of Apromore is available at http://apromore.qut.edu.au and
its source code can be downloaded under the GNU LGPL license version 3.0 from
https://github.com/apromore/ApromoreCode.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. Garc´ıa-Ban˜uelos, L.,
          <string-name>
            <surname>van Beest</surname>
            ,
            <given-names>N.R.T.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>La</given-names>
            <surname>Rosa</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          :
          <article-title>Complete and interpretable conformance checking of business processes</article-title>
          .
          <source>QUT ePrints</source>
          ,
          <source>Technical report #91552</source>
          , http://eprints.qut.edu.au/91552/ (
          <year>December 2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. Garc´ıa-Ban˜uelos, L.,
          <string-name>
            <surname>van Beest</surname>
            ,
            <given-names>N.R.T.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>La</given-names>
            <surname>Rosa</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          :
          <article-title>Business process conformance checking based on event structures</article-title>
          .
          <source>In: Proc. of NWPT'</source>
          <year>2015</year>
          , Reykjavik University (
          <year>2015</year>
          )
          <article-title>3 pages</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. van Beest,
          <string-name>
            <given-names>N.R.T.P.</given-names>
            ,
            <surname>Dumas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Garc´</surname>
          </string-name>
          ıa-Ban˜uelos, L.,
          <string-name>
            <surname>La</surname>
            <given-names>Rosa</given-names>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          :
          <article-title>Log delta analysis: Interpretable differencing of business process event logs</article-title>
          .
          <source>In: Proc. of BPM 2015</source>
          , Springer (
          <year>2015</year>
          )
          <fpage>386</fpage>
          -
          <lpage>405</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Armas-Cervantes</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Baldan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Garc´</surname>
          </string-name>
          ıa-Ban˜uelos, L.:
          <article-title>Diagnosing behavioral differences between business process models: An approach based on event structures</article-title>
          .
          <source>Information Systems</source>
          <volume>56</volume>
          (
          <year>2016</year>
          )
          <fpage>304</fpage>
          -
          <lpage>325</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Armas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Baldan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Garc´</surname>
          </string-name>
          ıa-Ban˜uelos, L.:
          <article-title>Behavioral comparison of process models based on canonically reduced event structures</article-title>
          .
          <source>In: BPM 2014</source>
          , Springer (
          <year>2014</year>
          )
          <fpage>267</fpage>
          -
          <lpage>282</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Nielsen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Plotkin</surname>
            ,
            <given-names>G.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Winskel</surname>
          </string-name>
          , G.:
          <article-title>Petri Nets, Event Structures</article-title>
          and Domains,
          <string-name>
            <surname>Part</surname>
            <given-names>I. TCS</given-names>
          </string-name>
          13 (
          <year>1981</year>
          )
          <fpage>85</fpage>
          -
          <lpage>108</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Garc´</surname>
          </string-name>
          ıa-Ban˜uelos, L. In: Process Mining Reloaded:
          <article-title>Event Structures as a Unified Representation of Process Models</article-title>
          and
          <string-name>
            <given-names>Event</given-names>
            <surname>Logs</surname>
          </string-name>
          . Springer (
          <year>2015</year>
          )
          <fpage>33</fpage>
          -
          <lpage>48</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>