<!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>Conformance Checking on Out-of-Order Streams (Extended Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Kristo Raun</string-name>
          <email>kristo.raun@ut.ee</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Computer Science University of Tartu Tartu</institution>
          ,
          <country country="EE">Estonia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <abstract>
        <p>-Conformance checking is a subfield of process mining that deals with comparing process models to event logs. Usually, it is done in an offline fashion. With the increased connectivity to the internet and ubiquity of data generators, increased attention is given to acquiring fast and reliable conformance checking results in an online setting. In return, a number of approaches have been developed to enable online conformance checking based on so-called prefix alignments. However, the current approaches assume that the events of process execution are arriving in order on the streams. Unfortunately, due to the complexity of networks and the distributed nature of processing, out-of-order arrival is the common case. The main focus of this PhD is to develop performant and self-correcting methods for online conformance checking which can handle out-of-order event arrival. Additionally, the work will include finding methods which will best utilize approximate techniques while minimizing the impact on the accuracy. Finally, to be applicable in real life settings, the research results will be implemented on top of a distributed stream processing system, e.g. Apache Spark. Index Terms-conformance checking, streaming data, out of order, big data</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>I. PROBLEM STATEMENT</title>
      <p>The last decade has seen a major shift in computing. With
more systems and more data points, the volume of data
available has exploded. Traditionally, most data processing
and data analysis was done in nightly batches, but now
many organizations have found use cases for analyzing data
in a more continuous fashion, by utilizing streaming data.
Various streaming engines have been developed and seen rapid
adoption in the industry, among others Apache Spark, Apache
Kafka, Apache Flink, Apache Storm.</p>
      <p>
        Recently, online conformance checking has drawn the
attention of researchers and practitioners, with a surge of relevant
publications in the last few years, e.g. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Due to the
novelty of the research field, some areas have remained
understudied and many challenges, which can surface in truly
streaming systems, have seen little or no attention in the online
conformance checking research. Particularly, handling
out-oforder events is of major relevance in streaming applications.
To the best of knowledge, it has so far had only one mention
in relevant literature [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Out-of-order events are likely to
happen in cases where multiple systems are responsible for
various parts of the process, which is quite common in modern
software architecture. Events may arrive out of order to the
processing engine due to reasons such as delays in the network
or system design. For example, a business critical system
may publish events to an analysis service only after certain
intervals. Looking at Fig. 1, event 5 is the final event in the
process, and the processing engine has just received event 5. It
could falsely conclude that the trace is not conforming: firstly,
events 2 and 3 are not in the correct order; secondly, event 4
has not yet arrived. However, the events are merely arriving
too late because of the system handling events 2 and 4.
      </p>
      <p>The goal of this PhD project is to develop performant
and self-correcting methods for online conformance checking
which are able to handle out-of-order event arrival. This goal
is going to be fulfilled by answering the following research
questions.</p>
      <p>RQ1: How can we develop a reactive, performant and
selfcorrecting online conformance checking system?</p>
      <p>The analysis system needs to be reactive, i.e. constantly
looking for new events and ready to process them. The
system also needs to be performant, as the processing would
be expected to happen in near real time in actual settings.
Furthermore, due to possible issues in data streaming, the
system needs to be self-correcting: the arrival of an event
should trigger a correction on the conformance, specifically
in case a discrepancy exists between what the system knew
before the arrival of the event and after.</p>
      <p>RQ2: How to represent process behavior in succinct and
efficiently searchable data structures?</p>
      <p>State-of-the-art conformance checking is costly and this is
even more true in an online setting. The method needs to be
able to traverse through a trace and compare it to a model,
while also taking into account potential discrepancies due to
out-of-order events that need to be corrected. This implies
potentially a very large data structure which needs to be kept
in memory of the processing engine. To deal with the potential
memory issue, the underlying data structure has to be succinct.
To be performant and have low latency, the data structure
should be efficiently searchable.</p>
    </sec>
    <sec id="sec-2">
      <title>II. STATE OF THE ART</title>
      <p>
        Online Conformance Checking A general framework for
online conformance checking was introduced in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], together
with a method which allows conformance checking on event
streams, instead of static event logs. Measures for monitoring
the completeness of the process execution were introduced
in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], together with the notion of warm starting: assuming
some activities have been executed but not observed. Some
scholars have looked at utilizing prefix-alignments [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], as
calculating the full alignment for a trace in an online setting
may overestimate the discrepancy between the trace and the
model.
      </p>
      <p>As previously discussed, it seems that no research in online
