<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">PTandLogGenerator: a Generator for Artificial Event Data</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Toon</forename><surname>Jouck</surname></persName>
							<email>toon.jouck@uhasselt.be</email>
							<affiliation key="aff0">
								<orgName type="institution">Hasselt University</orgName>
								<address>
									<addrLine>Agoralaan Bldg D</addrLine>
									<postCode>3590</postCode>
									<settlement>Diepenbeek</settlement>
									<country key="BE">Belgium</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Benoît</forename><surname>Depaire</surname></persName>
							<email>benoit.depaire@uhasselt.be</email>
							<affiliation key="aff0">
								<orgName type="institution">Hasselt University</orgName>
								<address>
									<addrLine>Agoralaan Bldg D</addrLine>
									<postCode>3590</postCode>
									<settlement>Diepenbeek</settlement>
									<country key="BE">Belgium</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">PTandLogGenerator: a Generator for Artificial Event Data</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">028555B859EEE2BCB45F648CF542815D</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-23T23:24+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>artificial event logs</term>
					<term>process simulation</term>
					<term>process discovery</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>The empirical analysis of process discovery algorithms has recently gained more attention. An important step within such an analysis is the acquisition of the appropriate test event data, i.e. event logs and reference models. This requires an implemented framework that supports the random and automated generation of event data based on user specifications. This paper presents a tool for generating artificial process trees and event logs that can be used to study and compare the empirical workings of process discovery algorithms. It extends current tools by giving users full control over an extensive set of process control-flow constructs included in the final models and event logs. Additionally, it is integrated within the ProM framework that offers a plethora of process discovery algorithms and evaluation metrics which are required during empirical analysis.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Generating Event Data for Algorithm Evaluation</head><p>Process discovery techniques are concerned with discovering the control-flow of a process directly from an event log. During the last decade many process discovery techniques have been developed (see <ref type="bibr" target="#b1">[2]</ref> for an overview). Currently new techniques are developed to outperform others in term of model quality measures. This has led to an increasing importance of evaluating and comparing existing algorithms empirically <ref type="bibr" target="#b1">[2]</ref>. In order to perform such an evaluation, a set of appropriate test event data, i.e. event logs and reference models, is required.</p><p>Generally, three requirements with regard to test data must hold while doing empirical analysis of process discovery algorithms. Firstly, a researcher should have full control over the control-flow characteristics of the event data generated. A second requirement is randomness to prevent wrong generalizations based on non-random event data. Finally, the final event logs and reference models should be in the standard format 1 to ensure their compatibility with tools that implement process discovery algorithms and evaluation metrics.</p><p>The presented tool PTandLogGenerator fulfills all the requirements stated above as it enables the random and automated generation of process trees and event logs based on user-defined control-flow specifications. It applies a generic two-step approach: generate a process tree, then simulate this tree into an event log described in <ref type="bibr" target="#b3">[4]</ref>. Firstly, the user specifies the control-flow constructs, defined as meaningful process blocks that will be included in the generated process trees. In the second step, the trees are simulated into event logs.</p><p>The idea of implementing an artificial data generator is not new. However, the existing tools still have some limitations with regard to the requirements stated above. The most advanced tool, PLG2 <ref type="bibr" target="#b0">[1]</ref>, allows for control of the basic workflow patterns, but does not allow for more complex constructs such as duplicate activity labels or long-term dependencies. Moreover, PLG2 is not directly integrated within the ProM framework, which is a disadvantage when doing empirical process discovery evaluation.</p><p>The remainder of this paper describes how to use the PTandLogGenerator tool in the case of comparing two process discovery algorithms.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Walkthrough of the Process Tree and Log Generator</head><p>The PTandLogGenerator tool is available as a package in the open-source framework ProM<ref type="foot" target="#foot_0">2</ref> . This section will describe the different steps of generating a sample of event logs needed to evaluate two process discovery algorithms. Consider the comparison of the α++ miner <ref type="bibr" target="#b5">[6]</ref> and the Inductive Miner <ref type="bibr" target="#b4">[5]</ref> on logs including long-term dependencies, i.e. causal dependencies between tasks in different exclusive choice constructs. Consequently, one needs a set of event logs containing such long-term dependencies, while controlling for other control-flow constructs. The following paragraphs show how these can be created using the PTandLogGenerator, see https://drive.google.com/file/d/0B9nT4OtWjscVOV94VDEwb3I4V2s/ view?usp=sharing for a screencast.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Population of Process Trees</head><p>The starting point is the definition of a process tree population. These process trees contain a combination of control-flow constructs (CFC), i.e. process tree building blocks, that are used as population parameters to describe the population. The user can assign probabilities to each of the CFC to express the probability that these constructs are added to a tree within the population. We distinguish between three types of constructs: activities, workflow patterns and complex constructs:</p><p>-Activities (see area 1 in Fig. <ref type="figure">1</ref>): users can influence the size of the trees included in the population by specifying the triangular distribution of the number of activities by assigning a minimum, a mode and a maximum. Each time a process tree is generated, i.e. drawn from the population, a random number for the number of activities is taken from that triangular distribution.</p><p>-Workflow control-flow patterns (see area 2 in Fig. <ref type="figure">1</ref>): basic fundamental patterns common to all business processes. These patterns include sequence, exclusive choice, multi-choice, concurrent behavior and loops, represented by the following operator nodes in Process trees: →, ×, ∨, ∧ and . -Complex constructs (see area 3 in Fig. <ref type="figure">1</ref>): more complex control-flow constructs include silent activities, reoccurring activities (i.e. duplicate labels), long-term dependencies and infrequent paths. The last construct assigns unequal branch probabilities to each of the outgoing branches of an exclusive choice in order to make some paths less frequent in the process.</p><p>In our example use case, we want to evaluate two algorithms on long-term dependencies. Therefore we define a population of process trees with 50% probability of inserting long-term probabilities. The definition of this population can be configured using the settings wizard shown in Fig. <ref type="figure">1</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 1: The Population of Process Trees in the Example</head><p>Generating a Random Sample of Trees The next step involves drawing a random sample, i.e. generating random process trees, from the previously specified population. The size of this sample can be specified in the tree generator settings as can be seen in area 4 of Fig. <ref type="figure">1</ref>. For the example use case we generate a random sample of size 10. The algorithm described in <ref type="bibr" target="#b3">[4]</ref> is implemented to build each process tree in a stepwise manner. It uses the probabilities specified in the population as input parameters to randomly add nodes to the tree.</p><p>The output of this step is a set of process trees in the standard PTML-format. In this way the complete toolbox for import/export, analysis and visualization of process trees integrated into ProM is available to the user. The screenshot in Fig. <ref type="figure">2</ref> shows the visualization pane for tree number 3 in the sample. The annotations on the branches represent their execution probabilities. The tree shown in Fig. <ref type="figure">2</ref> contains a long-term dependency between the activity h and c expressing the causal relationship that if h is executed, c can never follow later on. For further information, the reader is referred to the tree generating algorithm described in <ref type="bibr" target="#b3">[4]</ref>. Fig. <ref type="figure">2:</ref> A process tree from the random sample visualized Simulating Trees Into Event Logs Then in the third step the tool enables users to generate (an) event log(s) for each process tree in the sample. Each process tree can be seen as a population of event logs: an event log is a multiset of traces simulated from that process tree. The tool allows users to specify the number of traces that the final event log(s) will contain as shown in Fig. <ref type="figure" target="#fig_1">3a</ref>. In the example case we generate one event log with 1000 traces for each tree. The resulting event logs are in the standard XES-format providing all the log functionalities provided in ProM. Fig. <ref type="figure" target="#fig_1">3b</ref> shows the log view for the event log generated from the tree in Fig. <ref type="figure">2</ref>.  Evaluating Process Discovery Techniques Once the event logs are generated, the empirical analysis of the evaluation of process discovery technique is enabled. In the running case we apply the α++ miner <ref type="bibr" target="#b5">[6]</ref> and the Inductive Miner <ref type="bibr" target="#b4">[5]</ref> in ProM and calculate quality metrics for each discovered model. In the running case the discovered models of the inductive miner have an average fitness value of 100% and a precision value of 58.5%, whereas the models discovered by α++ miner have a lower average fitness value of 32.1% and a higher average precision value of 77.9%. These results are used to demonstrate the possible use cases of the tool. A more thorough empirical analysis would need more observations which is outside the scope of this paper.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Maturity and Use Cases</head><p>The tool has reached a high level of maturity which enables its use in large scientific experiments. This has been proven by the successful application of the tool in the large scale empirical assessments in <ref type="bibr" target="#b2">[3]</ref>. Furthermore, the organizers of the first process discovery contest<ref type="foot" target="#foot_1">3</ref> have chosen this tool to create the benchmark event logs as it allows users the full control over an extensive range of control-flow constructs.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head></head><label></label><figDesc>(a) The Number of Traces in the Generated Event Logs (b) Log View of the Generated Event Log</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Fig. 3 :</head><label>3</label><figDesc>Fig. 3: Log Generator</figDesc><graphic coords="4,134.77,451.31,138.33,119.45" type="bitmap" /></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_0">Available in the ProM nightly builds at http://www.promtools.org/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_1">http://www.win.tue.nl/ieeetfpm/doku.php?id=shared:process_discovery_ contest</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Acknowledgements</head><p>Special thanks to Alfredo Bolt and dr. Massimiliano de Leoni for their help on implementing and improving this tool.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<title level="m" type="main">PLG2: Multiperspective Processes Randomization and Simulation for Online and Offline Settings</title>
		<author>
			<persName><forename type="first">A</forename><surname>Burattin</surname></persName>
		</author>
		<idno>ArXiv e-prints (1506.08415</idno>
		<imprint>
			<date type="published" when="2015-06">Jun 2015</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">A multi-dimensional quality assessment of state-of-the-art process discovery algorithms using reallife event logs</title>
		<author>
			<persName><forename type="first">J</forename><surname>De Weerdt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>De Backer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Vanthienen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Baesens</surname></persName>
		</author>
		<ptr target="http://www.sciencedirect.com/science/article/pii/S0306437912000464" />
	</analytic>
	<monogr>
		<title level="j">Information Systems</title>
		<imprint>
			<biblScope unit="volume">37</biblScope>
			<biblScope unit="issue">7</biblScope>
			<biblScope unit="page" from="654" to="676" />
			<date type="published" when="2012-11">Nov 2012</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Measuring the quality of models with respect to the underlying system: An empirical study</title>
		<author>
			<persName><forename type="first">G</forename><surname>Janssenswillen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Jouck</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Creemers</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Depaire</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Business Process Management</title>
				<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
	<note>accepted</note>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<title level="m" type="main">Generating Artificial Data for Empirical Analysis of Process Discovery Algorithms: a Process Tree and Log Generator</title>
		<author>
			<persName><forename type="first">T</forename><surname>Jouck</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Depaire</surname></persName>
		</author>
		<ptr target="http://hdl.handle.net/1942/20818" />
		<imprint>
			<date type="published" when="2016-03">Mar 2016</date>
		</imprint>
		<respStmt>
			<orgName>Universiteit Hasselt, Universiteit Hasselt</orgName>
		</respStmt>
	</monogr>
	<note type="report_type">Technical Report</note>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Discovering block-structured process models from event logs containing infrequent behaviour</title>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">J</forename><surname>Leemans</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Fahland</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><forename type="middle">M</forename><surname>Van Der Aalst</surname></persName>
		</author>
		<idno type="DOI">10.1007/978-3-319-06257-0_6</idno>
		<ptr target="http://link.springer.com/chapter/10.1007/978-3-319-06257-0_6" />
	</analytic>
	<monogr>
		<title level="m">Business Process Management Workshops</title>
				<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2014">2014</date>
			<biblScope unit="page" from="66" to="78" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Mining process models with non-free-choice constructs</title>
		<author>
			<persName><forename type="first">L</forename><surname>Wen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><forename type="middle">M</forename><surname>Van Der Aalst</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Sun</surname></persName>
		</author>
		<idno type="DOI">10.1007/s10618-007-0065-y</idno>
		<ptr target="http://link.springer.com/article/10.1007/s10618-007-0065-y" />
	</analytic>
	<monogr>
		<title level="j">Data Mining and Knowledge Discovery</title>
		<imprint>
			<biblScope unit="volume">15</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="145" to="180" />
			<date type="published" when="2007">2007</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
