Keywords

1 Introduction

The product design is a purposeful, constrained and decision making process [1]. Indeed, companies aim at satisfying their clients by proposing innovative products. Thus, a multidisciplinary group of engineers work in collaboration in order to propose the products that best meet the clients’ requirements. However, current practises and software do not allow one to document the decisions that were taken as well as the rejected design choices. Hence, engineers lose a considerable amount of time while retrieving the design decisions when changes are occurring [2].

Our research is interested in product design that is a process in which a high added value output (i.e. product) is produced. To solve the problem of decisions retrieval, authors have already proposed in [3, 4] a collaborative design process meta-model to capitalize the design rationale. Authors proposed to gather and archive all the design process executions’ traces, that conforms to a trace meta-model, in a trace base. The trace meta-model describes the design process knowledge that needs to be captured and saved for a further analysis. In this paper, authors propose a generic method that couples mining and learning techniques in order to assist engineers in their decision-making processes. Indeed, through a process traces analysis, the most suitable design activities to be executed are identified. Then, for each activity, the most convenient design choices are identified. Authors assume that this objective can be achieved using Process mining (PM) and machine learning (ML) techniques. Indeed, PM allows one to explore the design process from past executions by generating the different process patterns based on the occurrence of activities in the trace data base. Whereas, ML techniques allow one to extract knowledge from data that is collected in the trace data base and thus, help predicting future data according to the new design context.

This paper is organized as follows. In Sect. 2, the relevant research tackling the process mining for process discovery, as well as the machine learning for activity parameters prediction are introduced. Related works are presented in Sect. 3. In Sect. 4, the decision-making support technique is introduced and then tested on a case study in Sect. 5. Finally, future work is discussed and the paper is concluded.

2 Literature Review on Process Mining and Machine Learning

PM is a research field that supports process understanding and improvements, it derives from the field of data mining that is fully concentrated on data and thus cannot provide a complete description of the end-to-end process [5]. This discipline helps to automatically extract the hidden useful knowledge from the recorded event logs generated by information systems. In [6], the author distinguishes three types of applications in process mining: discovery, conformance and enhancement. In this present work, authors are more interested in the discovery application of PM.

Process Discovery allows one to automatically generate the process model from the event log by analysing the observed behaviour from the recorded events (i.e. trace), and without using any a-priori information out of the event log. Through this application, PM allows one to extract the patterns which frequently occur in a design process. The pattern concept was first introduced in [7] as an entity that describes both a frequent problem and the solution that was considered to resolve it. In the context of software design, different specific patterns among component, composite, etc. were defined in order to describe the frequent solutions that resolve software design problems [8]. In [9], authors reuse these patterns to build product models during the product information system specification. In our context, the pattern concept is slightly different since it refers to a possible end-to-end design process execution that encapsulates the process information (i.e. who did what, when, where, why and how defined in [4]).

ML consists in “building computer programs able to construct new knowledge or to improve already possessed knowledge by using input information” [10]. The starting point in machine learning is a data set that consists of a set of data records (also called instance, observation or case). An instance is described by a n-dimensional attribute vector X = (X1, X2, …, Xn) and has a target attribute Y called the class or label. Most learning problems fall into one of four categories: supervised, unsupervised, semi supervised or reinforcement learning. A brief summary is provided of each.

Supervised learning: this kind of machine learning is a two steps process. The learning step uses a labelled data set, where the label Y of each attributes vector X is known, to build and evaluate a classification model (i.e. classifier). The Prediction step uses the already constructed classification model to predict class labels for given real-world data [11]. Supervised learning has two tasks: supervised classification where the label Y is a discrete set (True/False), and regression where the label Y is a continuous number.

Unsupervised learning: in this type of machine learning, labels in the data set are unknown. The task consists in exploring the data set and identifying data groups by the exploratory analysis and then gathering them in groups called clusters [12].

Semi supervised learning: this technique makes use of both supervised and unsupervised learning and has two tasks. First, the semi supervised classification uses a data set that contains both labelled and unlabelled data, the goal is to train a classifier from both of them. Second, the constrained clustering uses a training data that consists of unlabelled data as well as a-priori information about clusters such as must-link and cannot-link constraints [13].

Reinforcement learning: this technique combines the field of programming and supervised learning. The goal is to develop learners or software agents that learn from their own experience and from the feedback of environment which may be expressed by a reward or punishment [14].

