Providing a machine learning model based on desired metric values

The system addresses the inefficiencies in training machine learning models by using pre-tuned settings and predictive models to automate the configuration process, enhancing performance and reducing resource consumption.

JP2024531141AActive Publication Date: 2024-08-29INTERNATIONAL BUSINESS MACHINE CORPORATION

Patent Information

Application Number
JP2024507905
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-08-26
Filing Date
2022-08-23
Publication Date
2024-08-29
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

The process of training and deploying machine learning models is tedious and resource-intensive due to the large number of configuration settings, which requires manual adjustment to achieve desired performance targets, and existing methods lack efficiency in identifying optimal settings.

Method used

A system that utilizes a pre-tuned set of settings or predictive models to determine optimal machine learning model configurations based on previous performance data, allowing for automated generation of models that meet specific performance metrics without extensive iterative adjustments.

Benefits of technology

This approach reduces the time and computational resources required to achieve desired model performance by leveraging previous settings and predictive models, providing accurate and efficient machine learning model generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024531141000001_ABST
    Figure 2024531141000001_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method for generating a machine learning (ML) model, the method including receiving a selection of a desired value of a metric for predicting a value of a first label attribute based on a current training dataset. A set of previously obtained training settings can be used to determine a set of training settings corresponding to the desired value of the metric. An ML engine can be controlled to generate a machine learning model according to the determined set of training settings using the current training dataset. The generated machine learning model can be deployed to make predictions of the value of the first label attribute.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of digital computer systems, and more particularly to a method for providing a machine learning model based on a desired metric value. [Background technology]

[0002] Machine learning models are increasingly being embedded in many software systems, such as databases and transaction processing systems. These models can be quite complex to implement. However, training and inference of such models may require tuning several parameters. Summary of the Invention

[0003] Various embodiments provide methods, computer systems and computer program products as described by the subject matter of the independent claims. The embodiments of the invention can be freely combined with each other. The embodiments presented in this disclosure are not exhaustive. Thus, there may be numerous additional embodiments not described that fall within the scope and spirit of the present disclosure.

[0004] The embodiments of the present invention may include computer-implemented methods, computer program products, and computer systems. The embodiments may enable defining a metric for evaluating the performance of a machine learning (ML) model. The embodiments may further include providing an ML engine or similar computer program configured to receive a set of training settings and a training dataset including a first feature attribute and a first label attribute. The embodiments may further include generating at least one machine learning model according to the set of training settings and the training dataset. The embodiments may further include configuring the machine learning model to predict the first label attribute from the first feature attribute. The embodiments may also include providing a value of the metric for the generated machine learning model. Additionally, the embodiments may include obtaining a set of training settings and associated values ​​of the metric of a previous operation of the ML engine, and receiving a selection of a desired value of the metric for predicting a value of the first label attribute based on the current training dataset. Additionally, the embodiments may include determining a set of training settings corresponding to the desired value of the metric based on the obtained set of training settings. The embodiments may also include generating a machine learning model based on the determined set of training settings and the current training dataset. Finally, embodiments may include deploying the generated machine learning model to make predictions of values ​​of the first label attribute.

[0005] In the following, embodiments of the invention will be explained in more detail, by way of example only, with reference to the drawings, in which: [Brief description of the drawings]

[0006] [Figure 1] FIG. 1 illustrates an exemplary computer system, generally designated 100, in accordance with an embodiment of the present disclosure. [Diagram 2]FIG. 2 illustrates a set of example configurations, according to an embodiment of the present disclosure. [Diagram 3] 1 is a flowchart illustrating a method for providing a machine learning model according to an embodiment of the present disclosure. [Figure 4] 1 is a flowchart illustrating a method for determining a set of settings for generating a machine learning model, according to one embodiment of the present subject matter. [Figure 5A] 1 is a flowchart illustrating a method for determining a set of settings for generating a machine learning model, according to an embodiment of the present disclosure. [Figure 5B] FIG. 13 illustrates a graphical user interface output for training a machine learning model, according to an embodiment of the present disclosure. [Figure 5C] FIG. 13 illustrates a graphical user interface output for training a machine learning model, according to an embodiment of the present disclosure. [Figure 6] FIG. 6 illustrates an example computer system, generally designated 600, capable of implementing one or more method steps according to embodiments of the present disclosure. [Figure 7] FIG. 1 illustrates a cloud computing environment according to one embodiment of the present invention. [Figure 8] FIG. 2 illustrates abstraction model layers according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Descriptions of various embodiments of the present invention are provided for illustrative purposes, but are not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terms used in this specification are selected to best explain the principles of the embodiments, practical applications, or technical improvements to the technology found in the market, or to enable those skilled in the art to understand the embodiments disclosed herein.

[0008] Automated machine learning may be a process in which an ML engine automates the task of applying machine learning to real-world prediction problems. The ML engine may cover the complete pipeline from raw dataset to obtaining deployable machine learning models. The ML engine may be configured to generate one or more machine learning models from a training dataset based on a defined prediction problem in each experiment run. To do so, the ML engine may use a set of settings that are configuration parameters, such as a list of learning algorithms. The settings may be parameters and their associated values. Adjusting the settings may include changing the values ​​of the parameters of the settings. Each experiment run may be associated with experiment metadata that describes the experiment run. The experiment metadata may, for example, describe the prediction problem. To do so, the experiment metadata may include attributes that describe the prediction problem, such as attributes that describe the number / type of feature attributes and attributes that describe the label attributes of the training dataset. The ML engine may generate a model for predicting a label attribute from one or more feature attributes. For example, the feature attributes may be attributes that describe a product, and the label attribute may indicate a system satisfaction with the product. The ML engine may generate a model for predicting the satisfaction based on the product attributes. In another example, a prediction problem may predict whether a new client system will apply for a term deposit (yes / no) based on demographic attributes associated with the client system.

