Model generation system and model generation method
By combining the learned model and physical equations to generate the target model, the problems of insufficient data and high computing costs in machine learning are solved, and efficient model development and high-precision prediction are achieved.
Patent Information
- Application Number
- CN202380013038.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2024-11-01
AI Technical Summary
In machine learning, especially when using transfer learning methods, how to efficiently utilize past learning models, partial models and physical equations to reduce the data set preparation and computational costs required for model construction, especially in case of insufficient data Improve prediction accuracy.
Through the model generation system, multiple learned models and physical equations are combined to generate target models, and the source model database is used to search and combine the input and output of the learned models to establish correspondence relationships and form a new learning model to reduce data collection and Calculate the cost.
It realizes the improvement of development efficiency and prediction accuracy in model development, reduces learning costs, and can generate high-precision learning models in a short time, which is suitable for situations where data is insufficient.
Smart Images

Figure CN118891636A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a model generation system and a model generation method. Background Art
[0002] With the development of information processing technology in recent years, the use of machine learning technology is being promoted in various fields. Machine learning refers to a method / technology that constructs a learning model (also referred to as a "model") through experience such as a large amount of data or a certain rule, and uses the learning model to perform certain tasks.
[0003] Generally speaking, in machine learning, the more data used for learning (called "learning data" or "training data"), the more accurate the learned model can be. On the contrary, when there is less data, it is difficult to build a learned model with sufficient accuracy. For this reason, the following situation occurs: when building a learning model, a learned model with sufficient accuracy can be obtained when more learning data is obtained, but only a learned model with insufficient accuracy can be obtained when there is less learning data.
[0004] In the field of machine learning technology, there is transfer learning as a method for obtaining a high-precision model with less data. Transfer learning is a general term for the following technologies: by utilizing (transferring) a learned model made using other learning data, sufficient accuracy is achieved even when there is little learning data. In transfer learning, attempts are made to obtain a high-precision model by the following methods: directly reusing an existing learned model, or relearning the learned model as an initial value ("fine tuning", etc.), or using the learned model as a partial model (source model) and then incorporating it as part of the target model to construct a new model. For example, Patent Document 1 discloses a method for selecting a learned model for transfer learning.
[0005] Prior art literature
[0006] Patent Literature
[0007] Patent Document 1: Japanese Patent Application Publication No. 2021-182329 Summary of the invention
[0008] -Problems to be solved by the invention-
[0009] If the transfer learning method is used, it is expected that the preparation and calculation costs of the data set required for model construction can be reduced by using a previously produced learned model when constructing a large-scale and complex model.
[0010] On the other hand, with the advancement of manufacturing technology and the further improvement of machine learning technology, various learned models have been constructed. Therefore, the inventors have studied combining multiple learned models represented by black box models such as neural networks (NN) and aggregating them into one model to generate the desired learned model. In this way, the development efficiency (the amount of calculation and time spent on learning) can be ensured in model development, and a model with high prediction accuracy can be obtained. Furthermore, by training the learning model obtained by combining the learned models in this way (transfer learning), the prediction accuracy can be further improved.
[0011] The purpose of the present invention is to efficiently utilize past similar learned models, partial models, known physical equations, etc. to generate a learning model without omitting them, especially in the development of a new model using a transfer learning method.
[0012] -Methods for solving problems-
[0013] A model generation system according to one embodiment of the present invention is a model generation system for generating a target model, comprising: a source model database for storing source models; and a model generation unit for generating a target model using a source model retrieved from the source model database, the model generation unit comprising: a database retrieval unit for retrieving a first source model including the output of the target model as its output, and a second source model including the input of the target model as its input; and a combination judgment unit for combining the input of the first source model with the output of the second source model when a correspondence can be established between the input of the first source model and the output of the second source model, including a learned machine learning model as a source model stored in the source model database.
[0014] -Effects of the Invention-
[0015] The learning cost (data collection cost, calculation cost) required for model generation is reduced. Other issues and novel features will become apparent from the description of this specification and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a diagram for explaining the basic structure of the model generation system.
[0017] Figure 2 is an example of processing by a processing device predicted by a machine learning model.
[0018] Figure 3 This is an example of the model generated in Example 1.
[0019] Figure 4 This is an example of the hardware configuration of an information processing device.
[0020] Figure 5This is an example of the program and data stored in the storage device in Embodiment 1.
[0021] Figure 6 This is a flowchart showing the processing of generating a model by the model generating system in the first embodiment.
[0022] Figure 7 This is an example of a model generated in Example 2.
[0023] Figure 8 This is an example of the program and data stored in the storage device in Embodiment 2.
[0024] Fig. 9 This is a flowchart showing the processing of generating a model by the model generating system in the second embodiment.
[0025] Fig.10 This is an example of a model generated in Example 3.
[0026] Fig.11 This is an example of the program and data stored in the storage device in Embodiment 3. DETAILED DESCRIPTION
[0027] Hereinafter, embodiments of the present invention will be described using the accompanying drawings. However, the present invention is not to be construed as being limited to the contents of the embodiments shown below. It is easy for a person skilled in the art to understand that the specific structure can be changed without departing from the idea or purpose of the present invention. In addition, the position, size, and shape of each structure shown in the accompanying drawings in this specification are for easy understanding of the invention, and sometimes do not represent the actual position, size, and shape. Therefore, the present invention is not limited to the position, size, and shape disclosed in the accompanying drawings.
[0028] use Figure 1 The basic structure of the model generation system 10 of this embodiment is described. The model generation system 10 includes a model generation unit 11 and a source model database 12 .
[0029] The source model database 12 stores the source model used to construct the target model. The source model stored in the database 12 includes a machine learning model (hereinafter referred to as a learning model) that has been learned (trained) and an equation / inequality. The form of the machine learning model is not limited, including machine learning models such as neural networks (NN), gradient boosting trees, linear regression, and kernel ridge methods. In addition, the equation / inequality can be any equation / inequality that describes the phenomenon, such as Newton's equation of motion (F=ma), Langmuir's adsorption isotherm (K=Nθ / N(1-θ)p) and other equations, Chebyshev's inequality, Clausius's inequality and other inequalities. In addition, it can also be a user-defined equation or inequality. Among them, the equation stored in the source model database 12 uses one parameter of the equation as the output Y (target variable) and treats all the remaining parameters as input X (explanatory variables or constants) to uniquely determine the value of the target variable. The user can arbitrarily decide which parameter to set as output Y. In addition, the inequality stored in the source model database 12 can handle all parameters of the inequality as input X, and handle the information (Boolean value) of 1 or 0 that satisfies or does not satisfy the inequality as output Y. In the case where the inequality has an equality condition, it can also be handled in the same way as an equation, that is, one parameter can be handled as output Y.
[0030] The model generation unit 11 combines the learned models and equations / inequalities stored in the source model database 12. Each source model has one or more inputs X and outputs Y. The model generation unit 11 confirms the item names of the inputs X and outputs Y of different source models, and combines the inputs X and outputs Y when the item names can be associated with each other.
[0031] Figure 1 The example in which the learned models 15 to 17 are stored in the source model database 12 is shown. For example, the model generation unit 11 generates an output y of the learned model 15. 1,1 And the input x of the learned model 16 2,1 The same, so the output will be y 1,1 Combined with the input x2, 1. In addition, the model generation unit 11 cannot, for example, convert the output y of the learned model 15 1,1 The input x3,1 of the learned model 17 is associated with the output y 1,1 With input x 3,1 Combination. The case where the item names can be associated with each other in the model generation unit 11 includes a case where the item names match each other and a case where a certain correspondence relationship is confirmed between the item names. The specific method of determining whether or not to associate will be described later.
[0032] In addition, as a rule for combining of the model generation unit 11, one output Y of a source model can be combined with inputs X of a plurality of other source models, whereas one input X of a source model can only be combined with one output Y of another source model. Furthermore, it is basically impossible to combine inputs and outputs of a plurality of source models in a loop.
[0033] Example 1
[0034] In Example 1, an example of using a first learned model and a second learned model and using the model generation system of this embodiment to construct a model is shown, wherein the first learned model trains a machine learning model for predicting the processing results of the processing device based on data obtained by actually operating the processing device, and the second learned model is trained on the results obtained by simulating physical phenomena generated in the processing device using computer software.
[0035] like Figure 2 As shown, a product 23 is obtained by feeding a raw material 21 into a processing device 22. Here, the state of the product 23 depends on what kind of processing conditions are set for the processing device 22 from the control computer 24. Therefore, by comprehensively changing the processing conditions that can be set for the processing device 22, the raw material 21 is actually processed by the processing device 22, a large amount of learning data on what kind of product 23 is obtained under each processing condition is obtained, and a machine learning model (for example, a neural network model) is trained, thereby obtaining a learning model that predicts the state of the product with a certain accuracy according to the processing conditions.
[0036] However, it usually takes a long time for the processing device 22 to process the raw material 21, so it takes a long time to obtain a large amount of new learning data. Therefore, in the model generation system of this embodiment, the following method is described: using the insights and simulation techniques obtained in the past, a machine learning model that can predict the state of the product even without obtaining new learning data is obtained.
[0037] For example, Figure 3As shown, the user intends to construct a target model 33 with five control parameters, namely "gas pressure", "coil current", "power", "element ratio" and "voltage", which are independent processing conditions of the processing device 22, as inputs X, and "product state" of the product 23 as output Y. In addition, it is assumed 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 learned model trained with the product state of the product 23 as learning data, in which the three control parameters, namely "power", "element ratio" and "voltage" are comprehensively changed in addition to the "ion flow" in the processing device 22, and the processing device 22 processes the raw material 21, thereby obtaining the product state of the product 23. By setting a measuring instrument in the processing device 22, the ion flow in the device can be measured. Through past experiments, etc., the first source model 31 with four parameters, namely "ion flow", "power", "element ratio" and "voltage" as inputs X and "product state" as output Y is constructed and stored in the source model database 12. The second source model 32 is constructed using physical simulation technology regarding physical phenomena 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 learned model that uses four control parameters, namely "gas pressure", "coil current", "power", and "element ratio", as input X, and "ion flow rate" as output Y. Generally, the calculation time required for simulation is much shorter than the time actually required for the processing device 22 to process the raw material 21, and the cost involved in obtaining learning data can be reduced.
[0038] In this way, if physical simulation can be performed, a large amount of learning data can be prepared in a short time, so that a high-precision learning model can be generated using machine learning such as deep learning. Since training is performed using a large amount of learning data, it is expected that such a learning model can predict the output Y ("ion flow rate" in the case of the second source model 32) with high accuracy.
[0039] The model generation system 10 obtains a desired target model 33 by combining the first source model 31 and the second source model 32 .
[0040] The model generation system 10 includes the following Figure 4The processor (CPU) 41, memory 42, storage device 43, input device 44, output device 45, communication device 46, and bus 47 shown in the figure are implemented as the information processing device 40 of the main structure. The processor 41 functions as a functional unit (functional block) that provides a given function by executing processing according to the program loaded in the memory 42. In addition to storing the program that enables the functional unit to function, the storage device 43 also stores data used in the functional unit. The storage device 43 uses a non-volatile storage medium such as HDD (Hard Disk Drive) and SSD (Solid State Drive). The input device 44 is a keyboard, a pointing device, etc., and the output device 45 is a display, etc. The communication device 46 can communicate with other information processing devices via a network. They are connected to each other through the bus 47 so that they can communicate with each other.
[0041] In addition, the model generation system 10 does not need to be implemented by one information processing device, and may be implemented by a plurality of information processing devices. In addition, a part or all of the functions of the model generation system 10 may also be implemented as an application on the cloud.
[0042] Figure 5 Indicates the programs and data stored in the storage device 43. The model generation program 51 is loaded into the memory 42 and executed by the processor 41, thereby causing the processor 41 to function as the model generation unit 11. In addition, the model generation program 51 includes a database (DB) search program 52, a combination judgment program 53, and a model determination program 54 as subroutines. These subroutines are also loaded into the memory 42 and executed by the processor 41, thereby causing the processor 41 to function as a DB search unit, a combination judgment unit, and a model determination unit. In addition, the source model database 12 used by the model generation system is also stored in the storage device 43.
[0043] Figure 6 The flowchart showing the process of generating the target model 33 using the model generating system 10 is shown. First, the user sets the input item name and output item name of the target model to be generated (S01). Figure 3 In the example of , the names of five control parameters ("gas pressure", etc.) that become the input X of the model 33 and the parameter that becomes the output X ("product state") are set.
[0044] Next, the DB search unit searches 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 from the source model database 12 (S02). When there are multiple candidates, the user may be prompted with options to select, or the system may select a new model at the update time. Figure 3In the example, the search is for: a second source model 32 having "gas pressure" in the input item name and "ion flow" in the output item name; and a first source model 31 having "ion flow", "electricity" in the input item name and "product state" in the output item name.
[0045] Next, the combination judgment unit combines the input and output names of the source models (S03). Here, as a simple example, an example of combining when the input and output names are consistent with each other is shown. Figure 3 In the example of , the output item name "ion flow rate" of the second source model 32 coincides with the input item name "ion flow rate" of the first source model 31. Therefore, they are combined.
[0046] Next, the model determination unit displays the combined source model on the output device 45 (S04). Figure 3 The output device 45 displays the model combination diagram 35 of the model combination information as shown in the single-dot chain frame. In the model combination diagram 35, the input node representing the input X is displayed on the left side of each frame representing the source model, and the output node representing the output Y is displayed on the right side. Furthermore, the input node (processing condition) representing the input X of the target model is shown on the left side of the source model, and the combination of the input node of the target model with the corresponding input node of the source model and the combination of the corresponding nodes of the source model are displayed by the edge. In this way, in the display screen, by setting the GUI with a layout in which the input node is relatively located on the left side and the output node is relatively located on the right side, it is easy to confirm whether an inappropriate combination (for example, a loop connection, etc.) is not performed between the source models.
[0047] The user confirms the model combination diagram 35 displayed in the GUI screen (S05). If correction is required, the user manually corrects the edge of the model combination diagram 35 on the GUI screen to correct the combination of the input node of the target model and the source model or the source models with each other (S06). The situation that needs correction includes, for example, the situation that the combined nodes can be judged as inappropriate based on the user's domain knowledge. After that, the completed target model 33 is saved in the source model database 12 (S07).
[0048] The model 33 produced in this way is produced only using the learned model, and additional learning is not necessarily required. However, even if a small amount of learning data (here, a data set of processing conditions for the five control parameters of the target model 33 and the state of the product under the processing conditions) is obtained, it is recommended to use the learning data for additional training (called additional learning). Setting the weights of the original learned model to initial values and updating the weights through additional learning using a small amount of learning data is called fine-tuning. In general, it is known that the possibility of becoming a higher-precision learning model is increased by performing appropriate fine-tuning. When fine-tuning, hyperparameters such as the learning rate of each model can be appropriately set by the user.
[0049] Example 2
[0050] In the second embodiment, not only the learned models, equations, and inequalities but also the unlearned machine learning models are used as the source models. Figure 4 The information processing device 40 shown in the figure is used for implementation. Figure 8 Indicates the programs and data stored in the storage device 43. Figure 5 ), a machine learning program 81 for machine learning is also stored. The machine learning program 81 is loaded into the memory 42 and executed by the processor 41, thereby causing the processor 41 to function as a machine learning unit. In addition, the machine learning program 81 includes a model setting program 82 and a learning (training) program 83 as subroutines. These subroutines are also loaded into the memory 42 and executed by the processor 41, thereby causing the processor 41 to function as a model setting unit and a learning unit.
[0051] Figure 7 In the example of the embodiment 1, for the model 33 produced in the embodiment 1, in order to further improve the accuracy, a target model 70 with an additional input X (control parameter) is produced, and an unlearned machine learning model is used as a source model. Specifically, the input X of the target model 70 is the input X of the model 33 with the addition of the two control parameters "frequency" and "duty cycle".
[0052] exist Fig. 9 FIG. 1 is a flowchart showing a process of generating a target model 70 using the model generating system 10. Figure 6 The same processing is marked with the same reference numerals and repeated descriptions are omitted. The following description will focus on the differences. First, the user sets the input item name and output item name of the target model to be created (S01). Figure 7 In the example of , the names of seven control parameters (such as "gas pressure") that become input X of the target model 70 and the parameter ("product state") that becomes output X are set.
[0053] Next, the user specifies the learning data used in the learning (training) of the model (S11). Since this example is a regression problem, the seven control parameters that become the input X of the target model 70 are comprehensively changed to make the processing device 22 process the raw material 21, and the product state of the product 23 obtained thereby is used as the learning data. The learning data as a combination of the seven control parameters and the product state is provided in the format of a csV file, for example. Thereafter, step S02 and step S13 are implemented in parallel.
[0054] In step S02, the DB search unit searches the source model database 12 to search for the model 33. In step S03, the combination determination unit combines the input and output names of the source model. In this example, the model retrieved from the source model database 12 is one, but when two or more models are retrieved, the same processing as in Example 1 is performed.
[0055] Next, the model determination unit displays the combined source model on the output device 45 (S04). Figure 7 The model combination diagram 75 of the model combination information as shown in the single-dot dashed line frame, but at this moment, only the retrieved source model 33 is displayed on the output device 45, and the "frequency" node and the "duty cycle" node are not connected to anywhere.
[0056] The user confirms the model combination diagram 75 displayed on the GUI screen (S05), and since there are unconnected processing conditions, the model combination diagram 75 is manually corrected on the GUI screen (S06). Here, two unlearned models 71 and 72 are added, and the source models are combined with each other in accordance with the desired target model 70. In addition, the method of adding and combining unlearned models is not limited to Figure 7 Example.
[0057] Next, the machine learning unit performs learning of a model (referred to as a “combined model”) that is a combination of the source model 33 and the unlearned models 71 and 72 using the learning data designated in step S11 ( S12 ).
[0058] The model setting unit allows the user to define the input and output and set the hyper parameters of the unlearned models 71 and 72 added on the GUI screen. For example, when a neural network (NN) model is used as the unlearned model, various hyper parameters including the number of layers and the number of nodes can also be directly set in detail by the user, or can also be automatically determined by a program that performs Bayesian optimization. In addition, when performing Bayesian optimization, the range of optimization can also be set in detail.
[0059] The learning unit learns the combined model through the learning data. When learning (training) the combined model, for example, when it is determined that the accuracy of the source model 33 is high to a certain extent, or when the amount of learning 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 weighting inside the source model 33 during the learning in step S12. In such a case, the user turns on the lock icon 73 displayed on the upper right of the corresponding source model on the GUI screen. When the lock icon 73 of the source model 33 is turned on during the learning of the combined model, the learning unit does not update the weighting. This state is called "source fixed mode".
[0060] On the other hand, when the lock icon 73 is closed, the learning unit updates the combined model including the weight 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.
[0061] On the other hand, the machine learning unit constructs a model (called 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. The learning unit learns the standard model through learning data.
[0062] In addition, the learning of the model using the learning 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).
[0063] If the learning of the standard model and the combined model is completed, the model determination unit compares the cross validation (CV) results performed by the learning unit using a part of the learning data in the learning of the two models (S14). The model determination unit determines which model is capable of making a higher-precision prediction based on the CV value, selects the model determined to have a higher precision as the target model 70, and saves it in the source model database 12 (S07).
[0064] Example 3
[0065] Embodiment 3 is an example of constructing a model including more processing conditions as input X, and describes an example of utilizing the physical equations stored in the source model database 12. In addition, a method of combining nodes whose item names are not completely the same is also described. The model generation system 10 of Embodiment 3 is also described by Figure 4 The information processing device 40 shown in the figure is used for implementation. Fig.11 Indicates the programs and data stored in the storage device 43. Figure 8), a synonym dictionary 112 and a node combination history record 113 are also stored. In addition, the combination judgment program 53 includes a text mining program 111 as a subroutine. The text mining program 111 is also loaded into the memory 42 and executed by the processor 41, thereby making the processor 41 function as a text mining unit.
[0066] Fig.10 In order to further improve the accuracy, a model with an additional input X (control parameter) is created compared to the model created in Example 2, and an unlearned 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 the input X of the model 70 with the addition of two control parameters "temperature" and "processing time".
[0067] These two control parameters are added based on the user's domain knowledge. For example, it is assumed that the longer the treatment time, the more it will have a certain effect on the product state that is proportional to time. Furthermore, if the reaction rate of the chemical reaction that is assumed to occur during the treatment is known, it can be inferred that the product of the reaction rate and the treatment time has a great effect on the product state.
[0068] Processing and use of model generation system 10 to generate models Fig. 9 The flowchart shown is the same as that shown in FIG. The description will be centered on the feature points. First, the user sets the input item name and output item name of the target model to be created (S01). Fig.10 In the example, the names of the 9 control parameters (such as "gas pressure") that become the input X of the desired target model and the parameters (such as "product state") that become the output X are set. In the next step S02, the DB search unit searches the source model database 12 to search the first source model 31 and the second source model 32. In step S03, the combination judgment unit combines the first source model 31 with the second source model 32. In step S04, the model determination unit displays the combined source model on the output device 45. In Example 3, the output device 45 also displays the source model containing Fig.10 The model combination diagram 105 shows the model combination information as shown in the single-dot dashed box, but at this moment, only the retrieved source models 31 and 32 are displayed on the output device 45, and the "temperature" node, "processing time" node, "frequency" node, and "duty cycle" node are not connected to anywhere.
[0069] The user confirms the model combination diagram 105 displayed on the GUI screen (S05). Since there are unconnected processing conditions, the model combination diagram 105 is manually corrected on the GUI screen (S06). First, as in Example 2, two unlearned models 103 and 104 are added, and the source models are combined with each other in accordance with the desired target model. At this stage, the "temperature" node and the "processing time" node remain unconnected.
[0070] As described above, it is considered that when the user constructs a model for predicting the state of the product, he or she may want to use the concept of "processing time" as one of the processing conditions and the concept of "reaction rate" of the chemical reaction during the processing based on the domain knowledge related to the processing device 22. Fig.10 The two parameters "reaction speed" and "processing time" are manually fixed in the input items of the final stage unlearned model 104. "Processing time" is one of the parameters of the input X of the target model, but "reaction speed" is an intermediate node that is neither an input node nor an output node of the target model.
[0071] At this moment, since the "temperature" node and the "reaction rate" node remain as unconnected nodes, the user searches for source models with these item names in the source model database 12. As a result, the Arrhenius formula of the physical equation (reaction rate k = Aexp (-E / RT)) is displayed on the GUI screen as a source model candidate. The Arrhenius formula is a general relationship (formula) that represents the correlation between the parameters of "reaction rate", "temperature", "concentration", and "activation energy (activation E)". When the equation is used as a source model, it is necessary to assign any one parameter to the output Y and assign the other parameters as input X. Therefore, the source model 101 based on the Arrhenius formula is a source model with "reaction rate" as the output Y and "temperature", "concentration", and "activation E" as the input X. As a result, the connection determination unit connects the "temperature" node in the input X of the source model 101 with the "temperature" node as the processing condition, and connects the "reaction speed" node as the output Y of the source model 101 with the input node to which the "reaction speed" is assigned of the unlearned model 104. As a result, the "concentration" node and the "activation E" node in the input X of the source model 101 remain as unconnected.
[0072] Since all input nodes of the source model must be connected to a certain node, the combination judgment unit starts the text mining program 111. The text mining unit retrieves the synonym dictionary 112 or the node combination history 113, and automatically performs a search related to "concentration" and "activation E". For example, assume that in the node combination history 113, there was a history of manually combining the "concentration" node and the "pressure" node based on the field knowledge that "the higher the pressure, the higher the collision frequency of gas molecules, and the local molecular concentration related to the chemical reaction actually increases." The combination judgment unit combines the "concentration" node and the "gas pressure" node based on the above information retrieved by the text mining unit. On the other hand, regarding the "activation E" node of the source model 101, since the automatic combination of the combination judgment unit is not performed, the constant node 102 is set, and the combination correction between the source models is ended by inputting the constant from the constant node 102 to the source model 101.
[0073] Here, an example of searching the synonym dictionary 112 and the node connection history 113 in the search for the connection target is shown, but it is also useful to use the dimension information of the unit assigned to each node to infer the connection target. For example, if it is pressure (Pa), it is possible to use the SI unit system such as m -1 kg s -2 In the case of such expression, the similarity or dissimilarity between the units can be evaluated. Furthermore, an item correspondence table storing item names of nodes that are previously permitted by the user may be provided.
[0074] In addition, not only the connection target can be searched, but also the similarity of the node name and the connection history can be included in the search of the source model database 12 (step S02). In this case, many source models are searched, so it is preferable to give priority based on the number of corresponding variables and present it to the user.
[0075] The above describes a plurality of embodiments of the model generation system. As long as the combination does not cause contradiction, the plurality of components disclosed in the above embodiments can be appropriately combined. Furthermore, some components can be deleted from all the components shown in the above embodiments.
[0076] -Description of Reference Numerals-
[0077] 10: Model generation system, 11: Model generation unit, 12: Source model database, 15-17: Learning completed model, 21: Raw material, 22: Processing device, 23: Product, 24: Control computer, 31: First source model, 32: Second source model, 33: Model, 35: Model combination 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, 52: Database search program, 53: Combination judgment program, 54: Model determination program, 70: Model, 71, 72: Unlearned model, 73: Lock icon, 75: Model combination diagram, 81: Machine learning program, 82: Model setting program, 83: Learning program, 101: Source model, 102: Constant node, 103, 104: Unlearned model, 105: Model combination diagram, 111: Text mining program, 112: Synonym dictionary, 113: Node combination history.
Claims
1. A model generation system, generating a target model, characterized in that: The model generation system has: A source model database storing source models; and a model generating unit that generates the target model using the source model retrieved from the source model database, The model generation unit comprises: a database search unit that searches for a first source model including the output of the target model as its output and a second source model including the input of the target model as its input; and The combination determination unit combines the input of the first source model with the output of the second source model when the correspondence between the input of the first source model and the output of the second source model can be established, The machine learning model that has been learned is included as a source model stored in the source model database.
2. The model generation system according to claim 1, characterized in that: The model generation unit includes a model determination unit. The model determination unit displays an input node representing an input of the target model and a model combination diagram representing the first source model and the second source model on a GUI screen, The model combination graph connects the input nodes of the target model with the input nodes representing the corresponding inputs of the first source model or the second source model through edges, and connects the output nodes representing the outputs of the second source model with the input nodes representing the corresponding inputs of the first source model through edges, When the model determination unit corrects the edge-based connection of the model combination graph in the GUI screen, the model determination unit corrects the combination of the input of the target model with the input of the first source model or the second source model, or the combination of the output of the second source model with the input of the first source model, according to the corrected connection.
3. The model generation system according to claim 2, characterized in that: The combination determination unit determines that a correspondence can be established when the input item name of the first source model is consistent with 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 combination 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 dimensional information of the unit of the input of the first source model is similar to the dimensional information of the unit of the output of the second source model.
4. The model generation system according to claim 1, characterized in that: The source model stored in the source model database includes an equation or an inequality with an equal sign condition. The source model representing the equation or the inequality defines one parameter of the equation or the inequality as an output and defines the other parameters as inputs.
5. The model generation system according to claim 1, characterized in that: As a source model stored in the source model database, including inequalities, The source model representing the inequality defines a Boolean value representing whether the inequality is satisfied or not as an output, and defines all parameters as inputs.
6. A model generation system for generating a target model, characterized in that: The model generation system has: Source model database, which stores source models; a model generating unit, which generates the target model according to the source model retrieved from the source model database; and Machine Learning Department, conducts machine learning, The model generation unit includes: a database search unit that searches for a first source model that includes the output of the target model as its output and a second source model that includes the input of the target model as its input; and a model determination unit. The model determination unit includes an input node representing an input of the target model and one or more search source models retrieved by the database search unit, and displays a model combination graph in which corresponding input nodes are connected to each other or an output node of a search source model is connected to corresponding input nodes of other search source models through edges on a GUI screen. The model determination unit determines a combined model that is a combination of the input of the target model, the retrieval source model, and the unlearned model based on the corrected connection when the connection of the model combination graph is corrected to add an unlearned model to the GUI screen. The machine learning unit trains the combined model using learning data corresponding to input and output of the target model.
7. The model generation system according to claim 6, characterized in that: 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. The model generation system according to claim 6, characterized in that: The machine learning unit sets a standard model and uses the learning data to train the standard model, wherein the standard model is a machine learning model that takes the input of the target model as input and the output of the target model as output, The model determination unit selects either the combined model or the standard model as the target model.
9. The model generation system according to claim 6, characterized in that: The model generation unit includes a combination judgment unit, The retrieval source model includes: a first source model including the output of the target model as its output; and a second source model including the input of the target model as its input. The combination determination unit combines the input of the first source model with the output of the second source model when the input of the first source model and the output of the second source model can be associated with each other. The model combination graph connects the input nodes of the target model with the input nodes representing the corresponding inputs of the first source model or the second source model through edges, and connects the output nodes representing the outputs of the second source model with the input nodes representing the corresponding inputs of the first source model through edges, When the model determination unit corrects the edge-based connection of the model combination graph in the GUI screen, the model determination unit corrects the combination of the input of the target model with the input of the first source model or the second source model, or the combination of the output of the second source model with the input of the first source model, according to the corrected connection.
10. The model generation system according to claim 9, characterized in that: In the case where the input item name of the certain retrieval source model is consistent with the output item name of the other retrieval source model, in the case where the input item name of the certain retrieval source model and the output item name of the other retrieval source model are synonyms, in the case where there is a combination history between the input item name of the certain retrieval source model and the output item name of the other retrieval source model, or in the case where it is determined that the dimensional information of the input unit of the certain retrieval source model is similar to the dimensional information of the output unit of the other retrieval source model, the combination judgment unit determines that the correspondence can be established.
11. The model generation system according to claim 6, characterized in that: The source model stored in the source model database includes an equation or an inequality having an equality condition. The source model representing the equation or the inequality defines one parameter of the equation or the inequality as output and defines the other parameters as input.
12. The model generation system according to claim 6, characterized in that: As a source model stored in the source model database, including inequalities, The source model representing the inequality defines a Boolean value representing whether the inequality is satisfied or not as an output, and defines all parameters as inputs.
13. A model generation method, using a model generation system to generate a target model, characterized in that: The model generation system has: A source model database storing source models; and a model generating unit that generates the target model using the source model retrieved from the source model database, The model generation unit performs the following processing: retrieving a first source model including the output of the target model as its output, and a second source model including the input of the target model as its input, In the case where the correspondence between the input of the first source model and the output of the second source model can be established, the input of the first source model and the output of the second source model are combined, The machine learning model that has been learned is included as a source model stored in the source model database.
14. The model generation method according to claim 13, characterized in that: The model generation unit performs the following processing: An input node representing an input of the target model and a model combination graph representing the first source model and the second source model are displayed on a GUI screen, wherein the model combination graph connects the input node of the target model with the input node representing the corresponding input of the first source model or the second source model through an edge, and connects the output node representing the output of the second source model with the input node representing the corresponding input of the first source model through an edge, In the GUI screen, when the edge-based connection of the model combination graph is corrected, the combination of the input of the target model with the input of the first source model or the second source model, or the combination of the output of the second source model with the input of the first source model is corrected according to the corrected connection.
