Method and system for recommending a machine learning pipeline for an industrial use case

The method and system address the complexity of constructing machine learning pipelines by using a graph database and neural networks to recommend pipelines based on user descriptions and attributes, enhancing the efficiency and accuracy of pipeline selection for industrial use cases.

WO2024223425A1PCT designated stage expired Publication Date: 2024-10-31SIEMENS AG

Patent Information

Application Number
PCT/EP2024/060693
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-27
Filing Date
2024-04-19
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Constructing a machine learning pipeline for industrial use cases is laborious and requires domain expertise, with existing methods being either manual or relying on error-prone static filtering of predefined attributes.

Method used

A method and system that utilize a graph database, language model, and neural networks to recommend a machine learning pipeline by embedding user-provided descriptions and attributes, leveraging connectivity patterns and relevance scoring to suggest suitable pipelines based on previous industrial use cases.

Benefits of technology

Facilitates efficient selection and construction of machine learning pipelines by supporting free-form textual descriptions and data-driven recommendations, reducing the need for manual expertise and minimizing errors through a data-driven approach.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024060693_31102024_PF_FP_ABST
    Figure EP2024060693_31102024_PF_FP_ABST
Patent Text Reader

Abstract

For recommending a machine learning pipeline for an industrial use case a user interface (UI) receives a new case description (UCD), which is a free-form text description of a new industrial use case for machine learning, and a set of user provided attributes (UPA) that apply to the new industrial use case, wherein the user provided attributes (UPA) are stored as use case features (UCF). A graph database provides a knowledge graph (KG), wherein the knowledge graph (KG) contains information about a set of previous cases. A language model (LM) computes a description embedding (DE) for the new case description (UCD) and for each previous case description (D). A knowledge graph embedding model (KGE) encodes for each previous case a connectivity pattern of the knowledge graph (KG) into a node embedding (GE). A first neural network (NN1) computes for each previous case a previous case embedding (PE). A second neural network (NN2) computes a use case embedding (UCE) for the new industrial use case. A non-parametric decoder scores each previous case embedding (PE) against the use case embedding (UCE), thereby producing a relevance score for each previous case. The previous case with the highest relevance score is selected. The user interface (UI) outputs the machine learning pipeline (MLP) that is linked in the knowledge graph (KG) to the previous case with the highest relevance score.
Need to check novelty before this filing date? Find Prior Art

Description