conformance checking has fully acknowledged the notion of
out-of-order data arrival in an event stream. Thus, handling
out-of-order event streams seems to be an important
contribution to the advancement of online conformance checking.</p>
      <p>
        Approximate Conformance Checking Computational
complexity of alignments has led to research in approximation
methods. The work in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] defines approximate alignments as
such that moves can happen in multisets of activities. Several
methods [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] rely on ILP (Integer Linear Programming),
achieving approximate alignments that have a relatively small
error compared to the optimal alignment, indicating their
viability in practice.
      </p>
      <p>
        A part of approximation research has recently shifted to
selecting a sample of the event log [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Approximation
methods in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] have shown significant improvement in
computation time with marginal error. Recently, in [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] we
used a trie data structure to further lower the computation
time of approximate alignments while introducing a small
additional error.
      </p>
      <p>Using tries can be one answer to the second research
question. Still, there are many more methods which have not
had too much research attention for efficient conformance
checking, such as suffix arrays and novel string matching
methods.</p>
    </sec>
    <sec id="sec-3">
      <title>III. RESEARCH PLAN</title>
      <p>
        For addressing latency and in particular the problem of
handling out-of-order events, various solutions exist which
could be studied in the context of conformance checking, such
as dynamic buffer sizing [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. This could be further extended
with statistical or machine learning methods for discovering
the optimal behaviour of the buffer based on previous patterns
in the event stream.
      </p>
      <p>
        An important part of the research will be to find efficient
data structures which can be utilized in an online setting.
The methods should strike a balance between memory
consumption, accuracy of alignment and the latency to processing
engine. Addressing the memory-accuracy trade-off could be
studied from the field of genomics, where large strings of data
need to be compared. In addition to prefix-alignments, other
relevant notions from the fields of bibliometrics and genomics
could be considered as well, like suffix arrays and substrings
[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. We have already found tries useful for approximating
alignments, as discussed in [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], but the work could be further
developed to work in an online context.
      </p>
      <p>In order to have reproducibility and wider academic and
industry impact, any methods developed within this research
should be made available through an open-source framework,
such as ProM or PM4Py.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>D.</given-names>
            <surname>Schuster</surname>
          </string-name>
          and
          <string-name>
            <given-names>G. J.</given-names>
            <surname>Kolhof</surname>
          </string-name>
          , “
          <article-title>Scalable online conformance checking using incremental prefix-alignment computation,” in Service-Oriented Computing - ICSOC 2020 Workshops</article-title>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hacid</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Outay</surname>
          </string-name>
          , H.-y. Paik,
          <string-name>
            <given-names>A.</given-names>
            <surname>Alloum</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Petrocchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. R.</given-names>
            <surname>Bouadjenek</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Beheshti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <surname>A</surname>
          </string-name>
          . Maaradji, Eds. Cham: Springer International Publishing,
          <year>2021</year>
          , pp.
          <fpage>379</fpage>
          -
          <lpage>394</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>S. J. van Zelst</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bolt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hassani</surname>
          </string-name>
          ,
          <string-name>
            <surname>B. F. van Dongen</surname>
          </string-name>
          , and W. M. van der Aalst, “
          <article-title>Online conformance checking: relating event streams to process models using prefix-alignments</article-title>
          ,”
          <source>International Journal of Data Science and Analytics</source>
          , vol.
          <volume>8</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>269</fpage>
          -
          <lpage>284</lpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Awad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Sakr</surname>
          </string-name>
          , “
          <article-title>Process mining over unordered event streams</article-title>
          ,
          <source>” in 2020 2nd International Conference on Process Mining (ICPM)</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>81</fpage>
          -
          <lpage>88</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Burattin</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Carmona</surname>
          </string-name>
          , “
          <article-title>A framework for online conformance checking,” in Business Process Management Workshops</article-title>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Teniente</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          , Eds. Cham: Springer International Publishing,
          <year>2018</year>
          , pp.
          <fpage>165</fpage>
          -
          <lpage>177</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Burattin</surname>
          </string-name>
          ,
          <string-name>
            <surname>S. J. van Zelst</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Armas-Cervantes</surname>
          </string-name>
          ,
          <string-name>
            <surname>B. F. van Dongen</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>J.</given-names>
            <surname>Carmona</surname>
          </string-name>
          , “
          <article-title>Online conformance checking using behavioural patterns,” in Business Process Management</article-title>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weske</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Montali</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Weber</surname>
          </string-name>
          , and J. vom Brocke, Eds. Cham: Springer International Publishing,
          <year>2018</year>
          , pp.
          <fpage>250</fpage>
          -
          <lpage>267</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>F.</given-names>
            <surname>Taymouri</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Carmona</surname>
          </string-name>
          , “
          <article-title>A recursive paradigm for aligning observed behavior of large structured process models</article-title>
          ,” in Business Process Management,
          <string-name>
            <given-names>M. La</given-names>
            <surname>Rosa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Loos</surname>
          </string-name>
          , and
          <string-name>
            <given-names>O.</given-names>
            <surname>Pastor</surname>
          </string-name>
          , Eds. Cham: Springer International Publishing,
          <year>2016</year>
          , pp.
          <fpage>197</fpage>
          -
          <lpage>214</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>B. 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>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Taymouri</surname>
          </string-name>
          , “
          <article-title>Aligning modeled and observed behavior: A compromise between computation complexity and quality,” in Advanced Information Systems Engineering</article-title>
          , E. Dubois and
          <string-name>
            <given-names>K.</given-names>
            <surname>Pohl</surname>
          </string-name>
          , Eds. Cham: Springer International Publishing,
          <year>2017</year>
          , pp.
          <fpage>94</fpage>
          -
          <lpage>109</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Bauer</surname>
          </string-name>
          , H. van der Aa, and
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          , “
          <article-title>Estimating process conformance by trace sampling and result approximation</article-title>
          ,” in Business Process Management,
          <string-name>
            <given-names>T.</given-names>
            <surname>Hildebrandt</surname>
          </string-name>
          ,
          <string-name>
            <surname>B. F. van Dongen</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Ro¨glinger, and</article-title>
          <string-name>
            <surname>J</surname>
          </string-name>
          . Mendling, Eds. Cham: Springer International Publishing,
          <year>2019</year>
          , pp.
          <fpage>179</fpage>
          -
          <lpage>197</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>FaniSani</surname>
          </string-name>
          ,
          <string-name>
            <surname>S. J. van Zelst</surname>
          </string-name>
          , and
          <string-name>
            <surname>W. M. P.</surname>
          </string-name>
          vander Aalst, “
          <article-title>Conformance checking approximation using subset selection and edit distance,” in Advanced Information Systems Engineering</article-title>
          , S. Dustdar,
          <string-name>
            <given-names>E.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Salinesi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Rieu</surname>
          </string-name>
          , and V. Pant, Eds. Cham: Springer International Publishing,
          <year>2020</year>
          , pp.
          <fpage>234</fpage>
          -
          <lpage>251</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M. F.</given-names>
            <surname>Sani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J. G.</given-names>
            <surname>Gonzalez</surname>
          </string-name>
          ,
          <string-name>
            <surname>S. J. van Zelst</surname>
          </string-name>
          , and W. M. van der Aalst, “
          <article-title>Conformance checking approximation using simulation</article-title>
          ,
          <source>” in 2020 2nd International Conference on Process Mining (ICPM)</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>105</fpage>
          -
          <lpage>112</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Awad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Raun</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          , “
          <article-title>Efficient approximate conformance checking using trie data structures</article-title>
          ,
          <source>” in 2021 3rd International Conference on Process Mining (ICPM)</source>
          ,
          <year>2021</year>
          , In press.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>W.</given-names>
            <surname>Weiss</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V. J. E.</given-names>
            <surname>Jime</surname>
          </string-name>
          <article-title>´nez, and</article-title>
          <string-name>
            <given-names>H.</given-names>
            <surname>Zeiner</surname>
          </string-name>
          , “
          <article-title>Dynamic buffer sizing for out-of-order event compensation for time-sensitive applications</article-title>
          ,
          <source>” ACM Trans. Sen</source>
          . Netw., vol.
          <volume>17</volume>
          , no.
          <issue>1</issue>
          ,
          <string-name>
            <surname>Sep</surname>
          </string-name>
          .
          <year>2020</year>
          . [Online]. Available: https://doi.org/10.1145/3410403
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          and
          <string-name>
            <given-names>H. H.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          , “
          <article-title>On the string matching with ¡i¿k¡/i¿ differences in dna databases</article-title>
          ,
          <source>” Proc. VLDB Endow.</source>
          , vol.
          <volume>14</volume>
          , no.
          <issue>6</issue>
          , p.
          <fpage>903915</fpage>
          ,
          <string-name>
            <surname>Feb</surname>
          </string-name>
          .
          <year>2021</year>
          . [Online]. Available: https://doi.org/10.14778/3447689.3447695
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>