<!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>Perfect Process Models?! A Process-Discovery Technique Optimizing Over Quality Measures</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Patrizia Schalk</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Augsburg</institution>
          ,
          <addr-line>Universitätsstraße 6a, 86135, Augsburg</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The holy grail in process mining is a process model that scores perfectly in fitness, precision, generalization and simplicity. This is why there are not only many process discovery algorithms, but also many ways to calculate a numerical representation for these four quality dimensions. The thesis described in this extended abstract aims to answer the following question: Can we automate finding a process model that is optimal with respect to selectable but fixed measures of fitness, precision, generalization and simplicity? Process mining is about finding and analyzing a descriptive model for an existing and running business process. Most process mining techniques assume the existence of a so-called event log: A collection of recorded behavior of the business process in question. Process discovery algorithms take such an event log as input and return a formal model for the analysis and enhancement of the business process [1]. Naturally, each process discovery algorithm makes decisions during its execution that influence the model it returns. In turn, diferent process discovery algorithms may return diferent process models for the same event log as input. This poses the question of which process model is the best for the business process. To answer this question, four quality dimensions proved themselves useful for the process mining community: Fitness, precision, generalization and simplicity [2]. Fitness (or recall) evaluates how much of the behavior in the event log is featured in the process model, while precision measures how much of the behavior of the model is featured in the event log. Generalization reviews how well the process model is able to replay behavior of the business process that is not part of the event log. Simplicity (or complexity) judges how easy the process model is to understand. For each of these dimensions, there are several techniques that compute a value between 0 and 1 which indicates how good a process model performs for the specific quality dimension. A value close to 1 means that the process model performs (almost) perfectly. While there are many quality metrics for fitness [ 3, 4, 5, 6, 7, 8, 9] and precision [5, 6, 7, 8, 9, 10, 11, 12, 13], there are much fewer metrics defined for generalization [ 8, 9, 10, 11] and simplicity or complexity [14], as they are harder to formalize. Each of the aforementioned quality metrics perform their calculations diferently, and thus sometimes return diferent values for the same pair of model and event log.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Process Mining</kwd>
        <kwd>Conformance Checking</kwd>
        <kwd>Fitness</kwd>
        <kwd>Precision</kwd>
        <kwd>Generalization</kwd>
        <kwd>Simplicity</kwd>
        <kwd>Optimization</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Research regarding these quality metrics is still active, because already existing metrics
tend to lack desired features [15] or don’t correctly measure what they were created for [16].
Janssenswillen et al. [17] found a high correlation between fitness and precision, which raises
the desire for more independent metrics. The generalization metric, on the other hand, is
severely under-developed [18], since generalization is hard to define formally with having just
the event log as the representation for the system behavior. Simplicity has a similar problem, as
it aims to “prefer an easier model over a more complex one” [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] – a description that is highly
subjective and dependent on the specific use-case. Nonetheless, these imperfect quality metrics
are widely used in practice to evaluate mined process models. It is common practice to improve
a process model based on these metrics to get a model that features better quality scores. In
these cases, the outcome is a well-performing process model with respect to the chosen quality
metrics. However, this procedure is not only time-intensive, but also may not yield the best
possible result. Therefore, in this thesis, we investigate whether it is possible to automatically
discover a process model that is optimal for a chosen set of quality metrics. The idea of this
algorithm is that the user specifies an arbitrary but fixed metric for each of the dimensions
iftness, precision, generalization and simplicity, as well as an event log and a weighting function.
The weighting function indicates how important each quality dimension is compared to the
others. As output, the process discovery algorithm returns a process model in the form of a
Petri net that is optimal regarding the specified quality metrics and the weighting function.
      </p>
      <p>With this process discovery algorithm, a user can specify any computable and deterministic
quality metric to get a “perfect” process model with respect to their choices. The results of
this process discovery technique become predictable and depend only on the chosen quality
metrics. However, the aim of this process discovery algorithm is not to create actually perfect
process models, since this is not possible with imperfect metrics. Instead, when optimizing
over a quality metric, we can get a better understanding of which structures are rewarded or
punished by the metric. This makes it easier to further investigate existing quality metrics and
tailor them towards metrics that satisfactorily fulfill their purposes. For example, this can be
achieved by creating an artificial system-model, as well as an event log for it, and checking to
which extent the optimizing strategy is able to rediscover the original model (i.e. the rediscovery
problem).</p>
      <p>There are already some algorithms discovering process models that are optimal for some
