OPTIMAL SOLUTION ACQUISITION PROGRAM, OPTIMAL SOLUTION ACQUISITION METHOD, AND INFORMATION PROCESSING APPARATUS
By training a variational autoencoder with objective functions and variables, the method addresses the challenge of complex solution spaces by determining search ranges based on data density, thereby reducing search time and improving accuracy in finding optimal solutions.
Patent Information
- Application Number
- JP2020107713
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-06-23
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-06-23
AI Technical Summary
Existing optimization methods struggle with complex solution spaces, particularly multimodal spaces, leading to increased search time and potential inability to find optimal solutions due to unknown distribution of inference accuracy in latent spaces.
A variational autoencoder (VAE) is trained using objective functions and variables, allowing for the determination of a search range based on the distribution of training data in the latent space to efficiently find optimal solutions.
This approach significantly reduces the time required to obtain accurate optimal solutions by focusing on data density in the latent space, ensuring high inference accuracy and excluding areas with sparse data.
Smart Images

Figure 0007540209000011 
Figure 0007540209000016 
Figure 0007540209000024
Abstract
Description
[Technical field]
[0001] The present invention relates to an optimal solution acquisition program, an optimal solution acquisition method, and an information processing device. [Background technology]
[0002] Conventionally, optimization problems have been known in which the best solution (optimal solution) is sought for a measure of desirability (objective function) under given conditions (constraint conditions). In general, if there is no interaction between variables, it is relatively easy to find the optimal solution for the objective function, regardless of the optimization method used. However, in many problems, there are interactions between variables that are not quantitatively known, so the solution space, which is the surface of the objective function formed by the set of combinations of variables, is multimodal with multiple peaks and valleys. For this reason, in recent years, techniques such as mathematical programming, metaheuristics such as simulated annealing and genetic algorithms, and response surface methodology have been used to reduce the number of searches and quickly obtain the optimal solution. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-8499 A [Patent Document 2] JP 2010-146068 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the effect of speeding up the process by the above-mentioned technology depends on the complexity of the solution space, and in the case of a complex solution space, the number of searches and capture of local solutions increases, and optimization takes a huge amount of time. For example, in a solution space where it is unknown whether an optimum exists, such as a multi-peaked space, it takes a huge amount of time, and it may not be possible to reach the optimal solution in the first place.
[0005] In one aspect, an object of the present invention is to provide an optimal solution acquisition program, an optimal solution acquisition method, and an information processing device that can shorten the time required to acquire an optimal solution. [Means for solving the problem]
[0006] In a first proposal, the optimal solution acquisition program causes a computer to execute a process of learning a variational autoencoder using a plurality of training data including an objective function. The optimal solution acquisition program causes a computer to execute a process of inputting the plurality of training data into a trained variational autoencoder and identifying a distribution of the plurality of training data in a latent space of the trained variational autoencoder. The optimal solution acquisition program causes a computer to execute a process of determining a search range for an optimal solution of the objective function according to the distribution of the plurality of training data, and acquiring an optimal solution of a desired objective function using training data included in the determined search range. Effect of the Invention
[0007] In one aspect, the time required to obtain an optimal solution can be reduced. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an information processing apparatus according to a first embodiment. [Diagram 2] Figure 2 is a diagram explaining machine learning of the VAE according to the reference technology. [Diagram 3] FIG. 3 is a diagram for explaining how an optimal solution is obtained according to the reference technique. [Figure 4] FIG. 4 is a diagram for explaining how an optimal solution is obtained according to the reference technique. [Diagram 5] FIG. 5 is a diagram for explaining the problem of the reference technology. [Figure 6] FIG. 6 is a functional block diagram of the information processing device according to the first embodiment. [Figure 7] FIG. 7 is a diagram illustrating an example of generating training data. [Figure 8] FIG. 8 is a diagram illustrating an example of generating a set of objective functions. [Figure 9] FIG. 9 is a diagram for explaining an example of generating a set of characteristic values. [Figure 10] FIG. 10 is a diagram for explaining an example of visualization of a set of variables. [Figure 11] FIG. 11 is a diagram for explaining an example of visualization of a set of objective functions. [Figure 12] FIG. 12 is a diagram for explaining an example of imaging a set of characteristic values. [Figure 13] FIG. 13 is a diagram for explaining the learning of the VAE. [Figure 14] FIG. 14 is a diagram for explaining the density of training data. [Figure 15] FIG. 15 is a diagram for explaining how the optimal solution is obtained. [Figure 16] FIG. 16 is a flowchart showing the overall process flow. [Figure 17] FIG. 17 is a flowchart showing the flow of the training data generation process. [Figure 18] FIG. 18 is a flowchart showing the flow of the process of acquiring the optimal solution. [Figure 19] FIG. 19 is a diagram for explaining calculation of a set of objective functions, variables, and characteristic values. [Figure 20] FIG. 20 is a diagram showing a circuit diagram used in a specific example. [Figure 21] FIG. 21 is a diagram explaining the structure and loss of the VAE that generates the latent space. [Figure 22] FIG. 22 is a diagram illustrating the distribution of validation data in the latent space. [Figure 23] FIG. 23 is a diagram illustrating a restored image of the learning data. [Figure 24] FIG. 24 is a diagram illustrating a restored image of a nodal waveform in a latent space. [Diagram 25] FIG. 25 is a diagram illustrating a reconstructed image of parameters and power efficiency in the latent space. [Figure 26]FIG. 26 is a diagram illustrating the distribution of the Lm parameter in the latent space. [Figure 27] FIG. 27 is a diagram illustrating the distribution of the Lr parameter in the latent space. [Figure 28] FIG. 28 is a diagram illustrating the distribution of the Cr parameter in the latent space. [Figure 29] FIG. 29 is a diagram illustrating the distribution of power efficiency in the latent space. [Diagram 30] FIG. 30 is a diagram illustrating the power efficiency distribution and random sampling. [Diagram 31] FIG. 31 is a diagram for explaining the simulation values and the estimated values of the power efficiency distribution. [Diagram 32] FIG. 32 is a diagram for explaining the error between the estimated value and the simulation value. [Diagram 33] FIG. 33 is a diagram illustrating a comparison of the power efficiency between the estimated value and the simulated value. [Diagram 34] FIG. 34 is a diagram for explaining how the optimal solution is obtained. [Diagram 35] FIG. 35 is a diagram illustrating an example of a hardware configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments of the optimal solution acquisition program, the optimal solution acquisition method, and the information processing device disclosed in the present application will be described in detail with reference to the drawings. Note that the present invention is not limited to these embodiments. In addition, each embodiment can be appropriately combined within a range that does not cause inconsistency. EXAMPLES
[0010] [Description of information processing device] Fig. 1 is a diagram illustrating an information processing device 10 according to a first embodiment. The information processing device 10 illustrated in Fig. 1 is an example of a computer device that learns a learning model using a variational autoencoder (VAE) and obtains an optimal solution to a measure (objective function) desired by a user.
[0011] VAE learns the features of input data by compressing the dimensions of the input data into a latent space. In doing so, it has the characteristic of concentrating and arranging data with high similarity at an arbitrary point in the latent space. Focusing on this characteristic, it is considered to train VAE by providing the training data of VAE with an objective function corresponding to the correct answer information, and variables and characteristic values that are examples of parameters that affect the objective function.
[0012] FIG. 2 is a diagram for explaining machine learning of the VAE according to the reference technology. As shown in FIG. 2, the reference technology performs normalization and visualization on training data including an objective function, variables 1 to n, and characteristics 1 to n to generate an input dataset of images, inputs the input dataset to an encoder of the VAE, and performs compression of the features. Then, the reference technology inputs the compressed features to a decoder of the VAE to restore an output dataset from the features, and performs decoding and restoration on the output dataset to obtain the objective function, variables 1 to n, and characteristics 1 to n. At this time, in the reference technology, machine learning is performed on the encoder and the decoder so that the input dataset and the output dataset match. That is, machine learning is performed on the neural network used in the encoder and the decoder.
[0013] Here, in the reference technology, it is considered that an optimal solution of the objective function desired by a user is obtained by inference using a trained VAE that has been machine-learned using the above training data including the objective function. Note that, as an example, the acquisition of an optimal solution that maximizes the objective function will be described here.
[0014] Figures 3 and 4 are diagrams explaining how the reference technology obtains the optimal solution. As shown in Figure 3, in the reference technology, training data (Data-1 to Data-n) are input to the encoder of a trained VAE to obtain latent variables (Z-1 to Zn). Note that the latent variable generated from the training data Data-1 is Z-1, the latent variable generated from the training data Data-2 is Z-2, and the latent variable generated from the training data Data-n is Zn.
[0015] Here, in the reference technology, a solution space (high and low parts of the objective function are concentrated) in which highly similar objective functions are concentrated is constructed using the latent space of the trained VAE. As shown in Fig. 4, the reference technology identifies the latent variable that maximizes the objective function in the solution space, and inputs the latent variable to the decoder of the trained VAE to restore it.
[0016] In this way, in the reference technology, any point in the latent space is given as the input to the decoder of the trained VAE, and the "variables, characteristic values" that give the optimal value of the objective function are obtained by inference using the decoder of the trained VAE, making it possible to quickly obtain an optimal solution even in the case of a complex solution space.
[0017] However, in the latent space, the distribution of the inference accuracy of the decoder corresponding to an arbitrary point is unknown, such as non-uniform, local variation, and partial region distribution, and therefore an accurate optimal solution may not be obtained. FIG. 5 is a diagram for explaining the problems of the reference technology. As shown in FIG. 5, in the reference technology, an arbitrary point at which the objective function is maximized is extracted from the distribution of the objective function in the latent space of the trained VAE. However, when considering the distribution of the inference accuracy of the decoder in the latent space of the trained VAE, the extracted arbitrary point may fall into an area with low inference accuracy, and in this case, the optimal solution restored based on the arbitrary point may not be accurate. In general, since the distribution of the inference accuracy of the decoder is unknown, it may be difficult for the reference technology to accurately obtain an optimal solution.
[0018] Therefore, the information processing device 10 according to the first embodiment trains a VAE using multiple training data including an objective function, and then inputs the multiple training data to the trained VAE to identify the distribution of the multiple training data in the latent space of the trained VAE. Then, the information processing device 10 determines a search range for an optimal solution of the objective function according to the distribution of the multiple training data, and obtains an optimal solution of the desired objective function using the training data included in the determined search range.
[0019] That is, the information processing device 10 maps latent variables corresponding to training data to the latent space (distribution of objective function) of the trained VAE. Then, focusing on the fact that the inference accuracy of the decoder of the trained VAE is low in an area where the distribution of training data is sparse and high in an area where the distribution of training data is dense, the information processing device 10 determines whether or not an optimal solution candidate can be adopted at any point in the latent space based on the density of the distribution of training data in the neighboring area. As a result, the information processing device 10 can shorten the time required to obtain an optimal solution and can obtain an accurate optimal solution.
[0020] [Function configuration] 6 is a functional block diagram showing a functional configuration of the information processing device 10 according to the first embodiment. As shown in FIG. 6, the information processing device 10 includes a communication unit 11, a storage unit 12, and a control unit 20.
[0021] The communication unit 11 is a processing unit that controls communication with other devices, such as a communication interface, etc. For example, the communication unit 11 receives a request to start each process from the manager's terminal, and transmits the learning result, the result of obtaining the optimal solution, etc. to the manager's terminal.
[0022] The storage unit 12 is a processing unit that stores data, programs executed by the control unit 20, etc., and is realized by, for example, a memory, a hard disk, etc. For example, the storage unit 12 stores a data DB 13 and a training data DB 14.
[0023] The data DB 13 is a database that stores learning data from which training data is generated. For example, the data DB 13 stores sensing data sensed by various sensors and various data input by an administrator.
[0024] The training data DB 14 is a database that stores training data used for learning the VAE. For example, the training data DB 14 stores training data generated from data stored in the data DB 13 by a training data generating unit 21 (described later).
[0025] The control unit 20 is a processing unit that controls the entire information processing device 10, and is realized by, for example, a processor. The control unit 20 has a training data generation unit 21, a learning unit 22, a set generation unit 23, and an acquisition unit 24. The training data generation unit 21, the learning unit 22, the set generation unit 23, and the acquisition unit 24 are realized by electronic circuits included in the processor, processes executed by the processor, and the like.
[0026] The training data generation unit 21 is a processing unit that generates training data using the data stored in the data DB 13. Specifically, the training data generation unit 21 identifies an objective function, variables, and characteristic values from the data stored in the data DB 13, generates image data corresponding to each of the objective function, variables, and characteristic values in order to input them to the VAE, and stores them in the training data DB 14 as training data.
[0027] Fig. 7 is a diagram for explaining an example of generating training data. As shown in Fig. 7, the training data generating unit 21 sets the variation range of each variable (such as Π) such as the objective function, the variable, and the characteristic value, and generates a set of variables. In the set of variables, k indicates the number of training data, m indicates the number of variables, and q indicates the dimension of the variable data.
[0028] Next, the training data generation unit 21 generates a set of objective functions (Γ) and a set of characteristic values (Λ) for the set of variables by numerical calculation, measurement, etc. In the set of objective functions, n indicates the number of objective functions, r indicates the dimension of the objective function data, and in the set of characteristic values, o indicates the number of characteristic values, and s indicates the dimension of the characteristic value data.
[0029] Then, the training data generator 21 visualizes the set of variables, the set of objective functions, and the set of specific values, respectively, to generate sets of imaging variables, imaging objective functions, and imaging characteristic values, and generates these sets as training data, where t indicates the dimension of the imaging variables, u indicates the dimension of the imaging objective function, and v indicates the dimension of the imaging characteristic values.
[0030] (Example of training data generation) Here, a specific example of the generation of the above-mentioned training data will be described with reference to Figs. 8 to 12. Here, as an example, the optimization of design parameters in circuit design will be described. Fig. 8 is a diagram for explaining an example of generating a set of objective functions. Fig. 9 is a diagram for explaining an example of generating a set of characteristic values. Fig. 10 is a diagram for explaining an example of visualizing a set of variables. Fig. 11 is a diagram for explaining an example of visualizing a set of objective functions. Fig. 12 is a diagram for explaining an example of visualizing a set of characteristic values.
[0031] First, the training data generation unit 21 generates a set of variables, a set of objective functions, and a set of characteristic values. Specifically, as shown in Fig. 8, the training data generation unit 21 generates n "combinations of circuit element parameters (inductance, capacitance)" as a set of variables. Then, the training data generation unit 21 inputs the set of variables into a circuit simulator such as LTspice (registered trademark), and generates n combinations of "power efficiency, power loss" as a set of objective functions.
[0032] Similarly, as shown in FIG. 9, the training data generation unit 21 inputs a set of variables, "combinations 1 to n of circuit element parameters (inductance, capacitance)," into a circuit simulator or the like, and generates n combinations of "time-series voltage waveforms (hereinafter sometimes simply referred to as "voltage waveforms") and time-series current waveforms (hereinafter sometimes simply referred to as "current waveforms")" as a set of characteristic values.
[0033] Next, the training data generation unit 21 visualizes the set of variables, the set of objective functions, and the set of characteristic values, respectively, to generate visualized variables, visualized objective functions, and visualized characteristic values. Specifically, as shown in Fig. 10, the training data generation unit 21 visualizes each of n inductances 1 to n, which are one of the variables, by setting image density according to the value of the variable. The capacitance, which is another variable, is also visualized in a similar manner.
[0034] 11, the training data generating unit 21 visualizes each of the n power efficiencies 1 to n, which are one of the objective functions, by setting image density according to the value of the objective function. Note that the power loss, which is the other objective variable, is visualized in a similar manner.
[0035] 12, the training data generating unit 21 visualizes each of the n voltage waveforms 1 to n, which are one of the characteristic values, so that each waveform is shown. The current waveform, which is another objective variable, is also visualized in the same manner.
[0036] Returning to FIG. 6, the learning unit 22 is a processing unit that learns the VAE using the training data stored in the training data DB 14. Specifically, the learning unit 22 inputs the training data, "imaging variables, imaging objective function, and imaging characteristic values," to the VAE and learns the VAE. Then, when the learning is completed, the learning unit 22 stores the trained VAE or various parameters constituting the trained VAE in the storage unit 12 as the learning result. The timing to end the learning can be set arbitrarily, such as when learning using a predetermined number of training data or more is completed or when the restoration error becomes less than a threshold value.
[0037] Here, the VAE to be learned will be described. FIG. 13 is a diagram for explaining the learning of the VAE. In the explanation of FIG. 13, vectors such as X may be simply written as X as necessary. As shown in FIG. 13, the VAE has an encoder and a decoder. When input data (vector X) is input, the encoder generates parameters μ (vector) and Σ (vector) of a normal distribution to which the latent variable z follows. That is, the encoder compresses the features of the input data (vector X) to output the mean μ and variance Σ of an N-dimensional Gaussian distribution, and obtains the latent variable Z by sampling based on these two. The decoder restores the input data from the sampled latent variables. Then, the VAE adjusts the weights of the neural networks of the encoder and the decoder by error backpropagation using the difference between the input data and the restored data.
[0038] Specifically, (1) in Figure 13 shows the n-dimensional standard normal distribution N n (2) in Figure 13 is the element-by-element product (Hadamard product) of two vectors, and the vector Z is an n-dimensional normal distribution N with mean μ and variance Σ. n It is equivalent to an n-dimensional vector randomly sampled from (vector μ, vector Σ).
[0039] Also, D in (3) of Figure 13 KL (P||Q) is the Kullback-Leipler distance (hereinafter sometimes referred to as KL distance) between two probability distributions P and Q, and is a measure of the difference between P and Q. The KL distance is zero only when P and Q are perfectly identical, and is a positive value otherwise. By minimizing the regularization loss, images with high similarity are decoded to nearby points in the latent space. In (4) of Figure 13, the squared sum error or cross entropy error between the input X and the output X' is used as an approximation of the restoration loss. In the circuit design example described later, the cross entropy error is used. Note that E[A] represents the expected value of A.
[0040] In the VAE designed in this way, the set of training data ζ={X1,X2,...X n}, the encoder and decoder parameters are trained to minimize the loss. The encoder and decoder are composed of a hierarchical neural network (NN). The process of adjusting the weight and bias parameters of the NN to minimize the loss is the VAE learning process.
[0041] 6, the set generation unit 23 is a processing unit that generates a sampling set by using the trained VAE. Specifically, the set generation unit 23 inputs each training data to the trained VAE, specifies the distribution of each training data in the latent space of the trained VAE, and determines the search range for the optimal solution of the objective function according to the distribution of each training data.
[0042] FIG. 14 is a diagram for explaining the density of training data. As shown in FIG. 14, the set generation unit 23 maps latent variables corresponding to each of a plurality of training data generated by the encoder of the trained VAE in response to input of a plurality of training data to the latent space of the encoder of the trained VAE. That is, the set generation unit 23 identifies the distribution of each training data in the latent space by mapping the distribution of the objective function of each training data in the latent space of the trained VAE to the latent variables corresponding to each training data. Then, the set generation unit 23 determines the density of the training data in the latent space, and generates each training data belonging to a dense area as a sampling set.
[0043] As an example, the set generation unit 23 selects a plurality of arbitrary points that satisfy a predetermined condition, such as a value of an objective function being equal to or greater than a threshold value, in the distribution of each training data in the latent space. Next, for each selected arbitrary point, the set generation unit 23 counts the number of training data that exist within a certain distance range (each region) from the arbitrary point as the center. Then, the set generation unit 23 can determine the region with the largest number of training data as the search range. The set generating unit 23 can also determine, as the search range, an area in which the density of the training data is equal to or greater than a threshold value.
[0044] The acquisition unit 24 is a processing unit that acquires an optimal solution of the objective function using the trained VAE. For example, the acquisition unit 24 restores each set of imaging variables, imaging objective function, and imaging characteristic values from the sampling set by decoding the sampling set generated by the set generation unit 23 using the trained VAE. Then, the acquisition unit 24 digitizes each set of imaging variables, imaging objective function, and imaging characteristic values, and acquires a combination of the objective function, variables, and characteristic values that is an optimal solution.
[0045] FIG. 15 is a diagram for explaining the acquisition of an optimal solution. As shown in FIG. 15, the acquisition unit 24 can also extract training data with the largest objective function value from among multiple training data belonging to an area with the largest number of training data (i.e., a dense area). In other words, the acquisition unit 24 excludes (rejects) training data in an area with a sparse density of training data. The acquisition unit 24 can also acquire a combination of the objective function, variables, and characteristic values that is an optimal solution by inputting the latent variables (feature amounts) of the extracted training data into the decoder of the trained VAE and restoring it. The acquisition unit 24 stores the acquired optimal solution in the storage unit 12, displays it on a display, or transmits it to a management terminal.
[0046] [Processing flow] Next, the flow of the processes executed by each of the above-mentioned processing units will be described. Here, the overall process, the generation of training data, and the process of obtaining an optimal solution will be described.
[0047] (Overall processing) Fig. 16 is a flowchart showing the overall process flow. As shown in Fig. 16, when the process starts, the training data generation unit 21 executes generation of training data (S101), and the learning unit 22 executes learning of the VAE using the training data (S102).
[0048] Next, the set generation unit 23 generates a sampling set in the latent space of the trained VAE (S103). Then, the acquisition unit 24 gives the sampling set to the trained VAE to calculate a set of objective functions, variables, and characteristic values (S104), and acquires the minimum (or maximum) value of the objective function (S105).
[0049] If the optimal solution cannot be obtained (S106: No), the training data generation unit 21 resets the variables, for example by expanding their range of variation, and generates training data for re-learning (S107). Then, S102 and subsequent steps are repeated.
[0050] On the other hand, if an optimal solution has been acquired (S106: Yes), the acquisition unit 24 outputs a set of the acquired objective functions, variables, and characteristic values (S108).
[0051] (Training data generation process) Fig. 17 is a flowchart showing the flow of the training data generation process. As shown in Fig. 17, the training data generation unit 21 sets a variation range for each variable (S201), and generates a set of variables (S202).
[0052] Next, the training data generation unit 21 takes the set of variables as input and generates a set of objective functions through numerical calculations, measurements, etc. (S203). Also, the training data generation unit 21 takes the set of variables as input and generates a set of characteristic values through numerical calculations, measurements, etc. (S204).
[0053] Then, the training data generation unit 21 generates a set of imaging variables from the set of variables (S205), generates a set of imaging objective functions from the set of objective functions (S206), and generates a set of imaging characteristic values from the set of characteristic values (S207).
[0054] (Processing to obtain optimal solution) Fig. 18 is a flowchart showing the flow of the process of acquiring the optimal solution. As shown in Fig. 18, the set generation unit 23 provides a set of training data to the trained VAE and calculates a set of average values of latent variables (S301). For example, the set generation unit 23 calculates a set of training data ζ={X1, X2, . . . X n} into the encoder of the trained VAE to obtain a set Ω of the mean values of the latent variables.
[0055] Next, the set generation unit 23 calculates the range (minimum, maximum) of the latent variable from the set of the average values of the latent variables (S302). Then, the set generation unit 23 generates a sampling set (provisional) from the range of the latent variables (S303). For example, the set generation unit 23 generates a sampling set (provisional) M in a range corresponding to the objective function desired by the user. Here, ii is the number of sampling sets (provisional), and j is the dimension of the latent space (average values of the latent variables).
[0056] Thereafter, the set generation unit 23 calculates a set of density indices of the training data portion using the sampling set (provisional) M in the latent space generated in S303 and the set Ω of the average values of the latent variables generated in S301 (S304). For example, the set generation unit 23 generates a set N of density indices of the training data distribution. Here, ii is the number of sampling sets (provisional), and c is the dimension of the density index of the training data distribution.
[0057] Next, the set generation unit 23 calculates an acceptability set of the optimal solution candidate from the set of density indices of the training data distribution (S305). For example, the set generation unit 23 generates an acceptability set K of the optimal solution candidate using ii, which is the number of sampling sets (provisional).
[0058] Then, the set generation unit 23 deletes the elements that were not adopted in the optimal solution candidate from the sampling set (provisional) to generate a sampling set (S306). For example, the set generation unit 23 generates a sampling set M by deleting the elements that were not adopted in the adoption / non-adoption set K of the optimal solution candidate from the sampling set (provisional). Note that i is the number of sampling sets, and j is the dimension of the latent space (average value of the latent variables). Thereafter, the acquisition unit 24 decodes the sampling set (S307) and acquires the optimal solution (S308).
[0059] 19 is a diagram for explaining calculation of a set of objective functions, variables, and characteristic values. As shown in FIG. 19, the acquisition unit 24 inputs a sampling set M of latent variables to a decoder of the trained VAE, and obtains an image variable D' (d'1 to d' n ), the imaging objective function E´(e´1~e´ n ), imaging characteristic value F´(f´1~f´ n ) set ζ={X´1,X´2,···X´ n} is obtained. Note that X' contains {D' 1~m ,E´ 1~n ,F´ 1~o The acquisition unit 24 then quantifies the sets of the imaging variables D', the imaging objective function E', and the imaging characteristic values F', and obtains the variables π'1 to π'n The set of Π', objective functions γ'1~γ' n Set Γ, characteristic values λ´1~λ´ n Generate a set Λ of
[0060] [Specific example] Next, a specific example of obtaining the above-mentioned optimum solution will be described. Here, the optimization of design parameters in the circuit design of an LLC current resonant circuit will be described as an example.
[0061] (Circuit diagram) First, a circuit diagram to be designed will be described. FIG. 20 is a diagram showing a circuit diagram used in a specific example. As shown in FIG. 20, an LLC current resonant circuit having two reactors Lr, Lm and a capacitor Cr will be described as an example. Also, as shown in FIG. 20, learning and acquisition of an optimal solution are performed using image data of nodal waveforms at four observation points and three parameters (Cr, Lr, Lm). The four observation points correspond to the above characteristic values indicating the phenomenon, the three parameters correspond to the above variables, and the power efficiency corresponds to the above objective function.
[0062] (Learning data) Next, we explain the learning data used in VAE learning to obtain the optimal combination of design parameters. Here, the waveforms of four observation points 1 to 4, which are sensitive to changes in circuit parameters, are given as multi-channel image data, and the maximum value, which is greatly affected by changes in power efficiency, is used as the output current. Note that the latent space is predicted to be different for each output current.
[0063] Additionally, the parameter values of circuit parameters (Cr, Lr, Lm) that are sensitive to nodal waveforms and power efficiency and for which design changes are relatively easy are given as multi-channel image data (all pixels are parameter values, normalized by the maximum value). Furthermore, the power efficiency is given as multi-channel image data (all pixels are power efficiency). The size of each image is 120 x 120. From the above, the number of channels is number of observation points + number of parameters + power efficiency = 4 + 3 + 1 = 8. Additionally, the number of training data is 961. Note that the design value is used for Lm, and Lr and Cr are varied in 2% increments within the range of -30% to +30% from the design value.
[0064] In such an environment, in a specific example, an arbitrary point is randomly extracted in the latent space, and the inferred circuit parameter combination is adopted as the design parameter, and a simulation is performed to confirm the suitability of the circuit component optimization.
[0065] (VAE) Next, we will explain the VAE to be trained. Figure 21 is a diagram explaining the structure and loss of the VAE that generates the latent space. As shown in Figure 21, the VAE to be trained is composed of an encoder with four stages of CNN (Convolutional Neural Network) and two stages of FC (Fully Connected) layers, and a decoder with one stage of FC layer and two stages of CNN. The number of training data is the square of the steps of each parameter = (31) 2 = 961, of which 10% (96%) are used as validation data, and the remaining 865 are used as training data. In addition, the batch size during learning is 16, the number of learning epochs is 100, and Nadam is used as the optimizer, which is the optimization algorithm. In addition, the training time for one epoch is 3 seconds.
[0066] The loss of the trained VAE trained under these conditions is shown in the lower graph of Figure 21. The horizontal axis of Figure 21 is the number of learning epochs, and the vertical axis is the loss. As shown in Figure 21, the training loss when using the training data is 0.2817, and the validation loss when using the validation data is 0.2863, which shows that the VAE is sufficiently trained under the above learning conditions.
[0067] The distribution of the validation data used in the validation is shown in Figure 22. Figure 22 is a diagram explaining the distribution of validation data in the latent space. As shown in Figure 22, the points in the latent space are distributed around the latent space (0,0), and the distribution is uniform without bias. This means that the variation range of the training data can be expressed, and it can be determined that the reliability of the validation results shown in Figure 21 is also high.
[0068] (Restored result) Next, the restoration result by VAE will be explained using Fig. 23 to Fig. 25. Fig. 23 is a diagram for explaining a restored image of learning data. Fig. 24 is a diagram for explaining a restored image of a nodal waveform in a latent space. Fig. 25 is a diagram for explaining a restored image of a parameter and power efficiency in a latent space.
[0069] Fig. 23 shows images (training images) corresponding to eight pieces of training data: four observation points, three parameters, and power efficiency, and the restored images obtained by inputting the training images. As shown in Fig. 23, the training images and restored images of the observation point waveforms, parameters, and power efficiency tend to match, indicating that the VAE has learned sufficiently.
[0070] Figure 24 shows the restored images of the waveforms observed at observation points 1 to 4. Note that the time of each observation point waveform has been corrected for two periods, and the amplitude has been corrected from the minimum to maximum section. As shown in Figure 24, the restored image of each observation point waveform is a continuous waveform with minute fluctuations. However, because the waveform fluctuations in the training data are small, it can be difficult to fully grasp whether the features of the observation point waveform have been learned.
[0071] FIG. 25 shows the restored images of three parameters (Cr, Lr, Lm) and power efficiency. Each parameter is normalized by its maximum value, and power efficiency is normalized in the range from minimum to maximum. As shown in FIG. 23, the restored images of each parameter show roughly continuous parameter variation, and it can be determined that the VAE has learned the feature values of the parameters. Similarly, the restored image of power efficiency shows roughly continuous parameter variation, and it can be determined that the VAE has learned the feature values of the power efficiency.
[0072] (Exploration and validation of latent space) Next, we will explain the results of verifying the trained VAE by inputting training data (input data) into the trained VAE and comparing the restoration results of the input data with the input data.
[0073] First, the verification of the distribution of each parameter will be described. FIG. 26 is a diagram for explaining the distribution of the Lm parameter in the latent space. FIG. 27 is a diagram for explaining the distribution of the Lr parameter in the latent space. FIG. 28 is a diagram for explaining the distribution of the Cr parameter in the latent space. FIG. 29 is a diagram for explaining the distribution of the power efficiency in the latent space. Note that the average value of all pixels of the restored image is adopted for each parameter value and power efficiency. In FIG. 26 to FIG. 29, the distribution of the learning data showing where the learning data was actually classified in the latent space, and the restored value showing what value the point sampled (extracted) on the grid from the latent space has are illustrated. Note that the vertical axis in FIG. 26 to FIG. 29 is the two-dimensional coordinate of the solution space formed on the latent space, and the horizontal axis is the one-dimensional coordinate of the solution space formed on the latent space. Also, the vertical numerical value shown beside the distribution is the solution space dimension, and here, a two-dimensional example is illustrated. In this case, (0,0) is the center of the solution space.
[0074] As shown in Figure 26, when comparing the distribution of the learning data of the parameter Lm input to the VAE with the restored value of the parameter Lm restored by the trained VAE, the distribution trends of the learning data and the restored values are roughly the same (constant values), and it can be determined that the distribution of the parameter Lm has been learned.
[0075] Furthermore, as shown in Figure 27, when comparing the distribution of the learning data of the parameter Lr input to the VAE with the restored value of the parameter Lr restored by the trained VAE, the distribution trends of the learning data and the restored values are roughly the same (constant values), and it can be determined that the distribution of the parameter Lr has been learned.
[0076] As shown in Figure 28, when comparing the distribution of the learning data of parameter Cr input to the VAE with the restored value of parameter Cr restored by the trained VAE, the distribution trends of the learning data and the restored values are roughly the same (constant value), and it can be determined that the distribution of parameter Cr has been learned.
[0077] Furthermore, as shown in Figure 29, when comparing the distribution of the learning data of power efficiency input to the VAE with the restored values of power efficiency restored by the trained VAE, the distribution trends of the learning data and the restored values are roughly the same (constant values), and it can be determined that the distribution of power efficiency has been learned.
[0078] (Obtaining design parameter combinations) Next, we will explain a specific example in which training data is input to a trained VAE to generate a sampling set in the latent space, and the sampling set is restored to obtain the optimal combination of design parameters.
[0079] Fig. 30 is a diagram explaining the power efficiency distribution and random extraction. Here, as shown in Fig. 30, 200 arbitrary points are randomly extracted from the power efficiency distribution. Then, each parameter is estimated using each extracted point, and the design parameters are obtained.
[0080] Next, a comparison between the simulated value of power efficiency and the estimated value of power efficiency by the trained VAE will be described. FIG. 31 is a diagram for explaining the simulated value and the estimated value of the power efficiency distribution. The distribution of power efficiency (vertical axis) in the latent space is shown. As shown in FIG. 31 (1), the distribution of power efficiency used in the learning data shows the same tendency in the simulated value and the estimated value. Also, in the low power efficiency part shown in FIG. 31 (2), the simulated value and the estimated value tend to be slightly different, but in the high power efficiency part shown in FIG. 31 (3), the simulated value and the estimated value tend to be the same.
[0081] Next, the error between the simulated value of power efficiency and the estimated value of power efficiency by the trained VAE is explained. Figure 32 is a diagram for explaining the error between the estimated value and the simulated value. Note that Figure 32 shows the distribution of the absolute error (vertical axis) and the relative error (vertical axis).
[0082] As for the absolute error, as shown in (1) of Fig. 32, the absolute error is generally within ±0.0011 within the training data, but as shown in (2) of Fig. 32, the error is somewhat larger in some areas outside the range of the training data. Moreover, the frequency distribution of the error generally shows a tendency toward normal distribution.
[0083] As for the relative error, as shown in (3) of Fig. 32, the relative error is generally within ±0.12 within the training data, but as shown in (4) of Fig. 32, the error is somewhat larger in some areas outside the range of the training data. Moreover, the frequency distribution of the error generally shows a tendency toward normal distribution.
[0084] FIG. 33 is a diagram for explaining a comparison of the power efficiency between the estimated value and the simulated value. FIG. 33 shows the power efficiency of the power supply circuit (LLC current resonance) shown in FIG. 20, the simulated value and the estimated value using the trained VAE. As shown in FIG. 33, the validation data with an absolute error of ±0.002 covers 95.5% of the interpolation range of the learning data, which is 62.5% of the whole, and the validation data with an absolute error of ±0.003 covers 100% of the interpolation range of the learning data, which is 82.0% of the whole. Here, 82% of the validation data is included within the absolute error of ±0.003 (validated at 200 random points in the feature distribution), and a combination candidate of parameter variables that maximizes the design index was obtained.
[0085] (Optimization of design parameter combinations) Next, acquisition of a parameter combination that maximizes power efficiency from the design parameter combinations acquired in Fig. 33 will be described with reference to Fig. 34. Fig. 34 is a diagram for explaining acquisition of an optimal solution.
[0086] In obtaining the optimal solution shown in Figure 34, 10,000 points are randomly extracted from the power efficiency distribution in the training data, and the optimal point with the maximum power efficiency is obtained in the latent space generated by the encoder of the trained VAE. Then, each parameter is estimated from the optimal point using the decoder of the trained VAE, and the optimal value of the design parameter is obtained.
[0087] As shown in Fig. 34, the error between the optimal solution and the design value (optimal solution obtained on the design value) of each of the design parameters Lm, Lr, and Cr falls within an allowable range. In addition, for each of the inferred value and the simulated value of the power efficiency, the error between the optimal solution and the design value also falls within an allowable range. In other words, the optimal value obtained using the trained VAE described in the first embodiment has the same tendency as the optimal design parameter combination in the design parameter range (within the training data).
[0088] [effect] As described above, the information processing device 10 according to the first embodiment determines whether or not to adopt an optimal solution candidate at any point in the latent space depending on the density of the training data distribution in the neighboring area, and adopts it if it is dense and rejects it if it is sparse. As a result, the information processing device 10 can extract any point with high decoder inference accuracy from the latent space, and can obtain an accurate optimal solution.
[0089] Furthermore, the information processing device 10 can obtain an accurate optimal solution even when the distribution of the inference accuracy of the decoder corresponding to any point in the latent space is unknown. The information processing device 10 can exclude any point in the latent space where the inference accuracy of the decoder is low from candidates for the optimal solution. The information processing device 10 does not require verification of the inference accuracy of the decoder corresponding to any point in the latent space by experiments, numerical calculations, etc.
[0090] Furthermore, even when re-learning a trained VAE, the information processing device 10 can easily and accurately reset the variation range of each variable, thereby improving the accuracy of re-learning. For example, if the distribution of the Lm parameter at the first learning is shown in Fig. 24, the distribution of the second learning data can be expanded by referring to the distribution in Fig. 24, or learning data with a different distribution can be generated.
[0091] In addition, the information processing device 10 can also express and output the distribution of training data using the latent space of the trained VAE. Therefore, even if the trained VAE cannot obtain an optimal solution and the trained VAE is retrained, measures such as removing low-density training data can be taken. EXAMPLES
[0092] Although the embodiments of the present invention have been described above, the present invention may be embodied in various different forms other than the above-described embodiments.
[0093] [Data, figures, etc.] The data examples, numerical values, thresholds, display examples, etc. used in the above embodiments are merely examples and can be changed as desired. In addition, the training data only needs to include an objective function, which is correct answer information, and variables that affect the objective function, etc. can be selected as desired. In the above embodiments, an example of visualizing the objective function, etc. has been described, but this is not limiting, and other information that can express the feature amount of an image, such as a graph, can be used.
[0094] In addition, in the specific example, the optimal solution of parameters in circuit design has been described as an example, but this is merely one example and can be applied to other fields. In addition, in the above embodiment, an example using a variational autoencoder has been described, but the present invention is not limited to this, and other machine learning that can aggregate objective functions with high similarity in the latent space can also be used.
[0095] [Determining density] Various methods can be used to determine the density of training data in the latent space. For example, a clustering method is used to classify latent variables in the latent space into clusters, and the cluster to which the largest number of latent variables belong is selected. Then, among the latent variables in the selected cluster, the latent variable of the training data with the largest value of the objective function can be extracted and input to the decoder.
[0096] [system] The information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.
[0097] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure. In other words, all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc.
[0098] Furthermore, each processing function performed by each device may be realized, in whole or in part, by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware using wired logic.
[0099] [Hardware] Fig. 35 is a diagram for explaining a hardware configuration example. As shown in Fig. 35, an information processing device 10 includes a communication device 10a, a hard disk drive (HDD) 10b, a memory 10c, and a processor 10d. The units shown in Fig. 35 are connected to each other via a bus or the like.
[0100] The communication device 10a is a network interface card or the like, and communicates with other devices. The HDD 10b stores programs and DBs that operate the functions shown in FIG.
[0101] The processor 10d reads out a program that executes the same processes as the respective processing units shown in Fig. 6 from the HDD 10b etc. and loads it in the memory 10c, thereby operating a process that executes each function described in Fig. 6 etc. For example, this process executes a function similar to that of each processing unit possessed by the information processing device 10. Specifically, the processor 10d reads out a program having functions similar to those of the training data generation unit 21, the learning unit 22, the set generation unit 23, the acquisition unit 24 etc. from the HDD 10b etc. Then, the processor 10d executes a process that executes the same processes as those of the training data generation unit 21, the learning unit 22, the set generation unit 23, the acquisition unit 24 etc.
[0102] In this way, the information processing device 10 operates as an information processing device that executes a method for acquiring an optimal solution by reading and executing a program. The information processing device 10 can also realize functions similar to those of the above-mentioned embodiment by reading the above program from a recording medium using a medium reading device and executing the read program. Note that the program in this other embodiment is not limited to being executed by the information processing device 10. For example, the present invention can be similarly applied to cases where another computer or server executes a program, or where these execute a program in cooperation with each other.
[0103] This program can be distributed via a network such as the Internet. This program can also be recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD), and can be executed by being read out from the recording medium by a computer. [Explanation of symbols]
[0104] 10. Information processing device 11 Communications Department 12 Storage section 13 Data DB 14 Training Data DB 20 Control section 21 Training Data Generation Unit 22 Learning Department 23 Set generator 24 Acquisition Department
Claims
1. On the computer, A variational autoencoder is trained using multiple training data sets that include variables that affect the objective function. Inputting the plurality of training data into a trained variational autoencoder, and determining a distribution of the plurality of training data in a latent space of the trained variational autoencoder; determining a search range for an optimal solution of the objective function according to a distribution of the plurality of training data; Using the training data included in the determined search range, an optimal solution of the desired objective function is obtained. Optimal solution acquisition program characterized by executing a process.
2. The optimal solution acquisition program described in claim 1, characterized in that the identification process identifies a distribution of the multiple training data in the latent space by mapping latent variables corresponding to each of the multiple training data generated by the encoder of the trained variational autoencoder in response to input of the multiple training data into the latent space of the trained variational autoencoder.
3. 3. The optimal solution acquisition program according to claim 1, wherein the determining process determines a density of a distribution of the plurality of training data in the latent space, and determines an area where the density is equal to or greater than a threshold value as a search range for the optimal solution.
4. The optimal solution acquisition program according to claim 3, characterized in that the acquisition process generates a sampling set of latent variables generated from training data belonging to an area where the density is equal to or greater than a threshold, and inputs the sampling set into a decoder of the trained variational autoencoder to acquire an optimal solution for the desired objective function.
5. The optimal solution acquisition program according to claim 3, characterized in that the acquisition process selects one training data from the training data belonging to an area where the density is equal to or greater than a threshold, and acquires an optimal solution for the desired objective function based on a restoration result obtained by inputting a latent variable generated from the selected training data into a decoder of the trained variational autoencoder.
6. The computer A variational autoencoder is trained using multiple training data sets that include variables that affect the objective function. Inputting the plurality of training data into a trained variational autoencoder, and determining a distribution of the plurality of training data in a latent space of the trained variational autoencoder; determining a search range for an optimal solution of the objective function according to a distribution of the plurality of training data; Using the training data included in the determined search range, an optimal solution of the desired objective function is obtained. A method for obtaining an optimal solution, comprising the steps of:
7. A learning unit that executes learning of a variational autoencoder using a plurality of training data including variables that affect the objective function; An identification unit that inputs the plurality of training data into a trained variational autoencoder and identifies a distribution of the plurality of training data in a latent space of the trained variational autoencoder; a determination unit that determines a search range for an optimal solution of the objective function according to a distribution of the plurality of training data; an acquisition unit that acquires an optimal solution of a desired objective function using training data included in the determined search range; 13. An information processing device comprising:
Citation Information
Patent Citations
Control device for plant, and control device of thermal power generation plant
JP2010146068A
Solution search processing device
JP2019008499A
Information estimation device and information estimation method
JP2019139482A
Abnormality detection device, abnormality detection method, and program
JP2020013449A
JPP7392366B