[0009] Although a high degree of automation of the ML engine may enable the use of machine learning models, there may still be a need to provide appropriate settings of the ML engine to obtain a particular target performance. There may be an additional need to prevent adjusting the settings of the ML engine several times to obtain the desired performance target. However, this may be challenging since the number of these settings may be very large (e.g., 100), which may make the task of finding, training, and subsequently inferring a model a tedious, time-consuming, and computationally resource-intensive task. Furthermore, performance may vary with only a few settings, which may necessitate the need to identify additional resources. The present subject matter may solve these challenges by using a set of previous settings and their achieved performance. This may be advantageous since the set of previous settings may have been obtained from several sources where accurate results have been obtained. The set of settings that may be used by the system according to the present subject matter may be a set of pre-tuned settings or may be predicted by a predictive model. In both cases, the system may have to define a target performance value in order to obtain the desired machine learning model without adjusting the settings. This may save processing resources that would otherwise be required by several iterations to define and adjust the individual settings.

[0010] The ML engine can be used by many systems to generate machine learning models. The present subject matter can enable saving the processing inputs and outputs of the ML engine. For each prediction problem, a pair of metric values ​​and a corresponding set of training settings can be saved. For example, a first prediction problem may be predicting feature L1 from features F1 and F2, a second prediction problem type may be predicting feature L2 from features F3, F4, and F5, etc. After saving these pairs, the system can define the desired metric values ​​and one of the prediction problems to obtain a set of training settings appropriate for that system (e.g., the system can be configured to predict L1 from F1 and F2 from a new training dataset that reflects what the system is processing). In this case, the saved set of settings associated with the same prediction problem can be used to determine a set of settings for generating a model from the new training dataset.

[0011] In one embodiment, determining the set of training settings may include creating a training set from respective training setting set entries. Each entry may include an input vector and an associated output vector. The input vector may include a value of the metric and metadata describing the attribute. The output vector may include the set of training settings. Further, training a predictive model using the training set to predict the set of settings by providing the desired value of the metric and metadata for the attribute of the current training data set as inputs to the predictive model and receiving the determined set of settings as an output. The predictive model may be a multi-target regression model.

[0012] The predictive model can be used to predict a set of preferences for each desired metric value. The system can provide the desired metric value and a definition of the prediction problem as input to the predictive model. The prediction problem can be defined by experimental metadata describing the features and label attributes (e.g., their number and type). Following the example above, the system can be configured to predict the satisfaction level for a product with an accuracy of 90% or higher. In this case, the system can input the desired accuracy value of 90% and the experimental metadata into the predictive model. The experimental metadata provides a description of the feature attributes, which are attributes of the product, and a description of the label attributes, which are the satisfaction levels. The predictive model can provide as output a set of preferences that the system can use as input to an ML engine to generate a machine learning model. This embodiment can be advantageous because it can provide an accurate estimate of the preferences. This can be particularly advantageous because the training sets can be obtained from different sources with different content of the attributes.

[0013] According to one embodiment, determining the set of settings may include selecting a set of settings from the set of retrieved settings that corresponds to a desired value of the metric, which may allow for a simplified way of retrieving a set of settings from existing settings.

[0014] According to one embodiment, the set of training settings may be a first subset of settings for pre-processing the training dataset, a second subset of settings for selection of one or more learning algorithms suitable for prediction, and a third subset of settings for training optimization.

[0015] The first subset of settings may be advantageous for the following reasons: Training datasets may have different data formats, duplicates and missing values, but machine learning algorithms may need to work with a consistent or the same format and without missing values. To enable this, the ML engine may apply various algorithms or estimators that may parse, clean and prepare the training dataset. The first subset of settings may control this task of pre-processing the training dataset. An example setting in the first subset of settings is a parameter named "drop_duplicate" that may have a value set to "true" or "false", such that when the value is "true", this pre-processing may include deduplication of the training dataset.

[0016] The second subset of settings may be advantageous for the following reasons: The ML engine may include a set of machine learning algorithms. For a given training dataset and a prediction problem, the ML engine may select one or more learning algorithms from the set of algorithms to generate a model based on the given training dataset. For example, the ML engine may test and rank candidate algorithms on small subsets of data and gradually increase the size of the subset for the most promising algorithm to arrive at a selected algorithm.

[0017] The third subset of settings can be advantageous for the following reasons: The number of hyperparameters for machine learning algorithms grows exponentially, which makes optimization of machine learning algorithms beyond the ability of data science teams to achieve it manually and in a timely manner. The ML engine can enable automated hyperparameter optimization (HPO), which relieves the team of the centralized responsibility of exploring and optimizing across the complete event space for hyperparameters. An example of the third subset of settings is a flag to indicate whether or not to perform hyperparameter optimization. Hyperparameters are parameters whose values ​​are used to control the learning process of the machine learning model (in contrast, the values ​​of other parameters, such as node weights, are derived via training). Additionally, the third subset of settings can enable feature engineering. Feature engineering refers to a transformation process to derive new information from existing feature attributes, e.g., feature attributes can be transformed into a combination of features that best represent the problem to achieve the most accurate predictions.

[0018] In one embodiment, the metadata describing the attributes (also referred to as experiment metadata) may include the number of feature attributes, the type of feature attributes, or the type of label attributes, or a combination thereof.