ML in product design is defined as the learning methods that can be applied to the acquisition of knowledge [15]. In [16], authors introduce a method that allows one to automate the generation of the key design parameters, they use a ML genetic algorithm [17] to select the optimal design among a set of trial designs and thus produce designs with higher performance gains. In [18], authors show that the commercial success of a product depends not only on its functionality but also on its physical appearance that may meet or not the consumer’s expectations. Authors use ML techniques to predict the consumer response to any product form. In [19], authors introduce a hybrid algorithm linking ML and search techniques. It uses the capitalized expert knowledge from past optimizations and allows one to select the project scenarios in the early product design phase. In [20], authors aim to adapt CAD models for numerical simulations by simplifying or removing some features of the designed product, this is called the CAD models preparation process. Authors use ML based techniques to predict the features that can be removed or simplified in a new CAD model based on the past expertise knowledge. In [21], authors propose a method that couples the fuzzy theory with the ML techniques to approximate the product design duration as it is constrained by several random factors and is not a forecast problem.

3 Literature Review on Coupling PM and ML

Many research works link both PM and ML techniques. In [22], authors propose a tool that supports collaborative writing of an electronic document. The tool uses ML techniques for extracting document changes as well as PM techniques for extracting event logs, that capture the user’s behaviour, and then generating the process model. In [23], authors use the Case Data Extraction mining plugin (PM technique) to extract the case data of the dyeing log, and the association rule mining (ML technique) to find relationships between the extracted data. Our work is closely related to [24], where the authors propose a method for discovering business rules. The PM is first used to analyse the information in event log by identifying the category of users that performs the activity and then ML is used to analyse the context information existing in the event log to discover the set of possible activity parameters’ values.

The studied works use ML techniques to extract the knowledge from data and find relationships between them. Afterwards, they use PM techniques to identify the process model from the recorded event log. The work reported in this paper adopts the same logic and, in addition, presents a double process analysis. Indeed, authors start by discovering the process’ possible patterns using PM. Then, for each pattern, authors predict the activity possible parameters using the supervised classification (ML technique). The most suitable pattern and activity parameters are then proposed to the decision-maker according to the design context.

4 Double Layer Framework for Decision-Making Support

In the context of product design, the proposal distinguishes two types of decision-making (Fig. 1): The global decision-making (expressed in BPMN [25]) and the local decision-making (expressed in IDEF0Footnote 1).

Fig. 1.
figure 1

Global and local decision-making (in grey, the decisions that have been taken)

Global decision-making: when working or reworking on a product design, the engineer has the choice to perform some activities before others. The different gateways (And, Or, Xor) [25, Sect. 8.3.9] are used to control how the process flows and, thus, give rise to several possible executions (Fig. 1). The global decision-making consists in automatically proposing a ranking of the most significant patterns (i.e. set of ordered activities), that match the design context.

Local decision-making: when dealing with the product design process, two main types of activities are distinguished: modelling and decision activities. On the one hand, the modelling activity transforms an input into output, by taking in consideration the imposed design constraints, and by using some resources (human, documentary, software, etc.). On the other hand, the decision activity consists in choosing one or several solutions among all the design alternatives by taking into account the constraints and using some resources. The local decision-making consists in predicting the most relevant resources for the modelling and decision activities. In addition, it consists in predicting the output (i.e. Decision) in the case of the decision activity (Fig. 1).

The double layer framework shown in Fig. 2 represents the proposal of this research. In the process mining layer, the goal is to extract the most frequent patterns of the product design process. In the machine learning layer, the goal is to predict the most frequent parameters, given the context, for each activity of the selected pattern.

Fig. 2.
figure 2

Overview of the proposal

4.1 Process Mining Layer

The starting point of PM is some information about the past executions of design processes in the form of event logs that could be expressed in XES format (eXtensible Event Stream) or MXML format (Mining eXtensible Markup Language). In this paper, authors use MXML as it is an XML-based syntax format and has a meta model [26]. In the process mining layer (Fig. 2), authors start by transforming the process executions’ traces contained in the Process-Trace base [3], where each trace is a single past execution of the process and is expressed in XMI format (XML Metadata Interchange). Indeed, the trace is considered as an instance of the trace meta-model proposed in [4], that is implemented in the Eclipse environmentFootnote 2, and whose instantiation generates a XMI trace. The transformation consists in a translation of all the traces into a MXML event log. This latter stores the information related to several executions of the process, each execution refers to a case (i.e. trace) and contains ordered events where each event refers to an activity of the process [26]. Event logs should conform to the MXML meta model but may store additional information. In our context, an event log contains the basic elements described in the MXML meta model [26] as well as the concepts of the process meta model identified in [4].

There are many mining software tools that help to discover event logs, authors can cite, inter alia, MylnvenioFootnote 3, ProMFootnote 4 and DiscoFootnote 5. In this present work authors use ProM as it is a free and open source process mining tool that supports the development of PM plugins. ProM allows the process discovery by generating process models from the input event log. In addition, it allows the process patterns discovery by identifying the most frequent patterns in a process through the pattern abstraction visualization [27]. Mined patterns can be filtered depending on certain parameters including their apparition frequency in the process and their size (i.e. number of contained activities) and they can be exported in CSV format. Hence, during a new execution of the process, authors propose the mined patterns classified according to their frequency. The user chooses one of them and its choice constrains the machine learning layer.