quality dimensions. The inductive miner [19] by design creates a process model with perfect
iftness and keeps this process model simple by not allowing duplicate transition labels. The
ILP miner [20] optimizes over fitness and precision and keeps the process model simple by not
allowing duplicate or silent transitions. Because of the optimal results, these two discovery
algorithms are widely used and researchers still try to improve them. However, they don’t
ofer to consider metrics for generalization and don’t allow choosing the quality metrics whose
scores should be optimized.</p>
      <p>
        At first sight, the Evolutionary Tree Miner [ 21] seems strongly related to our ideas. It as
well optimizes over all four quality dimensions. However, it does not give a user the freedom
to choose any quality metric, but fixes the alignment-based fitness [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and the escaping edge
precision [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. As for simplicity, the authors punish duplicate labels and events that occur in
the event log but not in the process model. For generalization, the authors detect less frequently
used parts of the model and give them a low generalization score. The generalization metric
is nondeterministic for models that can replay a trace in more than one way. It is unclear
which result this metric should yield for unfitting traces. Furthermore, we can easily “trick”
this generalization metric by adding a chain of silent transitions in front of the original start
place of a workflow net. These silent transitions are then visited in every trace. This would
improve the generalization score without adding more behavior to the process model, making
the metric unfit for our purposes. Finally, the Evolutionary Tree Miner is a genetic algorithm
and therefore nondeterministic.
      </p>
      <p>
        Our goal is to create a process discovery algorithm that is deterministic and able to optimize
over a set of quality measures defined by the user. To do so, our initial idea is to investigate
common optimization techniques and to formulate optimization problems for existing quality
metrics. We plan to start with the fitness metric using alignments [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], the precision and
generalization metrics using anti alignments [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and the Cardoso metric for simplicity [22],
as these metrics are widely used and accepted. Later, we will extend our research to other
quality metrics, as well as metrics that don’t focus just on the control flow. Our approach is
as follows: First, we formulate an optimization problem for each of the chosen metrics and
prove its correctness by a formal proof. Afterward, we take two of the metrics and implement
an algorithm that optimizes the aforementioned optimization problems for these two metrics.
For this step, we use metrics that are orthogonal to each other, as optimizing over fitness and
precision would lead to the trace model and optimizing over generalization and simplicity would
lead to the flower model. Finally, we take metrics for all four quality dimensions and evaluate
the results by performing a case study that investigates if the output process model is as useful
in practice as the scores for the metrics suggest. We don’t expect this to be the case, as it is
already known that each quality metric has severe weaknesses [15] and that some don’t value
what they are constructed for at all [16]. As the output of our process discovery technique,
we choose free-choice workflow nets, since they can easily be transformed into BPMN [ 23]
and could therefore make the application handy for a broader field. Furthermore, many hard
problems are easier to solve on free-choice Petri nets, which makes them a very handy tool. As
non free-choice constructs are often undesired in process models, we accept this restriction for
our output.
      </p>
      <p>
        We have already identified some challenges for our approach: First, most simplicity measures
are defined for BPMN or EPC, but we aim to produce free-choice workflow nets. However,
translating existing simplicity- or complexity measures [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] to measures for free-choice Petri
nets is either straight-forward or a possible translation was already proposed [24]. Tough, we
still need to find a way to normalize the complexity metrics if we want to use them in the target
function. Second, optimization is undefined if the target function is nondeterministic. But some
quality metrics, like the token-based replay fitness [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], are nondeterministic. We plan to either
ifnd deterministic versions of these quality metrics or to focus on Petri net types where the
metrics are deterministic. Third, depending on the runtime for calculating the quality metric,
the runtime for our process discovery might be high. This means that our approach might not
be easily scalable and not applicable for large event logs. Even though we plan to investigate the
runtime and to find ways to make the algorithm more scalable, the runtime is not our biggest
concern. This is because this process discovery algorithm removes the necessity of computing
the score of the quality metrics for the model afterward. Therefore, we can accept a higher
runtime if it is not worse than the runtime needed to compute the quality scores.
Springer, 2018, pp. 49–62. doi:10.1007/978-3-030-00787-4\_4.
[15] A. F. Syring, N. Tax, W. M. P. van der Aalst, Evaluating conformance measures in process
mining using conformance propositions, Trans. Petri Nets Other Model. Concurr. 14 (2019)
192–221. doi:10.1007/978-3-662-60651-3\_8.
[16] N. Tax, X. Lu, N. Sidorova, D. Fahland, W. M. P. van der Aalst, The imprecisions of precision
measures in process mining, Inf. Process. Lett. 135 (2018) 1–8. doi:10.1016/j.ipl.2018.
01.013.
[17] G. Janssenswillen, N. Donders, T. Jouck, B. Depaire, A comparative study of existing
quality measures for process discovery, Inf. Syst. 71 (2017) 1–15. doi:10.1016/j.is.
2017.06.002.
[18] A. Polyvyanyy, A. Mofat, L. García-Bañuelos, Bootstrapping generalization of process
models discovered from event data, in: Advanced Information Systems Engineering - 34th
International Conference, CAiSE 2022, Leuven, Belgium, June 6-10, 2022, Proceedings,
volume 13295 of Lecture Notes in Computer Science, Springer, 2022, pp. 36–54. doi:10.
1007/978-3-031-07472-1\_3.
[19] S. J. J. Leemans, D. Fahland, W. M. P. van der Aalst, Discovering block-structured process
models from event logs - A constructive approach, in: Application and Theory of Petri
Nets and Concurrency - 34th International Conference, PETRI NETS 2013, Milan, Italy,
June 24-28, 2013. Proceedings, volume 7927 of Lecture Notes in Computer Science, Springer,
2013, pp. 311–329. doi:10.1007/978-3-642-38697-8\_17.
[20] J. M. E. M. van der Werf, B. F. van Dongen, C. A. J. Hurkens, A. Serebrenik, Process
discovery using integer linear programming, in: Applications and Theory of Petri Nets, 29th
International Conference, PETRI NETS 2008, Xi’an, China, June 23-27, 2008. Proceedings,
volume 5062 of Lecture Notes in Computer Science, Springer, 2008, pp. 368–387. doi:10.
1007/978-3-540-68746-7\_24.
[21] J. C. A. M. Buijs, B. F. van Dongen, W. M. P. van der Aalst, On the role of fitness, precision,
generalization and simplicity in process discovery, in: On the Move to Meaningful
Internet Systems: OTM 2012, Confederated International Conferences: CoopIS,
DOASVI, and ODBASE 2012, Rome, Italy, September 10-14, 2012. Proceedings, Part I, volume
7565 of Lecture Notes in Computer Science, Springer, 2012, pp. 305–322. doi:10.1007/
978-3-642-33606-5\_19.
[22] J. Cardoso, Process control-flow complexity metric: An empirical validation, in: 2006
IEEE International Conference on Services Computing (SCC 2006), 18-22 September 2006,
Chicago, Illinois, USA, IEEE Computer Society, 2006, pp. 167–173. doi:10.1109/SCC.
2006.82.
[23] C. Favre, D. Fahland, H. Völzer, The relationship between workflow graphs and free-choice
workflow nets, Inf. Syst. 47 (2015) 197–219. doi: 10.1016/j.is.2013.12.004.
[24] K. B. Lassen, W. M. P. van der Aalst, Complexity metrics for workflow nets, Inf. Softw.
      </p>
      <p>Technol. 51 (2009) 610–626. doi:10.1016/j.infsof.2008.08.005.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <source>Process Mining - Data Science in Action, Second Edition</source>
          , Springer,
          <year>2016</year>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>662</fpage>
          -49851-4.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Carmona</surname>
          </string-name>
          ,
          <string-name>
            <surname>B. F. van Dongen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Solti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          , Conformance Checking - Relating
          <source>Processes and Models</source>
          , Springer,
          <year>2018</year>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>319</fpage>
          -99414-7.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Weijters</surname>
          </string-name>
          , W. Aalst, van der,
          <string-name>
            <surname>A. Alves De Medeiros</surname>
          </string-name>
          ,
          <article-title>Process mining with the HeuristicsMiner algorithm</article-title>
          , BETA publicatie : working papers,
          <source>Technische Universiteit Eindhoven</source>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          , T. Weijters, L. Maruster,
          <article-title>Workflow mining: Discovering process models from event logs</article-title>
          ,
          <source>IEEE Trans. Knowl. Data Eng</source>
          .
          <volume>16</volume>
          (
          <year>2004</year>
          )
          <fpage>1128</fpage>
          -
          <lpage>1142</lpage>
          . doi:
          <volume>10</volume>
          .1109/ TKDE.
          <year>2004</year>
          .
          <volume>47</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Adriansyah</surname>
            ,
            <given-names>B. F. van Dongen</given-names>
          </string-name>
          ,
          <article-title>Replaying history on process models for conformance checking and performance analysis</article-title>
          ,
          <source>WIREs Data Mining Knowl. Discov</source>
          .
          <volume>2</volume>
          (
          <year>2012</year>
          )
          <fpage>182</fpage>
          -
          <lpage>192</lpage>
          . doi:
          <volume>10</volume>
          .1002/widm.1045.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Goedertier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Martens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Vanthienen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Baesens</surname>
          </string-name>
          ,
          <article-title>Robust process discovery with artificial negative events</article-title>
          ,
          <source>J. Mach. Learn. Res</source>
          .
          <volume>10</volume>
          (
          <year>2009</year>
          )
          <fpage>1305</fpage>
          -
          <lpage>1340</lpage>
          . doi:
          <volume>10</volume>
          .5555/1577069. 1577113.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>S. J. J.</given-names>
            <surname>Leemans</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Fahland</surname>
          </string-name>
          ,
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Scalable process discovery and conformance checking</article-title>
          ,
          <source>Softw. Syst. Model</source>
          .
          <volume>17</volume>
          (
          <year>2018</year>
          )
          <fpage>599</fpage>
          -
          <lpage>631</lpage>
          . doi:
          <volume>10</volume>
          .1007/ s10270-016-0545-x.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Solti</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>A.</given-names>
            <surname>Polyvyanny</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          ,
          <article-title>Behavioural quotients for precision and recall in process mining</article-title>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Rozinat</surname>
          </string-name>
          ,
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Conformance checking of processes based on monitoring real behavior</article-title>
          ,
          <source>Inf. Syst</source>
          .
          <volume>33</volume>
          (
          <year>2008</year>
          )
          <fpage>64</fpage>
          -
          <lpage>95</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.is.
          <year>2007</year>
          .
          <volume>07</volume>
          .001.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>B. F. van Dongen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Carmona</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Chatain</surname>
          </string-name>
          ,
          <article-title>A unified approach for measuring precision and generalization based on anti-alignments</article-title>
          ,
          <source>in: Business Process Management - 14th International Conference, BPM</source>
          <year>2016</year>
          , Rio de Janeiro, Brazil,
          <source>September 18-22</source>
          ,
          <year>2016</year>
          . Proceedings, volume
          <volume>9850</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2016</year>
          , pp.
          <fpage>39</fpage>
          -
          <lpage>56</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>319</fpage>
          -45348-4\_3.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>S. K. L. M. vanden Broucke</surname>
            ,
            <given-names>J. D.</given-names>
          </string-name>
          <string-name>
            <surname>Weerdt</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Vanthienen</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Baesens</surname>
          </string-name>
          ,
          <article-title>Determining process model precision and generalization with weighted artificial negative events</article-title>
          ,
          <source>IEEE Trans. Knowl. Data Eng</source>
          .
          <volume>26</volume>
          (
          <year>2014</year>
          )
          <fpage>1877</fpage>
          -
          <lpage>1889</lpage>
          . doi:
          <volume>10</volume>
          .1109/TKDE.
          <year>2013</year>
          .
          <volume>130</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>G.</given-names>
            <surname>Janssenswillen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Donders</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Jouck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Depaire</surname>
          </string-name>
          ,
          <article-title>A comparative study of existing quality measures for process discovery</article-title>
          ,
          <source>Inf. Syst</source>
          .
          <volume>71</volume>
          (
          <year>2017</year>
          )
          <fpage>1</fpage>
          -
          <lpage>15</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.is.
          <year>2017</year>
          .
          <volume>06</volume>
          .002.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>J.</given-names>
            <surname>Munoz-Gama</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Carmona</surname>
          </string-name>
          ,
          <article-title>A fresh look at precision in process conformance</article-title>
          ,
          <source>in: Business Process Management - 8th International Conference, BPM</source>
          <year>2010</year>
          ,
          <article-title>Hoboken</article-title>
          , NJ, USA, September
          <volume>13</volume>
          -
          <issue>16</issue>
          ,
          <year>2010</year>
          . Proceedings, volume
          <volume>6336</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2010</year>
          , pp.
          <fpage>211</fpage>
          -
          <lpage>226</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>642</fpage>
          -15618-2\_
          <fpage>16</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>J.</given-names>
            <surname>Lieben</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Jouck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Depaire</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Jans</surname>
          </string-name>
          ,
          <article-title>An improved way for measuring simplicity during process discovery</article-title>
          ,
          <source>in: Enterprise and Organizational Modeling and Simulation - 14th International Workshop</source>
          , EOMAS 2018, Held at CAiSE 2018, Tallinn, Estonia, June 11-12,
          <year>2018</year>
          ,
          <string-name>
            <given-names>Selected</given-names>
            <surname>Papers</surname>
          </string-name>
          , volume
          <volume>332</volume>
          of Lecture Notes in Business Information Processing,
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>