[0019] In one embodiment, the method may further include normalizing the metric value to a range of discrete values ​​having a predefined granularity. The set of retrieved settings may be provided according to a granularity, such that each set of retrieved settings represents a corresponding respective granularity level. The range may be defined by a minimum value, a maximum value and a step value or granularity. Providing a defined range may allow uniform access to the set of settings. This may be advantageous especially when multiple users are involved (e.g., users are provided with a defined set of values ​​to choose from). For example, the range may be 0.0 to 1.0 with a step / granularity of 0.1. That is, the possible values ​​of the metric may be one of ten values ​​0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 and 1.0. The value of the metric may be normalized so that the value of the metric falls within the range. The metric value of each of these ten values ​​may be associated with one or more sets of training settings previously used by the ML engine. In this way, the system can simply select a granularity level (e.g., 0.3) to obtain a corresponding set of training configurations.

[0020] When a metric is a combination of two or more metric types (e.g. accuracy and runtime), the same range can be used to represent the two metric types. For example, one metric type can have a value in the range V, while the other metric type has a value 1-V, and the metrics are constructed to sum to 1 (e.g. if accuracy is 0.9, speed is 0.1). This can allow for efficient selection of metric values ​​in a multi-dimensional space without having to select the metrics individually.

[0021] In one embodiment, receiving a selection may include receiving a selection of a granularity level.

[0022] In one embodiment, receiving the selection can include displaying a slider on a graphical user interface, the slider can allow a user to set a value by moving an indicator of the slider, the slider including a normalized range of values, and the set value of the slider being the selected and received value of the metric. The slider can efficiently control the operation of the ML engine because a user of the system need only slide the indicator.

[0023] In one embodiment, the metrics may describe the training and / or inference runtime of the machine learning model, including the accuracy and / or precision of the machine learning model. Accuracy provides a measure of the number of correct predictions made by the model. Accuracy may be the ratio of correct predictions to total predictions. Precision may indicate how accurately the model detects positive outcomes. Accuracy may be the ratio of true positives to total positives.

[0024] In one embodiment, a metric can be a combination of multiple metric types. Each metric type can be associated with a separate set of settings from a set of settings. For example, a metric type can be accuracy, precision, runtime, etc. Runtime can be the time required to train the generated model. A combination of two metric types allows for the measurement of both metric types. In the case of a metric that includes a combination of two or more metric types, the selection of the metric value can be a value of at least one metric type and a set of saved / recorded settings associated with the metric type value. For example, if the metric is a combination of accuracy and runtime, the user can select a desired runtime value and / or a desired accuracy (e.g., each set of training settings can be associated with a pair of accuracy and runtime values).

[0025] In one embodiment, the method can further include saving the set of determined settings and associated metric values. For example, the set of determined settings can be stored in association with a desired metric value and experiment metadata so that they can be used in future determinations of metric values. This can enable a self-improving system (i.e., a machine learning feedback loop).

[0026] Turning now to the figures, FIG. 1 illustrates a computer system 100 according to one embodiment of the present invention. Computer system 100 includes training system 101 and client systems 102a, 102b, 102n. Although three client systems are shown in FIG. 1, it should be noted that there may be any number of client systems (e.g., one, two, n...n+1) in computer system 100. Training system 101 is configurable to communicate with each of client systems 102a-n via network 103. While only one network is shown for ease of illustration, it should be noted that training system 101 may connect to client systems 102a-n via two or more networks (e.g., training system 101 may connect to each of client systems 102a-n via respective separate networks).

[0027] The network 103 may include, but is not limited to, a cable network, an optical fiber network, a hybrid fiber coax network, a wireless network (e.g., WiFi and / or cellular networks), a satellite network, the Internet, an intranet, a local area network, or a combination of these networks.

[0028] As shown, users 105a-n of client systems 102a-n may include individuals, such as viewers, owners, support technicians, or devices, machine learning or artificial intelligence systems. The training system 101 may be provided as a single server device or multiple server devices operating in a cloud computing configuration.

[0029] The training system 101 may be remote to the client systems 102a-102n and may be accessible via a network 103. The training system 101 may provide resources for training, operation and storage of the machine learning models. The performance of the machine learning models may be quantified by a defined metric. The metric may be one metric type or a combination of multiple metric types (e.g., the metric may be the runtime or accuracy or precision or a combination of these of the machine learning models). The training system 101 includes an ML engine 107. The ML engine is a computer program, e.g., IBM®'s AutoAI, that may be configured to generate machine learning models. For example, the ML engine 107 may generate machine learning models for different prediction problems. Furthermore, the ML engine 107 may process the prediction problems for each experiment run. Furthermore, the ML engine 107 may receive, for each experiment run, a set of training settings s_1, s_2...s_m and a training dataset including one or more feature attributes and label attributes. In some cases, experiment metadata may be provided. Experiment metadata describes the experimental run (e.g., the experiment metadata describes the prediction problem).

[0030] FIG. 2 illustrates an example of the experiment metadata 210. The experiment metadata 201 includes attributes describing a prediction problem and training data. The ML engine 107 can use the set of configurations s_1, s_2...s_m (shown in FIG. 1) to generate one or more machine learning models that can predict a label from one or more features. Additionally, each of the generated machine learning models can be associated with a value of a metric that indicates the performance of the machine learning model. The training system 101 can be configured to record or store the activity of the ML engine 107. The training system 101 can further include a storage system 112. The storage system 112 can store and store the previously processed prediction problems PP1...PP2, where N>1. N For each prediction problem (PP) in, G, tuples may be included, where each tuple may be a metric value and experiment metadata for one or more sets of settings. For simplicity, FIG. 1 lists one set of settings per metric value. In this case, the number of tuples, G, is the number of experimental runs. G may also represent the granularity of the metric values. As shown in FIG. 1, prediction problem PP1 is associated with tuples, where each tuple is a set of experiment metadata for one or more sets of settings.

