User-constrained process mining
User-constrained process mining addresses the misalignment issue in traditional methods by incorporating user-defined constraints to generate a more accurate process tree, enhancing process analysis accuracy.
Patent Information
- Application Number
- JP2021572651
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-08-21
- Filing Date
- 2021-11-01
- Publication Date
- 2024-08-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional process mining techniques fail to incorporate user knowledge, leading to discrepancies between the visual representation of process trees and the underlying processes, resulting in inaccurate process analysis.
User-constrained process mining that utilizes user-defined constraints to generate process trees by partitioning event logs based on activity clusters and relationships, ensuring alignment with the underlying process structure.
Generates a more accurate process tree representation, enabling suitability checking and improving the understanding of process performance.
Smart Images

Figure 2024530999000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates generally to process mining, and more particularly to user-constrained process mining. [Background technology]
[0002] A process is a sequence of activities performed by one or more computers to provide various services. In process mining, processes are analyzed to identify trends, patterns, and other process analysis indicators to improve efficiency and gain a better understanding of the process. Traditional approaches for process mining are performed by interpreting event logs of processes to generate process trees for those processes. However, such traditional approaches for process mining do not utilize knowledge of the underlying processes. This can lead to differences between the visual alignment of the process tree, which represents the interpretation of the process during process mining, and the underlying process. Summary of the Invention
[0003] According to one or more embodiments, a system and method are provided for generating a process tree for a process. An event log of performance of the process is received. User constraints for one or more activities of the process are received from a user. A process tree is generated from the event log based on the user constraints. The process tree is output. In one embodiment, the process may be a Robotic Process Automation (RPA) process.
[0004] In one embodiment, the process tree is generated by constructing a graph based on user constraints, defining clusters of activities that must not be split based on the graph, and splitting the event log of the process based on the clusters of activities.
[0005] In one embodiment, the user constraints include user constraints that define sequence relationships between the activities. The event log is partitioned based on 1) activities that have the highest forward connectivity in the directed graph, and 2) activities that are clustered with the activities that have the highest forward connectivity in a cluster of activities.
[0006] In one embodiment, the user constraints include a user constraint defining a loop relationship between the activities. Activities of the process corresponding to a body of the loop relationship and a reworked portion of the loop relationship are identified. In response to determining that two or more activities in the user constraint defining the loop relationship are identified to correspond to the body, one of the activities in the user constraint defining the loop relationship is placed in the body, and the remaining activities in the user constraint defining the loop relationship are placed in the reworked portion. In response to determining that the activities of each respective cluster are not split between the body and the reworked portion, all activities of the respective cluster are placed in the same body or reworked portion. In response to determining that the activities of a particular cluster have not been assigned to the body or reworked portion, the activities of the particular cluster are placed in the body or reworked portion based on a frequency of occurrence of the activities of the particular cluster in the body and the reworked portion.
[0007] In one embodiment, the user constraints include one or more of a binary constraint that defines a relationship between two or more activities of the process, and a unary constraint that defines a behavior of a single activity of the process or a single set of activities of the process. The relationship may include at least one of a sequence relationship, an exclusive alternative relationship, a parallel relationship, or a loop relationship. The unary constraints may define at least one of whether the single activity or the single set of activities is optional or mandatory, or whether the single activity or the single set of activities must be capable of repeating itself or must not be capable of repeating itself.
[0008] These and other advantages of the present invention will become apparent to those skilled in the art from the following detailed description and accompanying drawings. [Brief description of the drawings]
[0009] [Figure 1] 1 illustrates an exemplary process.
[0010] [Diagram 2] 1 illustrates a method for generating a process tree based on user constraints according to one or more embodiments.
[0011] [Diagram 3] A typical event log for the process in Figure 1 is shown.
[0012] [Figure 4] 1 illustrates a table showing constraints, graphs, and clusters according to one or more embodiments.
[0013] [Figure 5A] 1 shows a process tree for a particular process generated using an unconstrained probabilistic inductive miner.
[0014] [Figure 5B] 1 illustrates a process tree for a particular process generated using a constrained probabilistic recursive miner according to one or more embodiments.
[0015] [Figure 6] FIG. 1 is a block diagram of a computing system according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] A process may be performed by one or more computers to service a number of different applications, such as, for example, administrative applications (e.g., new employee onboarding), payment processing applications (e.g., purchasing, invoice management, and payment facilitation), and information technology applications (e.g., ticketing systems). In one embodiment, a process may be a robotic process automation (RPA) process that is automatically performed by one or more RPA robots.
[0017] 1 illustrates an exemplary process 100. Process 100 includes activity A 102, activity B 104, activity C 106, and activity D 108, which represent a predetermined sequence of steps in process 100. Performance of process 100 is recorded in the form of an event log.
[0018] To facilitate a user understanding of the performance of process 100, process mining can be performed to generate a process tree for process 100 based on its event log. A process tree is a visual representation of the performance of process 100. A process tree is modeled as a directed graph, where each activity of the process is represented as a node, and the performance of the process from a source activity to a destination activity is represented as an edge connecting the nodes representing the source and destination activities. Each edge in the process tree is associated with a number that represents the frequency of performance of that edge.
[0019] Traditionally, process mining is performed to generate a process tree of a process based on the event log of the process without utilizing knowledge of the underlying process. Because the process tree is generated without utilizing knowledge of the underlying process, the visual alignment of the process tree may differ from the underlying process.
[0020] The embodiments described herein provide user-constrained process mining, which allows a user to define constraints for the process mining of a process, thereby incorporating the user's knowledge of the process in the process mining. Advantageously, such user-constrained process mining generates a more accurate process tree of a process, thereby enabling conformance checking of the process.
[0021] 2 illustrates a method 200 for generating a process tree based on user constraints, according to one or more embodiments. The steps of method 200 may be performed by any suitable computing device, such as, for example, computing system 1000 of FIG.
[0022] In step 202, an event log of the performance of the process is received. The event log may be maintained during one or more instances of the performance of the process by recording events that occur during the one or more instances of the performance of the process. An event refers to the performance of an activity for a particular instance at a particular time. An instance corresponds to a particular instance of the performance of the process and is identified by an instance identifier (ID). A trace refers to an ordered sequence of activities performed for an instance. A variant refers to the frequency of occurrence of a particular trace.
[0023] FIG 3 illustrates an exemplary event log 300 for the process 100 of FIG 1, in accordance with one or more embodiments. The event log 300 records events that occur during six instances of performance of the process 100, corresponding to case ID 1 through case ID 6 in the event log 300. As shown in FIG 3, the event log 300 is formatted as a table having rows 302, each corresponding to an event, and columns 304, each identifying an attribute of the event, identified in a header row 306 at the cell where the row 302 and column 304 intersect. In particular, each row 302 is associated with an event (identified in columns 304-B) that represents the performance of an activity 102-108, a timestamp (identified in columns 304-C) of the performance of the activity 102-108, and a case ID (identified in columns 304-A) that identifies the instance of the performance of the activity 102-108 that was performed. In one embodiment, the timestamps of performance of activities 102-108 identified in column 304-C refer to the time when performance of activities 102-108 was completed, but may alternatively refer to the time when performance of activities 104-108 began. It should be appreciated that event log 300 may be in any suitable format and may include additional columns 304 that identify other attributes of the events.
[0024] In step 204, user constraints for one or more activities of the process are received from a user. The user constraints determine the structure of the process tree of the process and represent the user's knowledge of the process. The user constraints may be any suitable constraints for one or more activities of the process. In one embodiment, the user constraints may be, for example, binary constraints and / or unary constraints.
[0025] JPEG2024530999000002.jpg69170
[0026] JPEG2024530999000003.jpg55170
[0027] JPEG2024530999000004.jpg23170
[0028] A process tree is generated from the event log based on user constraints in step 206 of Figure 2. The process tree may be generated using any suitable technique.
[0029] In one embodiment, the process tree is generated by incorporating user constraints into a probabilistic induction miner. In general, the probabilistic induction miner receives an event log of a process. It is determined whether a base case applies to the event log, and in response to determining that the base case applies to the event log, one or more nodes are added to the process tree. In response to determining that the base case does not apply to the event log, the event log is split into sub-event logs, and one or more nodes are added to the process tree. The steps of determining whether a base case applies to the event log and splitting the event log are performed repeatedly, using each sub-event log as the event log, for each respective sub-event log, until it is determined that a base case applies to the event log. Probabilistic induction miners are known in the art and are further described in U.S. Patent Application Serial No. 17 / 013,624, filed September 6, 2020, the disclosure of which is incorporated herein by reference in its entirety.
[0030] Due to how the probabilistic induction miner works, the process tree is generated by splitting the event log according to the user constraints. For example, given a user constraint A → B, the event log (or sub-event log) is eventually split or cut by a sequence cut to split activities A and B. If a non-sequence cut of activities A and B is performed, then a sequence cut of activities A and B cannot be performed afterwards. Thus, even though the constraint A → B is a constraint on the sequence relationship, it is also a constraint on all other relationships so as not to separate activity A and activity B, since this must be done by a sequence cut.
[0031] In the case of binary constraints, constraint clusters of activities that must not be split are defined based on the user constraints to prevent cuts due to erroneous relational operators. To define the clusters, a graph is first constructed based on the user constraints. The graph includes nodes for all activities in the event log and, for every binary constraint, edges between activity nodes in the constraint. The edges are annotated with the constraint type. Clusters of activities that must not be split are then defined from the graph. For example, in the case of a constraint that defines an exclusive choice relationship, the constraint indicates that activities that are connected through constraints other than exclusive choice cannot be split. Thus, in the case of exclusive choice, a cluster is a component of the graph that is connected through edges that are connected through edges that are annotated with operators other than exclusive choice. FIG. 4 illustrates a table 400 showing constraints in the first column, the resulting constraint graph in the second column, and clusters of activities that must not be split in the third column, according to one or more embodiments. The clusters in table 400 are shown per operator with respect to the graph. The event log (or sub-event log) is then split based on the clusters of activities.
[0032] In the case of constraints that define exclusive choice and parallel relations between activities, the probabilistic induction miner already uses a form of clustering to split the event log. The probabilistic induction miner applies an average min-cut algorithm to determine cuts in the exclusive choice and parallel relations. The average min-cut algorithm starts with every activity in the event log being its own cluster. From there, the algorithm starts iteratively merging all clusters and keeps track of which cut between clusters was the best option. Because the average min-cut algorithm starts with all activities already in their own clusters, clusters (of one activity each) are replaced with clusters of activities that should not be split. Thus, clusters of activities can be directly given as input to the average min-cut algorithm of the probabilistic induction miner.
[0033] For constraints that define sequence relationships between activities, the probabilistic miner splits the event log by constructing a directed graph, where the nodes are the activities in the event log and the edges are the directed order scores between the activities. The probabilistic inductive miner iteratively calculates the best activity to be considered next, i.e., the activity with the highest forward connectivity in the graph to other activities not yet visited. The activity that is clustered with the best activity in the cluster of activities is also included. The sequence cluster is terminated when there is a set of activities where all activities can be reached via a single edge. From there, the first activity of the next cluster is selected by selecting the activity with the highest forward connectivity in the graph to other activities not yet visited. Steps are also taken to ensure correct ordering. For example, given a constraint A → B, but activity B is considered before activity A. To ensure that the A → B ordering is not violated, a sequence cluster is defined with activity A before activity B such that the activities are split in the correct order.
[0034] For constraints that define loop relationships between activities, the first step is to identify which activities form the beginning and end parts of both the body and the rework part of the loop. The rework part corresponds to the part of the loop that the loop repeats from the activity at the end of an iteration to the activity at the start of the next iteration. It is then determined whether the loop constraint holds. There is a single scenario in which the loop constraint does not hold; that is, when two or more activities in the loop constraint are identified to be within the loop body. This means that the activities are not split and are in conflict with the loop constraint. To address this, in response to a determination that two or more of the activities in the loop constraint are identified to be within the loop body, one activity is determined to be best suited for that body and the remaining activities are placed in the rework part of the loop.
[0035] Next, it is checked whether activities that are clustered together (via no-loop constraints) are split between the body and the rework. If the clustered activities are split between the body and the rework, it is concluded that no loop cutting is possible at this point, since it is not possible to find a loop structure that does not violate the constraints. If the clustered activities are not split between the body and the rework, it is checked whether the clustered activities are in the body or the rework, and all clustered activities are placed in that same body or rework.
[0036] Finally, if there are clusters that are not assigned to a Body or Rework part, it is checked whether the activities of the cluster occur more frequently between the Body Begin / End or Rework Begin / End activities. The activities of each cluster are placed in the Body or Rework part where they occur more frequently (similar to how this is done for loop cut detection). Loop cuts that split sequential constraint activities are considered valid. Due to the loop structure, a strict order of activities is defined that does not violate sequence constraints.
[0037] In step 208, the process tree is output. In one embodiment, the process tree may be output, for example, by displaying the process tree on a display device of the computer system, storing the process tree in memory or storage of the computer system, or transmitting the process tree to a remote computer system. In one embodiment, the process tree is output to a conformance checking system to perform a conformance check of the process based on the output process tree.
[0038] In some embodiments, the process tree can be converted into a process model, for example using known techniques. The process model can be, for example, a Business Process Modeling Notation (BPMN) model or a BPMN-like model.
[0039] Figure 5A shows a process tree 500 of a particular process generated using a conventional unconstrained probabilistic induction miner, and Figure 5B shows a process tree 510 of the same particular process generated using a constrained probabilistic induction miner, according to one or more embodiments. The process tree 510 of Figure 5B can be generated according to method 200 of Figure 2. The constrained probabilistic induction miner used to generate process tree 510 is user constrained with the following user constraints: · Request for arbitration to the prefecture → Receive the arbitration result from the prefecture → Notify the violator of the arbitration result · Appeal → Payment -Addition of penalty → payment · Request for arbitration from prefecture → payment -Notification of the results of the arbitration to the violator -> Payment · Receive the results of the trial from the prefecture → make payment The process tree 510 of FIG. 5B is a more accurate representation of the performance of a particular process as compared to the process tree 500 of FIG. 5A.
[0040] FIG. 6 is a block diagram illustrating a computing system 600 configured to perform the methods, workflows, and processes described herein, including FIG. 2, according to an embodiment of the present invention. In some embodiments, the computing system 600 may be one or more of the computing systems illustrated and / or described herein. The computing system 600 includes a bus 602 or other communication mechanism for communicating information and a processor 604 coupled to the bus 602 for processing information. The processor 604 may be any type of general-purpose or special-purpose processor, including a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a graphics processing unit (GPU), multiple instances thereof, and / or any combination thereof. The processor 604 may also have multiple processing cores, and at least some of the cores may be configured to perform specific functions. In some embodiments, multiple parallel processing may be used.
[0041] The computing system 600 further includes a memory 606 for storing information and instructions executed by the processor 604. The memory 606 may be comprised of any combination of random access memory (RAM), read-only memory (ROM), flash memory, cache, static storage such as magnetic or optical disks, or any other type of non-transitory computer-readable medium, or any combination thereof. The non-transitory computer-readable medium may be any available medium that can be accessed by the processor 604 and may include volatile media, non-volatile media, or both. Additionally, the medium may be removable, non-removable, or both.
[0042] Additionally, the computing system 600 includes a communications device 608, such as a transceiver, for providing access to a communications network via wireless and / or wired connections according to any currently existing or future implemented communications standards and / or protocols.
[0043] The processor 604 is further coupled via bus 602 to a display 610 suitable for displaying information to a user. The display 610 may be configured as a touch display and / or any suitable tactile I / O device.
[0044] A keyboard 612 and cursor control device 614, such as a computer mouse, touchpad, etc., are further coupled to bus 602 to allow a user to interface with the computing system. However, in certain embodiments, a physical keyboard and mouse may not be present and the user may interact with the device solely through the display 610 and / or touchpad (not shown). Any type and combination of input devices may be used as a matter of design choice. In certain embodiments, there are no physical input devices and / or displays. For example, a user may interact with computing system 600 remotely via another computing system in communication with it, or computing system 600 may operate autonomously.
[0045] The memory 606 stores software modules that provide functionality when executed by the processor 604. The modules include an operating system 616 for the computing system 600 and one or more additional functional modules 618 configured to perform all or part of the processes described herein or derivatives thereof.
[0046] As will be appreciated by those skilled in the art, the "system" may be embodied as a server, an embedded computing system, a personal computer, a console, a personal digital assistant (PDA), a mobile phone, a tablet computing device, a quantum computing system, or any other suitable computing device or combination of devices without departing from the scope of the present invention. Presenting the above functions as being performed by a "system" is not intended to limit the scope of the present invention in any way, but rather to provide an example of many embodiments of the present invention. Indeed, the methods, systems, and apparatus disclosed herein may be implemented in localized and distributed fashions consistent with computing technologies, including cloud computing systems.
[0047] It should be noted that some of the system features described herein have been presented as modules to more specifically emphasize their implementation independence. For example, a module may be implemented as a hardware circuit including custom very large scale integrated (VLSI) circuits or gate arrays, off-the-shelf semi-conductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, graphics processing units, and the like. A module may also be implemented at least in part in software for execution by various types of processors. An identified unit of executable code may include one or more physical or logical blocks of computer instructions that may be organized as, for example, an object, a procedure, or a function. Nevertheless, executable files of identified modules need not be physically located together, but may include different instructions stored in different locations that, when logically coupled together, include the modules and accomplish the stated purpose of the modules. Furthermore, the modules may be stored in a computer readable medium, which may be, for example, a hard disk drive, a flash device, a RAM, a tape, and / or any other such non-transitory computer readable medium used to store data without departing from the scope of the present invention. Indeed, a module of executable code may be a single instruction, or many instructions, and may be distributed across several different code segments, different programs, and several memory devices. Similarly, operational data may be identified and illustrated herein within a module, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set or may be distributed in different locations, including different storage devices, and may exist, at least in part, only as electronic signals on a system or network.
[0048] The above merely illustrates the principles of the present disclosure. Thus, it is understood that those skilled in the art can devise various configurations that embody the principles of the present disclosure and fall within the spirit and scope of the present disclosure, although not explicitly described or shown herein. Furthermore, all examples and conditional language recited herein are primarily for educational purposes only to help the reader understand the principles of the present disclosure and the concepts contributed by the inventor to advance the present technology, and should be interpreted as not being limited to such specifically recited examples and conditions. Furthermore, all descriptions herein reciting the principles, aspects, and embodiments of the present disclosure, as well as specific examples thereof, are intended to encompass both structural and functional equivalents thereof. Furthermore, such equivalents are intended to include both currently known equivalents and equivalents developed in the future.
Claims
1. receiving an event log of the execution of the process; receiving user constraints from a user for one or more activities of the process; generating a process tree from the event log based on the user constraints; outputting the process tree; 23. A computer-implemented method comprising:
2. The step of generating a process tree from the event log based on the user constraints comprises: constructing a graph based on the user constraints; defining clusters of activities that should not be divided based on said graph; and partitioning the event log of the process based on the clusters of activity.
3. The user constraints include user constraints that define sequence relationships between activities, and the step of generating a process tree from the event log based on the user constraints includes:
3. The computer-implemented method of claim 2, comprising partitioning the event log based on 1) activities that have the highest forward connectivity in a directed graph, and 2) activities that are clustered with the activities that have the highest forward connectivity in a cluster of the activities.
4. The user constraints include user constraints that define loop relationships between activities, and the step of generating a process tree from the event log based on the user constraints includes: identifying activities of the process that correspond to a body of the loop relation and a reworking of the loop relation; in response to determining that two or more of the activities in the user constraints defining the loop relationship are identified as corresponding to the body, placing one of the activities in the user constraints defining the loop relationship in the body and placing remaining activities in the user constraints defining the loop relationship in the rework section; in response to determining that the activities of each respective cluster are not split between the body and the rework unit, locating all activities of the respective cluster in the same body or rework unit; The computer-implemented method of claim 2 , comprising:
5. 5. The computer-implemented method of claim 4, further comprising: in response to determining that an activity of a particular cluster was not assigned to the body or the reworking unit, allocating the activity of the particular cluster to the body or the reworking unit based on a frequency of occurrence of the activity of the particular cluster in the body and the reworking unit.
6. 2. The computer-implemented method of claim 1 , wherein the user constraints include one or more of: binary constraints that define relationships between two or more activities of the process; and unary constraints that define behavior of a single activity of the process or a single set of activities of the process.
7. The computer-implemented method of claim 6 , wherein the relationship includes at least one of a sequence relationship, an exclusive choice relationship, a parallel relationship, or a loop relationship.
8. 7. The computer-implemented method of claim 6, wherein the unary constraint defines at least one of whether the single activity or the single set of activities is optional or required, or whether the single activity or the single set of activities must be capable of repeating itself or must not be capable of repeating itself.
9. The computer-implemented method of claim 1 , wherein the process is a robotic process automation (RPA) process.
10. a memory for storing computer instructions; at least one processor configured to execute the computer instructions, the computer instructions causing the at least one processor to: Receiving operation of event logs of process execution; receiving user constraints from a user for one or more activities of the process; generating a process tree from the event log based on the user constraints; outputting the process tree; At least one processor configured to execute An apparatus comprising:
11. The operation of generating a process tree from the event log based on the user constraints comprises: constructing a graph based on the user constraints; defining clusters of activities that should not be divided based on said graph; and partitioning the event log of the process based on the clusters of activity.
12. The user constraints include user constraints that define sequence relationships between activities, and the operation of generating a process tree from the event log based on the user constraints includes:
12. The apparatus of claim 11, further comprising the operations of partitioning the event log based on 1) activities that have the highest forward connectivity in a directed graph, and 2) activities that are clustered with the activities that have the highest forward connectivity in a cluster of the activities.
13. The user constraints include a user constraint that defines a loop relationship between activities, and the operation of generating a process tree from the event log based on the user constraints includes: identifying activities of the process that correspond to a body of the loop relation and a reworking of the loop relation; in response to determining that two or more of the activities in the user constraints defining the loop relationship are identified as corresponding to the body, placing one of the activities in the user constraints defining the loop relationship in the body and placing remaining activities in the user constraints defining the loop relationship in the rework section; in response to determining that the activities of each respective cluster are not split between the body and the rework unit, placing all activities of the respective cluster in the same body or rework unit; The apparatus of claim 11 , comprising:
14. The operation is 14. The apparatus of claim 13, further comprising, in response to determining that an activity of a particular cluster was not assigned to the body or the rework unit, distributing the activity of the particular cluster to the body or the rework unit based on a frequency of occurrence of the activity of the particular cluster in the body and the rework unit.
15. The apparatus of claim 10 , wherein the process is a robotic process automation (RPA) process.
16. A non-transitory computer readable medium storing computer program instructions that, when executed on at least one processor, cause the at least one processor to: Receiving operation of event logs of process execution; receiving user constraints from a user for one or more activities of the process; generating a process tree from the event log based on the user constraints; outputting the process tree; A non-transitory computer-readable medium for causing a computer to perform operations including:
17. 17. The non-transitory computer-readable medium of claim 16, wherein the user constraints include one or more of: binary constraints that define relationships between two or more activities of the process, and unary constraints that define behavior of a single activity of the process or a single set of activities of the process.
18. 20. The non-transitory computer-readable medium of claim 17, wherein the relationship comprises at least one of a sequence relationship, an exclusive choice relationship, a parallel relationship, or a loop relationship.
19. 20. The non-transitory computer-readable medium of claim 17, wherein the unary constraint defines at least one of whether the single activity or the single set of activities is optional or required, or whether the single activity or the single set of activities must be capable of repeating itself or must not be capable of repeating itself.
20. 20. The non-transitory computer-readable medium of claim 16, wherein the process is a robotic process automation (RPA) process.