4.2 Machine Learning Layer

In this layer, authors aim at predicting the resources to be used and/or the decision to be considered for each activity of the chosen process pattern. In this context, the most relevant learning technique, among those presented in Sect. 2, is the supervised classification, since its objective is to learn from known values to predict new ones. There are several machine learning tools that support supervised classification, authors chose WekaFootnote 6 since it is a free and open source framework, simple to use and well documented. As it is considered, each time, only one activity of the process pattern while applying the supervised classification algorithms with Weka, a training set for this considered activity is constructed in order to start the supervised classification process (Fig. 3). Thus, the different executions of each activity are extracted from the CSV file of the mined process patterns and saved separately in an activity log in CSV format. The training set is constructed as following: X is the input attributes vector that describes the properties of the activity and Y is the output variable. The training set can be pre-processed in case some attributes of the vector X need to be eliminated [28].

Fig. 3.
figure 3

Process of the supervised classification

The next step is to select a supervised classification algorithm (i.e. classifier) among naïve Bayes, decision tree, SVM, neural nets, etc. and apply it on the training set. After being trained, the selected algorithms are evaluated by using a testing set, where Y is unknown for each attributes vector X. The most accurate classifier will be then used to predict the desired variable during a new activity execution. The evaluation of supervised classification algorithms is not addressed in this paper since authors assume that the decision tree algorithm is the most suitable in our context.

5 Case Study: Application on an Electric Torch Design Process

The example considered in this study is an electric torch design process (Fig. 4). First, the engineer has the choice to begin the process with one of the fourth activities: “External functional analysis”, “Internal functional analysis”, “Nomenclature” or “CAD modelling V0”. Second, after performing the previous fourth activities, he can either perform the “Function, Physical principle and technology” activity or the “Manufacturing and assembly sequences” activity. After that, he has the possibility to choose to begin with creating the “Parameters table V0” or the “Energy flow diagram”. Finally, he has the choice to perform the “Parameters table V1” or “CAD modelling V1”. Note that there are several different possible executions.

Fig. 4.
figure 4

Electric torch design process in BPMN formalism

Process mining phase: in order to derive the process patterns to be followed, ProM is used to analyse the past executions (in MXML format) and then extracts the most frequent patterns (Fig. 5). In this example, the first pattern proposed by ProM contains four activities (i.e. pattern alphabet), and in 90% of the cases, the “Parameters table V1” activity is followed by “CAD modelling V1” activity which is followed by the “CAD modelling V2” activity that concludes the process. The patterns proposed by ProM are classified by their apparition frequency and can be exported in CSV format (Fig. 6). The engineer chooses, then, the most suitable pattern; where the first is the most frequently used in this design context.

Fig. 5.
figure 5

Frequent patterns (only two are presented) in the electric torch design process

Fig. 6.
figure 6

Exported process patterns (only two are presented)

Machine learning phase: for each activity of the chosen process pattern, authors aim to propose the parameters (resources and/or decision) to be considered while performing the activity. Weka is used since it provides many supervised classification algorithms which can be trained by the training set that refers to the activity log. In this study, authors use the J48 decision tree classifier which is an implementation of the C4.5 algorithm that generates decision trees [29]. After being trained and tested, the algorithm allows predicting the desired activity parameters’ value, in Fig. 7 an example of the software resource that is used to perform the “External functional analysis” activity is presented. In this example, the prediction takes into account the human resource that performs the activity and the start time of the execution of the activity. For example, the J48 algorithm is 77.6% sure that Tom Stilinski uses TDC Need to perform the “External functional analysis” activity at 9.25 AM o’clock.

Fig. 7.
figure 7

The software resource prediction for the “External functional analysis” activity

6 Conclusion and Future Work

The objective of this research is to propose a decision-making support technique that aids engineers, during the design or redesign of a product. Through the proposed technique, the past design executions are analysed and the most relevant design patterns to be followed are proposed. In addition, for each activity of the considered design process, the most suitable resources and/or decision are proposed. The proposed technique illustrates the feasibility of the assumption about the use of PM and ML in the decision-making support. It has been illustrated on a case study where only And and Or (with true conditions) gateways are considered. Future work consists in addressing the design processes containing the Xor/Or gateways that give rise to several patterns, where only the one that satisfies the condition must be executed. The objective is to automatically propose, in a new design context, the process pattern in which all the Xor/Or gateways’ conditions are satisfied. Future work also consists in studying the impact of the proposal on design processes with respect to some performance indicators such as development time, changes propagation, etc.