number

number

number

number

number

[0031] For example, the set of training settings 200 shown in FIG. 2 may consider a model having an accuracy value of 0.89 and a runtime value of 1028 seconds. The set of settings 200 includes a first subset of settings 201 for preprocessing the training dataset, a second subset of settings 202 for selecting one or more learning algorithms suitable for prediction, and a third subset of settings 203 for training optimization. Additionally, as shown in FIG. 2, the first subset of settings 202 may include a sample size of the training data set set to a value of 0.5 and indicate whether or not to deduplicate the training data as the set shown in FIG. 2.

[0032] Figure 3 is a flow chart illustrating a method for generating a machine learning model according to one example of the present subject matter. For illustrative purposes, but not limited to, the method described in Figure 3 may be implemented in the system illustrated in Figure 1. The method of Figure 3 may be performed, for example, by one of the client systems 102a-n or by the training system 101.

[0033] At step 301, a selection of a desired value for a metric may be received. The desired value may be selected automatically by the client system 102a. For example, the client system 102a may be connected to a prediction problem PP1...PP2 previously processed by the ML engine 107. N The model may be configured to generate a model with an accuracy of 0.9 for a prediction problem that is a portion of the metric. An experimental run may be defined. In one example implementation of step 301, a graphical user interface may be displayed to a user 105a on the client system 102a. The user 105a of the client system 102a may use a control element of the graphical user interface to select a desired value of the metric. The selected value may be transmitted to the training system 101. The user 105a may be a device, a machine learning system, or an artificial intelligence system.

[0034] Experiment metadata describing the experiment run may be provided. Optionally, the selection may further indicate the experiment metadata. The experiment metadata may describe the prediction problem of the user 105a. The prediction problem may be a prediction problem PP1...PP2 previously processed by the ML engine 107. N If no experiment metadata is indicated in step 301, prediction problem PP1...PP NIn both cases, for example, the current prediction problem being used by the client system 102a may be one of the prediction problems PPs previously processed. N Let us assume that.

[0035] In step 303, the ML engine 107 determines a set of training settings that corresponds to a desired value of the metric based on the obtained set of training settings. For example, as shown in FIG. N G tuples associated with

number

number

[0036] In step 305, the ML engine 107 may generate a machine learning model based on one or more machine learning models trained on a current training dataset according to the determined set of training settings. The current training dataset may include at least one machine learning model that is suitable for a current prediction problem PP. N The method may include columns representing feature attributes and label attributes.

[0037] For example, the ML engine 107 may receive the determined set of configurations and the current training dataset and perform a prediction problem PPP N One or more machine learning models can be generated for

[0038] In step 307, the generated machine learning model can be deployed. N For example, the generated machine learning model may be provided to the client system 102a to enable the system to make inferences based on the model.

[0039] 4 is a flowchart illustrating a method for determining a set of settings for generating a machine learning model for a given prediction problem (e.g., PP1 in FIG. 1). The method illustrated in FIG. 4 provides implementation details of step 303 in FIG.

[0040] In step 401, the training system 101 can create a training set. The training set can be a set of prediction problems PP1, PP2...PP N Each training set entry can contain an entry for each experiment run that was used to obtain a tuple for each prediction problem. Each entry in the training set contains an input vector and an associated output vector. The input vector contains the values ​​of the metrics for that experiment run, as well as experiment metadata (e.g.,

number

number

number

number

[0041] A predictive model can be trained using the training set to predict a set of settings in step 403. In step 405, the predictive model can be provided and used, for example, to estimate the set of settings in step 303 of the method of FIG.

[0042] 5A is a flowchart illustrating a method for determining a set of settings for generating a machine learning model for a given prediction problem, e.g., PP1, according to an example of the present subject matter. For illustrative purposes, the method described in FIG. 5A may be implemented in the system shown in FIG. 1, but is not limited to this implementation. The method of FIG. 5A may be performed, for example, by one of the client systems 102a-n.

[0043] In step 501, a graphical user interface 510 as shown in FIG. 5B may be displayed on the client system 102a. The graphical user interface 510 includes a slider 513. The slider 513 may be utilized by the user 105a to select desired values ​​for the runtime (speed) and accuracy of the machine learning model. The slider is divided such that, for example, when the slider is set to a value of 0.9, this indicates an accuracy of 0.9 and a speed of 0.1, i.e., the runtime and accuracy values ​​together equal 1. This may allow for the selection of two metric values ​​using one slider.

[0044] After selecting the desired value of the metric in step 503, the client system 102a may, in step 505, provide and display on a graphical user interface 510 a set of settings 515 that correspond to the desired value of the metric, as shown in FIG 5C. The set of settings 515 may be, for example, the set of settings 200 shown in FIG 2.

[0045] FIG. 6 illustrates a general purpose computerized system 600 suitable for implementing at least some of the method steps involved in the present disclosure.

[0046] It is to be understood that the methods described herein are at least partially non-interactive and automated by a computerized system such as a server or embedded system. However, in an exemplary embodiment, the methods described herein can be performed in a (partially) interactive system. The methods can further be implemented in software 612, firmware 622, hardware (processor) 605, or a combination thereof. In an exemplary embodiment, the methods described herein are implemented in software as executable programs and executed by a special purpose or general purpose digital computer such as a personal computer, a workstation, a minicomputer, or a mainframe computer. Thus, most general purpose system 600 includes a general purpose computer 601.

[0047] In an exemplary embodiment, as shown in FIG. 6, in terms of hardware architecture, a computer 601 includes a processor 605, a memory (main memory) 610 coupled to a memory controller 615, and one or more input and / or output (I / O) devices (or peripherals) 10, 645 communicatively coupled via a local input / output controller 635. The input / output controller 635 can be, but is not limited to, one or more buses or other wired or wireless connections as known in the art. The input / output controller 635 may have additional elements omitted for simplicity of illustration, such as controllers, buffers (caches), drivers, repeaters and receivers that enable communication. Additionally, the local interface may include address, control and / or data connections to enable appropriate communication between the above components. The I / O devices 10, 645 described herein may generally include any general purpose cryptographic or smart card known in the art.

[0048] The processor 605 is a hardware device for, among other things, executing software stored in the memory 610. The processor 605 can be any custom or commercially available processor, a central processing unit (CPU), a coprocessor among several processors associated with the computer 601, a semiconductor-based microprocessor (in the form of a microchip or chip set), or in general, any device for executing software instructions.

[0049] The memory 610 can include any one or combination of volatile memory elements (e.g., Random Access Memory (RAM, such as DRAM, SRAM, SDRAM, etc.)) and non-volatile memory elements (e.g., ROM, erasable programmable read only memory (EPROM)), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM). It should be noted that the memory 610 can have a distributed architecture, where various components are remote from each other but can be accessed by the processor 605.

