Abstract
The behavior recorded by an information system is often different from the behavior in the initial model since the business process is constantly changing in actual operation. In order to enable event logs to be replayed well to process the model, the set of optimal alignments first needs to be determined. All the corresponding activities in each alignment are compared to the existing method, which will cause a lot of unnecessary work. Thus, we propose that the non-optimal alignment is perceived beforehand according to the relationship between the location of the initial deviation and the number of deviations. The perceptible regions in the process model are divided based on the behavioral characteristics of various substructures. The comparison of an alignment is terminated if the location of the initial deviation is less than the previous value in the perceptible region. This alignment is judged to be non-optimal. Otherwise, the alignment with optimal probability is completely compared. The OPS plug-in was executed in the data sets from various networks and BPIC2020, and the results showed that the search efficiency could be improved under the premise of guaranteeing optimality.
1. Introduction
1.1. Research Background
In recent years, process mining has become an important technique to extract valuable information from event logs [1]. Process mining mainly includes the following three steps: process discovery, conformance check and model repair [2,3,4,5]. Process discovery refers to extracting useful information from event logs to construct the corresponding process model [6,7]. Differences usually exist between current recorded behaviors and the initial models due to the variations of an event log with the actual situations [8]. Thus, it is necessary to complete the subsequent model repair according to this differing information [9,10]. Trace alignment detects deviations by correlating each trace with all firing sequences, while behavior alignment identifies all non-consistent behavior between the event log and the process model based on the division of the event structure [11,12]. Two kinds of deviations between the event log and the initial model can be detected by applying a robust analysis technique, namely the insert and skip deviations [13]. An insert deviation refers to activity that is only present in the event log. Meanwhile, a skip deviation is specific to the initial model, which affects the event log replays in the process model [14]. The inconsistent behavior detected by the behavior-checking technology mainly includes the following two types: (i) unfitted behavior in the event log that cannot be replayed in the process model and (ii) the additional behavior that can only be captured in the initial model and that does not affect the normal replay of the event log. The additional behavior in the model needs to be retained as much as possible so that the similarity is ensured between the repaired and initial models [15,16]. Trace alignment involves the detection of a deviation element, and its ultimate goal is to measure the optimal performance of the event log replay in the process model. Thus, there is no need to consider the influence of additional behavior in the model [17].
The minimum deviation cost between the event log and the process model is satisfied under the set of optimal alignments. The deviation cost is equal to the number of deviations when the unit cost of all deviations is the same [18]. The brute force search for optimal alignment involves comparing each trace in the event log to all firing sequences in the process model, which can cause a lot of unnecessary consumption [19]. Therefore, a huge amount of work must be devoted to ensuring the optimal detection of consistency when dealing with the data set, which has a larger size or complex network structure. In this study, we propose that the non-optimality of some alignments can be perceived beforehand based on the location of the initial deviation. This method was focused on the perspective of control flow. Under the premise of ensuring the optimal cost of trace alignment, the efficiency of conformance check is improved mainly in the following ways: (i) the initial deviation of an alignment, whether it occurred within the perceptible region, is determined; (ii) the location of the initial deviation is smaller, and the number of deviation is larger when the initial deviation occurs in the perceptible region; and (iii) the location of effective initial deviation is continuously updated when each trace in the event log is aligned with the process model. Therefore, some alignments are terminated when the location of the initial deviation is smaller than the previously recorded one. In this case, some non-optimal alignment is determined without the whole comparison. It is worth noting that the perceptible processes of each trace in the event log are independent from each other.
1.2. Related Work
Alignment associates every trace in the event log with all firing sequences in the process model, and their deviations are detected accordingly [20]. This technique mainly involves the following three analyses: conformance check, cost accounting and optimal alignment search.
The conformance between the event log and the initial model is measured using four different metrics: fitness, precision, simplicity and generalization. Particularly, the fitness is the most important [21]. Conformance checks can be divided into the following two types according to different detection objects: (i) the deviation element between the event log and the initial model, which is detected based on trace alignment [22,23]; (ii) the behavior that does not match the event log and the initial model, which is discovered based on behavior mining [24]. Conformance checks can also be divided into the following two types from the different perspectives of different workflows: (i) conformance checks based on the control flow [25,26]; (ii) conformance checks from multiple perspectives, including role, data flow and stochastic language, among others [27,28,29]. Conformance checks can be further divided into the following two types, according to the integrity of the check: (i) conformance of the business process in the current state, which is only checked [30]; (ii) conformance, which is checked in real-time with changes in the business process [31,32].
Cost accounting refers to the total cost of asynchronous movement in an alignment. The unit cost of synchronous movement is set to 0, while the unit cost of asynchronous movement is set to 1 in the unweighted generic business process (the unit cost is 0 when an invisible transition is included in an asynchronous movement) [33]. The process model is repaired by processing the deviation information according to the minimum cost, and the event log can be replayed in the repaired process model.
The optimal alignment search is a key technique in conformance checking, which allows the optimal fitness of the control flow to be analyzed by it. The performance of an optimal alignment search is mainly affected by two different criteria: (i) the minimal deviation cost and (ii) the search workload. The event log is directly compared with the process model, and the fitness is analyzed by calculating the total cost of deviations. Therefore, the conformance check is limited to simple-model or single operation, and the optimal fitness cannot be guaranteed by it [34,35]. Each trace in the event log is aligned with all firing sequences of the initial model using the algorithm, and the set of optimal alignments is selected through cost evaluation [36]. The location and severity of deviations can be pinpointed by adjusting the differences between the event log and the process model [37]. For this purpose, the process model and the event log are transformed into two respective automatons, respectively. Then, they are compared according to the synchronous product. The synchronous product is computed using the heuristic and acceptable heuristic functions. All differences are captured by this synchronous product, allowing the minimum cost to be obtained [38]. Although the optimality of the alignment set is guaranteed by the algorithm and the synchronous product, they involve a huge amount of work on a complicated data set. The fitness is accurately obtained using the iterative decomposition approach. The best fitness can be estimated within 10 min, and the unnecessary time to calculate the accurate value can be decreased when the fitness interval is narrow enough [39]. Based on the structural and behavioral characteristics of the process model, the overall search space for optimal alignment can be reduced through the use of effective heuristics and trace replay [40]. In this study, the perceptible regions of the process model are first determined based on the behavior characteristics of various substructures. Then, some non-optimal alignments can be terminated early when the initial deviation is located in the perceptible region. In this way, the search efficiency of optimal alignment is efficiently improved.
2. Basic Definition
Definition 1
(Event log). The tuple is recorded as the event log. is a trace in the event log, and is the unified case number of traces that occurs repeatedly. Since there may be different traces in the event log, all the case numbers belong to the case set , i.e., , . is an event element in the log, denoted as . is a function that assigns each event element to its corresponding label, denoted as . is the label set of all events, and . is the flow relationship between adjacent events, denoted as .
Definition 2
(Labeled process model). The tuple is recorded as the labeled process model. and represent the place and transition, respectively. is the function that assigns each transition to the corresponding label, that is, . is a label for invisible transition that has no real meaning. is a finite set of labels in the process model, and . is a complete sequence from the initial to the terminated node, and is the case number of each sequence , denoted as . and are the initial and the terminated places, respectively. The process model is a workflow net if and only if . is the flow relationship between adjacent transitions, denoted as .
Definition 3
(The unit cost setting of alignment). The corresponding activity between a trace and a firing sequence is compared by alignment, denoted as , ( represents the set of all alignments between the event log and process model). The set of synchronous movements is denoted as , . The set of asynchronous movements belonging to the event log is denoted as , . The set of asynchronous moves belonging to the process model is denoted as , . The unit cost of asynchronous movement is “1” in the unweighted business process, denoted as . The unit cost of synchronous movement is “0”, denoted as . The unit cost is 0 when invisible transition is included in an asynchronous movement. The insert deviation and skip deviation are produced by and , respectively (, ). All movements in an alignment are recorded in Table 1, and the costs of different movements are accounted for.
Table 1.
The cost setting of unit movement.
Definition 4
(Search for the optimal alignment). The alignment set is obtained by comparing each trace of the event log with all firing sequences in the process model, i.e., , , . The optimal alignment
is the minimum cost alignment set associated with all traces, that is, , , , . In other words, all alignments between the event log and the process model are necessary to be obtained before accurately judging the optimal alignment. As shown in Figure 1, the search workload for the optimal alignment between event log and process model is ( represents the number of comparisons in the optimal alignment evaluation). The optimal alignment between and is .
Figure 1.
Search workload for the optimal alignment. Note: event log is , and process model is .
Definition 5
(Location of the initial deviation). The initial deviation is the first deviation in an alignment, and its location refers to the order of occurrence in an alignment. Figure 2 depicts the discovery process of the initial deviation. In Figure 2, a trace of and a sequence of are extracted, and the first difference produced by the alignment of and is marked with a dashed blue line. It is worth noting that the invisible transition in the model is ignored in order to better observe the deviation.
Figure 2.
Discovery of initial deviation.
The initial deviation is detected in an alignment, and the location of the initial deviation is determined according to the unit order of alignment. The location of the initial deviation is denoted as (v is the evaluation function, that is, the location of moving unit in alignment is converted into numerical form; locid represents the occurrence location of the initial deviation in alignment). and in Table 2 are used as examples, and the asynchronous movement that produced the initial deviation is the third moving unit in . is obtained by the conversion of the evaluation function v, that is, the location of the initial deviation in is 3. The asynchronous movement in that produces the initial deviation is the second unit, which is transformed by the evaluation function v to obtain , that is, the initial deviation in occurs at 2. Therefore, the location of the initial deviation in is greater than , denoted as .
Table 2.
Initial deviation locations of ξ1 and ξ2. Note: yellow is the initial deviation, is the identifier of .
Definition 6
(Path partition of various substructures). Any path between the initial and the terminated nodes in a business process is called a complete path. Two types of sub-paths may be included in a complete path. Namely, a mandatory sub-path must occur, and a selective sub-path may occur, denoted as , . The unique behavior on each complete path comes from , while the common behavior belongs to . The substructure corresponding to is the mandatory substructure, that is, . and satisfy causal and concurrent behavior, respectively. and both belong to mandatory substructures, that is, their activities occur on each complete path. corresponds to the selective substructure, i.e., ( represents a substructure satisfying conflict behavior relationship). According to the above rules, the various substructures are divided and their corresponding sub-paths are given in Figure 3.
Figure 3.
Division of paths in various substructures.
The level division of the selective substructure depends on the depth of selection. The selective substructure of the first level is regarded as the root of the tree structure. Then, the next level of the selective substructure is contained in the upper substructure, denoted as , ( represents the first leaf of the root structure, indicates the number of level division). According to the order of occurrence, the selective substructure of the same level can be denoted as ( represents the number of occurrence order). The mandatory substructure can be divided into prepositive and postpositive substructures, which are denoted as and . and are mandatory substructures that occur before and after the selective structure, respectively ( and represent the occurrence orders of and , respectively). It is worth noting that the types of all sub-paths in a substructure correspond to that of their substructures.
Definition 7
(Perceptible Region). The perceptible region is a set of special substructures in the process model, denoted as . A subalignment between a subsequence in and any trace in the event log is denoted as. The subalignment set between and is . The smaller the initial deviation location, the larger the number of deviations in . A substructure in is described in Figure 4. and are included in . From Table 3, is produced by and . is produced by and . According to Definition 5, the location of the initial deviation in and is . The cost of and is .
Figure 4.
Substructure Nconc of process model .
Table 3.
The subalignments and . Note: the yellow is the initial deviation, and the gray has no practical meaning.
3. Recognition of the Perceptibility of Business Process
The search for optimal alignment aligns each trace with all firing sequences, and the alignment set is discovered by producing the minimum cost. In order to improve the search efficiency of the optimal alignment, the non-optimality of some alignments can be determined beforehand according to the specified condition in the perceptible region. The different substructures are divided based in the process model, and the perceptible region is determined by the behavioral characteristics of various substructures.
3.1. Establishment of Perceptibility Condition
The costs of all alignments corresponding to each trace are obtained, and the alignment with the minimum cost is evaluated (the number of deviations is equivalent to the cost of deviations if and only if the cost of each deviation is “1”). The optimal alignment between the event log and process model consists of all optimal trace alignments. Some non-optimal alignments can be predicted by the location of the initial deviation.
The location of the initial deviation in any alignment can be denoted as according to Definition 5. The location of the initial deviation in an alignment is not the largest when a trace is aligned with the process model. Then, this alignment must be non-optimal, denoted as the perceptibility condition ( is cost function). The comparisons of some non-optimal alignments are terminated at the location of the initial deviation when the perceptibility condition is satisfied. Therefore, the unnecessary alignments are saved. In order to take advantage of the given condition , it is necessary to determine the perceptible region in the process model. For example, a trace in the event log is aligned with all firing sequences of the process model, shown in Figure 5. The location of the initial deviation in is , and the number of deviations is also 3. The location of the initial deviation in is , and the number of deviations is also 4. and , so may be optimal. The above situation violates .
Figure 5.
Example of process model. Note: is represented by a green circle, and is marked by a red circle.
3.2. Determination of Perceptible Region
According to the example in Section 3.1, the perceptibility condition is not always satisfied. The perceptibility condition is valid if and only if the initial deviation occurs in the specific range. Therefore, it is necessary to determine the perceptible region based on the behavior characteristics of various substructures in the process model. There are four steps to determine the perceptible region in the process model: (i) according to Definition 6, various types of mandatory and selective substructures are divided in the process model; (ii) the initial node and the terminated node in the process model are determined and included in the perceptible region; (iii) according to Definition 6, the selective substructure with a fixed number of enable activities is denoted as . ( is a set of enabled activities,= that can occur; is a fixed value). The given condition is satisfied by an alignment when the initial deviation occurs in , and ; (iv) it does not necessarily satisfy , and the selective substructure with an uncertain number of enabled activities is denoted as ( is a uncertain value). is satisfied when the number of enabling activities of does not exceed 2 in any case, denoted as . Therefore, the whole perceptible region is denoted as . It is denoted as when the process model contains only the substructures of the perceptible region. This is the reason why Figure 5 does not satisfy , namely, ( is the whole non-perceptible region, which is the set of all substructures that do not belong to the perceptible region ). Figure 6a–c describes the three structures belonging to the perceptible region in the process model, respectively, i.e., , and (, ).
Figure 6.
Various substructures belonging to the perceptible region in the process model. Selective substructure with the same number of enable activities (a), selective structure with the number of enable activities ≤ 2 (b), and mandatory substructure (c).
The determinate process of the perceptible region is described in Algorithm 1. Firstly, the initial and the terminated activities belong to the perceptible region (lines 1–3). Secondly, two mandatory substructures are located correctly, which belong to the perceptible region (lines 4–17). The selective substructure in which the number of the enabled activities is a fixed value in the process model is located correctly. Then, this selective substructure is assigned to the perceptible region (lines 22–24). The selective substructure is assigned to the perceptible region when the number of enabled activities is uncertain and the total number of enabled activities does not exceed 2 (lines 25–27). The selective substructure does not belong to the perceptible region when the number of enabled activities is uncertain and the total number of enabled activities exceeds 2 (lines 28–30). Finally, the output of Algorithm 1 is the perceptible range of the process model, denoted as .
| Algorithm 1 Determine perceptible range |
|
The substructure of a real-life business process can contain various nested types [41]. Four common nested substructures are described in Figure 7. The perceptible nested substructure needs to be analyzed according to the specific situation.
Figure 7.
The perceptible range of nested substructures. Nested substructure (a); nested substructure (b); nested substructure (c); nested substructure (d).
The selective substructure in in Figure 7a is contained in the selective substructure , and the number of enabled activities of is 1. Thus, . The selective substructure is contained in the mandatory substructure , shown in Figure 7b. The mandatory substructure is regarded as a special selective substructure . and , so ( is the maximum function). As shown in Figure 7c, two mandatory substructures are contained in the selective substructure . The selective substructure is contained in one of the mandatory substructures . and , so . Two selective substructures and are contained in the mandatory substructure , shown in Figure 7d, denoted as and . and , so the occurrence order of and is uncertain according to Definition 6. and are contained in and , respectively. The structural property of is regarded as the selective substructure . and in , so . To sum up, the perceptible nested substructure needs to obey the following two rules: (i) the perceptibility condition of the selective substructure is directly considered when the outermost structure is the selective substructure; (ii) the mandatory substructure is judged to be a perceptible substructure if it does not contain a selective substructure. Otherwise, the mandatory substructure needs to be judged as the type of selective substructure.
The determination of perceptible nested substructure is described in Algorithm 2. The perceptible region is determined according to the normal rule of selective substructure when a mandatory substructure is contained in a selective substructure (lines 2–14). The mandatory substructure is regarded as a selective substructure if a selective substructure is contained in this mandatory substructure (lines 15–17).
| Algorithm 2 Determine the perceptibility of nested substructures |
|
3.3. Reverse Search for Perceived Range
There are many types of substructures in process models, which are divided according to the occurrence possibility of each path in the substructure. Therefore, the type of each substructure between the initial and end nodes is determined for accurately detecting the perceptible and non-perceptible regions in the process model. The perceptible region in the process model is searched back-to-front according to Definition 6, which is called a reverse search. Figure 8 describes the process of a reverse search. Since , and are regarded as a whole. indicates that the number of enabled activities in is a constant of 2, that is, . indicates that one branch of contains only a hidden transition, while the number of enabled activities on the other branch is 3, i.e., . indicates that the maximum number of enable activities of is 2, that is, . indicates that the number of enabled activities in is a constant of 1, that is, . is the number of enabled activities of , which is a constant, that is, . Thus, the perceptible range in Figure 8 is . The perceptibility condition of can be used to determine the optimal alignment when the initial deviation occurs in the perceptible region.
Figure 8.
The reverse search for perceptible range. Note: numbers are marked at the locations of all activities in the process model, and the activities of the selective substructure that are in the same location can be recorded as the same number.
The reverse search for the perceptible region is described in Algorithm 3. Firstly, it is determined that various substructures belong to the process model (line 1). is not contained in ; then, (lines 3–6). Otherwise, is regarded as , and the algorithm jumps to line 10 (lines 7–9). The number of enabled activities of is determined to be a fixed value from the back forward, then (lines 13–17). The number of enabled activities of is not a fixed value and the maximum number of enabled activities does not exceed 2; then, (lines 18–21). The level is reduced by 1 if the next substructure satisfies (lines 22–24). The occurrence order is reduced by 1 if the substructure is the preceding substructure of (lines 25–27). if is not contained in (lines 29–32). Otherwise, is regarded as , and the algorithm returns to line 10 (lines 33–35). Finally, the output is the perceptible region of the process model (line 37).
| Algorithm 3 Non-perceivable areas are eliminated by reverse search |
|
4. Perceptible Search for Optimal Alignment
Each trace is aligned with all firing sequences by the optimal alignment, and the alignment that satisfies the least deviation cost is selected. The brute force search will produce a huge amount of computation for the complex business process. It is proposed that the non-optimality of alignment is perceived based on the location of the initial deviation, thereby reducing some unnecessary comparisons.
4.1. Perceptible Search Algorithm
The optimal alignments of the event log can be regarded as a sum of the optimal alignment of each trace since the event log contains different traces. The search for optimal alignment is denoted as . The default location of the initial deviation of each trace is recorded as 0, denoted as . According to the perceptibility condition , an alignment cannot be judged to be non-optimal when . Therefore, the final cost of needs to be obtained and evaluated together with the other alignments of , namely, ( is the evaluated function of the minimum cost). In this case, is assigned to the record value , and acts as the perceptible standard for the next alignment . This alignment must not be the optimal alignment of when . Therefore, a complete comparison of is not needed, and remains unchanged. It is worth noting that the perceptibility condition is feasible when the initial deviation occurs in the perceptible region. The overall process of the perceptible algorithm is described in Figure S1.
The above search for optimal alignment can be denoted as . It can directly jump to the next trace when is consistent with , and this alignment is regarded as the optimal alignment of . The concrete procedures and the proof of perceptible search () are described in the Supplementary Materials.
The process model with the perceptible location is described in Figure 9, and the non-perceptible region is not contained in , namely, . All the firing sequences of are recorded in Table 4.
Figure 9.
The process model without non-perceivable region.
Table 4.
A set of firing sequences of .
The event log is set to L = {(a,b,c,d,e,f,h,i,l),(a,b,c,d,e,f,j,k,l,)}. is aligned with , and the search process of the optimal alignment is depicted in Figure 10. Figure 10a,b is the search process for traces and , respectively. From Figure 10a, the location of the initial deviation in the first and the third alignment is greater than or equal to the previously recorded value. These two alignments need to be evaluated, that is, . The location of the initial deviation in other alignments is smaller than the previously recorded value. These alignments are directly judged to be non-optimal, denoted as ( is the function of partial comparison). For example, and . The comparison of is terminated when the initial deviation occurs. From Figure 10b, the first alignment has no deviation, so it is directly judged as the optimal alignment of .
Figure 10.
Search for the set of optimal alignments. Note: is simplification for . Note: the pink block represents the alignments of complete comparison, the yellow block shows the alignments of partial comparison and the green block represents the fitting alignment. The search process of optimal alignment between and (a), and the search process of optimal alignment between and (b).
Algorithm 4 describes the perceptible search for optimal alignment. The set of optimal alignments is initialized to the (line 1). The recorded location of the initial deviation is set to 0 (line 4). The alignment needs to be completely compared and the location of the initial deviation is assigned to the recorded value if the location of the initial deviation is greater than or equal to the previously recorded value in perceptible region (lines 7–9). The recorded value is maintained and the comparison of alignment is terminated when the location of the initial deviation is smaller than the previously recorded value (lines 10–13). The recorded value is maintained and the alignment is completely compared if the initial deviation of alignment occurs in a non-perceptible region (lines 15–17). The alignment is regarded as the optimal alignment of a trace if no deviation is found between the trace and firing sequence (lines 18–21). All alignments that need complete comparison are assigned to the alignment set (line 22). The optimal alignment set is evaluated by (line 25). The optimal alignment set is output between the event log and process model as a result (line 28).
| Algorithm 4 Search the optinal alignment based on the location of initial deviation |
|
4.2. Example of Industrial Application
The behavior recorded in the initial process is often different from that described in the current information system due to the larger flow and complicated properties of coal slime water. The degradation performance of anionic polyacrylamide (HPAM) may be affected by different operational conditions. Therefore, the biological coal-washing process should be regarded as a business process that executes a specific goal. The deviation elements are detected in the actual biological coal-washing process, providing accurate technical support for the subsequent optimization. Figure 11 and Figure 12 describe the current process and initial model in the biological coal-washing using Petri net language, respectively. Table 5 lists annotations of the letter labels in Figure 11 and Figure 12.
Figure 11.
Current business process of biological coal-washing process. Note: labels for the actual steps in the transition are replaced by letters.
Figure 12.
Initial model of biological coal-washing process.
Table 5.
Professional notes for letter labels.
As shown in Figure 11, let trace be recorded in , and then, compares in Figure 12. The two firing sequences and are extracted for constructing two alignment and , respectively. According to the judgment of the perceptible region in Section 3.2, is known. can be determined to be non-optimal when the first deviation occurs due to . According to Theorem S1 in the Supplementary Materials, there exists and it makes superior to and . Therefore, the efficiency of deviation detection in actual operation is effectively improved.
5. Evaluation
An experiment was performed on a 64-bit Win10 computer with Inter(R) Core(TM) i5-2.11 GHZ with 8 GB of memory space and python3.7. The algorithm needed to make the complete comparison of all alignments between the event log and process model, which was denoted as . directly jumped to the alignment of the next trace if and only if an alignment that fit perfectly was found by it. The deviation perception proposed in this paper was denoted as , and its scalability and effectiveness were verified by the performance comparison of the above three methods.
5.1. The Operation Interface of OPS-Align Plug-In
and could be realized through the source code in the prom framework, but could not. To ensure the fairness of the experimental results, we wrote a OPS-Align plug-in in Python to evaluate the search workload of the optimal alignment.
Figure 13 describes the OPS-Align plug-in interface. Input and output information were located in the left of the interface, and parts of the program code were located in the right. As shown in Figure 13, was the total number of trace cases, was the total number of firing sequences, was the perceptible range, was the current method, was the event log used in the experiment, was the process model used in the experiment and was the search time.
Figure 13.
OPS-Align plug-in interface.
5.2. Scalability
In order to verify the improvement in various business processes, and could be evaluated on data sets with different network structures.
5.2.1. Data Sets of Artificial and Real-Life Business Process
Four artificial and two real-life data sets were used in the experiment. Each data set was constructed by ten different event logs and a corresponding initial model. Based on the initial model, these event logs were generated by redundancy activity, loss activity and dislocation between activities or cyclic substructure.
- Artificial data set.
Four artificial data sets were generated from two different artificial business processes. These two business processes were considered initial models and , respectively. The non-perceptible range was not set in and . Each artificial data set contained the selective substructure or the cyclic substructure.
- Real-life data set.
As shown in Figure 14, the auto-claim process mined by the prom framework was regarded as the initial model in the two real-life data sets. The activities of M, O, R and T were removed so that the non-perceptible region was not contained in . The selective substructure and the cyclic substructure were contained in each real-life data set, so these data sets had a universal network structure.
Figure 14.
Real-life business process mined by prom framework.
5.2.2. Experimental Results on Different Network Structures
- Artificial data sets with selective substructures.
Figure 15 describes the performance of A* − Align and IDP − Align in two data sets containing a selective substructure. The X and Y axes represented the number of aligned traces and the search time of the optimal alignment, respectively. Each trace was required compared with all firing sequences, so the number of aligned traces was referred to the total number of traces involved in the alignment process, denoted as ( represents the number of repetition of , and is the total number of firing sequences). Each event log had 200 aligned traces, and ten data sets were analyzed, as shown in Figure 15a,b. Each data set was constructed of ten event logs and a corresponding initial model, that is, and . The average search time of ten data sets was taken to ensure the authenticity of the experimental result. The business processes in Figure 15a,b contained 11 and 23 activities, respectively. The length intervals of traces in two data sets were 6 to 8 and 14 to 20, respectively. The lengths of firing sequences in two data sets were 7 and 16, respectively. The search time using IDP − Align was reduced by 207 ms (in Figure 15a), while it was reduced by 1302 ms (in Figure 15b) compared to A* − Align. From Figure 15, we found that the size of the data set was larger, and more activities could be automatically eliminated in perception. Thus, the difference in search time was greater.
Figure 15.
The running results on the data sets with selective substructure. Run result of data set with 11 activities (a), and run result of data set with 23 activities (b).
- Artificial data sets with different cyclic substructures.
Each event log had 300 aligned traces, and ten data sets were analyzed, as shown in Figure 16a,b. Each data set was constructed of ten event logs and a corresponding initial model, that is, and . The average search time of ten data sets was taken to ensure the authenticity of the experimental result. Figure 16a,b contained 10 and 11 activities, respectively. The maximum length of the trace and firing sequence could not be determined due to the cyclic substructure in each data set. The cyclic substructures in Figure 16a,b were the self-loop and the loop of three activities, respectively. The search time using IDP − Align was reduced by 2700 ms (in Figure 16a), while it was reduced by 7908 ms (in Figure 16b) compared to A* − Align. The size of alignment comparison was enlarged by the cyclic substructure, so more elements were automatically eliminated in perception (in Figure 16b). Thus, the improvement degree of search time depended on the size of the data set compared to the A* − Align.
Figure 16.
The running results of data sets with cyclic substructures. Run result of data set with 10 activities (a), and run result of data set with 11 activities (b).
- Real-life data sets with universal network structures.
The real-life data sets containing both selective substructures and cyclic substructures were evaluated. The cyclic substructures contained in Figure 17a,b were the self-loop and normal loop, respectively. Each event log had 1020 and 780 aligned traces, and ten data sets were analyzed as shown in Figure 17a,b, respectively. Each data set was constructed of ten event logs and a corresponding initial model , that is, and . The average search time of ten data sets was taken to ensure the authenticity of the experimental result. The search time using IDP − Align was reduced by 37,752 ms (in Figure 17a), while it was reduced by 24,600 ms (in Figure 17b) compared to A* − Align. This was due to the size of the data set and cyclic substructure.
Figure 17.
Running results on generic data sets. Run result of data set with 1020 aligned traces (a), and run result of data set with 780 aligned traces (b).
To sum up, the search time was significantly shortened by IDP − Align applied to various networks for the large-sized data sets. Figure 18 shows the experimental results of eight different data sets. Their parameters were search time, alignment proportion of partial comparisons and the number of aligned traces. The alignment proportion of partial comparisons was the ratio of automatically eliminated non-optimal alignments. In the same data set, the alignment proportion of partial comparisons was larger and the reduction of search time was more obvious than A* − Align. As shown in Figure 18, the search time for data sets with various network structures could be effectively reduced using IDP − Align compared with A* − Align.
Figure 18.
Merging results of different data sets.
5.2.3. Experimental Results on Biological Coal-Washing Data Set
The biological coal-washing process was simulated as event logs, that is, without loop structure and with loop structure, respectively. The initial model is constructed by a simple process, () and (), consisting of basic steps, respectively. The points of each line represent the search time and the proportion of time difference in data sets of different sizes (seen in Figure 19). As can be seen from Figure 19, the proportion of search time and time difference increases with the increase of data set size. As can also be seen from Figure 19, the search time and the proportion of time difference increases with the increase of data set size.
Figure 19.
Evaluations of biological coal-washing data set. The results of and (a), and the results of and (b). Note: time indicates the search time for optimal alignment; the number of traces indicates the number of traces in the event log; proportion of variance represents the proportion of the current time difference in the total time difference.
From Figure 19a, is composed of and , while is composed of and . and are executed on these two data sets. The substructures in were causal, concurrent and selective, that is, , and . However, has more cyclic substructures than . As shown in Figure 19a, the search time of in and was reduced by 47,648 ms and 65,768 ms compared with that of , respectively. From Figure 19b, is composed of and , while is composed of and . and are executed on these two data sets. As shown in Figure 19b, the search time of in and was reduced by 55,226 ms and 40,232 ms compared with that of , respectively. The substructures in were causal, concurrent and selective, that is, , and . However, has more cyclic substructures than .
5.3. Effectiveness
, and were performed on two BPIC2020 data sets so as to verify the improvement of search efficiency on the basis of guaranteeing optimality. At the same time, the experiment took into account the different noises.
5.3.1. BPIC2020 Data Sets
The data sets used came from BPIC2020. Table 6 lists the specific information of the two event logs in BPIC2020. Their cases and event types represent the number of different traces and event elements, respectively. Domestic Declarations in BPIC2020 were used as the event log of the experiment. Figure 20a,b shows two process models and with inconsistent behavior from Domestic Declarations, respectively. The non-perceivable region was not identified in and .
Table 6.
The information of BPIC2020 event log.
Figure 20.
The initial process model and . Process model (a), and process model (b).
5.3.2. Experimental Result
The data set was constructed by Domestic Declarations and the given process model, as shown in Figure 20a. Then, 20% and 40% noise were added to the initial event log to produce two new data sets, denoted as DB1+20% and DB1+40%. , and were used to search the optimal alignment set (in Figure 21). Cost and search time were evaluated, and the proportion of fitted alignments in , DB1 and DB1+20% and DB1+40% was extremely low. Thus, the search time was shortened only by 0.34%, 0.28% and 0.25% using compared to . The certain proportion of alignments in , DB1+20% and DB1+40% were partially compared. Thus, the search time was reduced using by 40%, 34% and 29% compared with . The noise was greater and the reduction of search time was smaller in the same data set. Fewer elements were automatically eliminated due to the initial deviation of some noise alignments occurring at the end. The difference of search time between and in , DB1+20% and DB1+40% are depicted in Figure 21 (partially enlarged).
Figure 21.
Running result of , DB1+20% and DB1+40%.
The data set was constructed by Domestic Declarations and the given process model, as shown in Figure 20b. Then, 20% and 40% noise were added to the initial event log to produce two new data sets, denoted as and . The search time was shortened by 2.82%, 2.34% and 2% using compared to . It could be seen that the ratio of fitted alignments in Figure 22 was larger than that in Figure 21. The search time was reduced using by 20%, 18% and 14% compared with . The result showed that the improvement in Figure 22 was lower than that in Figure 21 due to the size of the data sets.
Figure 22.
Running result of , DB2+20% and DB2+40%.
Table 7 records the time and cost obtained using , and . From Table 7, the search time of was the least in the same data set compared with others.
Table 7.
The experiment results of BPIC2020.
Table 8 lists all the numerical time differences in different data sets. From Table 8, we can find that the difference between and was much smaller than the others. At the same time, we can also see the following two problems according to the time difference: (1) the time differences were basically proportional to the size of the data set; (2) noise addition has little effect on the time savings of .
Table 8.
The numerical differences of experiment results.
5.4. Performance Comparison
The efficiency improvement of was verified by the above experiments compared with the existing and . Moreover, the search time was effectively shortened on the premise of ensuring the minimum cost. However, the main performance of conformance checking was evaluated by taking cost, time, perspective, form and application range into account. Therefore, these features are discussed in Table 9.
Table 9.
Check performances of various methods.
6. Conclusions
The effective search for the optimal alignment is introduced in this paper, aiming at unweighted business processes with uniform unit cost. The search for the optimal alignment is efficiently improved compared with the traditional brute force search when dealing with a complex business process. The perceptible search mainly includes the following three steps: (i) According to the behavior characteristics of different substructures in the process model, the perceptible region is determined by reverse search. The location of the initial deviation is inversely proportional to the number of deviations when the initial deviation occurs in the perceptible region. (ii) The recorded location of the initial deviation is firstly set to 0. The recorded location is updated when the location of the current initial deviation is greater than the previously recorded value. At the same time, its recorded location is used as the optimal metric of the same trace. (iii) The recorded location is unchanged and the comparison of alignment is automatically terminated as non-optimal when the location of the current initial deviation is smaller than the previously recorded value. In summary, the search workload of the optimal alignment can be effectively reduced now that some alignments are only partially compared based on the perception of the initial deviation.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/electronics13234669/s1.
Author Contributions
L.Z.: Writing—original draft, Validation, Methodology, Investigation, Formal analysis, Data curation, Project administration. F.W.: Conceptualization, Methodology, Validation, Investigation, Data curation, Formal analysis, Writing—original draft, Writing—review and editing. Z.S.: Investigation, Supervision, Project administration, Methodology. K.H.: Investigation, Validation. Y.H.: Validation, Data curation, Formal analysis. G.Z.: Data curation, Formal analysis. All authors have read and agreed to the published version of the manuscript.
Funding
This work was financially supported by the Open Research Project of the State Key Laboratory of Industrial Control Technology, Zhejiang University, China (no. ICT2024B58), the Natural Science Research Project of Anhui Higher Education Institution (no. 2024AH051732 and 2024AH051735) and the High-Level Talent Fund Project of Huainan Normal University (no. 621222-BSKYQDJ).
Data Availability Statement
Data are contained within the article.
Conflicts of Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
References
- Li, C.; Ge, J.; Huang, L.; Hu, H.; Wu, B.; Yang, H.; Hu, H.; Luo, B. Process mining with token carried data. Inf. Sci. 2016, 328, 558–576. [Google Scholar] [CrossRef] [Scilit]
- Caldeira, J.; Abreu, F.B.e. Software development process mining: Discovery, conformance checking and enhancement. In Proceedings of the 2016 10th International Conference on the Quality of Information and Communications Technology (QUATIC), Lisbon, Portugal, 6–9 September 2016; pp. 254–259. [Google Scholar]
- Van der Aalst, W.; Weijters, T.; Maruster, L. Workflow mining: Discovering process models from event logs. IEEE Trans. Knowl. Data Eng. 2004, 16, 1128–1142. [Google Scholar] [CrossRef] [Scilit]
- Weidlich, M.; Mendling, J. Perceived consistency between process models. Inf. Syst. 2012, 37, 80–98. [Google Scholar] [CrossRef] [Scilit]
- Alizadeh, M.; Lu, X.; Fahland, D.; Zannone, N.; van der Aalst, W.M. Linking data and process perspectives for conformance analysis. Comput. Secur. 2018, 73, 172–193. [Google Scholar] [CrossRef] [Scilit]
- van Zelst, S.J.; van Dongen, B.F.; van der Aalst, W.M. Event stream-based process discovery using abstract representations. Knowl. Inf. Syst. 2018, 54, 407–435. [Google Scholar] [CrossRef] [Scilit]
- Pourmasoumi, A.; Kahani, M.; Bagheri, E. Mining variable fragments from process event logs. Inf. Syst. Front. 2017, 19, 1423–1443. [Google Scholar] [CrossRef] [Scilit]
- Buijs, J.C.; La Rosa, M.; Reijers, H.A.; van Dongen, B.F.; van der Aalst, W.M. Improving business process models using observed behavior. In Proceedings of the 2nd International Symposium on Data-Driven Process Discovery and Analysis (SIMPDA), Campione d’Italia, Italy, 18–20 June 2012; pp. 44–59. [Google Scholar]
- Qi, H.; Du, Y.; Qi, L.; Wang, L. An approach to repair Petri net-based process models with choice structures. Enterp. Inf. Syst. 2018, 12, 1149–1179. [Google Scholar] [CrossRef] [Scilit]
- Zhang, L.; Fang, X.; Shao, C.; Wang, L. Real-time repair of business processes based on alternative operations in case of uncertainty. IEEE Access 2021, 9, 23672–23690. [Google Scholar] [CrossRef] [Scilit]
- Kleiner, N. Delta analysis with workflow logs: Aligning business process prescriptions and their reality. Requir. Eng. 2005, 10, 212–222. [Google Scholar] [CrossRef] [Scilit]
- Garcia-Banuelos, L.; van Beest, N.R.; Dumas, M.; La Rosa, M.; Mertens, W. Complete and interpretable conformance checking of business processes. IEEE Trans. Softw. Eng. 2017, 44, 262–290. [Google Scholar] [CrossRef] [Scilit]
- van der Aalst, W.; Adriansyah, A.; van Dongen, B. Replaying history on process models for conformance checking and performance analysis. Wiley Interdiscip. Rev. Data Min. Knowl. Discov. 2012, 2, 182–192. [Google Scholar] [CrossRef] [Scilit]
- Fang, X.; Cao, R.; Liu, X.; Wang, L. A method of mining hidden transition of business process based on region. IEEE Access 2018, 6, 25543–25550. [Google Scholar] [CrossRef] [Scilit]
- Armas-Cervantes, A.; Baldan, P.; Dumas, M.; Garcia-Bañuelos, L. Diagnosing behavioral differences between business process models: An approach based on event structures. Inf. Syst. 2016, 56, 304–325. [Google Scholar] [CrossRef] [Scilit]
- Fahland, D.; Van Der Aalst, W.M. Model repair-aligning process models to reality. Inf. Syst. 2015, 47, 220–243. [Google Scholar] [CrossRef] [Scilit]
- Bauer, M.; Van der Aa, H.; Weidlich, M. Estimating process conformance by trace sampling and result approximation. In Proceedings of the Business Process Management: 17th International Conference, BPM 2019, Proceedings 17, Vienna, Austria, 1–6 September 2019; Springer International Publishing: Cham, Switzerland, 2019. [Google Scholar]
- De Leoni, M.; Maggi, F.M.; van der Aalst, W.M. Aligning event logs and declarative process models for conformance checking. In Proceedings of the Business Process Management: 10th International Conference, BPM 2012, Proceedings 10, Tallinn, Estonia, 3–6 September 2012; Springer: Berlin/Heidelberg, Germany, 2012; pp. 82–97. [Google Scholar]
- Adriansyah, A.; van Dongen, B.F.; van der Aalst, W.M. Conformance checking using cost-based fitness analysis. In Proceedings of the 2011 IEEE 15th International Enterprise Distributed Object Computing Conference, Helsinki, Finland, 29 August–2 September 2011; pp. 55–64. [Google Scholar]
- Leemans, S.J.; Fahland, D.; Van Der Aalst, W.M. Discovering block-structured process models from event logs-a constructive approach. In Proceedings of the Application and Theory of Petri Nets and Concurrency: 34th International Conference, PETRI NETS 2013, Proceedings 34, Milan, Italy, 24–28 June 2013; Springer: Berlin/Heidelberg, Germany, 2013; pp. 311–329. [Google Scholar]
- Buijs, J.C.; Van Dongen, B.F.; van Der Aalst, W.M. On the role of fitness, precision, generalization and simplicity in process discovery. In Proceedings of the On the Move to Meaningful Internet Systems: OTM 2012: Confederated International Conferences: CoopIS, DOA-SVI, and ODBASE 2012, Proceedings, Part I, Rome, Italy, 10–14 September 2012; Springer: Berlin/Heidelberg, Germany, 2012; pp. 305–322. [Google Scholar]
- de Leoni, M.; Maggi, F.M.; van der Aalst, W.M. An alignment-based framework to check the conformance of declarative process models and to preprocess event-log data. Inf. Syst. 2015, 47, 258–277. [Google Scholar] [CrossRef] [Scilit]
- Jagadeesh Chandra Bose, R.P.; van der Aalst, W. Trace alignment in process mining: Opportunities for process diagnostics. In Proceedings of the International Conference on Business Process Management, Hoboken, NJ, USA, 13–16 September 2010; Springer: Berlin/Heidelberg, Germany, 2010; pp. 227–242. [Google Scholar]
- Weidlich, M.; Polyvyanyy, A.; Desai, N.; Mendling, J. Process compliance measurement based on behavioural profiles. In Proceedings of the Advanced Information Systems Engineering: 22nd International Conference, CAiSE 2010, Proceedings 22, Hammamet, Tunisia, 7–9 June 2010; Springer: Berlin/Heidelberg, Germany, 2010; pp. 499–514. [Google Scholar]
- Bogdanov, E.; Cohen, I.; Gal, A. Conformance checking over stochastically known logs. In Proceedings of the International Conference on Business Process Management, Münster, Germany, 11–16 September 2022; Springer International Publishing: Cham, Switzerland, 2022; pp. 105–119. [Google Scholar]
- Pegoraro, M.; Uysal, M.S.; van der Aalst, W.M. Conformance checking over uncertain event data. Inf. Syst. 2021, 102, 101810. [Google Scholar] [CrossRef] [Scilit]
- Calheno, R.; Carvalho, P.; Lima, S.R.; Henriques, P.R.; Merino, M.R. Improving conformance checking in process modelling: A multiperspective algorithm. J. Super-Comput. 2023, 79, 18256–18292. [Google Scholar] [CrossRef] [Scilit]
- Felli, P.; Gianola, A.; Montali, M.; Rivkin, A.; Winkler, S. Multi-perspective conformance checking of uncertain process traces: An SMT-based approach. Eng. Appl. Artif. Intell. 2023, 126, 106895. [Google Scholar] [CrossRef] [Scilit]
- Leemans, S.J.; van der Aalst, W.M.; Brockhoff, T.; Polyvyanyy, A. Stochastic process mining: Earth movers’ stochastic conformance. Inf. Syst. 2021, 102, 101724. [Google Scholar] [CrossRef] [Scilit]
- Wang, L.; Du, Y.; Qi, M.; Qi, H.; He, Z. Petri net-based deviation detection between a process model with loop semantics and event logs. Concurr. Comput. Pract. Exp. 2018, 30, e4419. [Google Scholar] [CrossRef] [Scilit]
- van Zelst, S.J.; Bolt, A.; Hassani, M.; van Dongen, B.F.; van der Aalst, W.M.P. Online conformance checking: Relating event streams to process models using prefix-alignments. Int. J. Data Sci. Anal. 2019, 8, 269–284. [Google Scholar] [CrossRef] [Scilit]
- Lee, W.L.J.; Burattin, A.; Munoz-Gama, J.; Sepúlveda, M. Orientation and conformance: A HMM-based approach to online conformance checking. Inf. Syst. 2021, 102, 101674. [Google Scholar] [CrossRef] [Scilit]
- Adriansyah, A.; Van Dongen, B.F.; van der Aalst, W.M. Cost-based conformance checking using the A* Algorithm. BPM Cent. Rep. BPM-11-11 BPMcenter.Org 2011, 1111, 1–14. [Google Scholar]
- Adriansyah, A.; van Dongen, B.F.; van der Aalst, W.M. Towards robust conformance checking. In Proceedings of the Business Process Management Workshops: BPM 2010 International Workshops and Education Track, Revised Selected Papers 8, Hoboken, NJ, USA, 13–15 September 2010; Springer: Berlin/Heidelberg, Germany, 2010; pp. 122–133. [Google Scholar]
- De Weerdt, J.; De Backer, M.; Vanthienen, J.; Baesens, B. A robust F-measure for evaluating discovered process models. In Proceedings of the 2011 IEEE Symposium on Computational Intelligence and Data Mining (CIDM), Paris, France, 11–15 April 2011; pp. 148–155. [Google Scholar]
- Bloemen, V.; van Zelst, S.J.; van der Aalst, W.M.; van Dongen, B.F.; van de Pol, J. Maximizing synchronization for aligning observed and modelled behaviour. In Proceedings of the Business Process Management: 16th International Conference, BPM 2018, Proceedings 16, Sydney, NSW, Australia, 9–14 September 2018; Springer International Publishing: Cham, Switzerland, 2018; pp. 233–249. [Google Scholar]
- Reißner, D.; Armas-Cervantes, A.; Conforti, R.; Dumas, M.; Fahland, D.; La Rosa, M. Scalable alignment of process models and event logs: An approach based on automata and s-components. Inf. Syst. 2020, 94, 101561. [Google Scholar] [CrossRef] [Scilit]
- Lee, W.L.; Verbeek, H.M.; Munoz-Gama, J.; van der Aalst, W.M.; Sepúlveda, M. Recomposing conformance: Closing the circle on decomposed alignment-based conformance checking in process mining. Inf. Sci. 2018, 466, 55–91. [Google Scholar] [CrossRef] [Scilit]
- Song, W.; Xia, X.; Jacobsen, H.-A.; Zhang, P.; Hu, H. Efficient alignment between event logs and process models. IEEE Trans. Serv. Comput. 2016, 10, 136–149. [Google Scholar] [CrossRef] [Scilit]
- Dumas, M.; García-Bañuelos, L. Process mining reloaded: Event structures as a unified representation of process models and event logs. In Proceedings of the Application and Theory of Petri Nets and Concurrency: 36th International Conference, PETRI NETS 2015, Proceedings 36, Brussels, Belgium, 21–26 June 2015; Springer International Publishing: Cham, Switzerland, 2015; pp. 33–48. [Google Scholar]
- Zhong, C.; Zhang, H.; Huang, H.; Chen, Z.; Li, C.; Liu, X.; Li, S. DOMICO: Checking conformance between domain models and implementations. Softw. Pract. Exp. 2024, 54, 595–616. [Google Scholar] [CrossRef] [Scilit]
- Zhang, L.; Fang, X. Business process fitness analysis based on alignment processing and deviation detection. Comput. Integr. Manuf. Syst. 2020, 26, 1573–1581. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).