[0001]202305263 Auslandsfassung 1 Description Method and system for recommending a machine learning pipeline for an industrial use case Over the past two decades, advancements in machine learning have transformed the factory floors and processes in a number of in- dustries, ranging from process industries (e.g., oil and gas, power and utilities, water and wastewater) to hybrid industries (e.g., food and beverage, wind) to discrete industries (e.g., automotive manufacturing, aerospace, robotics). Making use of machine learning solutions in any of these industries requires the construction of an ETL (Extract, Transform, Load) pipeline, the selection of a suitable machine learning model and hyperpa- rameters, and a deployment infrastructure. Performing all these steps from scratch is laborious and requires expertise about the domain and task at hand as well as dedicated knowledge about ma- chine learning. Currently, the task is addressed by manually selecting or con- structing from scratch machine learning pipelines based on do- main knowledge and machine learning expertise or via browsing catalogues of machine learning pipelines using static filters. However, the latter option might be laborious and error prone. It is an object of the present invention to identify a problem in the prior art and to find a technical solution for this. The objectives of the invention are solved by the independent claims. Further advantageous arrangements and embodiments of the invention are set forth in the respective dependent claims. According to the method for recommending a machine learning pipeline for an industrial use case, the following operations are performed by components, wherein the components are hardware components and / or software components executed by one or more processors: 202305263 Auslandsfassung 2 - receiving, by a user interface, a new case description, which is a free-form text description of a new industrial use case for machine learning, and a set of user provided attributes that apply to the new industrial use case, wherein the user provided attributes are stored as use case features, - providing, by a graph database, a knowledge graph, wherein the knowledge graph contains for each previous case of a set of previous industrial use cases for machine learning - a node representing the previous case, - a previous case description of the previous case, - at least one node representing an attribute of the pre- vious case, and - a node representing a machine learning pipeline that has been suitable for implementing machine learning for the previous case, - computing, by a language model, a description embedding for the new case description and for each previous case descrip- tion, - encoding, by a knowledge graph embedding model, a node em- bedding for each of the nodes representing the previous cases, wherein each node embedding reflects a connectivity pattern of the knowledge graph with regard to the respective previous case, - computing for each previous case, by a first neural network receiving as input the node embedding and the description embedding of the respective previous case, a previous case embedding, - computing, by a second neural network receiving as input the use case features and the description embedding of the new case description, a use case embedding for the new indus- trial use case, - scoring, by a non-parametric decoder, each previous case em- bedding against the use case embedding, thereby producing a relevance score for each previous case, in particular by computing a dot product, - selecting the previous case with the highest relevance score, and 202305263 Auslandsfassung 3 - outputting, by the user interface, the machine learning pipeline that is linked in the knowledge graph to the se- lected case. The system for recommending a machine learning pipeline for an industrial use case comprises the following components, wherein the components are hardware components and / or software compo- nents executed by one or more processors: - a user interface, configured for receiving a new case de- scription, which is a free-form text description of a new industrial use case for machine learning, and a set of user provided attributes that apply to the new industrial use case, wherein the user provided attributes are stored as use case features, - a graph database, configured for providing a knowledge graph, wherein the knowledge graph contains for each previ- ous case of a set of previous industrial use cases for ma- chine learning - a node representing the previous case, - a previous case description of the previous case, - at least one node representing an attribute of the pre- vious case, and - a node representing a machine learning pipeline that has been suitable for implementing machine learning for the previous case, - a language model, configured for computing a description em- bedding for the new case description and for each previous case description, - a knowledge graph embedding model, configured for encoding a node embedding for each of the nodes representing the previ- ous cases, wherein each node embedding reflects a connectiv- ity pattern of the knowledge graph with regard to the re- spective previous case, - a first neural network, configured for receiving as input the node embedding and the description embedding of the re- spective previous case, and for computing for each previous case a previous case embedding, 202305263 Auslandsfassung 4 - a second neural network, configured for receiving as input the use case features and the description embedding of the new case description, and for computing a use case embedding for the new industrial use case, - a non-parametric decoder, configured for scoring each previ- ous case embedding against the use case embedding, thereby producing a relevance score for each previous case, in par- ticular by computing a dot product, - wherein the user interface is further configured for output- ting the machine learning pipeline that is linked in the knowledge graph to the previous case with the highest rele- vance score. The following advantages and explanations are not necessarily the result of the object of the independent claims. Rather, they may be advantages and explanations that only apply to certain embodiments or variants. The term "computer" should be interpreted as broadly as possi- ble, in particular to cover all electronic devices with data processing properties. Computers can thus, for example, be per- sonal computers, servers, clients, programmable logic control- lers (PLCs), handheld computer systems, pocket PC devices, mo- bile radio devices, smartphones, or any other communication de- vices that can process data with computer support, for example processors or other electronic devices for data processing. Com- puters can in particular comprise one or more processors and memory units. In connection with the invention, a "memory", "memory unit" or "memory module" and the like can mean, for example, a volatile memory in the form of random-access memory (RAM) or a permanent memory such as a hard disk, a solid state drive or a Disk. The method and system, or at least some of their embodiments, support an engineer in the selection and construction process of a machine learning pipeline, in particular regarding the identi- fication of a suitable machine learning pipeline based on the 202305263 Auslandsfassung 5 intended application area, the available data, and the task at hand. The method and system, or at least some of their embodiments, are based on combining embeddings that encode topological infor- mation from a knowledge graph, attributes that further specify the entities in the knowledge graph, as well as information pro- vided by a user via a free-form textual description. The method and system, or at least some of their embodiments, provide a data-driven recommender where the user can describe her use case by providing both structured and unstructured in- formation to get recommendations for machine learning pipelines. The unstructured information refers to the user describing her use case in free text, for example. The method and system, or at least some of their embodiments, provide a fusion mechanism that leverages both the neural search capabilities of state-of-the-art language embedding models as well as attributes and the neighboring connectivity patterns of use cases which are modelled as entities in a knowledge graph. In contrast to commonly used approaches based on static filter- ing, the method and system, or at least some of their embodi- ments, do not only rely on a set of predefined attributes. In- stead, they allow the user to describe the use case at hand in her own words. In an embodiment of the method and system, the attributes of the previous cases include equipped hardware, data modalities, and labels. In another embodiment of the method and system, the language model is a pretrained transformer model. A computer program product comprises instructions which, when the program is executed by a computer, cause the computer to carry out the method. 202305263 Auslandsfassung 6 The provisioning device for the computer program product stores and / or provides the computer program product. The foregoing and other aspects of the present invention are best understood from the following detailed description when read in connection with the accompanying drawings. For the pur- pose of illustrating the invention, there are shown in the draw- ings embodiments that are presently preferred, it being under- stood, however, that the invention is not limited to the spe- cific instrumentalities disclosed. The embodiments may be com- bined with each other. Furthermore, the embodiments may be com- bined with any of the features described above. Unless stated otherwise, identical reference signs denote the same features or functionally identical elements between drawings. Included in the drawings are the following Figures: Fig. 1 shows a first embodiment, Fig. 2 shows another embodiment, Fig. 3 shows an example of a suitable knowledge graph schema, Fig. 4 shows an overall architecture of an embodiment of a method / system for recommending a machine learning pipe- line for an industrial use case, Fig. 5 shows a flowchart of a possible exemplary embodiment of a method for recommending a machine learning pipeline for an industrial use case. In the following description, various aspects of the present in- vention and embodiments thereof will be described. However, it will be understood by those skilled in the art that embodiments may be practiced with only some or all aspects thereof. For pur- poses of explanation, specific numbers and configurations are set forth in order to provide a thorough understanding. However, 202305263 Auslandsfassung 7 it will also be apparent to those skilled in the art that the embodiments may be practiced without these specific details. The described components can each be hardware components or software components. For example, a software component can be a software module such as a software library; an individual proce- dure, subroutine, or function; or, depending on the programming paradigm, any other portion of software code that implements the function of the software component. A combination of hardware components and software components can occur, in particular, if some of the effects according to the invention are preferably exclusively implemented by special hardware (e.g., a processor in the form of an ASIC or FPGA) and some other part by software. Nickel, M., Tresp, V. & Kriegel, H.-P.: A three-way model for collective learning on multi-relational data, in Icml 11 (2011), pp. 809–816, disclose RESCAL, a widely used graph embedding al- gorithm. The entire contents of that document are incorporated herein by reference. Bordes, A. et al.: Translating embeddings for modeling multi-re- lational data, in Advances in neural information processing sys- tems (2013), pp. 2787–2795, disclose TransE, which is a transla- tion based embedding method. The entire contents of that docu- ment are incorporated herein by reference. Schlichtkrull, M., Kipf, T.N., Bloem, P., van den Berg, R., Ti- tov, I. and Welling, M.: Modeling Relational Data with Graph Convolutional Networks, arXiv preprint arXiv:1703.06103 (2017), disclose a type of Graph Convolutional Neural networks abbrevi- ated as R-GCN. The entire contents of that document are incorpo- rated herein by reference. Vashishth, Shikhar, et al. "Composition-based multi-relational graph convolutional networks." arXiv preprint arXiv:1911.03082v2 [cs.LG] (2019), available on the internet at https: / / doi.org / 10.48550 / arXiv.1911.03082 on April 4, 2023, dis- close composition-based multi-relational graph convolutional 202305263 Auslandsfassung 8 networks abbreviated as CompGCN. The entire contents of that document are incorporated herein by reference. Vaswani et al.: "Attention is all you need", arXiv:1706.03762v5 [cs.CL], available on the internet at https: / / doi.org / 10.48550 / arXiv.1706.03762 on March 21, 2023, discloses a pretrained transformer model that can be used as a language model. The entire contents of that document are incor- porated herein by reference. Fig. 1 shows one sample structure for computer-implementation of the invention which comprises: (101) computer system (102) processor (103) memory (104) computer program (product) (105) user interface In this embodiment of the invention the computer program 104 comprises program instructions for carrying out the invention. The computer program 104 is stored in the memory 103 which ren- ders, among others, the memory 103 and / or its related computer system 101 a provisioning device for the computer program 104. The computer system 101 may carry out the invention by executing the program instructions of the computer program 104 by the pro- cessor 102. Results of invention may be presented on the user interface 105. Alternatively, they may be stored in the memory 103 or on another suitable means for storing data. Fig. 2 shows another sample structure for computer-implementa- tion of the invention which comprises: (201) provisioning device (202) computer program (product) (203) computer network / Internet (204) computer system (205) mobile device / smartphone 202305263 Auslandsfassung 9 In this embodiment the provisioning device 201 stores a computer program 202 which comprises program instructions for carrying out the invention. The provisioning device 201 provides the com- puter program 202 via a computer network / Internet 203. By way of example, a computer system 204 or a mobile device / smartphone 205 may load the computer program 202 and carry out the invention by executing the program instructions of the computer program 202. In a variation of this embodiment, the provisioning device 201 is a computer-readable storage medium, for example a SD card, that stores the computer program 202 and is connected directly to the computer system 204 or the mobile device / smartphone 205 in order for it to load the computer program 202 and carry out the invention by executing the program instructions of the com- puter program 202. Preferably, the embodiments shown in Figs. 3 to 5 can be imple- mented with a structure as shown in Fig. 1 or Fig. 2. On a high level, the embodiments described below operate in the following setting: The user is a subject matter expert that faces a particular in- dustrial problem in a new industrial use case. Initially, there is either no machine learning pipeline deployed that addresses the problem, or the current pipeline is working sub-optimally. Thereby, it is assumed that the user is not a machine learning expert and may not be able to pin down the task at hand using the correct technical vocabulary. For example, the user might be a service engineer that wants to perform predictive maintenance for a fleet of motors but depending on the available data (e.g., depending on the equipped sensors, observed failures, or previ- ous maintenance events), predictive maintenance in this setting may correspond to very different machine learning tasks ranging from unsupervised time-series anomaly detection based on vibra- tion data to supervised image classification based on a visual quality inspection station. The objective of the proposed system 202305263 Auslandsfassung 10 is to identify a machine learning pipeline in an efficient man- ner that can operate in the required setting (i.e., it addresses the correct machine learning task, correctly makes use of the available data, hardware, sensors, etc.). The following embodiments process both an unstructured, free- form description of a new use case as well as a knowledge graph that stores heterogeneous information about previous industrial use cases, datasets, and machine learning pipelines, and provide a fusion mechanism for the outputs of a language model and a graph neural network designed to encode the context from the knowledge graph surrounding each use case. Fig. 4 shows the overall architecture of an embodiment of a method / system for recommending a machine learning pipeline for an industrial use case. Illustrated in Fig. 4 are several compo- nents that the embodiment consists of. A knowledge graph KG, e.g., stored in a graph database, struc- tures information on different machine learning tasks, datasets, industrial use cases, and machine learning pipelines in terms of an RDF graph. A concrete example of a suitable knowledge graph schema is shown in Fig. 3. In the following embodiments, we identify the knowledge graph KG with a heterogeneous graph G represented as a list of triples. That means ^ ^ ^ ൈ ^ ൈ ^, where ^ denotes the vertex set and R the set of edge types. The purpose of the knowledge graph KG is to structure relations between the stored entities. In particular, the knowledge graph KG stores various predefined attributes of previous cases (i.e., previous industrial use cases for machine learning) with regards to the equipped hardware, data modali- ties, labels, etc., and the information which machine learning pipelines have been deployed in which previous cases (via a “solvedUsingPipeline” relation SUP shown in Fig. 3). Apart from the above-mentioned set of predefined attributes, previous case descriptions D, which are free-form text descriptions, are also 202305263 Auslandsfassung 11 assigned to the previous cases as data attributes in the knowledge graph KG. A user interface UI receives a new case description UCD from a user U, which is a free-form text problem definition for the new use case, and a set of user provided attributes UPA that apply to the new use case. A language model LM, for example a pretrained transformer model, produces a description embedding DE, which is a vector space em- bedding, for each previous case description D in the knowledge graph KG on the one hand, and for the new case description UCD on the other hand. Formally, the language model LM corresponds to a mapping ^:^ ՜ Թ^, where ^ denotes the space of use case de- scriptions and ^ the dimensionality of the embedding space. The vector space embeddings allow to compute similarities between texts (e.g., angular similarities) to retrieve similar use cases. A knowledge graph embedding model KGE encodes the connectivity pattern of the knowledge graph KG into a graph embedding. Popu- lar candidates for the knowledge graph embedding model KGE in- clude RESCAL, TransE, or graph neural network based methods such as R-GCN and CompGCN. Formally, the knowledge graph embedding model KGE corresponds to a mapping ^:^ ՜ Թ^, where ^ denotes the set of entities (of the knowledge graph KG, see above) and ^ the dimensionality of the knowledge graph embedding space. The current embodiment provides a tool that is capable of match- ing pipelines stored in the knowledge graph KG to industrial use cases. As shown in Fig. 4, the embodiment is based on a dual neural network architecture that computes embeddings of the pre- vious cases in the knowledge graph KG (including their machine learning pipelines) and the new use case in parallel. In partic- ular, a first neural network NN1 computes a previous case embed- ding PE for each previous case, and a second neural network NN2 computes a use case embedding UCE for the new use case. In a fi- nal step, the embodiment employs a late fusion mechanism which 202305263 Auslandsfassung 12 scores the produced vector space embeddings of the previous cases and the new use case via a non-parametric decoder. This leads to a recommendation score S that the embodiment uses to rank and recommend machine learning pipelines that were deployed for the previous cases. To produce a previous case embedding PE (i.e., a vector space embedding) for a given use case ^ (one of the previous cases), the embodiment considers the corresponding entity ^^పin the knowledge graph KG and produces a node embedding GE defined as ^^ൌ ^^^^ప^ via the knowledge graph embedding model KGE. Similarly, the embodiment queries for the corresponding previous case de-scription D denoted as ^^ప stored in the knowledge graph KG andproduces a description embedding DE defined as ^^ ൌ ^^^^ప ^ via thelanguage model LM. In the next step, the embodiment concatenates the two embeddings and feeds them through the first neural net- work NN1, which is defined as ^:Թ^ା^՜ Թ^, forms a non-linear combination of both embeddings ^^ൌ ^^^^^;^^^^, and outputs it as the previous case embedding PE. described in this paragraph corresponds to the side of Fig. 4. Analogously, the embodiment computes the use case embedding UCE for the new use case. For that purpose, the embodiment receives from the user interface UI communicating with the user U (e.g., in the context of a static questionnaire) answers that specify certain properties of the new use case (that may or may not cor- respond to attributes stored in the knowledge graph KG) such as the availability of labeled data, the modality of the data, de- ployed hardware and other industrial assets, or the industry at hand. This leads to use case features UCF in the form of a fea- ture vector ^ א Թ^where ^ is the number of features. Note that ^ representing the use case features UCF stores both numerical and categorical features (one / multi-hot encoded). Moreover, the embodiment receives from the user interface UI the new case description UCD, which is a free-form text description of the new use case. The new case description UCD denoted as ^ is in turn processed by ^ (the language model LM) to produce the 202305263 Auslandsfassung 13 corresponding description embedding DE defined as ^^^^. Concate- nating and processing the use case features UCF (the feature vector ^) and the description embedding DE via the second neural network NN2 defined as ^:Թ^ା^՜ Թ^leads to the use case embed- ding UCE defined as ^ ൌ ^^^^^;^^^^. The computation described in this paragraph the right-hand side of Fig. 4. Finally, to produce a relevance score ^^(as part of the recom- mendation score S shown in Fig. 4), the embodiment computes the dot product between ^ and ^ (i.e. σ^^ , ^^ൌ^^ୀ^^^^^^,^). Then, by re- peating the outlined procedure for all previous cases in the knowledge graph KG, the embodiment uses the relevance scores ^^^, ^ଶ, … ^ to rank all previous cases and to identify the previous case with the highest relevance score. The user interface UI then outputs the machine learning pipeline from that previous case as a recommendation to the user U. During training, the entirety of all parameters is tuned to pro- duce high scores for matching use cases (e.g., pairs of use cases that employ the same machine learning pipeline) and pro- duce low scores for non-matching use cases. For example, the pa- rameters of the model can be determined via minimizing the per- sonalized Ranking objective given by ^ൌ െ^ ^ ^^^^^^^െ ^^^where ^ א ^ is an case that serves as a proxy for a user-provided use case. ^ାdenotes the set of use cases that deploy the same machine learning pipeline. The knowledge graph embedding model KGE and the language model LM can either be pretrained or trained in an end-to-end fashion with the remainder of the trainable parameters. Fig. 5 shows a flowchart of a possible exemplary embodiment of a method for recommending a machine learning pipeline for an in- dustrial use case. 202305263 Auslandsfassung 14 In a first step 1, a user interface receives a new case descrip- tion, which is a free-form text description of a new industrial use case for machine learning, and a set of user provided at- tributes that apply to the new industrial use case, wherein the user provided attributes are stored as use case features. In a second step 2, a graph database provides a knowledge graph, wherein the knowledge graph contains for each previous case of a set of previous industrial use cases for machine learning - a node representing the previous case, - a previous case description of the previous case, - at least one node representing an attribute of the previous case, and - a node representing a machine learning pipeline that has been suitable for implementing machine learning for the pre- vious case. In a third step 3, a language model computes a description em- bedding for the new case description and for each previous case description. In a fourth step 4, a knowledge graph embedding model encodes a node embedding for each of the nodes representing the previous cases, wherein each node embedding reflects a connectivity pat- tern of the knowledge graph with regard to the respective previ- ous case. In a fifth step 5, a first neural network receives as input the node embedding and the description embedding of the respective previous case, and computes for each previous case a previous case embedding. In a sixth step 6, a second neural network receives as input the use case features and the description embedding of the new case description, and computes a use case embedding for the new in- dustrial use case. 202305263 Auslandsfassung 15 In a seventh step 7, a non-parametric decoder scores each previ- ous case embedding against the use case embedding, thereby pro- ducing a relevance score for each previous case, in particular by computing a dot product. In an eighth step 8, the previous case with the highest rele- vance score is selected. In a ninth step 9, the user interface outputs the machine learn- ing pipeline that is linked in the knowledge graph to the se- lected case. While these steps may be executed in the particular order listed above, it is important to understand that many of these steps can be executed repeatedly, continuously, and / or in parallel to other steps. For example, the parallel architecture of the first neural net- work NN1 and the second neural network NN2 shown in Fig. 4 al- lows for parallel processing of the fifth step 5 and the sixth step 6 at the same time. Also, the third step 3 can be processed in parallel to the fourth step 4, as these steps are executed by independent components. To give another example, the second step 2 can be performed con- tinuously to provide access to the knowledge graph whenever nec- essary. And even the first step 1 may be performed repeatedly in an incremental or iterative fashion in order to gather further information about the new industrial use case. In that case, some of the later steps need to be repeated as well in order to update the use case embedding, for example by repeating the third step 3, the sixth step 6, and the seventh step 7. For example, the method can be executed by one or more proces- sors. Examples of processors include a microcontroller or a mi- croprocessor, an Application Specific Integrated Circuit (ASIC), or a neuromorphic microchip, in particular a neuromorphic pro- cessor unit. The processor can be part of any kind of computer, 202305263 Auslandsfassung 16 including mobile computing devices such as tablet computers, smartphones or laptops, or part of a server in a control room or cloud. The above-described method may be implemented via a computer program product including one or more computer-readable storage media having stored thereon instructions executable by one or more processors of a computing system. Execution of the instruc- tions causes the computing system to perform operations corre- sponding with the acts of the method described above. The instructions for implementing processes or methods described herein may be provided on non-transitory computer-readable stor- age media or memories, such as a cache, buffer, RAM, FLASH, re- movable media, hard drive, or other computer readable storage media. Computer readable storage media include various types of volatile and non-volatile storage media. The functions, acts, or tasks illustrated in the figures or described herein may be exe- cuted in response to one or more sets of instructions stored in or on computer readable storage media. The functions, acts or tasks may be independent of the particular type of instruction set, storage media, processor or processing strategy and may be performed by software, hardware, integrated circuits, firmware, micro code, and the like, operating alone or in combination. Likewise, processing strategies may include multiprocessing, multitasking, parallel processing, and the like. The invention has been described in detail with reference to em- bodiments thereof and examples. Variations and modifications may, however, be effected within the scope of the invention cov- ered by the claims. The phrase “at least one of A, B and C” as an alternative expression may provide that one or more of A, B and C may be used.

