AUTOMATED MACHINE LEARNING METHOD AND APPARATUS THEREOF
The automated machine learning method optimizes neural network selection and hyperparameter settings through cross-validation, enabling efficient generation of learning models with optimized performance.
Patent Information
- Application Number
- JP2023516482
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-09-11
- Filing Date
- 2020-11-16
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2040-11-16
AI Technical Summary
Selecting a suitable neural network and setting appropriate hyperparameters for machine learning is challenging due to the lack of absolute standards, requiring exhaustive experimental processes and being difficult for non-experts to determine effective combinations.
An automated machine learning method that includes generating multiple candidate parameter sets, performing cross-validation, and selecting optimal parameter sets based on validation scores to generate a learning model.
Enables non-experts to easily generate learning models with optimized network functions and hyperparameters, minimizing search time and range for effective performance.
Smart Images

Figure 0007536361000006 
Figure 0007536361000005 
Figure 0007536361000007
Abstract
Description
[Technical field]
[0001] The technical idea of the present disclosure relates to an automated machine learning method and apparatus. [Background technology]
[0002] Machine learning is a field of AI that develops algorithms and techniques that allow computers to learn based on data. It is a core technology in various fields such as image processing, video recognition, voice recognition, and internet search, and has shown outstanding results in prediction, object detection, object classification, object segmentation, and anomaly detection.
[0003] In order to derive a learning model with the desired performance through machine learning, it is necessary to appropriately select a neural network for machine learning. However, since there is no absolute standard for selecting a neural network, it is quite difficult to select a neural network suitable for the field to be applied or the characteristics of the input data.
[0004] For example, depending on the type of dataset, a network with deeper layers may perform better, or in fact sufficient performance may be achieved without deep layers. In particular, in the case of industrial applications, where inference time may be considered very important, a deep network may not be suitable.
[0005] In addition, the performance of a learning model is affected by multiple hyperparameters set by the user, so setting such hyperparameters to match the characteristics of the input data, etc. is also an important issue in machine learning.
[0006] However, due to the black-box nature of machine learning, in order to determine the optimal hyperparameters for an input dataset, a very exhaustive experimental process is required for all possible cases. In particular, it is difficult for a non-expert to guess which hyperparameters will lead to meaningful changes. Summary of the Invention [Problem to be solved by the invention]
[0007] The automated machine learning device based on the technical ideas of the present disclosure and the technical problem that the device aims to achieve are to provide an automated machine learning method and device that can quickly and automatically optimize a network function and its parameters to suit the characteristics of input data, etc.
[0008] The technical problems that the method and apparatus based on the technical ideas of the present disclosure attempt to achieve are not limited to the problems described above, and other problems not mentioned herein will be clearly understood by those skilled in the art from the following description. [Means for solving the problem]
[0009] According to one aspect based on the technical idea of the present disclosure, an automated machine learning method includes a step of registering at least one first parameter set including a combination of different setting data for at least one parameter that affects the performance of a learning model, a step of selecting at least one second parameter set from the first parameter set to be used for generating the learning model based on input learning conditions, a step of generating the learning models corresponding to each of the second parameter sets by proceeding with learning of a network function based on the second parameter set and a predetermined input data set, calculating a validation score for each of the learning models, and a step of selecting one of the generated learning models as an application model based on the validation score.
[0010] According to an exemplary embodiment, the step of registering the first parameter set may include the steps of generating a plurality of candidate parameter sets by combining different configuration data for the at least one parameter, performing cross-validation for each of the candidate parameter sets by learning the network function through a first data set, and determining at least one of the candidate parameter sets as the first parameter set based on a result of the cross-validation.
[0011] According to an exemplary embodiment, the steps of performing cross-validation and determining the first parameter set may be performed iteratively based on at least one second data set different from the first data set.
[0012] According to an exemplary embodiment, the cross-validation result includes the mean and standard deviation of the validation scores calculated by the cross-validation for each of the candidate parameter sets, and in the step of determining the first parameter set, a statistical comparison is performed based on the mean and standard deviation of the validation scores to determine the candidate parameter set having performance higher than a predetermined baseline as the first parameter set.
[0013] According to an exemplary embodiment, the first parameter set may include configuration data for parameters related to at least one of a type of network function, an optimizer, a learning rate, and data augmentation.
[0014] According to an exemplary embodiment, the learning conditions may include conditions related to at least one of a learning environment, an inference speed, and a search scope.
[0015] According to an exemplary embodiment, the step of selecting the second parameters may include the steps of sorting the first parameter set based on at least one of the architecture and the inference speed, and selecting a top predetermined percentage of the sorted first parameter set as the second parameter set based on the input learning conditions.
[0016] According to an exemplary embodiment, the validation score is calculated based on at least one of recall, precision, accuracy, and combinations thereof.
[0017] According to one aspect based on the technical idea of the present disclosure, an automated machine learning device may include a memory that stores a program for automated machine learning, and a processor that executes the program to register at least one first parameter set including a combination of different setting data for at least one parameter that affects the performance of a learning model, select at least one second parameter set from the first parameter set to be used for generating the learning model based on input learning conditions, generate the learning models corresponding to each of the second parameter sets by proceeding with learning of a network function based on the second parameter set and a predetermined input data set, calculate a validation score for each of the learning models, and control the selection of one of the generated learning models as an application model based on the validation score.
[0018] According to an exemplary embodiment, the processor can be controlled to generate a plurality of candidate parameter sets by combining different configuration data for the at least one parameter, to perform cross-validation by learning the network function through a first data set for each of the candidate parameter sets, and to determine at least one of the candidate parameter sets as the first parameter set based on a result of the cross-validation.
[0019] According to an exemplary embodiment, the processor may be controlled to iteratively perform the cross-validation based on at least one second data set different from the first data set and to determine the first parameter set according to the result of the cross-validation.
[0020] According to an exemplary embodiment, the processor can be controlled to calculate the mean and standard deviation of the validation scores by the cross-validation for each of the candidate parameter sets, and to determine the candidate parameter set having performance higher than a predetermined baseline as the first parameter set by performing a statistical comparison based on the mean and standard deviation of the validation scores.
[0021] According to an exemplary embodiment, the first parameter set may include configuration data for parameters related to at least one of a type of network function, an optimizer, a learning rate, and data augmentation.
[0022] According to an exemplary embodiment, the learning conditions may include conditions related to at least one of a learning environment, an inference speed, and a search scope.
[0023] According to an exemplary embodiment, the processor can be controlled to sort the first parameter sets based on at least one of the architecture and the inference speed, and to select a top predetermined percentage of the sorted first parameter sets as the second parameter set based on the input learning conditions.
[0024] According to an exemplary embodiment, the validation score is calculated based on at least one of recall, precision, accuracy, and combinations thereof. Effect of the Invention
[0025] According to an automated machine learning method and device therefor according to an embodiment based on the technical ideas of the present disclosure, the selection of suitable network functions and optimization of hyperparameters are automatically performed simply by a user inputting learning conditions and input data, etc., so that even non-experts can easily generate and utilize a learning model.
[0026] In addition, according to an automated machine learning method and an apparatus therefor according to an embodiment based on the technical ideas of the present disclosure, it is possible to minimize the search range and time required for optimizing hyperparameters by searching and registering in advance meaningful combinations of hyperparameters that have performance above a certain reference value.
[0027] The effects obtained by the method and apparatus based on the technical ideas of the present disclosure are not limited to the effects described above, and other effects not mentioned will be clearly understood by those having ordinary skill in the art to which the present disclosure pertains from the description below. [Brief description of the drawings]
[0028] In order to more fully understand the drawings referred to in this disclosure, a brief description of each of the drawings is provided. [Figure 1] FIG. 1 is a diagram for explaining the optimization of parameters of a network function. [Diagram 2] FIG. 2 is a flow diagram illustrating an automated machine learning method according to one embodiment based on the technical ideas of the present disclosure. [Diagram 3] FIG. 3 is a diagram showing an embodiment of step S210 of FIG. [Figure 4] FIG. 4 is a diagram showing an embodiment of step S220 of FIG. [Diagram 5] FIG. 5 is a diagram illustrating an example of a process of registering a parameter set in a preset group in an automated machine learning method according to an embodiment based on the technical idea of the present disclosure. [Figure 6]FIG. 6 is a diagram illustrating an example of a user interface for inputting learning conditions in an automated machine learning method according to an embodiment based on the technical idea of the present disclosure. [Figure 7] FIG. 7 is a block diagram showing a simplified configuration of an automated machine learning device according to an embodiment based on the technical idea of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] The technical idea of the present disclosure can be modified in various ways and can have various embodiments, and specific embodiments are illustrated in the drawings and described in detail. However, this is not intended to limit the technical idea of the present disclosure to a specific embodiment, and it should be understood that the technical idea of the present disclosure includes all modifications, equivalents, and alternatives included in the scope of the technical idea of the present disclosure.
[0030] In describing the technical ideas of the present disclosure, if a detailed description of related prior art is deemed to be likely to unnecessarily obscure the gist of the present disclosure, the detailed description will be omitted. In addition, numbers (e.g., 1, 2, etc.) used in the description of the present disclosure are merely identification symbols for distinguishing one component from another.
[0031] In addition, in this disclosure, when a component is referred to as being "coupled" or "connected" to another component, it should be understood that the component may be directly coupled or connected to the other component, but unless specifically stated to the contrary, it may also be coupled or connected via another component in between.
[0032] In addition, terms such as "unit," "machine," "child," and "module" used in this disclosure refer to a unit that processes at least one function or operation, and this may be embodied as hardware or software such as a processor, microprocessor, microcontroller, central processing unit (CPU), graphics processing unit (GPU), accelerated processor unit (APU), digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA), or a combination of hardware and software.
[0033] It is to be clear that the classification of components in this disclosure is merely a classification according to the main function of each component. That is, two or more components described below may be integrated into one component, or one component may be further divided into two or more components according to function. Each of the components described below may additionally perform some or all of the functions performed by the other components in addition to its own main function, and of course, some functions among the main functions performed by each component may be exclusively performed by the other components.
[0034] Hereinafter, the embodiments of the present disclosure will be described in detail one by one.
[0035] Throughout this specification, network functions may be used interchangeably with neural network and / or neural network, where a neural network may generally consist of a collection of interconnected computational units that may be referred to as nodes, and these nodes may also be referred to as neurons. A neural network typically comprises a plurality of nodes. The nodes that make up a neural network may be interconnected by one or more links.
[0036] Some of the nodes that make up a neural network can be organized into a layer based on their distance from the first input node. For example, a set of nodes whose distance from the first input node is n can form an nth layer.
[0037] The neural networks described herein may include a Deep Neural Network (DNN) that includes multiple hidden layers in addition to an input layer and an output layer. Deep neural networks may include a Convolutional Neural Network (CNN), a Recurrent Neural Network (RNN), and the like.
[0038] FIG. 1 is a diagram for explaining the optimization of parameters of a network function.
[0039] The network function can generate different learning models by learning different data sets. In this case, the performance (speed, quality, etc.) of the learning model generated from the network function can be affected by the setting value of at least one parameter. Here, the parameter can refer to a variable that can be directly set by a user and can give a meaningful change to the learning model, i.e., a hyper-parameter. For example, the hyper-parameter can include variables related to the type of network function (or architecture), optimizer, learning rate, data augmentation, etc.
[0040] As described above, since the performance of the learning model changes depending on the parameter setting values, it is required to optimize the parameters in advance to suit the characteristics of the data set to be learned when generating and applying the learning model.
[0041] FIG. 1 conceptually illustrates one method used for parameter optimization: grid search.
[0042] Grid search refers to searching for all possible combinations of setting values for parameters that can bring about meaningful changes in the performance of a learning model within a specific search range. For example, the parameter setting values can be optimized by cross-validating a network function through a specified data set based on different combinations of parameter setting values to confirm the performance of the learning model.
[0043] However, since the grid search method also verifies all possible combinations of parameter setting values, the search range and cost are inevitably large. Therefore, below, we will describe an automated machine learning method and apparatus according to one embodiment of the present disclosure that can minimize the search range and cost.
[0044] FIG. 2 is a flow chart for explaining an automated machine learning method according to one embodiment based on the technical idea of the present disclosure, FIG. 3 shows one embodiment of step S210 of FIG. 2, and FIG. 4 shows one embodiment of step S220 of FIG. 2.
[0045] An automated machine learning method according to an embodiment based on the technical ideas of the present disclosure may be performed on a personal computer, a workstation, a server computer device, etc. having computing capabilities, or may be performed on a separate device having an embedded program for performing the automated machine learning method.
[0046] In addition, the automated machine learning method according to an embodiment based on the technical idea of the present disclosure may be performed by one or more computing devices. For example, at least one or more steps of the automated machine learning method according to an embodiment of the present disclosure may be performed in a client device, and other steps may be performed in a server device. In this case, the client device and the server device may be connected via a network to transmit and receive computation results. Alternatively, the automated machine learning method according to an embodiment of the present disclosure may be performed by a distributed computing technology.
[0047] In step S210, the machine learning device may register at least one first parameter set including a combination of different setting data for at least one parameter that affects the learning model.
[0048] In one embodiment, the parameters may refer to the hyperparameters described above with reference to Fig. 1 and may include parameters related to at least one of a type of network function (e.g., a type of CNN), an optimizer, a learning rate, and data augmentation. For example, the first parameter set may be configured with a combination of setting data for at least one hyperparameter that can cause the learning model to perform at least a predetermined reference value.
[0049] In one embodiment, step S210 may include steps S211 to S214 as shown in FIG.
[0050] In step S211, the machine learning device may generate candidate parameter sets by combining different setting data for at least one parameter. For example, the candidate parameter sets may include parameters related to at least one of a type of network function, an optimizer, a learning speed, and data augmentation, and the setting data for these parameters may have different combinations for each candidate parameter set.
[0051] Then, in step S212, the machine learning device may perform cross-validation by learning a network function through the first data set for each of the generated candidate parameter sets. For example, the machine learning device may set hyperparameters based on setting data included in each candidate parameter set, divide the first data set into k folders, and then perform learning and cross-validation for the network function to calculate the average and standard deviation of validation scores for each candidate parameter set.
[0052] Next, in step S213, the machine learning device may register at least one of the candidate parameter sets into a preset group according to a result of the cross-validation. For example, the machine learning device may perform a statistical comparison based on the average and standard deviation of the validation scores calculated in step S212, and may register a candidate parameter set having a higher performance than a predetermined baseline into a preset group.
[0053] Then, in step S214, the machine learning device may repeat steps S212 and S213 based on at least one second data set different from the first data set, thereby, for example, registering at least one parameter set in each of a plurality of preset groups corresponding to the different data sets.
[0054] In step S220, the machine learning device may select at least one second parameter set to be used for generating a learning model from among the first parameter sets registered in at least one preset group.
[0055] In one embodiment, step S220 may include steps S221 to S223 as shown in FIG.
[0056] In step S221, the machine learning device may receive a user input for the learning conditions. For example, the machine learning device may provide a predetermined user interface on a user terminal or a display unit thereof, thereby receiving the learning conditions inputted. In one embodiment, the learning conditions may include at least one condition among a learning environment (PC or embedded device), an inference speed, and a search range. Here, the condition regarding the search range may refer to a condition for determining how much of the first parameter set registered in the preset group is to be used (i.e., the ratio of the second parameter set to be selected).
[0057] Depending on the embodiment, in step S221, the machine learning device may further receive an input dataset from a user terminal.
[0058] Next, in step S222, the first parameter sets registered in at least one preset group may be sorted based on at least one of architecture and inference speed.
[0059] For example, the machine learning device may first sort the first parameter sets based on the architecture corresponding to the learning environment input by the user, and then secondly sort the first parameter sets based on the inference speed recorded for each of the first parameter sets through step S210 (i.e., in order of highest inference speed).
[0060] Next, in step S223, the machine learning device may select a predetermined top percentage of the first parameter sets sorted in step S222 as a second parameter set according to the learning conditions input by the user.
[0061] In one embodiment, the machine learning device may select a certain percentage of the first parameter set as the second parameter set based on the inference speed level and / or search range level input by the user. For example, if the inference speed input by the user is level 3, the machine learning device may select the top 20% as the second parameter set, and if the inference speed is level 2, the machine learning device may select the top 50% as the second parameter set.
[0062] In one embodiment, steps S222 and S223 may be performed individually for each preset group, i.e., when there are multiple preset groups, the first parameter sets included in each preset group may be sorted and the second parameter sets may be selected for each preset group.
[0063] In step S230, different learning models can be generated by performing learning on the network function based on the selected second parameter set and the input data set, and a validation score can be calculated for each of the generated learning models.
[0064] For example, a learning model can be generated by setting the hyperparameters of the network function using the setting data of the second parameter set, inputting at least a portion of the input data set to the network function as learning data, and training the network function.
[0065] In one embodiment, the validation score may be calculated based on at least one of recall, precision, accuracy, and combinations thereof. For example, the machine learning device may be configured to calculate the validation score based on recall if the learning model is for object detection and / or classification, and to calculate the validation score based on an F1 score that combines recall and precision if the learning model is for object segmentation, but is not limited thereto.
[0066] In step S240, the machine learning device may select one of the learning models generated based on the validation score calculated in step S230 as an application model.
[0067] In one embodiment, the machine learning device may select the learning model with the highest calculated validation score as the application model. In addition, in one embodiment, when there are multiple learning models with the highest calculated validation scores, the machine learning device may select the learning model generated by the second parameter set that is ranked higher as the application model.
[0068] Next, once the application model is determined, the machine learning device evaluates the application model through a test set that is a part of the input dataset, and can derive the results required by the user through the application model.
[0069] FIG. 5 exemplarily illustrates a process of registering a parameter set into a preset group in an automated machine learning method according to an embodiment based on the technical idea of the present disclosure.
[0070] As shown in FIG. 5, for a candidate parameter set including different combinations of setting data for at least one hyperparameter, candidate parameters that have performance equal to or above a predetermined reference value can be registered in a preset group using six different data sets.
[0071] In this case, the machine learning device can be embodied to generate six preset groups each corresponding to the dataset, and to register candidate parameter sets in the preset groups corresponding to the datasets by repeatedly performing a cross-validation process using each dataset.
[0072] Information regarding the parameter sets registered in the preset groups may be stored in the machine learning device or an external server that communicates with the machine learning device.
[0073] FIG. 6 exemplarily illustrates a user interface for inputting learning conditions in an automated machine learning method according to an embodiment based on the technical idea of the present disclosure.
[0074] The machine learning device may provide a user interface for receiving user input for learning conditions through a user terminal or a display unit provided in the machine learning device itself.
[0075] For example, the user interface may include an area 610 for setting the learning environment, an area 620 for setting the level of the search space, and an area 630 for setting the level of the inference speed.
[0076] Through this user interface, the user can select a parameter set for the parameters registered in the preset group according to the environment, and set what percentage of the parameters registered by level will be used.
[0077] FIG. 7 is a block diagram showing a simplified configuration of an automated machine learning device according to an embodiment based on the technical idea of the present disclosure.
[0078] The communication unit 710 may transmit and receive data or signals to and from an external device (such as a user terminal) or an external server under the control of the processor 740. The communication unit 710 may include a wired or wireless communication unit. When the communication unit 710 includes a wired communication unit, the communication unit 710 may include one or more components that communicate through a Local Area Network (LAN), a Wide Area Network (WAN), a Value Added Network (VAN), a mobile radio communication network, a satellite communication network, or a combination thereof. When the communication unit 710 includes a wireless communication unit, the communication unit 710 may transmit and receive data or signals wirelessly using cellular mobile communication, wireless RAN (e.g., Wi-Fi), etc.
[0079] The input unit 720 may receive various user commands through an external operation. To this end, the input unit 720 may include or be connected to one or more input devices. For example, the input unit 720 may be connected to various input interfaces such as a keypad, a mouse, etc. to receive user commands. To this end, the input unit 720 may include an interface such as a Thunderbolt as well as a USB port. In addition, the input unit 720 may include various input devices such as a touch screen, a button, etc., or may be connected to these to receive user commands from the outside.
[0080] The memory 730 can store a program for the operation of the processor 740 and temporarily or permanently store input and output data. The memory 730 can include at least one type of storage medium among a flash memory type, a hard disk type, a multimedia card micro type, a card-type memory (e.g., SD or XD memory, etc.), RAM, SRAM, ROM (Read Only Memory), EEPROM, PROM, a magnetic memory, a magnetic disk, and an optical disk.
[0081] The memory 730 may also store various network functions and algorithms, and may store various data, programs (one or more instructions), applications, software, instructions, code, etc. for driving and controlling the device 700.
[0082] The processor 740 may control the overall operation of the device 700. The processor 740 may execute one or more programs stored in the memory 730. The processor 740 may refer to a central processing unit (CPU), a graphics processing unit (GPU), or a dedicated processor on which the method according to the technical ideas of the present disclosure is performed.
[0083] In one embodiment, the processor 740 may register at least one first parameter set including a combination of different configuration data for at least one parameter that affects the performance of the learning model.
[0084] In one embodiment, the processor 740 can be controlled to generate a plurality of candidate parameter sets by combining different configuration data for at least one parameter, and to perform cross-validation by learning a network function for each of the candidate parameter sets using a first data set, and to determine at least one of the candidate parameter sets as a first parameter set based on the result of the cross-validation.
[0085] In one embodiment, the processor 740 may be controlled to iteratively perform the cross-validation based on at least one second data set different from the first data set and determine the first parameter set according to a result of the cross-validation.
[0086] In one embodiment, the processor 740 can be controlled to calculate the mean and standard deviation of the validation scores by cross-validation for each of the candidate parameter sets, and perform a statistical comparison based on the mean and standard deviation of the validation scores to determine a candidate parameter set having performance higher than a predetermined baseline as the first parameter set.
[0087] In one embodiment, the processor 740 may select at least one second parameter set from the first parameter sets to be used to generate the learning model based on the input learning conditions.
[0088] In one embodiment, the processor 740 can be controlled to sort the first parameter sets based on at least one of architecture and inference speed, and select a top predetermined percentage of the sorted first parameter sets as the second parameter set based on the input learning conditions.
[0089] In one embodiment, the processor 740 may generate learning models corresponding to each of the second parameter sets by performing learning on the network function based on the second parameter set and a predetermined input data set, calculate a validation score for each learning model, and control to select one of the generated learning models as an application model based on the validation score. At this time, the validation score may be calculated based on at least one of recall, precision, accuracy, and combinations thereof.
[0090] Although not shown in FIG. 7, the machine learning device 700 may further include an output unit, a display unit, etc.
[0091] The output unit is for generating outputs related to vision, hearing, vibration, etc., and may include a display unit, an audio output unit, a motor, etc.
[0092] The display unit may display a user interface for inputting learning conditions, an input data set, and the like, an output of a learning model, and the like, under the control of the processor 740. The display unit may include a display module. The display module may include a display panel, a display driver, and a touch panel.
[0093] According to various embodiments based on the technical ideas of the present disclosure as described above, the selection of suitable network functions and optimization of hyperparameters are automatically performed simply by a user inputting learning conditions and input data, etc., so that even non-experts can easily generate and utilize a learning model.
[0094] In addition, according to various embodiments based on the technical ideas of the present disclosure, meaningful combinations of hyperparameters that provide performance above a certain reference value can be searched for in advance and registered as a preset group, thereby minimizing the search range and time required for optimizing hyperparameters.
[0095] The automated machine learning method according to an embodiment may be embodied in the form of program instructions that can be executed by various computer means and recorded on a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present disclosure, or may be known and available to those skilled in the art of computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as optical floppy disks, and hardware devices specially configured to store and execute program instructions, such as read only memory (ROM), RAM, flash memory, and the like. Program instructions include not only machine language codes created by a compiler, but also high-level language codes that can be executed by a computer using an interpreter, etc.
[0096] In addition, the automated machine learning method according to the disclosed embodiments may be provided in a computer program product, which may be traded between sellers and buyers as a commodity.
[0097] The computer program product may include a S / W program and a computer-readable storage medium on which the S / W program is stored. For example, the computer program product may include a product in the form of a S / W program (e.g., a downloadable app) that is electronically distributed by an electronic device manufacturer or through an online market (e.g., Google Play Store, App Store). For electronic distribution, at least a portion of the S / W program may be stored in a storage medium or temporarily generated. In this case, the storage medium may be a storage medium of a manufacturer's server, an online market server, or a relay server that temporarily stores the SW program.
[0098] In a system consisting of a server and a client device, the computer program product may include a storage medium of the server or a storage medium of the client device. Alternatively, if there is a third device (e.g., a smartphone) that is communicatively connected to the server or the client device, the computer program product may include a storage medium of the third device. Alternatively, the computer program product may include the S / W program itself that is transmitted from the server to the client device or the third device, or transmitted from the third device to the client device.
[0099] In this case, any one of the server, the client device, and the third device may execute the computer program product to perform the method according to the disclosed embodiment, or two or more of the server, the client device, and the third device may execute the computer program product to perform the method according to the disclosed embodiment in a distributed manner.
[0100] For example, a server (e.g., a cloud server or an artificial intelligence server) may execute a computer program product stored on the server to control client devices communicatively connected to the server to perform a method according to an embodiment of the disclosure.
[0101] Although the embodiments have been described in detail above, the scope of the present disclosure is not limited to these embodiments, and various modifications and improvements made by those skilled in the art using the basic concepts of the present disclosure defined in the appended claims also fall within the scope of the present disclosure.
Claims
1. 1. An automated machine learning method, comprising: Registering at least one first parameter set including a combination of different setting data for at least one parameter that affects the performance of the learning model; selecting at least one second parameter set to be used for generating the learning model from among the first parameter sets based on input learning conditions; generating the learning models corresponding to each of the second parameter sets by learning a network function based on the second parameter set and a predetermined input data set, and calculating a validation score for each of the learning models; and selecting one of the generated learning models as an application model based on the verification score. The step of registering the first parameter set includes: generating a plurality of candidate parameter sets by combining different configuration data for the at least one parameter; performing cross-validation by learning the network function through a first data set for each of the candidate parameter sets; determining at least one of the candidate parameter sets as the first parameter set according to a result of the cross-validation; A method comprising:
2. 2. The method of claim 1, wherein the steps of performing cross-validation and determining as the first parameter set are repeated based on at least one second data set that is different from the first data set.
3. The cross-validation results include a mean and a standard deviation of the cross-validated validation scores calculated for each of the candidate parameter sets; In the step of determining the first parameter set, The method of claim 1 , further comprising: determining the candidate parameter set having a performance higher than a predetermined baseline as the first parameter set by performing a statistical comparison based on the average and standard deviation of the validation scores.
4. The method of claim 1 , wherein the first parameter set includes configuration data for parameters related to at least one of a type of network function, an optimizer, a learning rate, and data augmentation.
5. The method of claim 1 , wherein the learning conditions include conditions related to at least one of a learning environment, an inference speed, and a search range.
6. The step of selecting the second parameter comprises: aligning the first parameter set based on at least one of an architecture and the inference speed; The method of claim 5 , further comprising: selecting a predetermined percentage of the sorted first parameter sets as the second parameter set according to the input learning conditions.
7. The method of claim 1 , wherein the validation score is calculated based on at least one of recall, precision, accuracy, and combinations thereof.
8. 1. An automated machine learning device, comprising: A memory for storing programs for automated machine learning; a processor that executes the program to register at least one first parameter set including a combination of different setting data for at least one parameter that affects the performance of a learning model, select at least one second parameter set to be used for generating the learning model from the first parameter set based on input learning conditions, generate the learning models corresponding to each of the second parameter sets by proceeding with learning of a network function based on the second parameter set and a predetermined input data set, calculate a validation score for each of the learning models, and control to select one of the generated learning models as an application model based on the validation score, The processor, An apparatus for generating a plurality of candidate parameter sets by combining different setting data for at least one of the parameters, performing cross-validation for each of the candidate parameter sets by learning the network function through a first data set, and determining at least one of the candidate parameter sets as the first parameter set based on the result of the cross-validation.
9. The processor, The apparatus according to claim 8 , further comprising control means for repeatedly performing the cross-validation based on at least one second data set different from the first data set and determining the first parameter set according to a result of the cross-validation.
10. The processor, The apparatus according to claim 8, further comprising: a control unit that calculates an average and a standard deviation of the validation scores by the cross-validation for each of the candidate parameter sets; and a statistical comparison is performed based on the average and the standard deviation of the validation scores, so as to determine the candidate parameter set having a performance higher than a predetermined baseline as the first parameter set.
11. The apparatus of claim 8 , wherein the first parameter set includes configuration data for parameters related to at least one of a type of network function, an optimizer, a learning rate, and data augmentation.
12. The apparatus of claim 8 , wherein the learning conditions include conditions related to at least one of a learning environment, an inference speed, and a search range.
13. The processor, The apparatus of claim 12, further comprising: sorting the first parameter set based on at least one of the architecture and the inference speed; and controlling to select a top predetermined percentage of the sorted first parameter set as the second parameter set according to the input learning conditions.
14. The apparatus of claim 8 , wherein the validation score is calculated based on at least one of recall, precision, accuracy, and combinations thereof.
15. A computer program stored on a recording medium for carrying out the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Arithmetic unit
JP2020123270A
Method For optimizing hyper-parameter automatically and Apparatus thereof
KR1020190048895A
Method for determining parameter sets of an artificial neural network
KR1020200080947A
Systems and Methods for Spatial Graph Convolutions with Applications to Drug Discovery and Molecular Simulation
US20190272468A1