[0050] The software 612 in memory 610 may include one or more separate programs, each of which includes an ordered list of executable instructions for implementing logical functions, particularly functions related to embodiments of the present invention. In the example of Figure 6, the software 612 in memory 610 includes program instructions (e.g., instructions for managing a database, such as a database management system).

[0051] The software in memory 610 will typically also include a suitable operating system (OS) 611. The OS 611 essentially controls the execution of other computer programs, such as software 612 for implementing the methods as described herein.

[0052] The methods described herein may be in the form of a source program, an executable program (object code), a script, or any other entity that contains a set of instructions to be executed. In the case of a source program, the program must be translated by a compiler, assembler, interpreter, etc., which may or may not be contained within memory 610, to operate properly in conjunction with the OS 611. The methods may also be written as an object-oriented programming language with classes of data and methods, or a procedural programming language with routines, subroutines, or functions, or a combination of these.

[0053] In an exemplary embodiment, a conventional keyboard 650 and a mouse 655 may be coupled to the input / output controller 635. Other output devices, such as I / O device 645, may include input devices, such as, but not limited to, a printer, scanner, microphone, and the like. Finally, the I / O device 10, 645 may further include devices that convey both input and output, such as, but not limited to, a network interface card (NIC) or a modulator / demodulator (for accessing other files, devices, systems, or networks), a radio frequency (RF) or other transceiver, a telephone interface, a bridge, a router, and the like. The I / O device 10, 645 may be any general purpose cryptographic card or smart card known in the art. The system 600 may further include a display controller 625 coupled to the display 630. In an exemplary embodiment, the system 600 may further include a network interface for coupling to a network 665. The network 665 may be an IP-based network for communication between the computer 601 and any external servers, clients, and the like over a broadband connection. The network 655 transmits and receives data between the computer 601 and the external system 30 that may be required to perform some or all of the steps of the methods described herein. In an exemplary embodiment, the network 665 may be a managed IP network managed by a service provider. The network 665 may be implemented in a wireless manner using wireless protocols and technologies such as, for example, WiFi, WiMax, etc. The network 665 may also be a packet-switched network such as a local area network, a wide area network, a metropolitan area network, an Internet network, or other similar type of network environment.The network 665 may be a fixed wireless network, a wireless local area network (WLAN), a wireless wide area network (WWAN), a personal area network (PAN), a virtual private network (VPN), an intranet or other suitable network system and includes devices for transmitting and receiving signals.

[0054] If computer 601 is a PC, workstation, intelligent device, etc., the software in memory 610 may further include a basic input / output system (BIOS) 622. The BIOS is a set of basic software routines that initializes and tests hardware at power-on, starts the OS 611, and assists in transferring data between hardware devices. The BIOS is stored in ROM so that computer 601 can execute the BIOS when it is powered on.

[0055] When the computer 601 is in operation, the processor 605 is configured to execute software 612 stored in the memory 610, to transfer data to and from the memory 610, and to generally control the operation of the computer 601 in accordance with the software. The methods and OS 611 described herein are read, in whole or in part, but typically in part, by the processor 605, possibly buffered within the processor 605, and then executed.

[0056] When the systems and methods described herein are implemented in software 612, as shown in Figure 6, the methods can be stored in any computer-readable medium, such as storage 620, for use by or in connection with any computer-related system or method. Storage 620 can include disk storage, such as HDD storage.

[0057] Although this disclosure includes a detailed description of a cloud computing environment, it should be understood that implementation of the teachings described herein is not limited to a cloud computing environment. Rather, embodiments of the invention may be implemented in conjunction with any other type of computing environment now known or later developed.

[0058] Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal administrative effort or interaction with a service provider. The cloud model may include at least five characteristics, at least three service models, and at least four deployment models.

[0059] Its features are as follows.

[0060] On-Demand Self-Service: Cloud consumers can unilaterally provision computing capacity, such as server time and network storage, automatically as needed, without the need for human interaction with the service provider.

[0061] Broad network access: Functionality is available over the network and can be accessed through standard mechanisms that facilitate use by heterogeneous thin-client or thick-client platforms (e.g., cell phones, laptops, and PDAs).