Claims

202305263 Auslandsfassung 17 Patent claims 1. A computer implemented method for recommending a machine learning pipeline for an industrial use case, wherein the following operations are performed by components, and wherein the components are hardware components and / or soft- ware components executed by one or more processors: - receiving (1), by a user interface (UI), a new case descrip- tion (UCD), which is a free-form text description of a new industrial use case for machine learning, and a set of user provided attributes (UPA) that apply to the new industrial use case, wherein the user provided attributes (UPA) are stored as use case features (UCF), - providing (2), by a graph database, a knowledge graph (KG), wherein the knowledge graph (KG) contains for each previous case of a set of previous industrial use cases for machine learning - a node representing the previous case, - a previous case description (D) of the previous case, - at least one node representing an attribute of the pre- vious case, and - a node representing a machine learning pipeline that has been suitable for implementing machine learning for the previous case, - computing (3), by a language model (LM), a description em- bedding (DE) for the new case description (UCD) and for each previous case description (D), - encoding (4), by a knowledge graph embedding model (KGE), a node embedding (GE) for each of the nodes representing the previous cases, wherein each node embedding (GE) reflects a connectivity pattern of the knowledge graph (KG) with regard to the respective previous case, - computing (5) for each previous case, by a first neural net- work (NN1) receiving as input the node embedding (GE) and the description embedding (DE) of the respective previous case, a previous case embedding (PE),202305263 Auslandsfassung 18 - computing (6), by a second neural network (NN2) receiving as input the use case features (UCF) and the description embed- ding (DE) of the new case description (UCD), a use case em- bedding (UCE) for the new industrial use case, - scoring (7), by a non-parametric decoder, each previous case embedding (PE) against the use case embedding (UCE), thereby producing a relevance score for each previous case, in par- ticular by computing a dot product, - selecting (8) the previous case with the highest relevance score, and - outputting (9), by the user interface (UI), the machine learning pipeline (MLP) that is linked in the knowledge graph (KG) to the selected case.

