Model generation system and model generation method
The model generation system addresses the challenge of limited data in machine learning by combining trained models and physical equations to generate accurate models efficiently, reducing data and calculation costs through the reuse of existing models and equations, thereby enhancing prediction accuracy and development efficiency.
Patent Information
- Application Number
- PCT/JP2023/005944
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2024-08-29
AI Technical Summary
In machine learning, constructing accurate models with limited data is challenging, and existing methods like transfer learning require significant data collection and calculation costs, especially when developing new models using previously trained models or physical equations.
A model generation system that combines trained machine learning models, equations, and inequalities from a source model database to generate a target model by searching for matching input and output items and determining valid combinations, reducing data collection and calculation costs through efficient reuse of existing models.
This approach allows for the generation of highly accurate models with reduced learning costs, improving prediction accuracy and development efficiency by leveraging existing trained models and physical equations without the need for extensive new data collection.
Smart Images

Figure JP2023005944_29082024_PF_FP_ABST
Abstract
Description
Model generation system and model generation method
[0001] The present invention relates to a model generation system and a model generation method.
[0002] With the recent advances in information processing technology, the use of machine learning technology has been expanding in various fields. Machine learning is a method or technology that builds a learning model (also simply called a "model") from large amounts of data or experience with certain rules, and then uses that learning model to perform some task.
[0003] In general, in machine learning, the more data used for learning (called "learning data" or "training data"), the more accurate a learned model can be achieved. Conversely, if there is little data, it is difficult to build a learned model with sufficient accuracy. Therefore, when building a learning model, if a lot of training data is obtained, a learned model with sufficient accuracy can be obtained, but if there is little training data, only a learned model with insufficient accuracy can be obtained.
[0004] In the field of machine learning technology, transfer learning is a technique for obtaining a highly accurate model with little data. Transfer learning is a general term for techniques that aim to achieve sufficient accuracy even when there is little training data by utilizing (transferring) a trained model created using other training data. Transfer learning attempts to obtain a highly accurate model by reusing an existing trained model as is, retraining using a trained model as an initial value (e.g., "fine tuning"), or incorporating a trained model as a partial model (source model) as part of a target model to construct a new model. For example, Patent Document 1 discloses a method for selecting a trained model to be used in transfer learning.
[0005] Japanese Patent Application Laid-Open No. 2021-182329
[0006] Transfer learning techniques are expected to reduce the dataset preparation and computational costs required for model construction when building large-scale, complex models by using previously created trained models.
[0007] Meanwhile, with the advancement of manufacturing technologies and the commoditization of machine learning technologies, various trained models have been constructed. Therefore, the present inventors investigated combining multiple trained models, such as black-box models such as neural networks (NNs), into a single model to generate a desired trained model. This makes it possible to obtain a model with high predictive accuracy while ensuring development efficiency (calculation volume and time required for training) in model development. Furthermore, by training a learning model combining such trained models (transfer learning), predictive accuracy can be further improved.
[0008] The object of the present invention is to enable the generation of learning models by efficiently utilizing past similar trained models, partial models, known physical equations, etc., without overlooking them, particularly in the development of new models using transfer learning techniques.
[0009] A model generation system that is one embodiment of the present invention is a model generation system that generates a target model, and includes: a source model database that stores source models; and a model generation unit that generates a target model using a source model searched from the source model database. The model generation unit includes: a database search unit that searches for a first source model that includes an output of the target model as its output; and a second source model that includes an input of the target model as its input; and a combination determination unit that combines the input of the first source model with the output of the second source model when the input of the first source model can be associated with the output of the second source model. The source models stored in the source model database include trained machine learning models.
[0010] The learning costs (data collection costs, calculation costs) required for model generation are reduced. Other objects and novel features will become apparent from the description of this specification and the accompanying drawings.
[0011] FIG. 1 is a diagram for explaining the basic configuration of a model generation system. FIG. 2 is an example of processing by a processing device that is predicted by a machine learning model. FIG. 3 is an example of a model generated in Example 1. FIG. 4 is an example of the hardware configuration of an information processing device. FIG. 5 is an example of programs and data stored in a storage device in Example 1. FIG. 6 is a flowchart showing processing for generating a model by the model generation system in Example 1. FIG. 7 is an example of a model generated in Example 2. FIG. 8 is an example of programs and data stored in a storage device in Example 2. FIG. 9 is a flowchart showing processing for generating a model by the model generation system in Example 2. FIG. 10 is an example of a model generated in Example 3. FIG. 11 is an example of programs and data stored in a storage device in Example 3.
[0012] Examples of the present invention will be described below with reference to the drawings. However, the present invention should not be construed as being limited to the description of the embodiments shown below. Those skilled in the art will readily understand that the specific configuration can be modified without departing from the concept or spirit of the present invention. Furthermore, the position, size, shape, etc. of each component shown in the drawings and the like in this specification may not represent the actual position, size, shape, etc., in order to facilitate understanding of the invention. Therefore, the present invention is not limited to the position, size, shape, etc. disclosed in the drawings and the like.
[0013] The basic configuration of a model generation system 10 of this embodiment will be described with reference to Fig. 1. The model generation system 10 includes a model generation unit 11 and a source model database 12.
[0014] The source model database 12 stores source models to be used in building a target model. The source models stored in the database 12 include trained machine learning models (hereinafter referred to as trained models) and equations / inequalities. The format of the machine learning models is not limited, and includes machine learning models such as neural networks (NNs), gradient boosting trees, linear regression, and kernel ridge methods. The equations / inequalities may be any equations / inequalities that explain a phenomenon, including, for example, various equations such as Newton's equation of motion (F = ma) and Langmuir's adsorption isotherm (K = Nθ / N(1-θ)p), as well as various inequalities such as Chebyshev's inequality and Clausius' inequality. They may also be user-defined equations or inequalities. However, the equations stored in the source model database 12 treat one parameter of the equation as the output Y (objective variable) and all remaining parameters as input X (explanatory variables or constants) so that the value of the objective variable is uniquely determined. The user can freely determine which parameters are to be used as the output Y. Furthermore, for inequalities stored in the source model database 12, all parameters of the inequality can be treated as input X, and information (Boolean value) of 1 or 0 indicating whether the inequality is satisfied or not can be treated as output Y. If an inequality has an equality condition, it can be treated the same as an equation, that is, one parameter can be treated as output Y.
[0015] The model generation unit 11 combines trained models and equations / inequalities stored in the source model database 12. A source model has one or more inputs X and one or more outputs Y, and the model generation unit 11 checks the item names of the inputs X and outputs Y of different source models, and combines the inputs X and outputs Y if the item names can be associated with each other.
[0016] 1 shows an example in which trained models 15 to 17 are stored in the source model database 12. The model generation unit 11 generates, for example, the output y 1,1 is the input x of trained model 16 2,1 Since it matches, the output y 1,1 and type x 2,1Furthermore, the model generation unit 11 combines, for example, the output y 1,1 and the input x of trained model 17 3,1 Since there is no correspondence between 1,1 and type x 3,1 The cases where the model generation unit 11 can associate item names with each other include cases where the item names match or where some correspondence is recognized between the item names. A specific method for determining whether or not to associate items will be described later.
[0017] Note that the rule for linking by the model generation unit 11 is that one output Y of a source model can be linked to inputs X of multiple other source models, but one input X of a source model can only be linked to one output Y of other source models. Also, basically, it is not possible to link inputs and outputs of multiple source models in a loop.
[0018] In Example 1, an example is shown in which a machine learning model that predicts the processing results of a processing device is constructed using a first trained model that is trained using data obtained by actually operating the processing device, and a second trained model that is trained using results obtained by simulating physical phenomena occurring in the processing device using computer software, using the model generation system of this example.
[0019] As shown in Figure 2, raw materials 21 are fed into a processing device 22 to obtain a product 23. Here, the state of the product 23 depends on the processing conditions set for the processing device 22 by a control computer 24. Therefore, by exhaustively allocating all processing conditions that can be set for the processing device 22 and actually processing the raw materials 21 in the processing device 22, obtaining a large amount of learning data on the type of product 23 obtained under each processing condition, and training a machine learning model (e.g., a neural network model), a learned model that predicts the state of the product from the processing conditions with a certain degree of accuracy can be obtained.
[0020] However, since it usually takes a long time for the processing device 22 to process the raw materials 21, it also takes a long time to obtain a large amount of new training data. Therefore, in the model generation system of this embodiment, a method is described for obtaining a machine learning model that can predict the product state without obtaining new training data by utilizing knowledge and simulation technology obtained in the past.
[0021] For example, as shown in FIG. 3 , assume that a user intends to construct a target model 33 in which five control parameters, namely, “gas pressure,” “coil current,” “power,” “element ratio,” and “voltage,” which are independent processing conditions of the processing device 22, are used as input X, and the “product state” of the product 23 is used as output Y. Also assume that a first source model 31 and a second source model 32 are stored in the source model database 12. The first source model 31 is a trained model that has been trained using the product state of the product 23 obtained by processing the raw material 21 in the processing device 22 while comprehensively varying three control parameters, namely, “ion flow rate” in the processing device 22, “power,” “element ratio,” and “voltage,” as learning data. The ion flow rate within the processing device can be measured by installing a measuring instrument in the processing device 22. Assume that a first source model 31 has been constructed through past experiments or the like, in which the four parameters, “ion flow rate,” “power,” “element ratio,” and “voltage,” are used as input X, and the “product state” is used as output Y, and stored in the source model database 12. The second source model 32 is constructed using a physical simulation technique for physical phenomena occurring in the processing chamber of the processing device 22 and is stored in the source model database 12. The second source model 32 is a trained model in which four control parameters, "gas pressure," "coil current," "power," and "element ratio," are input X, and "ion flow rate" is output Y. In general, the calculation time required for the simulation is much shorter than the time required to actually process the raw material 21 in the processing device 22, and the cost associated with acquiring training data can be reduced.
[0022] In this way, if physical simulation is possible, a large amount of training data can be prepared in a short time, and therefore, it is possible to generate a highly accurate trained model using machine learning such as deep learning. Because such a trained model is trained using a large amount of training data, it is expected to predict the output Y (in the case of the second source model 32, "ion flow rate") with high accuracy.
[0023] The model generation system 10 combines a first source model 31 and a second source model 32 to obtain a desired target model 33 .
[0024] The model generation system 10 is realized by an information processing device 40, which includes, as shown in FIG. 4 , a processor (CPU) 41, a memory 42, a storage device 43, an input device 44, an output device 45, a communication device 46, and a bus 47 as its main components. The processor 41 functions as a functional unit (functional block) that provides a predetermined function by executing processing in accordance with a program loaded into the memory 42. The storage device 43 stores programs that cause the functional unit to function as well as data used by the functional unit. The storage device 43 may be a non-volatile storage medium such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive). The input device 44 may be a keyboard, a pointing device, or the like, and the output device 45 may be a display, or the like. The communication device 46 enables communication with other information processing devices via a network. These are connected to each other via the bus 47 so that they can communicate with each other.
[0025] The model generation system 10 does not have to be realized by a single information processing device, but may be realized by multiple information processing devices. Also, some or all of the functions of the model generation system 10 may be realized as an application on the cloud.
[0026] 5 shows the programs and data stored in the storage device 43. A model generation program 51 is loaded into the memory 42 and executed by the processor 41, causing the processor 41 to function as the model generation unit 11. The model generation program 51 includes subprograms: a database (DB) search program 52, a join determination program 53, and a model determination program 54. These subprograms are also loaded into the memory 42 and executed by the processor 41, causing the processor 41 to function as a DB search unit, a join determination unit, and a model determination unit. The source model database 12 used by the model generation system is also stored in the storage device 43.
[0027] 6 is a flowchart showing the process of generating the target model 33 using the model generation system 10. First, the user sets the names of the input items and output items of the target model to be created (S01). In the example of FIG. 3, the names of five control parameters (such as "gas pressure") that will be the input X of the model 33 and the parameter ("product state") that will be the output X are set.
[0028] Next, the DB search unit searches the source model database 12 for source models having input item names equal to the set input item names and source models having output item names equal to the set output item names (S02). If there are multiple candidates, options may be presented to the user to select from, or the system may select the most recently updated model. In the example of Figure 3, it is assumed that the search results include a second source model 32 having an input item name such as "gas pressure" and an output item name such as "ion flow rate," and a first source model 31 having input item names such as "ion flow rate" and "electric power" and an output item name such as "product state."
[0029] Next, the combine determination unit combines the input and output names of the source models (S03). Here, as a simple example, an example in which input and output names match will be shown. In the example of Fig. 3, the output item name "ion flow rate" of the second source model 32 matches the input item name "ion flow rate" of the first source model 31, so these are combined.
[0030] Next, the model determination unit displays the combined source models on the output device 45 (S04). At this time, for example, a model combination diagram 35 including model combination information, such as that shown within the dashed-dotted line frame in FIG. 3 , is displayed on the output device 45. In the model combination diagram 35, an input node indicating input X is displayed on the left side of each box representing the source model, and an output node indicating output Y is displayed on the right side. Furthermore, an input node (processing condition) indicating input X of the target model is displayed further to the left of the source model, and connections between the input nodes of the target model and the corresponding input nodes of the source model, as well as connections between associated nodes of the source model, are displayed by edges. In this way, by displaying the GUI on the display screen as a layout in which input nodes are positioned relatively to the left and output nodes are positioned relatively to the right, it becomes easy to check for inappropriate connections (e.g., loop connections) between source models.
[0031] The user checks the model binding diagram 35 displayed on the GUI screen (S05), and if any corrections are required, manually corrects the edges in the model binding diagram 35 on the GUI screen to correct the connections between the input nodes of the target model and the source model, or between source models (S06). Examples of cases where corrections are required include when the user's domain knowledge indicates that the connected nodes are inappropriate. The completed target model 33 is then saved in the source model database 12 (S07).
[0032] The model 33 created in this manner is created using only trained models and does not necessarily require additional learning. However, if even a small amount of training data (here, a data set of processing conditions for the five control parameters of the target model 33 and the product state under those processing conditions) is available, it is recommended to perform additional training (referred to as additional learning) using the training data. Using the weights of the original trained model as initial values and updating the weights through additional learning using a small amount of training data is called fine tuning. It is generally known that performing appropriate fine tuning increases the likelihood of obtaining a more accurate training model. When performing fine tuning, the user may set the hyperparameters, such as the learning rate of each model, as appropriate.
[0033] In the second embodiment, not only trained models, equations, and inequalities but also untrained machine learning models are utilized as source models. The model generation system 10 of the second embodiment is also realized by an information processing device 40 as shown in FIG. 4. FIG. 8 shows programs and data stored in a storage device 43. In addition to the programs and data stored in the first embodiment (FIG. 5), a machine learning program 81 for performing machine learning is also stored. The machine learning program 81 is loaded into the memory 42 and executed by the processor 41, causing the processor 41 to function as a machine learning unit. The machine learning program 81 includes a model setting program 82 and a learning (training) program 83 as subprograms. These subprograms are also loaded into the memory 42 and executed by the processor 41, causing the processor 41 to function as a model setting unit and a learning unit.
[0034] 7 illustrates an example in which a target model 70 is created by increasing the input X (control parameters) in order to further improve the accuracy of the model 33 created in Example 1, and an untrained machine learning model is used as the source model. Specifically, the input X of the target model 70 is obtained by adding two control parameters, "frequency" and "duty ratio," to the input X of the model 33.
[0035] A flowchart showing the process of generating a target model 70 using the model generation system 10 is shown in Figure 9. The same processes as in Figure 6 are assigned the same reference numerals, and duplicate explanations will be omitted, with the differences being mainly described below. First, the user sets the names of the input items and output items of the target model they wish to create (S01). In the example of Figure 7, the names of seven control parameters (such as "gas pressure") that will be the input X of the target model 70 and the parameter ("product state") that will be the output X are set.
[0036] Next, the user specifies the learning data to be used for model training (S11). Since this example is a regression problem, the seven control parameters that serve as input X to the target model 70 are comprehensively assigned, and the product state of the product 23 obtained by processing the raw material 21 with the processing device 22 is used as the learning data. The learning data, which is a combination of the seven control parameters and the product state, is provided in the form of, for example, a CSV file. Thereafter, steps S02 and S13 are performed in parallel.
[0037] In step S02, the DB search unit searches the source model database 12 and finds model 33. In step S03, the join determination unit joins the input and output names of the source models. In this example, one model is found in the source model database 12, but if two or more models are found, the same processing as in Example 1 is performed.
[0038] Next, the model determination unit displays the combined source models on the output device 45 (S04). In the second embodiment, a model combination diagram 75 including model combination information as shown in the dashed-dotted line frame in Fig. 7 is also displayed on the output device 45, but at this point, only the searched source model 33 is displayed on the output device 45, and the "Frequency" node and the "Duty Ratio" node are not connected to anything.
[0039] The user checks the model binding diagram 75 displayed on the GUI screen (S05), and since there are unconnected processing conditions, manually corrects the model binding diagram 75 on the GUI screen (S06). Here, two untrained models 71 and 72 are added, and the source models are bound together in accordance with the desired target model 70. Note that the method of adding and binding untrained models is not limited to the example in FIG. 7.
[0040] Next, the machine learning unit uses the learning data specified in step S11 to learn a model (referred to as a "combined model") that is a combination of the source model 33 and the unlearned models 71 and 72 (S12).
[0041] The model setting unit allows the user to define inputs and outputs and set hyperparameters for the untrained models 71 and 72 added on the GUI screen. For example, when a neural network (NN) model is used as the untrained model, the user can directly set detailed settings for various hyperparameters, including the number of layers and the number of nodes, or these can be automatically determined by a program that performs Bayesian optimization. When performing Bayesian optimization, the range of optimization can also be set in detail.
[0042] The learning unit trains the combined model using training data. When training the combined model, for example, if the accuracy of the source model 33 is known to be relatively high or the amount of training data specified in step S11 is small, it is recommended to set the learning rate of the source model 33 to 0 and not update the weightings within the source model 33 during training in step S12. In such cases, the user turns on the lock icon 73 displayed in the upper right corner of the corresponding source model on the GUI screen. When the lock icon 73 of the source model 33 is turned on during training of the combined model, the learning unit does not update the weightings. This state is called the "source fixed mode."
[0043] On the other hand, when the lock icon 73 is turned off, the learning unit updates the combined model training, including the weighting of the source model 33. This state is called "fine tuning mode," and for example, the additional learning described in the first embodiment is performed in the fine tuning mode.
[0044] Meanwhile, the machine learning unit constructs a model (referred to as a "standard model") with the desired seven control parameters as input X and the "product state" as output Y (S13). The model setting unit defines the input and output of the standard model and allows the user to set hyperparameters for the standard model, and the learning unit trains the standard model using training data.
[0045] Note that model training using training data (steps S12 and S13) may take several hours to several days depending on the amount of data and the specifications of the information processing device (computer).
[0046] Once the training of the standard model and the combined model is complete, the model determination unit compares the results of cross-validation (CV) performed by the training unit using a portion of the training data for these two models (S14). The model determination unit determines which model is capable of more accurate predictions based on the CV values, selects the model determined to have the higher accuracy as the target model 70, and stores it in the source model database 12 (S07).
[0047] Example 3 illustrates an example of constructing a model that includes even more processing conditions as input X, and describes an example of utilizing physical equations stored in the source model database 12. A method for combining nodes whose item names do not completely match is also described. The model generation system 10 of Example 3 is also realized by an information processing device 40 as shown in FIG. 4. FIG. 11 shows programs and data stored in a storage device 43. In addition to the programs and data stored in Example 2 (FIG. 8), a synonym dictionary 112 and a node combination history 113 are also stored. The combination judgment program 53 also includes a text mining program 111 as a subprogram. The text mining program 111 is also loaded into the memory 42 and executed by the processor 41, causing the processor 41 to function as a text mining unit.
[0048] 10 is an example of creating a model with more input X (control parameters) than the model created in Example 2 in order to further improve accuracy, and an untrained machine learning model and a physical equation are used as the source model. Specifically, the input X of the model created in Example 3 is obtained by adding two control parameters, "temperature" and "processing time", to the input X of model 70.
[0049] These two control parameters are added based on the user's domain knowledge. For example, it is assumed that the longer the processing time, the greater the effect on the product state that is proportional to the time. Furthermore, if the reaction rate of the chemical reaction assumed to occur during processing is known, it can be estimated that the product of the reaction rate and processing time will have a large effect on the product state.
[0050] The process of generating a model using the model generation system 10 is similar to the flowchart shown in FIG. 9 . The following description focuses on key features. First, the user sets the names of the input and output items of the target model to be created (S01). In the example of FIG. 10 , the names of nine control parameters (e.g., "gas pressure") that will serve as the input X of the desired target model and the parameter ("product state") that will serve as the output X are set. In the following step S02, the DB search unit searches the source model database 12 to retrieve the first source model 31 and the second source model 32. In step S03, the combination determination unit combines the first source model 31 and the second source model 32. In step S04, the model determination unit displays the combined source model on the output device 45. In the third embodiment as well, a model combination diagram 105 including model combination information as shown in the dashed-dotted line frame in FIG. 10 is displayed on the output device 45. However, at this point, only the searched source models 31 and 32 are displayed on the output device 45, and the "Temperature" node, the "Processing Time" node, the "Frequency" node, and the "Duty Ratio" node are not connected to anything.
[0051] The user checks the model binding diagram 105 displayed on the GUI screen (S05), and since there are unconnected processing conditions, manually corrects the model binding diagram 105 on the GUI screen (S06). First, as in Example 2, two unlearned models 103 and 104 are added, and the source models are bound together to match the desired target model. At this stage, the "Temperature" node and the "Processing Time" node remain unconnected.
[0052] As described above, when building a model to predict the product state, the user wanted to use the concepts of "processing time," one of the processing conditions, and the "reaction rate" of the chemical reaction during processing, based on domain knowledge about the processing device 22. Therefore, two parameters, "reaction rate" and "processing time," are manually fixed in the input items of the unlearned model 104 in the final stage in Figure 10. "Processing time" is one of the parameters that is the input X of the target model, but "reaction rate" is an intermediate node that is neither an input node nor an output node of the target model.
[0053] At this point, the "Temperature" node and the "Reaction Rate" node remain as unconnected nodes, so the user searches the source model database 12 for source models with these item names. As a result, the Arrhenius equation (reaction rate k = Aexp(-E / RT)), a physical equation, is displayed on the GUI screen as a source model candidate. The Arrhenius equation is a general relational expression (formula) that expresses the correlation between the parameters "reaction rate," "temperature," "concentration," and "activation energy (activation E)." When using an equation as a source model, one of the parameters must be assigned to output Y, and the other parameters must be assigned to input X. Therefore, the source model 101 based on the Arrhenius equation is a source model with "reaction rate" as output Y and "temperature," "concentration," and "activation E" as input X. As a result, the connection determination unit connects the "Temperature" node, which is one of the input Xs of the source model 101, to the "Temperature" node, which is a processing condition, and the "Reaction Rate" node, which is output Y of the source model 101, to the input node to which "reaction rate" of the unlearned model 104 is assigned. As a result, the "concentration" node and the "activation E" node of the input X of the source model 101 remain unconnected.
[0054] Because all input nodes of the source model must be connected to some node, the connection determination unit launches the text mining program 111. The text mining unit searches the synonym dictionary 112 or the node connection history 113 to automatically perform a search for "concentration" and "activation E." For example, suppose the node connection history 113 contains a record of a manual connection between the "concentration" node and the "pressure" node based on domain knowledge that "the higher the pressure, the higher the frequency of collisions between gas molecules, which essentially increases the local molecular concentration related to chemical reactions." The connection determination unit connects the "concentration" node and the "gas pressure" node based on the information retrieved by the text mining unit. Meanwhile, because the "activation E" node of the source model 101 was not automatically connected by the connection determination unit, a constant node 102 is set and a constant is input from the constant node 102 to the source model 101, thereby completing the connection modification between the source models.
[0055] Here, an example has been shown in which the synonym dictionary 112 and the node connection history 113 are searched for to search for the connection destination, but a method of inferring the connection destination using the dimensional information of the unit assigned to each node is also useful. For example, for pressure (Pa), m -1 ・kg・s -2 It is possible to evaluate the similarity or dissimilarity between units by taking advantage of the fact that it can be expressed as follows. Furthermore, an item correspondence table may be provided in which the names of items that the user is allowed to combine in advance may be stored.
[0056] It is also possible to search the source model database 12 not only for the search of the connection destination but also for similarities in node names and connection history (step S02). In this case, since a large number of source models will be searched, it is desirable to present them to the user in order of priority based on, for example, the number of corresponding variables.
[0057] The above describes several embodiments of the model generation system. The components disclosed in the above embodiments can be combined as appropriate as long as no contradictions arise in the combination. Furthermore, some components can be omitted from all the components shown in the above embodiments.
[0058] 10: Model generation system, 11: Model generation unit, 12: Source model database, 15 to 17: Trained model, 21: Raw material, 22: Processing device, 23: Product, 24: Control computer, 31: First source model, 32: Second source model, 33: Model, 35: Model connection diagram, 40: Information processing device, 41: Processor (CPU), 42: Memory, 43: Storage device, 44: Input device, 45: Output device, 46: Communication device, 47: Bus, 51: Model generation program ram, 52: database search program, 53: connection judgment program, 54: model determination program, 70: model, 71, 72: unlearned model, 73: lock icon, 75: model connection diagram, 81: machine learning program, 82: model setting program, 83: learning program, 101: source model, 102: constant node, 103, 104: unlearned model, 105: model connection diagram, 111: text mining program, 112: synonym dictionary, 113: node connection history.
Claims
1. A model generation system that generates a target model, comprising: a source model database for storing source models; and a model generation unit that generates the target model using a source model searched from the source model database, wherein the model generation unit comprises: a database search unit that searches for a first source model having an output of the target model as its output, and a second source model having an input of the target model as its input; and a combination determination unit that, when it is possible to associate the input of the first source model with the output of the second source model, combines the input of the first source model with the output of the second source model; and the model generation system includes a trained machine learning model as a source model stored in the source model database.
2. A model generation system according to claim 1, wherein the model generation unit includes a model determination unit, which displays on a GUI screen an input node indicating an input of the target model and a model binding diagram indicating the first source model and the second source model, the model binding diagram connects an input node of the target model to an input node indicating the corresponding input of the first source model or the second source model with an edge, and connects an output node indicating an output of the second source model to an input node indicating the corresponding input of the first source model with an edge, and the model determination unit, when a connection via an edge in the model binding diagram is corrected on the GUI screen, corrects the binding between the input of the target model and the input of the first source model or the second source model, or the binding between the output of the second source model and the input of the first source model in accordance with the corrected connection.
3. A model generation system as claimed in claim 2, wherein the coupling determination unit determines that correspondence is possible when the input item name of the first source model matches the output item name of the second source model, when the input item name of the first source model and the output item name of the second source model are synonyms, when there is a coupling history between the input item name of the first source model and the output item name of the second source model, or when it is determined that the unit dimensional information of the input of the first source model and the unit dimensional information of the output of the second source model are similar.
4. A model generation system as claimed in claim 1, wherein the source models stored in the source model database include equations or inequalities having equality conditions, and the source model representing the equations or inequalities is defined such that one parameter of the equation or inequality is an output and the other parameters are an input.
5. A model generation system according to claim 1, wherein the source models stored in the source model database include inequalities, and the source model representing the inequalities is defined as having an output of a Boolean value indicating whether the inequality is satisfied or not, and as having all parameters as input.
6. A model generation system for generating a target model, comprising: a source model database for storing source models; a model generation unit for generating the target model from a source model searched from the source model database; and a machine learning unit for performing machine learning, wherein the model generation unit comprises a database search unit for searching a first source model including an output of the target model as its output and a second source model including an input of the target model as its input, and a model determination unit, wherein the model determination unit displays on a GUI screen a model combination diagram including an input node indicating an input of the target model and one or more search source models searched by the database search unit, and in which corresponding input nodes are connected to each other or an output node of a search source model and a corresponding input node of another search source model are connected by edges, wherein when a connection of the model combination diagram is modified on the GUI screen to add an unlearned model, the model determination unit determines a combined model in which combinations of the input of the target model, the search source model, and the unlearned model are modified in accordance with the modified connection, and wherein the machine learning unit trains the combined model using learning data corresponding to the input and output of the target model.
7. A model generation system according to claim 6, wherein the machine learning unit sets a learning rate of the search source model included in the combined model to 0 during training of the combined model.
8. A model generation system as claimed in claim 6, wherein the machine learning unit sets a standard model which is a machine learning model that takes the input of the target model as input and the output of the target model as output, and trains the standard model using the learning data, and the model determination unit selects either the combined model or the standard model as the target model.
9. A model generation system according to claim 6, wherein the model generation unit includes a coupling determination unit, the search source models include a first source model having an output of the target model as its output, and a second source model having an input of the target model as its input, the coupling determination unit couples an input of the first source model with an output of the second source model when the input of the first source model can be associated with an output of the second source model, the model coupling diagram connects an input node of the target model with an input node indicating the corresponding input of the first source model or the second source model by an edge, and connects an output node indicating an output of the second source model with an input node indicating the corresponding input of the first source model by an edge, and the model determination unit modifies, when a connection by an edge in the model coupling diagram is modified on the GUI screen, the coupling between the input of the target model and the input of the first source model or the second source model, or the coupling between the output of the second source model and the input of the first source model in accordance with the modified connection.
10. A model generation system as claimed in claim 9, wherein the combination judgment unit judges that a correspondence is possible when the input item name of the certain search source model matches the output item name of the other search source model, when the input item name of the certain search source model and the output item name of the other search source model are synonyms, when there is a combination history between the input item name of the certain search source model and the output item name of the other search source model, or when it is determined that the input unit dimensional information of the certain search source model and the output unit dimensional information of the other search source model are similar.
11. A model generation system as claimed in claim 6, wherein the source models stored in the source model database include equations or inequalities having equality conditions, and the source model representing the equations or inequalities is defined such that one parameter of the equation or inequality is an output and the other parameters are an input.
12. A model generation system according to claim 6, wherein the source models stored in the source model database include inequalities, and the source model representing the inequalities is defined as having an output of a Boolean value indicating whether the inequality is satisfied or not, and as having all parameters as input.
13. A model generation method for generating a target model using a model generation system, the model generation system having a source model database for storing source models, and a model generation unit for generating the target model using a source model searched from the source model database, the model generation unit searching for a first source model having an output of the target model as its output, and a second source model having an input of the target model as its input, and when it is possible to associate the input of the first source model with the output of the second source model, combining the input of the first source model with the output of the second source model, and the model generation method including a trained machine learning model as a source model to be stored in the source model database.
14. A model generation method according to claim 13, wherein the model generation unit displays an input node indicating an input of the target model and a model connection diagram indicating the first source model and the second source model on a GUI screen, the model connection diagram connecting an input node of the target model to an input node indicating the input of the corresponding first source model or the second source model with an edge, and connecting an output node indicating an output of the second source model to an input node indicating the input of the corresponding first source model with an edge, when a connection by an edge in the model connection diagram is corrected on the GUI screen, corrects the connection between the input of the target model and the input of the first source model or the second source model, or the connection between the output of the second source model and the input of the first source model in accordance with the corrected connection.
Citation Information
Patent Citations
Medical image processing apparatus, system and program
JP2020101860A
Computer vision machine learning model execution service
US10453165B1
Candidate machine learning model identification and selection
WO2022161624A1
Speech recognition device, speech recognition method, learning device, learning method, and recording medium
WO2022185437A1