[0062] Resource Pooling: To serve multiple consumers using a multi-tenant model, a provider's computing resources are pooled, with different physical and virtual resources dynamically allocated and reallocated depending on demand. Consumers generally have no control or knowledge over the exact location of the resources provided, but there is a sense of location independence in that it may be possible to specify a higher level of abstraction of location (e.g., country, state, or data center).

[0063] Rapid Elasticity: Rapid, elastic, and sometimes automatically provisioning capabilities to quickly scale out, and rapid release of capabilities to quickly scale in. To the consumer, the capabilities available for provisioning often seem infinite, and they can buy as much or as little as they want, at any time.

[0064] Metered Services: The cloud system automatically controls and optimizes resource utilization by utilizing metering capabilities at some level of abstraction appropriate for the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, giving both providers and consumers transparency of the services utilized.

[0065] The service model is as follows:

[0066] Software as a Service (SaaS): The functionality provided to the consumer is the use of the provider's applications running on a cloud infrastructure. The applications are accessible from a variety of client devices through thin-client interfaces such as web browsers (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, storage, or even individual application functions, with the possible exception of limited user-specific application configuration settings.

[0067] Platform as a Service (PaaS): The capability offered to the consumer is to deploy consumer-created or acquired applications, written using programming languages ​​and tools supported by the provider, on a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but does have control over the deployed applications and, in some cases, the application hosting environment configuration.

[0068] Infrastructure as a Service (IaaS): The capability offered to the consumer is to provision processing, storage, network and other fundamental computing resources onto which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but has control over the operating systems, storage, deployed applications, and possibly limited control over selected network components (e.g., host firewalls).

[0069] The deployment model is as follows:

[0070] Private Cloud: This cloud infrastructure is operated solely for the organization. It can be managed by the organization or a third party and can exist on-premise or off-premise.

[0071] Community Cloud: This cloud infrastructure is shared by several organizations to support a specific community with common concerns (e.g., mission, security requirements, policies, and compliance concerns). It can be managed by the organization or a third party and can reside on-premise or off-premise.

[0072] Public Cloud: This cloud infrastructure is available to the public or large industry organizations and is owned by an organization that sells cloud services.

[0073] Hybrid Cloud: This cloud infrastructure is a composite of two or more clouds (private, community or public) that remain their own entity but are joined by standardized or proprietary technologies that enable data and application portability (e.g., cloud bursting for load balancing between clouds).

[0074] Cloud computing environments are service-oriented with a focus on statelessness, loose coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure that includes a network of interconnected nodes.

[0075] 7, an exemplary cloud computing environment 1050 is illustrated. As shown, the cloud computing environment 1050 includes one or more cloud computing nodes 1010 with which local computing devices used by cloud consumers, such as, for example, a personal digital assistant (PDA) or mobile phone 1054A, a desktop computer 1054B, a laptop computer 1054C, or an automobile computer system 1054N, or combinations thereof, can communicate. The nodes 1010 can communicate with each other. The nodes 1010 may be physically or virtually grouped (not shown) in one or more networks, such as a private cloud, a community cloud, a public cloud, or a hybrid cloud, or combinations thereof, as described above. This enables the cloud computing environment 1050 to provide infrastructure, platform, and / or software as a service for which the cloud consumer does not need to maintain resources on the local computing device. It will be understood that the types of computing devices 1054A-1054N shown in FIG. 7 are intended as examples only, and that the computing node 1010 and cloud computing environment 1050 may communicate with any type of computerized device via any type of network connection or network addressable connection or combination thereof (e.g., using a web browser).

[0076] Referring now to Figure 8, a set of functional abstraction layers provided by cloud computing environment 1050 (Figure 7) is shown. It should be understood in advance that the components, layers and functions shown in Figure 8 are intended to be illustrative only, and embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:

[0077] Hardware and software layer 1060 includes hardware and software components. Examples of hardware components include mainframe 1061, reduced instruction set computer (RISC) architecture based servers 1062, servers 1063, blade servers 1064, storage devices 1065, and networks and networking components 1066. In some embodiments, software components include network application server software 1067 and database software 1068.

[0078] The virtualization layer 1070 provides an abstraction layer that can provide examples of virtual entities such as: virtual servers 1071, virtual storage 1072, virtual networks including virtual private networks 1073, virtual applications and operating systems 1074, and virtual clients 1075.

[0079] In one embodiment, management layer 1080 may provide the following functionality: Resource provisioning 1081 provides dynamic procurement of computing and other resources used to execute tasks within the cloud computing environment. Metering and pricing 1082 provides cost tracking as resources are used within the cloud computing environment and billing or invoicing for the consumption of those resources. In one embodiment, these resources may include application software licenses. Security provides identity verification for cloud consumers and tasks and protection of data and other resources. User portal 1083 provides consumers and system administrators with access to the cloud computing environment. Service level management 1084 provides cloud computing resource allocation and management to ensure required service levels are met. Service Level Agreement (SLA) planning and fulfillment 1085 provides advance arrangement and procurement for cloud computing resources in anticipation of future demand according to SLAs.

[0080] Workload tier 1090 provides examples of functions that may use a cloud computing environment. Examples of workloads and functions that may be provided from this tier include mapping and navigation 1091, software development and lifecycle management 1092, virtual classroom instructional delivery 1093, data analytics processing 1094, transaction processing 1095, and metric-based machine learning model training (MLT) 1096 according to the present subject matter, e.g., as described with reference to Figures 3, 4, or 5A.

[0081] This subject matter can include the following topics:

