<!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>Constructing Digital Twins for Accurate and Reliable What-If Business Process Analysis</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Marlon Dumas</string-name>
          <email>marlon.dumas@ut.ee</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Tartu</institution>
          ,
          <addr-line>Tartu</addr-line>
          ,
          <country country="EE">Estonia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>A long-standing problem in the eld of Business Process Management (BPM) is that of constructing accurate and reliable models for \what-if" business process analysis (digital process twins). This paper formulates this problem in a general setting and spells out associated challenges. The paper suggests that this problem can be addressed by combining observational data, experimental data, and domain knowledge using hybrid modeling methods drawing from the elds of discrete event simulation, machine learning, and causal inference.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Business processes are destined to change, be it to respond to business
opportunities, environmental changes, changes in customer expectations, sta turnover,
or to address internal bottlenecks and other sources of waste [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>
        Changes in a process may be organic | resulting from actors in a process
adjusting their behavior to respond to emergent situations | or planned |
resulting from agreed-upon changes to the norms, guidelines, policies, or IT
systems. In this paper, we focus planned changes [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], herein called interventions.
Examples of interventions include reordering two tasks, adding a task, adding a
resource, changing the decision logic in a branching point, or automating a task.
      </p>
      <p>Interventions are usually made in order to improve the performance of a
process or to comply with regulations. In either case, process managers are interested
in predicting and understanding the impact of the changes with respect to one
or more process performance measures, such as cycle time (duration of each case
averaged across a set of cases), activity processing time (total time consumed by
an activity type across a set of cases) and resource utilization (percentage of
available time during which a resource is busy).</p>
      <p>A longstanding problem in the eld of BPM is that of what-if process analysis :
How to predict the values that one or more process performance measures will
take after a given business process intervention?</p>
      <p>An intervention on a process may e ect other processes, particularly those
with which it shares resources. For example, the same team of accountants might
handle inbound invoices in a Purchase-to-Pay process (P2P) process and
outbound invoices in an Order-to-Cash (O2C) process. Thus, an intervention in the
P2P process that increases the team's workload may a ect the O2C process.
Copyright © 2021 for this paper by its authors. Use permitted
Creative Commons License Attribution 4.0 International (CC BY 4.0).
under</p>
      <p>Hence, rather than viewing an intervention as a ecting an individual process,
we should reason about one or more interventions a ecting one or more processes.
In the above example, the intervention in the P2P process should be analyzed
relative both to the P2P and the O2C process. Accordingly, we formulate the
problem of what-if process analysis as follows:
{ Given:
1. one or more business processes, for which we might have available one or
more process speci cations and/or event logs generated by the execution
of the processes on top of one or more information systems.
2. Given one or more interventions that a ect one or more processes.
3. Given one or more process performance measures of interest.
{ Predict the values of the process performance measures after the given
interventions.</p>
      <p>A solution to this problem should ful ll the following requirements:
R1 The predictions about the e ects of interventions should be accurate. Here,
accuracy may be measured in terms of the error between the predicted and
the actual performance after intervention.</p>
      <p>R2 Sometimes, it might not be possible to predict the e ect of a given
intervention, for example because no similar interventions have been observed in the
past, and thus there is no information about how the actors in the process
will react. If this is the case, either no prediction should be made or the
prediction should be accompanied by a reliability estimate.</p>
      <p>From a design science perspective, the problem at hand can be formulated
as that of designing a method to construct an artifact that can make the above
predictions for a given set of processes, possible interventions, and performance
measures. Said method may take as input data and domain knowledge about one
or more processes, for example, execution data (event logs), constraints on the
process (declarative speci cations), or other speci cations of process behavior.</p>
      <p>The above design science problem is not speci c to the eld of BPM. A
similar problem has been tackled for several decades in various elds of engineering,
including mechanical and industrial engineering, where the type of artifact
mentioned above is known under the term of Digital Twin (DT). A digital twin is a
model of an object or system that, together with a stream of data about events
related to the object or system, is able to accurately predict the performance
of the physical object or system over time. Hence, the problem we formulate
here can be conceptualized as that of designing methods to construct a DT of a
business process, herein called a Digital Process Twin (DPT).
2</p>
    </sec>
    <sec id="sec-2">
      <title>Why is the problem important?</title>
      <p>
        During the redesign phase of the business process lifecycle, what-if analysis allows
decision makers to compare multiple possible interventions in order to address
one or more performance issues in a process [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. What-if analysis allows managers
to estimate the performance improvements that a given process intervention is
likely to bring about, and hence to build a business case for an intervention by
comparing its expected bene ts against its expected costs or drawbacks.
      </p>
      <p>In addition to its role as a decision making during process redesign, what-if
analysis is a primitive operation for automated business process optimization.
Here automated process optimization refers to the ability to identify optimal
interventions on a process to maximize or minimize a given objective function
(de ned in terms of one or multiple performance measures) under certain
constraints (e.g. resource utilization should remain below 80%)</p>
      <p>
        DPTs also have potential applications in the eld of process optimization [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
Process optimization algorithms operate by exploring a large number of possible
process interventions and evaluating them in order to determine which
intervention (or combination of interventions) yields the highest gain with respect to the
given objective function. To do so, the optimization algorithm needs a DPT that
is su ciently e cient (computationally) to be executed thousands or millions of
times in a short period of time. This use-case brings an additional requirement
in the above problem statement: the DPT should be computationally e cient,
particularly when it comes to generating predictions.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Why is the problem challenging?</title>
      <p>
        The eld of DT construction has reached a certain level of maturity in various
engineering elds (e.g. mechanical and material engineering) where the objects
for which DTs are built are guided by physical laws. There have also been
considerable advances in the eld of DT construction for deterministic systems such as
automated production systems, where DTs are often built using Discrete Event
Simulation (DES) [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. However, the more a system involves a human factor |
and business processes do involve a signi cant human component | the more
intractable it becomes to design digital twins of su ciently high level of delity.
The underpinning challenge is twofold.
      </p>
      <p>First, human behavior exhibits a high level of variability. The performance
of a worker on 1 June might be very di erent from that on 8 June, at exactly
the same time. Some of these variations can be predicted if suitable data is
available: For example, the time since the worker's last vacation period, the
weather, the level of workload, the fact that 8 June is a school holiday. Others,
however, are stochastic, e.g. fatigue e ects due to a viral infection or a bad
night's sleep. Beyond individual variability (variability in the behavior of the
same worker), there is also cross-individual variability: di erent workers behave
di erently under indistinguishable circumstances. A more experienced worker
is likely to complete a task instance faster than a less experienced one, under
identical process execution contexts. There are two intertwined challenges when
modeling such variability: (i) separating the predictable variability from the
unpredictable (stochastic) one; and (ii) collecting the data required to model the
predictable component, e.g. collecting suitable data to train Machine Learning
(ML) models to capture fatigue-related or workload-related variability.</p>
      <p>
        Surmounting the variability challenge is necessary to build simulation models
that accurately capture an \as-is" process. However, the purpose of a DPT is
not so much to capture the as-is process, but rather to reason about the e ects
of interventions, including interventions that have not been observed before. Yet,
human actors may react to interventions in unexpected ways [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Automating a
task might slow down workers downstream if this automation generates issues
that would otherwise be detected by the workers who performed said task before
its automation. Hence, a second challenge is how to reliably and accurately model
the way the performance of the process evolves after an intervention.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Related work and research directions</title>
      <p>
        Business Process (BP) simulation is an established approach for what-if analysis.
Traditional BP simulation methods have various limitations that a ect their
accuracy [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. For example, BP simulators often assume that resources are available
during predetermined timetables, that there is no multi-tasking, no batching, and
no task prioritization. Beyond these limitations, BP simulation approaches su er
from two fundamental assumptions: (i) they assume robotic resource behavior
(e.g. do not take into account fatigue); and (ii) they rely on manually designed
models that often only capture the main pathways of the process. Data-driven
simulation approaches [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] | wherein the simulation model is automatically
discovered from execution data | address some of these shortcomings, e.g. in
relation to handling resource availability patterns and multitasking [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. A direction
to enhance the accuracy of data-driven BP simulation methods is to combine
them with methods for automated discovery of batching [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], prioritization [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ],
and other behaviors that a ect the accuracy of simulations [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ].
      </p>
      <p>
        A related approach to build DPTs is via system dynamics simulation [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
Whereas BP simulations capture the behavior of each case, these approaches
focus on relations between measures (e.g. resource utilization, cycle time).
      </p>
      <p>
        Another possible approach to build DPTs is via ML methods. Recent studies
have shown that it is possible to build generative machine learning models that
accurately replicate the behavior of a process under di erent perspectives,
particularly the control- ow and the temporal perspective [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Recent work showed
that such generative models can achieve higher level of temporal accuracy than
BP simulation models derived from execution data [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. However, generative
models are trained on past data, and are therefore unable to make predictions for
interventions that have not been observed in the past. In contrast, DES
models are able to capture the e ect of certain types of interventions (particularly
interventions that a ect the availability of resources). A direction for building
accurate DPTs is to combine generative ML approaches with existing
(datadriven) BP simulation approaches. The challenge here is how to do so in a way
that the resulting models have the generalizability required for what-if analysis,
beyond simple changes such as removing a task, replacing a task with another
one, or adding a task that ressembles existing tasks in terms of its behavior.
      </p>
      <p>
        Another direction is to combine data-driven simulation with causal ML
techniques. Recent work showed that causal ML techniques (uplift trees) can be used
to assess the impact of interventions on case outcomes [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Similar methods can
be used to estimate the impact of interventions on cycle time. An advantage of
these techniques is that their reliability can be enhanced by combining
observational data (event logs) with experimental (A/B testing) data. The challenge is
how to seamlessly integrate these techniques with simulation in order to
leverage their complementary, given that causal ML techniques can only reason about
interventions that have been observed, in contrast to simulation.
Acknowledgment Work funded by European Research Council (PIX Project).
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Z. D.</given-names>
            <surname>Bozorgi</surname>
          </string-name>
          , I. Teinemaa,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dumas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Rosa</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Polyvyanyy</surname>
          </string-name>
          .
          <article-title>Process mining meets causal machine learning: Discovering causal rules from event logs</article-title>
          . In B. F. van
          <string-name>
            <surname>Dongen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Montali</surname>
          </string-name>
          , and M. T. Wynn, editors,
          <source>Proc. of ICPM</source>
          <year>2020</year>
          , pages
          <fpage>129</fpage>
          {
          <fpage>136</fpage>
          . IEEE,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>M.</given-names>
            <surname>Camargo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dumas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Garc</surname>
          </string-name>
          a-Ban~uelos, I. Mahdy, and
          <string-name>
            <given-names>M.</given-names>
            <surname>Yerokhin</surname>
          </string-name>
          .
          <article-title>Discovering business process simulation models in the presence of multitasking and availability constraints</article-title>
          .
          <source>Data and Knowledge Engineering</source>
          ,
          <volume>134</volume>
          ,
          <year>July 2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>M.</given-names>
            <surname>Camargo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dumas</surname>
          </string-name>
          , and
          <string-name>
            <given-names>O.</given-names>
            <surname>Gonzalez</surname>
          </string-name>
          .
          <source>Automated discovery of business process simulation models from event logs. Decis. Support Syst</source>
          .,
          <volume>134</volume>
          :
          <fpage>113284</fpage>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>M.</given-names>
            <surname>Camargo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dumas</surname>
          </string-name>
          , and
          <string-name>
            <given-names>O. G.</given-names>
            <surname>Rojas</surname>
          </string-name>
          .
          <article-title>Discovering generative models from event logs: Data-driven simulation vs deep learning</article-title>
          .
          <source>CoRR</source>
          , abs/
          <year>2009</year>
          .03567,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>M. de Leoni</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Dees</surname>
            , and
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Reulink</surname>
          </string-name>
          .
          <article-title>Design and evaluation of a process-aware recommender system based on prescriptive analytics</article-title>
          .
          <source>In Proc. of ICPM</source>
          <year>2020</year>
          , pages
          <fpage>9</fpage>
          <lpage>{</lpage>
          16. IEEE,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>M.</given-names>
            <surname>Dumas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Rosa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mendling</surname>
          </string-name>
          , and
          <string-name>
            <given-names>H. A.</given-names>
            <surname>Reijers</surname>
          </string-name>
          . Fundamentals of Business Process Management,
          <source>Second Edition</source>
          . Springer,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>N.</given-names>
            <surname>Martin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Pufahl</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Mannhardt</surname>
          </string-name>
          .
          <article-title>Detection of batch activities from event logs</article-title>
          .
          <source>Inf. Syst.</source>
          ,
          <volume>95</volume>
          :
          <fpage>101642</fpage>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>M.</given-names>
            <surname>Pourbafrani</surname>
          </string-name>
          ,
          <string-name>
            <surname>S. J. van Zelst</surname>
          </string-name>
          , and
          <string-name>
            <surname>W. M. P. van der Aalst.</surname>
          </string-name>
          <article-title>Supporting automatic system dynamics model generation for simulation in the context of process mining</article-title>
          .
          <source>In Proceedings of BIS 2020</source>
          , pages
          <fpage>249</fpage>
          {
          <fpage>263</fpage>
          . Springer,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>M.</given-names>
            <surname>Reichert</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Weber</surname>
          </string-name>
          .
          <source>Enabling Flexibility in Process-Aware Information Systems - Challenges</source>
          , Methods, Technologies. Springer,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Si</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Chan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dumas</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhang</surname>
          </string-name>
          .
          <article-title>A petri nets based generic genetic algorithm framework for resource optimization in business processes</article-title>
          .
          <source>Simul. Model. Pract. Theory</source>
          ,
          <volume>86</volume>
          :
          <fpage>72</fpage>
          {
          <fpage>101</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>S.</given-names>
            <surname>Suriadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. T.</given-names>
            <surname>Wynn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. M. P. van der Aalst,</given-names>
            and
            <surname>A. H. M. ter Hofstede</surname>
          </string-name>
          .
          <article-title>Discovering work prioritisation patterns from event logs</article-title>
          .
          <source>Decis. Support Syst</source>
          .,
          <volume>100</volume>
          :
          <fpage>77</fpage>
          {
          <fpage>92</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>F.</given-names>
            <surname>Tao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , A. Liu,
          <article-title>and</article-title>
          <string-name>
            <given-names>A. Y. C.</given-names>
            <surname>Nee</surname>
          </string-name>
          .
          <article-title>Digital twin in industry: State-ofthe-art</article-title>
          .
          <source>IEEE Trans. Ind. Informatics</source>
          ,
          <volume>15</volume>
          (
          <issue>4</issue>
          ):
          <volume>2405</volume>
          {
          <fpage>2415</fpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>N.</given-names>
            <surname>Tax</surname>
          </string-name>
          , I. Verenich,
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Rosa</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Dumas</surname>
          </string-name>
          .
          <article-title>Predictive business process monitoring with LSTM neural networks</article-title>
          .
          <source>In Proc. of CAiSE</source>
          <year>2017</year>
          , pages
          <fpage>477</fpage>
          {
          <fpage>492</fpage>
          . Springer,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          .
          <article-title>Business process simulation survival guide</article-title>
          .
          <source>In Handbook on Business Process Management</source>
          <volume>1</volume>
          ,
          <string-name>
            <surname>Introduction</surname>
          </string-name>
          , Methods, and Information Systems, 2nd Ed, pages
          <volume>337</volume>
          {
          <fpage>370</fpage>
          . Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>