2. The method according to claim 1, - wherein the attributes of the previous cases include equipped hardware, data modalities, and labels.

3. The method according to any of the preceding claims, - wherein the language model (LM) is a pretrained transformer model.

4. A system for recommending a machine learning pipeline for an industrial use case, comprising the following components, wherein the components are hardware components and / or soft- ware components executed by one or more processors: - a user interface (UI), configured for receiving (1) a new case description (UCD), which is a free-form text descrip- tion of a new industrial use case for machine learning, and a set of user provided attributes (UPA) that apply to the new industrial use case, wherein the user provided attrib- utes (UPA) are stored as use case features (UCF), - a graph database, configured for providing (2) a knowledge graph (KG), wherein the knowledge graph (KG) contains for each previous case of a set of previous industrial use cases for machine learning - a node representing the previous case, - a previous case description (D) of the previous case,202305263 Auslandsfassung 19 - at least one node representing an attribute of the pre- vious case, and - a node representing a machine learning pipeline that has been suitable for implementing machine learning for the previous case, - a language model (LM), configured for computing (3) a de- scription embedding (DE) for the new case description (UCD) and for each previous case description (D), - a knowledge graph embedding model (KGE), configured for en- coding (4) a node embedding (GE) for each of the nodes rep- resenting the previous cases, wherein each node embedding (GE) reflects a connectivity pattern of the knowledge graph (KG) with regard to the respective previous case, - a first neural network (NN1), configured for receiving as input the node embedding (GE) and the description embedding (DE) of the respective previous case, and for computing (5) for each previous case a previous case embedding (PE), - a second neural network (NN2), configured for receiving as input the use case features (UCF) and the description embed- ding (DE) of the new case description (UCD), and for compu- ting (6) a use case embedding (UCE) for the new industrial use case, - a non-parametric decoder, configured for scoring (7) each previous case embedding (PE) against the use case embedding (UCE), thereby producing a relevance score for each previous case, in particular by computing a dot product, - wherein the user interface (UI) is further configured for outputting (9) the machine learning pipeline (MLP) that is linked in the knowledge graph (KG) to the previous case with the highest relevance score.

5. A computer program product comprising instructions which, when the program is executed by a computer, cause the com- puter to carry out a method according to one of the method claims.202305263 Auslandsfassung 20 6. A provisioning device for the computer program product ac- cording to the preceding claim, wherein the provision device stores and / or provides the computer program product.

Citation Information

Patent Citations

  • Few-shot learning for multi- task recommendation systems

    US20220300804A1

Cited By

  • Method for optimizing addition of phosphorus removal agent for sewage treatment based on machine learning

    CN120122575A

  • Sewage treatment decision optimization method and system

    CN121559885A