[0082] Item 1. Define a metric for evaluating the performance of machine learning (ML) models; and providing an ML engine, the ML engine comprising: receiving a set of training settings and a training dataset including a first feature attribute and a first label attribute; generating at least one machine learning model using the training dataset and according to a set of training settings, the machine learning model being configured to predict a first label attribute from a first feature attribute; Providing values ​​of metrics for the generated machine learning model; and Obtaining a set of training settings and associated values ​​of metrics for a previous run of the ML engine; receiving a selection of a desired value of a metric for predicting a value of a first label attribute based on a current training dataset; Using the obtained set of training settings, determine a set of training settings that corresponds to a desired value of the metric; Controlling the ML engine to generate a machine learning model according to the determined set of training settings using the current training dataset; and deploying the generated machine learning model to make predictions of values ​​of the first label attribute.

[0083] Item 2. Determining a set of training configurations creating a training set including an entry for each set of training settings from the obtained set of training settings, each entry including an input vector and an associated output vector, the input vector including values ​​of the metrics and metadata describing the attributes, and the output vector including the set of training settings; and training a predictive model using the training set to predict the set of settings by providing as inputs to the predictive model the desired values ​​of the metrics and metadata of the attributes of the current training dataset to receive as output the determined set of settings.

[0084] Item 3. The method of item 1, wherein determining the set of settings includes selecting a set of settings from the set of obtained settings that corresponds to a desired value of the metric.

[0085] Item 4. The method of any of items 1 to 3, wherein the set of training settings includes a first subset of settings for preprocessing the training dataset, a second subset of settings for selection of one or more learning algorithms suitable for prediction, and a third subset of settings for training optimization.

[0086] Item 5. The metadata describing the attributes includes at least one of the following: a number of feature attributes, a type of feature attribute, and a type of label attribute, the method of items 2 or 4.

[0087] Item 6. The method of any one of items 1 to 5, further comprising normalizing the metric values ​​to a range having a predefined granularity, and the sets of obtained settings are provided according to the granularity, such that each set of the sets of obtained settings represents a corresponding respective level of granularity.

[0088] Item 7. The method of item 6, wherein receiving the selection includes receiving a granular level selection.

[0089] Item 8. The method of items 6 or 7, wherein receiving the selection includes displaying a graphical user interface including a slider, wherein the user can set the value by moving an indicator of the slider, the slider including a range of normalized values, and the set value of the slider is the selected and received value of the metric.

[0090] Item 9. The method of any of items 1 to 8, wherein the metric describes a runtime of training or inference of the machine learning model, or both, accuracy of the machine learning model, or a combination thereof.

[0091] Item 10. The method of any of items 1 to 9, wherein the metric is a combination of multiple metric types, each metric type associated with a distinct set of settings from the set of settings.

[0092] Item 11. The method of any one of items 1 to 10, further comprising recording the determined set of settings and values ​​of the metrics associated therewith.

[0093] The invention may be a system, method, or computer program product, or combination thereof, at any possible level of technical detail of integration. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions stored thereon for causing a processor to implement aspects of the invention.

[0094] A computer readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge structures in a groove with instructions recorded on them, and any suitable combination thereof. As used herein, computer-readable storage media should not be construed as being ephemeral signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses through a fiber optic cable), or electrical signals transmitted over wires.

[0095] The computer readable program instructions described herein can be downloaded from the computer readable storage medium to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network can include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions to a computer readable storage medium within the respective computing / processing device for storage.

[0096] The computer readable program instructions for carrying out the operations of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code written in any combination of one or more programming languages, including object oriented programming languages ​​such as Smalltalk®, C++, and procedural programming languages ​​such as the “C” programming language, or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer as a stand-alone software package, partially on the user's computer, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter case, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may execute computer readable program instructions by personalizing the electronic circuitry using state information of the computer readable program instructions to carry out aspects of the invention.

[0097] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams that illustrate methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0098] These computer readable program instructions may be provided to a processor of a computer or other programmable data processing apparatus to effect a machine such that the instructions, executed by the processor of the computer or other programmable data processing apparatus, form means for implementing the functions / operations specified in the blocks of the flowcharts and / or block diagrams. These computer readable program instructions may be stored in a computer readable storage medium capable of instructing a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner, such that the computer readable storage medium on which the instructions are stored comprises an article of manufacture including instructions that implement aspects of the functions / operations specified in the blocks of the flowcharts and / or block diagrams.

[0099] The computer readable program instructions may be loaded into a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus, or other device to achieve a computer-implemented process, such that the instructions, which execute on the computer, other programmable apparatus, or other device, implement the functions / acts specified in the flowchart and / or block diagram blocks.

[0100] The flowcharts and block diagrams in the figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment or portion of instructions, including one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may be performed in a different order than that noted in the figures. For example, two blocks shown in succession may in fact be performed as one step, in parallel, or substantially in parallel, or partially or fully overlapping in time, or the blocks may be performed in reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or may embody a combination of dedicated hardware and computer instructions.

Claims

1. 1. A computer-implemented method for training a machine learning model, comprising: receiving a set of training settings and a training dataset including a first feature attribute and a first label attribute; generating at least one machine learning model based on the training dataset and the set of training settings, the machine learning model configured to predict the first label attribute from the first feature attribute; providing a desired value of a metric for the generated machine learning model; Obtaining a set of training settings of one or more previous operations and associated values ​​of the metric; receiving a value for the metric for predicting a value of the first label attribute based on a current training dataset; determining a set of training settings that corresponds to the desired value of the metric based on the obtained set of training settings; generating a machine learning model based on the determined set of training settings; and deploying the generated machine learning model.

