Rahul Sharma (Editor)

Alpha algorithm

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

The α-algorithm is an algorithm used in process mining, aimed at reconstructing causality from a set of sequences of events. It was first put forward by van der Aalst, Weijters and Măruşter. Several extensions or modifications of it have since been presented, which will be listed below.

Contents

It constructs P/T nets with special properties (workflow nets) from event logs (as might be collected by an ERP system). Each transition in the net corresponds to an observed task.

Short description

The algorithm takes a workflow log W T as input and results in a workflow net being constructed.

It does so by examining causal relationships observed between tasks. For example, one specific task might always precede another specific task in every execution trace, which would be useful information.

Definitions used

  • A workflow trace or execution trace is a string over an alphabet T of tasks.
  • A workflow log is a set of workflow traces.
  • Description

    Declaratively, the algorithm can be presented as follows. Three sets of tasks are determined:

  • T W is the set of all tasks which occur in at least one trace
  • T I is the set of all tasks which occur trace-initially
  • T O is the set of all tasks which occur trace-terminally
  • Basic ordering relations are determined ( W first, the latter three can be constructed therefrom)

  • a W b iff a directly precedes b in some trace
  • a W b iff a W b b W a
  • a # W b iff a W b b W a
  • a W b iff a W b b W a
  • Places are discovered. Each place is identified with a pair of sets of tasks, in order to keep the number of places low.

  • Y W is the set of all pairs ( A , B ) of maximal sets of tasks such that
  • Neither A × A and B × B contain any members of W and
  • A × B is a subset of W
  • P W contains one place p ( A , B ) for every member of Y W , plus the input place i W and the output place o W
  • The flow relation F W is the union of the following:

  • { ( a , p ( A , B ) ) | ( A , B ) Y W a A }
  • { ( p ( A , B ) , b ) | ( A , B ) Y W b B }
  • { ( i W , t ) | t T I }
  • { ( t , i O ) | t T O }
  • The result is

  • a petri net structure α ( W ) = ( P W , T W , F W )
  • with one input place i W and one output place o W
  • because every transition of T W is on a F W -path from i W to o W , it is indeed a workflow net.
  • Properties

    It can be shown that in the case of a complete workflow log generated by a sound SWF net, the net generating it can be reconstructed. Complete means that its W relation is maximal. It is not required that all possible traces be present (which would be countably infinite for a net with a loop).

    Limitations

    General workflow nets may contain several types of constructs which the α-algorithm cannot rediscover.

    Constructing Y W takes exponential time in the number of tasks, since W is not constrained and arbitrary subsets of T W must be considered.

    Extensions

    for example

    References

    Alpha algorithm Wikipedia


    Similar Topics