<!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>Event Log Extraction: How to Minimize the Effort of the Human-in-the-Loop? (Extended Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Vinicius Stein Dani</string-name>
          <email>v.steindani@uu.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Information and Computing Sciences Utrecht University Utrecht</institution>
          ,
          <country country="NL">The Netherlands</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>-To conduct process mining an event log is required. However, extracting event logs is often time-consuming, especially when the respective IT systems do not store events in a processoriented way. The main reason is that tasks have to be performed manually, such as identifying entries in a transactional database that relate to the activities of the considered process. In this PhD project, we address this problem of the human-in-the-loop during event log extraction. Our main goal is to minimize, through automation, the manual effort involved in the extraction of event logs. Index Terms-process mining, event log extraction, automation, human-in-the-loop</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>I. INTRODUCTION</title>
      <p>
        Process mining is widely used in a plethora of fields
including healthcare, banking, and production [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The
general applicability and the value of process mining in these
fields has been demonstrated in the context of various case
studies [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Process mining requires an event log [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], which
is not always readily available in practice [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. An event log
is composed of at least three different attributes related to the
execution of the considered process: (i) a case identifier, to
identify the instances of the process; (ii) an activity identifier,
to represent the activities pertaining to the process; and, (iii)
a timestamp, to represent when the activity was executed [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        Different approaches exist to extract event logs and partially
reduce the manual effort associated with this extraction [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]–
[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. However, to the best of our knowledge, there is no event
log extraction approach available that fully automates this task.
Besides, in current process mining methods the data extraction
stage is described minimally [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Therefore, the goal of
this PhD project is to minimize the manual efforts during the
event log extraction through automation.
      </p>
      <p>In the remainder of this work, Section II presents the
motivation for our research. Section III elaborates on our
research goal and questions. Section IV discusses how we
intend to address our research goal. Finally, in Section V, we
report on the current stage of this PhD project.</p>
    </sec>
    <sec id="sec-2">
      <title>II. MOTIVATION</title>
      <p>
        Event log extraction is time-consuming and requires a
significant amount of domain knowledge [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. It is a costly
part of any process mining project, draining resources that
could have been used during other stages. Several approaches
address the problem of automating event log extraction, with
their own assumptions and requirements. Some assume the
existence of redo-logs [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], while others require the interaction
of a domain expert [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. A recent approach [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] proposes to
link additional information to the event log and, in this way,
integrate the process and data perspective. However, all these
approaches are far from being fully automated.
      </p>
      <p>
        Based on the findings from an exploratory literature review
we conducted, we identified that one recurring time-consuming
stage of a process mining project is related to tasks that require
domain knowledge and a domain expert interaction [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]–[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ],
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]–[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Often, a domain-expert is required to point
relations between, for example, the process model that is to be
analyzed and the data model (or data schema) that represents
the data that is to be used as a source for the event log
extraction. This so-called correspondence definition is, among
others, a manual preparation effort that may be feasible to
address through automation.
      </p>
    </sec>
    <sec id="sec-3">
      <title>III. RESEARCH GOAL AND RESEARCH QUESTIONS</title>
      <p>Considering this, we address the problem of the event log
manual preparation effort. Our main goal is the following:</p>
      <p>To minimize, through automation, the manual preparation
steps that are associated with the event log extraction
phase from an operational database.</p>
      <p>With this purpose in mind, we consider answering the
following research questions as the basis of our project:</p>
      <p>What are the techniques currently being used to extract
event logs? The objective here is to identify existing
techniques, their inputs, outputs, assumptions, the extent
to which these are automated, and the necessary steps for
extracting an event log;
What are the manual tasks performed during the event
log extraction? By answering this, we aim to acquire a
clear view of which manual tasks are required during the
event log extraction;
Can such tasks be object of automation? With this, we
expect to build a list of tasks that are feasible to automate,
which can be used to prioritize and focus our efforts.</p>
      <p>Copyright © 2020 for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).</p>
      <p>IV. RESEARCH METHOD</p>
      <p>To solve our goal, we will conduct this project based on an
iterative, seven-step approach, where we will: (i) gather from
the literature - and practitioners’ experience - a set of currently
used techniques to extract event logs; (ii) identify the tasks
which still demand a human-in-the-loop; (iii) map the findings
from the literature and practitioners’ perspectives to see where
they overlap or differ; (iv) build a list of feasible tasks to
automate; (v) validate this list with experts; (vi) prioritize, also
with experts, the tasks to be tackled first; (vii) build a script to
automate the task with higher priority in the list; (vii) validate
the automation with experts.</p>
      <p>
        To address our research questions, as well as steps (i)
and (ii) specifically, we will perform a systematic literature
review [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and a survey [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. We want to gain a two-sided
perspective on the event log extraction task: both from the
literature and from practitioners. Hence, we will bring these
findings together to see if the tasks that the practitioners
mention they perform during the event log extraction are
related to the ones found in the literature. Thereafter, we will
advance to the next steps of this approach towards our main
goal.
      </p>
    </sec>
    <sec id="sec-4">
      <title>V. CURRENT STAGE OF THIS RESEARCH PROJECT</title>
      <p>This project is still in an early phase. So far, we manually
extracted an event log to better understand, from a
practitioner’s perspective, how such a task is performed. We used
sample data from a SAP P2P process provided by an industry
partner.</p>
      <p>
        Next, we conducted an exploratory literature review to build
up initial knowledge regarding existing approaches for the
event log extraction and its preparation efforts. For instance,
current tools such as ProMimport [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and XESame [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] help
users to integrate event log data from heterogeneous sources,
although they are not able to automatically identify the relevant
database tables. From another side, in [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], the relevant
database tables may be identified and related to the process
model; however, new adapters need to be implemented for
every different data source format and structure. To approach
this problem from another perspective may be only one of the
building blocks for minimizing the human-in-the-loop effort
in the event log extraction task. And, to achieve this, some
scientific challenges need to be addressed:
      </p>
      <p>Partial alignment: the relationship between the tables of
a database and a process model is partial, i.e., only a
small number of tables relate to process model activities.
Mechanisms to differentiate between relevant and
irrelevant tables are required;
Naming differences: process models and operational
databases often use completely different, or even cryptic,
names to refer to similar entities. This means that
identifying relevant tables cannot exclusively rely on textual
similarity measures.</p>
      <p>Considering these challenges, one possible direction is to
work on a technique to automate the identification of
correspondences between a process model and a database schema to
identify the database tables that contain information relevant to
the process execution. Such identification represents an
alignment problem. Acknowledging this, we intend to characterize
the relations between a process model, a database schema, and
its textual descriptions; and, afterward, to compute the most
likely alignment. Based on this, we may use a Markov Logic
formalization to specify how an optimal alignment can be
obtained. Based on the alignment generated by our technique,
the extraction of the event log could be achieved.</p>
      <p>Finally, we will prepare a research paper to report on
the exploratory literature review and the manual event log
extraction we performed. We will discuss what could be done
differently and automatically as to minimize the manual efforts
during the event log extraction task.</p>
    </sec>
    <sec id="sec-5">
      <title>ACKNOWLEDGMENT</title>
      <p>Part of this research was funded by NWO (Netherlands
Organisation for Scientific Research) project number 16672.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C. d. S.</given-names>
            <surname>Garcia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Meincheim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. R. Faria</given-names>
            <surname>Junior</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. R.</given-names>
            <surname>Dallagassa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. M. V.</given-names>
            <surname>Sato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. R.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. A. P.</given-names>
            <surname>Santos</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E. E.</given-names>
            <surname>Scalabrin</surname>
          </string-name>
          , “
          <article-title>Process mining techniques and applications - A systematic mapping study</article-title>
          ,
          <source>” Expert Systems with Applications</source>
          , vol.
          <volume>133</volume>
          , pp.
          <fpage>260</fpage>
          -
          <lpage>295</lpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Corallo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lazoi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Striani</surname>
          </string-name>
          , “
          <article-title>Process mining and industrial applications: A systematic literature review,” Knowledge and Process Management, no</article-title>
          .
          <source>January</source>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>9</lpage>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>G. B.</given-names>
            <surname>Pereira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. A. P.</given-names>
            <surname>Santos</surname>
          </string-name>
          , and
          <string-name>
            <surname>M. M. C. Maceno</surname>
          </string-name>
          , “
          <article-title>Process mining project methodology in healthcare: a case study in a tertiary hospital,” Network Modeling Analysis in Health Informatics and Bioinformatics</article-title>
          , vol.
          <volume>9</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>14</lpage>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          , Process Mining: Discovery, Conformance and Enhancement of Business Processes,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>K.</given-names>
            <surname>Diba</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Batoulis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Weske</surname>
          </string-name>
          , “
          <article-title>Extraction, correlation, and abstraction of event data for process mining,” in Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery</article-title>
          , vol.
          <volume>10</volume>
          , no.
          <issue>3</issue>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          , “
          <article-title>Extracting Event Data from Databases to Unleash Process Mining</article-title>
          ,” pp.
          <fpage>105</fpage>
          -
          <lpage>128</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Jans</surname>
          </string-name>
          , “
          <article-title>From relational database to valuable event logs for process mining purposes : a procedure,”</article-title>
          <source>Tech. Rep. January</source>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>E.</given-names>
            <surname>Gonza</surname>
          </string-name>
          ´lez Lo´pez de Murillas,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>Reijers</surname>
          </string-name>
          , and W. M. van der Aalst, “
          <article-title>Connecting databases with process mining: a meta model and toolset</article-title>
          ,
          <source>” Software and Systems Modeling</source>
          , vol.
          <volume>18</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>1209</fpage>
          -
          <lpage>1247</lpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>Bozkaya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gabriels</surname>
          </string-name>
          , and
          <string-name>
            <surname>J. M. Van Der Werf</surname>
          </string-name>
          , “
          <article-title>Process diagnostics: A method based on process mining</article-title>
          ,
          <source>” Proceedings - International Conference on Information, Process, and Knowledge Management</source>
          ,
          <year>eKNOW 2009</year>
          , no.
          <source>February</source>
          <year>2009</year>
          , pp.
          <fpage>22</fpage>
          -
          <lpage>27</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>M. L. Van Eck</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          <string-name>
            <surname>Lu</surname>
            ,
            <given-names>S. J. J.</given-names>
          </string-name>
          <string-name>
            <surname>Leemans</surname>
            , and
            <given-names>W. M. P. van der Aalst</given-names>
          </string-name>
          , “PM2:
          <string-name>
            <given-names>A</given-names>
            <surname>Process Mining Project Methodology</surname>
          </string-name>
          ,”
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>C.</given-names>
            <surname>Rodr</surname>
          </string-name>
          ´ıguez, R. Engel,
          <string-name>
            <given-names>G.</given-names>
            <surname>Kostoska</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Daniel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Casati</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Aimar</surname>
          </string-name>
          , “Eventifier:
          <article-title>Extracting process execution logs from operational databases</article-title>
          ,”
          <source>in CEUR Workshop Proceedings</source>
          , vol.
          <volume>936</volume>
          ,
          <year>2012</year>
          , pp.
          <fpage>17</fpage>
          -
          <lpage>22</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>B.</given-names>
            <surname>Kitchenham</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.</given-names>
            <surname>Charters</surname>
          </string-name>
          , “
          <article-title>Guidelines for performing systematic literature reviews in software engineering</article-title>
          ,” Keele University and Durham University Joint Report,
          <source>Tech. Rep. EBSE</source>
          <year>2007</year>
          -
          <volume>001</volume>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bryman</surname>
          </string-name>
          , “Social research methods,
          <source>” Journal of Chemical Information and Modeling</source>
          , vol.
          <volume>53</volume>
          , no.
          <issue>9</issue>
          , pp.
          <fpage>1689</fpage>
          -
          <lpage>1699</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>C. W.</given-names>
            <surname>Gu</surname>
          </string-name>
          <article-title>¨nther and</article-title>
          <string-name>
            <surname>W. M. Van Der Aalst</surname>
          </string-name>
          , “
          <article-title>A generic import framework for process event logs</article-title>
          ,
          <source>” in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)</source>
          , vol.
          <volume>4103</volume>
          LNCS,
          <year>2006</year>
          , pp.
          <fpage>81</fpage>
          -
          <lpage>92</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>H. M. Verbeek</surname>
            ,
            <given-names>J. C.</given-names>
          </string-name>
          <string-name>
            <surname>Buijs</surname>
            ,
            <given-names>B. F.</given-names>
          </string-name>
          <string-name>
            <surname>Van Dongen</surname>
          </string-name>
          , and
          <string-name>
            <surname>W. M. Van Der Aalst</surname>
          </string-name>
          , “XES, XESame, and ProM 6,” in
          <source>Lecture Notes in Business Information Processing</source>
          , vol.
          <volume>72</volume>
          LNBIP,
          <year>2011</year>
          , pp.
          <fpage>60</fpage>
          -
          <lpage>75</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16] E. Gonza´lez Lo´pez De Murillas, “
          <article-title>Extracting Event Data from Real-Life Data Sources Process Mining on Databases,”</article-title>
          <string-name>
            <surname>Tech. Rep.</surname>
          </string-name>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>