2. Determining the set of training settings creating a training set, the training set being at least one entry for each set of training settings from the obtained sets of training settings, each entry being an input vector and an associated output vector, the input vector being the value of the metric and metadata describing the attribute, and the output vector being the set of training settings; and training a predictive model based on the training set to predict the set of settings.

3. determining the set of settings, The computer-implemented method of claim 1 , further comprising selecting the set of settings from the obtained set of settings that corresponds to the desired value of the metric.

4. 2. The computer-implemented method of claim 1 , wherein the set of training settings includes a first subset of settings for preprocessing the training dataset, a second subset of settings for selection of one or more learning algorithms suitable for the prediction, and a third subset of settings for training optimization.

5. The computer-implemented method of claim 2 , wherein the metadata describing the attributes includes at least one of the following: a number of feature attributes, a type of the feature attribute, and a type of the label attribute.

6. and normalizing the metric values ​​to a range having a predefined granularity, the obtained sets of settings being provided according to the granularity, each set of the obtained sets of settings representing a corresponding respective level of granularity.

10. The computer-implemented method of claim 1.

7. Receiving a choice, The computer-implemented method of claim 6 , further comprising receiving a selection of a level of granularity.

8. Receiving a choice, 7. The computer-implemented method of claim 6, further comprising displaying a graphical user interface, the graphical user interface including a slider that allows a user to set a value, the slider including the normalized range of values, the set value of the slider being the selected received value of the metric.

9. The computer-implemented method of claim 1 , wherein the metric corresponds to at least one of the following: a runtime of the training, an inference of the machine learning model, and an accuracy of the machine learning model.

10. 2. The computer-implemented method of claim 1, wherein the metric is a combination of two or more metric types, each metric type associated with a distinct set of settings in the set of settings.

11. recording the determined set of settings and the values ​​of the metrics associated therewith; The computer-implemented method of claim 1 , further comprising:

12. 1. A computer-implemented method for defining a metric for evaluating performance of a machine learning model, the computer-implemented method comprising: receiving a set of training settings and a training dataset including a first feature attribute and a first label attribute; generating at least one machine learning model using the training dataset according to the set of training settings, the machine learning model being configured to predict the first label attribute from the first feature attribute; providing a value of a metric for the generated machine learning model; and obtaining a set of training settings of a previous operation of the ML engine and associated values ​​of said metrics; receiving a selection of a desired value of the metric for predicting a value of the first label attribute based on a current training dataset; using the obtained set of training settings to determine a set of training settings that corresponds to the desired value of the metric; controlling the ML engine to generate a machine learning model according to the determined set of training settings using the current training dataset; and deploying the generated machine learning model to make predictions of values ​​of the first label attribute.

13. creating a training set including an entry for each set of training settings from the obtained set of training settings, each entry including an input vector and an associated output vector, the input vector including the values ​​of the metrics and metadata describing the attributes, and the output vector including the set of training settings; 13. The computer-implemented method of claim 12, further comprising: training a predictive model using the training set to predict the set of settings by providing the desired value of the metric and metadata of the attributes of the current training dataset as inputs to the predictive model to receive the determined set of settings as an output.

14. 1. A computer system for generating an actionable change request risk classification, the computer system comprising: A processor; A readable storage medium; and computer program instructions, the computer program instructions comprising: receiving a set of training settings and a training dataset including a first feature attribute and a first label attribute; generating at least one machine learning model based on the training dataset and the set of training settings, the machine learning model configured to predict the first label attribute from the first feature attribute; providing a value of a metric for the generated machine learning model; and Obtaining a set of training settings of one or more previous operations and associated values ​​of the metric; receiving a value for the metric for predicting a value of the first label attribute based on a current training dataset; determining a set of training settings that corresponds to the desired value of the metric based on the obtained set of training settings; generating a machine learning model based on the determined set of training settings; and deploying the generated machine learning model.

15. Determining the set of training settings creating a training set, the training set being at least one entry for each set of training settings from the obtained sets of training settings, each entry being an input vector and an associated output vector, the input vector being the value of the metric and metadata describing the attribute, and the output vector being the set of training settings; and training a predictive model based on the training set to predict the set of settings.

16. determining the set of settings, 15. The computer system of claim 14, further comprising computer program instructions for selecting the set of settings from the obtained set of settings that corresponds to the desired value of the metric.

17. 15. The computer system of claim 14, wherein the set of training settings includes a first subset of settings for preprocessing the training dataset, a second subset of settings for selection of one or more learning algorithms suitable for the prediction, and a third subset of settings for training optimization.

18. 16. The computer system of claim 15, wherein the metadata describing the attributes includes at least one of the following: a number of feature attributes, a type of the feature attribute, and a type of the label attribute.

19. and further comprising computer program instructions for normalizing the metric values ​​to a range having a predefined granularity, the obtained sets of settings being provided according to the granularity, each set of the obtained sets of settings representing a corresponding respective level of granularity.

15. The computer system of claim 14.

20. Receiving a choice, 20. The computer system of claim 19, further comprising program instructions for receiving a selection of a level of granularity.

Citation Information

Patent Citations

  • Feature processing trade-off management

    JP2017529583A

  • Identification and application of hyperparameters for machine learning

    US20200057958A1

  • Using Metamodeling for Fast and Accurate Hyperparameter optimization of Machine Learning and Deep Learning Models

    US20200380378A1

  • Method and electronic device for selecting deep neural network hyperparameters

    US20210174210A1

Cited By

  • Providing a machine learning model based on desired metric values

    US12555030B2