Optimization device, optimization method, and optimization program
The optimization device enhances portfolio creation in financial markets by using machine learning to convert data into an Ising model, processed by a quantum annealing machine, addressing data limitations and improving accuracy.
Patent Information
- Application Number
- JP2023020808
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-14
- Publication Date
- 2024-08-26
AI Technical Summary
Financial markets are complex, and existing methods struggle to accurately create portfolios due to the vast number of financial products and varying risks, making it difficult to solve combinatorial optimization problems within a realistic timeframe, especially when training data is limited or biased.
An optimization device and method that utilizes machine learning to convert learning data into an Ising model, which is then processed by a quantum annealing machine to optimize portfolio selection, incorporating a feedback loop to refine the model using sampling data that meets predetermined conditions.
Improves the accuracy of portfolio optimization even with limited data, enabling more precise risk assessment and cost-effective financial product selection.
Smart Images

Figure 2024115222000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an optimization device, an optimization method, and an optimization program. [Background technology]
[0002] A combinatorial optimization problem is a problem of determining, from among multiple combinations and arrangements, the combination or arrangement that minimizes the calculated value of a certain evaluation formula. In general, it can always be solved by calculating the evaluation formula for all combinations and arrangements. However, since there are as many ways of arranging n pieces as there are factorial ways of arranging n, when n becomes large, it becomes necessary to calculate the evaluation formula an enormous number of times.
[0003] Portfolio creation is one example of a combinatorial optimization problem. In financial markets, a portfolio is created that minimizes risk while achieving a certain level of profit by combining multiple financial products with different characteristics.
[0004] In recent years, financial products have become more diverse and financial markets have become increasingly complex, making it difficult to create portfolios with sufficient accuracy. Quantum computing, which can efficiently solve combinatorial optimization problems, is expected to be a technology that can solve this problem.
[0005] Patent Document 1 describes a method for ensuring profitability by applying a portfolio that increases profitability while taking into account the amount of damage when an event occurs. In the method described in Patent Document 1, a portfolio is generated using quantum annealing technology, which is a type of quantum computing.
[0006] Furthermore, Patent Document 2 describes an optimization device that improves the accuracy of a solution to a combinatorial optimization problem. The device described in Patent Document 2 calculates a tentative optimal solution, performs a simulation (calculation of an evaluation formula), creates an updated Ising model based on the simulation results, and updates the optimal solution.
[0007] In addition, Non-Patent Document 1 describes a method for designing a metamaterial using quantum annealing and a decomposer. Specifically, Non-Patent Document 1 describes a method for creating an Ising model by machine learning. [Prior art documents] [Patent documents]
[0008] [Patent Document 1] JP 2021-135917 A [Patent Document 2] JP 2020-194273 A [Non-patent literature]
[0009] [Non-Patent Document 1] Koki Kitai, et al., "Designing metamaterials with quantum annealing and factorization machines", PHYSICAL REVIEW RESEARCH 2, 013319, 2020. Summary of the Invention [Problem to be solved by the invention]
[0010] Financial markets are complex, and to simulate them (scenario + modeling), it is necessary to make multiple calculations while taking into account randomness. A method called Monte Carlo simulation is generally used. However, the number of financial products is enormous, and the predicted values and risks fluctuate greatly depending on the amount (or overall ratio) of each financial product selected and the length of time the financial products are held, making it difficult for general computers to solve the problem in a realistic amount of time.
[0011] On the other hand, in order to apply quantum annealing technology, it is necessary to convert a combinatorial optimization problem into a specific type of mathematical formula (model) called an Ising model. However, Patent Document 1 does not describe a specific method for converting into a mathematical formula. Specifically, Patent Document 1 describes a method for optimizing a portfolio problem by quantum annealing, but does not describe a method for converting a portfolio problem into an Ising model.
[0012] Furthermore, the device described in Patent Document 2 is premised on the assumption that the base simulation is an Ising model, and does not describe a method for precisely expressing an arbitrary simulation using an Ising model.
[0013] Here, models used in machine learning, such as linear regression, factorization machine, and decision tree, are expressed in quadratic or lower dimensions. Therefore, by adopting these machine learning methods, it is possible to create an Ising model that is based on learning data based on history.
[0014] For example, in the method described in Non-Patent Document 1, it is possible to perform optimization of any simulation by approximating the simulation to an Ising model using machine learning. However, in financial markets, the characteristics of the target change from moment to moment, and therefore it is expected that there may be a small amount of training data or problems with the training data (for example, the number of training data is insufficient, the training data is biased, the training data is inaccurate due to observation errors, etc.).
[0015] Therefore, simply applying such training data to the method described in Non-Patent Document 1 makes it difficult to create an Ising model to be optimized with high accuracy, and as a result, it is also difficult to derive an optimal solution.
[0016] Therefore, an object of the present invention is to provide an optimization device, an optimization method, and an optimization program that can improve the accuracy of a model to be optimized even when a small amount of data is used for learning. [Means for solving the problem]
[0017] An optimization device according to the present invention includes learning data input means for accepting input of learning data, learning means for using the input learning data to learn a prediction model that predicts an evaluation value to be obtained based on variables that are to be combined in an optimization process, encoding means for encoding variables included in the input learning data in accordance with the manner in which they are input to the Ising model, Ising model generation means for generating an Ising model based on the prediction model and the encoded variables, optimization process execution means for inputting the Ising model to an annealing machine that executes an optimization process to minimize a predetermined evaluation formula based on a combination of variables included in the learning data, and causing the annealing machine to output sampling data that is a combination of variables that minimizes the evaluation value, decoding means for decoding the sampling data obtained as a result of the optimization process, and extraction means for extracting sampling data whose value of the evaluation formula satisfies a predetermined condition, wherein the learning data input means accepts input of the extracted sampling data as learning data, and the learning means uses the input sampling data to learn the prediction model.
[0018] The optimization method according to the present invention is characterized in that it accepts input of learning data, uses the input learning data to learn a predictive model that predicts an evaluation value to be obtained based on variables that are to be combined in an optimization process, encodes variables included in the input learning data according to the manner in which they are input to the Ising model, generates an Ising model based on the predictive model and the encoded variables, inputs the Ising model to an annealing machine that executes an optimization process to minimize a predetermined evaluation formula based on a combination of variables included in the learning data, and outputs sampling data that is a combination of variables that minimizes the evaluation value, decodes the sampling data obtained as a result of the optimization process, extracts sampling data whose value in the evaluation formula satisfies a predetermined condition, accepts input of the extracted sampling data as learning data, and learns the predictive model using the input sampling data.
[0019] The optimization program according to the present invention causes a computer to execute a learning data input process for accepting input of learning data, a learning process for using the input learning data to learn a predictive model that predicts an evaluation value to be obtained based on variables that are to be combined in the optimization process, an encoding process for encoding variables included in the input learning data in accordance with the manner in which they are input to the Ising model, an Ising model generation process for generating an Ising model based on the predictive model and the encoded variables, an optimization process execution process for inputting an Ising model to an annealing machine that executes an optimization process for minimizing a predetermined evaluation formula based on a combination of variables included in the learning data, and outputting sampling data that is a combination of variables that minimizes the evaluation value, a decoding process for decoding the sampling data obtained as a result of the optimization process, and an extraction process for extracting sampling data whose value of the evaluation formula satisfies a predetermined condition, the learning data input process causes the extracted sampling data to be input as learning data, and the learning process causes the predictive model to be learned using the input sampling data. Effect of the Invention
[0020] According to the present invention, even if the amount of data used for learning is small, the accuracy of the generated model can be improved. [Brief description of the drawings]
[0021] [Figure 1] 1 is a block diagram showing a configuration example of a first embodiment of an optimization system of the present invention. FIG. [Diagram 2] 4 is a flowchart showing an example of the operation of the optimization system according to the first embodiment. [Diagram 3] 13 is a flowchart illustrating an example of an encoding process. [Figure 4] FIG. 11 is an explanatory diagram showing an example of a decoding process. [Diagram 5] 13 is a flowchart illustrating an example of a decoding process. [Figure 6] FIG. 11 is an explanatory diagram showing an example of a sampling result. [Figure 7] 13 is a flowchart illustrating an example of a process for encoding into an n-digit binary representation. [Figure 8] 13 is a flowchart illustrating an example of a process for decoding data encoded in an n-digit binary representation. [Figure 9] 13 is a flowchart illustrating an example of a process for encoding using n clusters. [Figure 10] 13 is a flowchart illustrating an example of a process for decoding data encoded using n clusters. [Figure 11] 13 is a flowchart showing an example of a process for uniformly encoding n sections. [Figure 12] FIG. 11 is an explanatory diagram showing an example of section division. [Figure 13] 13 is a flowchart showing an example of a process for decoding data that has been uniformly encoded in n sections. [Figure 14] FIG. 11 is a block diagram showing a configuration example of a second embodiment of an optimization system according to the present invention. [Figure 15] FIG. 13 is a block diagram showing a configuration example of a third embodiment of an optimization system according to the present invention. [Figure 16] 1 is a block diagram showing an overview of an object matching system according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0022] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the following description, a problem of optimizing a portfolio (hereinafter, referred to as a portfolio optimization problem) will be exemplified as a specific example of a combinatorial optimization problem. However, the combinatorial optimization problem assumed in the present invention is not limited to the portfolio optimization problem, and the present invention can be applied to any combinatorial optimization problem, such as optimizing the composition of raw materials in materials and drug development.
[0023] Embodiment 1. Fig. 1 is a block diagram showing an example of the configuration of a first embodiment of an optimization system of the present invention. The optimization system 1 of this embodiment includes a machine learning simulation unit 100, an annealing unit 200, and a simulation operation unit 300. Note that the unidirectional arrows shown in Fig. 1 simply indicate the direction of information flow and do not exclude bidirectionality.
[0024] The machine learning simulation unit 100 includes a learning data management unit 101, an encoding unit 102, a simulation model generation unit 103, a machine learning unit 104, an Ising model parameter determination unit 105, a decoding unit 106, a sampling data analysis unit 107, a simulation execution unit 108, and a memory unit 115.
[0025] The storage unit 115 stores various data used in the optimization system 1. Specifically, the storage unit 115 stores data used for learning (hereinafter referred to as learning data). For example, when a portfolio optimization problem is assumed as the combinatorial optimization problem, the storage unit 115 may store learning data such as past price movements of financial products. The storage unit 115 is realized by, for example, a magnetic disk or the like.
[0026] The learning data management unit 101 manages learning data. Specifically, the learning data management unit 101 extracts learning data necessary for a learning process described later. The learning data management unit 101 may, for example, extract and input learning data from the storage unit 115, or may receive and input learning data from another storage (not shown). Furthermore, the learning data management unit 101 may input sampling data obtained as a result of a process described later as learning data.
[0027] The encoding unit 102 encodes the extracted learning data. Specifically, in order to enable the Ising model described later to be handled, the encoding unit 102 encodes variables included in the learning data according to the manner in which they are input to the Ising model. Since the variables of the Ising model are binary values, the encoding unit 102 performs, for example, an encoding process that converts continuous values included in the learning data into discrete values.
[0028] An example of coding is explained below. For example, the objective function that indicates that a variable r that takes a continuous value is preferable as it approaches 10 is w(r-10). 2 If we convert this continuous value into a discrete value, we get (ws-10) 2 +v(Σs-1) 2 Here, w is a weight variable corresponding to each binary variable s, and v is a weight of a constraint condition indicating a constraint that only one binary variable is 1 and the others are 0. A specific example of the encoding process will be described later.
[0029] The simulation model generation unit 103 receives the designation of an initial model to be used as the target of the combinatorial optimization problem. This initial model is a model that calculates an evaluation value based on variables to be combined in the optimization process. For example, when a portfolio optimization problem is assumed as the combinatorial optimization problem, the simulation model generation unit 103 may receive the designation of an initial mathematical model of the financial market to be used as the target of the portfolio. In the case of a financial portfolio, this model is a model that calculates, for example, the difference from a predicted index indicator value, the sum of price fluctuations of each financial product, or the like as an evaluation value.
[0030] The machine learning unit 104 learns a prediction model based on the learning data extracted by the learning data management unit 101 and the initial model accepted by the simulation model generation unit 103. That is, this initial model corresponds to a prediction model that predicts an evaluation value. In the following description, the prediction model may be simply referred to as a model.
[0031] For example, when a portfolio optimization problem is assumed as the combinatorial optimization problem, the machine learning unit 104 may create a prediction model that predicts future trends in the financial markets and financial products that are the subject of the portfolio.
[0032] Specifically, the machine learning unit 104 may train a model in which the attributes of financial products and various information obtained from financial markets are used as explanatory variables for the financial portfolio, and the difference between the predicted index value and the explanatory variables is minimized as an objective variable. In this case, minimizing this difference constitutes the optimization process. Alternatively, the machine learning unit 104 may train a model in which the sum of the price fluctuations of each financial product is used as an objective variable. In this case, making this sum zero constitutes the optimization process.
[0033] The Ising model parameter determination unit 105 converts the created prediction model and the parameters of the prediction model into an Ising model. Specifically, the Ising model parameter determination unit 105 generates an Ising model based on the prediction model and the encoded variables. This Ising model is a model in a format that can be input to the annealing unit 200, and the Ising model parameter determination unit 105 converts the prediction model and parameters into an Ising model with a range and granularity specified by the user. Note that the method of conversion into an Ising model is widely known, and a detailed description thereof will be omitted here.
[0034] The decoding unit 106 performs a process (i.e., a decoding process) that is the reverse of the encoding process performed by the encoding unit 102 described above, on the maximum likelihood data set sampled in the annealing process by the annealing unit 200 described below. The decoding unit 106 may perform a decoding process corresponding to the encoding process. A specific example of the decoding process will be described later.
[0035] The sampling data analysis unit 107 analyzes data sampled in an annealing process by the annealing unit 200, which will be described later, and determines whether or not the prediction model should be re-learned. Specifically, the sampling data analysis unit 107 refers to the energy value of the Ising model of the sampled data, and estimates the accuracy of the prediction model.
[0036] If the variation in the energy values is smaller than a predetermined reference value and the variation in the sampling data is also smaller than a predetermined reference value, the sampling data analysis unit 107 determines that sufficient accuracy has been achieved and that there is no need to perform further repeated calculations.
[0037] On the other hand, if the variation in the energy values is smaller than the predetermined reference value and the variation in the sampling data is larger than the predetermined reference value, the sampling data analysis unit 107 determines that the accuracy of the prediction model is insufficient and that re-learning is required. This is because if the variation in the energy values is large, the Ising model is likely not appropriate and re-learning should be performed to recreate the prediction model.
[0038] The simulation execution unit 108 performs a simulation using data sampled in an annealing process by the annealing unit 200, which will be described later. For example, when a portfolio optimization problem is assumed as the combinatorial optimization problem, the simulation execution unit 108 may perform a portfolio simulation using the sampled data. The simulation execution unit 108 may obtain actual measurements through experiments, or may perform a simulation based on a known model (for example, a financial model).
[0039] When it is determined that re-learning is required, the learning data management unit 101 extracts, from the sampled data, learning data in which the sampled variables having energy values lower than a predetermined energy value and the prediction result of a simulation performed using the parameters at the time of the processing progress are used as the correct answer. By extracting such data as learning data, it is possible to narrow down the learning data to the vicinity of the optimal value without targeting the entire data space, and therefore it is possible to prevent an explosive increase in the calculation time.
[0040] The annealing unit 200 performs an annealing process using the Ising model created by the machine learning simulation unit 100 (more specifically, the Ising model parameter determination unit 105). Specifically, the annealing unit 200 executes an optimization process that minimizes a predetermined evaluation formula based on a combination of variables included in the learning data. Hereinafter, the data obtained by the annealing process may be referred to as sampling (data).
[0041] The annealing unit 200 is realized, for example, by a quantum computer that realizes parallel calculations by utilizing the phenomenon of quantum mechanics. For example, a quantum annealing quantum computer (hereinafter, referred to as a quantum annealing machine) is a dedicated device for finding the ground state of the Hamiltonian of an Ising model, and is a device that executes annealing based on the Ising model. More specifically, a quantum annealing machine is a device that probabilistically finds the value of a binary variable that minimizes or maximizes the objective function (i.e., Hamiltonian) of an Ising model that takes a binary variable as an argument. The binary variable may be realized by a classical bit or a quantum bit.
[0042] The simulation operation unit 300 has a function of executing various functions when performing a simulation. Specifically, the simulation operation unit 300 specifies the algorithm and parameters of the machine learning executed by the machine learning unit 104. Furthermore, the simulation operation unit 300 outputs the machine learning processing status, the annealing processing status, the annealing sampling results, and the simulation results using the sampling data.
[0043] The learning data management unit 101, the encoding unit 102, the simulation model generation unit 103, the machine learning unit 104, the Ising model parameter determination unit 105, the decoding unit 106, the sampling data analysis unit 107, and the simulation execution unit 108 are realized by a computer processor (e.g., a CPU (Central Processing Unit), GPU) that operates according to a program (optimization program).
[0044] For example, a program may be stored in the storage unit 115 of the machine learning and simulation unit 100, and the processor may read the program and operate, in accordance with the program, as the learning data management unit 101, the encoding unit 102, the simulation model generation unit 103, the machine learning unit 104, the Ising model parameter determination unit 105, the decoding unit 106, the sampling data analysis unit 107, and the simulation execution unit 108. Furthermore, the functions of the machine learning and simulation unit 100 may be provided in a SaaS (Software as a Service) format.
[0045] In addition, the learning data management unit 101, the encoding unit 102, the simulation model generation unit 103, the machine learning unit 104, the Ising model parameter determination unit 105, the decoding unit 106, the sampling data analysis unit 107, and the simulation execution unit 108 may each be realized by dedicated hardware. In addition, a part or all of the components of each device may be realized by a general-purpose or dedicated circuit, a processor, or the like, or a combination of these. These may be configured by a single chip, or may be configured by multiple chips connected via a bus. A part or all of the components of each device may be realized by a combination of the above-mentioned circuits, etc. and a program.
[0046] Furthermore, when some or all of the components of the machine learning simulation unit 100 are realized by a plurality of information processing devices, circuits, etc., the plurality of information processing devices, circuits, etc. may be centrally or distributedly arranged. For example, the information processing devices, circuits, etc. may be realized as a client-server system, a cloud computing system, etc., in a form in which each is connected via a communication network.
[0047] In addition, the machine learning simulation unit 100 can obtain optimal results by having the annealing unit 200 execute the annealing process, and therefore can be called an optimization device.
[0048] Next, an operation of the optimization system 1 of this embodiment will be described. Fig. 2 is a flowchart showing an example of the operation of the optimization system 1 of this embodiment. In this example of operation, a portfolio optimization problem is assumed as the combinatorial optimization problem.
[0049] First, the user selects a learning model for which he / she wishes to perform detailed prediction and risk assessment via the simulation operation unit 300 (step S001). The learning model here is a calculation process for performing prediction and risk assessment, specifically a financial model. The financial model is, for example, a model that calculates the difference in index indicator values or the sum of price fluctuations of each financial product as described above.
[0050] It should be noted that this financial model (i.e., calculation processing) is created by learning correspondence between the specified input data and output data in the machine learning described below (i.e., the internal variables are determined), so in step S001, it is not necessarily necessary for all of the internal variables (explanatory variables) to be explicitly stated.
[0051] On the other hand, in order to sample the annealing and re-likelihood data, the financial model needs to be an Ising model or a structure that can be easily converted into an Ising model. Examples of machine learning methods that generate such financial models include factorization machines, restricted Boltzmann machines, ensemble learners, and linear regression learners. Users can select a learning model based on any of the machine learning methods. Note that the above-mentioned Ising model and each machine learning method are widely known, so only an overview will be described here.
[0052] The Ising model is a model in which the event to be modeled is ΣH i *S i +ΣJ ij *S i *S j This is a model expressed in the form:
[0053] A factorization machine is a model expressed as an n-dimensional variable matrix * weight matrix. Since it is a variable formula with at most two dimensions, it can be converted to an Ising model.
[0054] The restricted Boltzmann machine regards a neural network with one hidden layer as the relevant system, and is a model represented by input variables, output variables, each node of the hidden layer, and weights (edges) that indicate the relationship between two nodes. Since only two-dimensional variables appear, it is possible to convert it to an Ising model.
[0055] An ensemble learning machine is a model that prepares a large number of weak learning machines and is expressed by variables that indicate which learning machine to use and what weights to use to combine them. Basically, since the variables are linear expressions, they can be converted to an Ising model.
[0056] A linear regression learner is a one-dimensional mathematical model.
[0057] Next, the learning data management unit 101 selects learning data (step S002) in response to an instruction from the user via the simulation operation unit 300. The learning data is data including inputs to and outputs from the financial model.
[0058] Next, the machine learning unit 104 executes machine learning using the learning data selected in step S002 based on the learning model selected in step S001 (step S003). For example, when a factorization machine and a linear regression learner are used, the machine learning unit 104 determines the coefficients of variables through machine learning. When a restricted Boltzmann machine is used, the machine learning unit 104 determines the coefficients of nodes in a hidden layer through machine learning. When ensemble learning is used, the machine learning unit 104 determines the coefficients indicating which weak learner to use through machine learning.
[0059] The simulation operation unit 300 may display data on the progress of the process (learning status) during the execution of the process in step S003 (step S004). If the learning is not being performed appropriately (generally, if the learning does not converge) by referring to the data on the progress of the process, the user may decide to interrupt the process and start over, or to continue the process with provisional results while the learning is in progress, etc.
[0060] Next, the encoding unit 102 encodes the learning data (step S005). Since the variables of the Ising model to be handled later are binary values, they need to be encoded into discrete values for processing. If they are not converted into discrete values, a huge number of spin variables will be required, making it impossible to perform annealing calculation processing, or even if it could be performed, it would take a long time for convergence.
[0061] One of the binary variables processed by annealing is called a spin, and the continuous variable of the model trained by machine learning is represented by multiple spins. For example, the encoding unit 102 determines the minimum and maximum values of the variable, divides the interval between the minimum and maximum values into n equal parts, and represents the variable with n spins.
[0062] 3 is a flowchart showing an example of encoding processing. The encoding unit 102 obtains the consecutive value list X to be encoded and the quantization number n (step S101). Next, the encoding unit 102 obtains the minimum and maximum values of the consecutive value list X, and divides the range width by dividing it by the quantization number n (step S102). Next, the encoding unit 102 calculates k, which indicates which range each element of the consecutive value list X belongs to among the divided ranges (step S103). Then, the encoding unit 102 converts each element of the consecutive value list X into n binary variables, and determines only the kth binary variable to be 1 and the others to be 0 (step S104).
[0063] The quantization number n (number of intervals n) is specified by the user according to the number of variables in the target financial model and the performance of the computer that performs annealing. For example, if a financial model handles 50 variables, 2500 internal variables are required because the Ising model is quadratic. For example, if the computer's performance is capable of solving a problem with 10,000 spins, 4 spins can be used per internal variable, so n = 4 should be used.
[0064] Next, the simulation model generation unit 103 creates an Ising model of the encoded binary variables (step S006). Since the annealing process can be performed faster by performing matrix calculation processing on a GPU (Graphics Processing Unit) or a vector computer, it is common to make the Ising model into a matrix format. The formula and matrix of the Ising model correspond to the following formulas 1 and 2. Note that s is spin.
[0065]
number
[0066] The Ising model parameter determination unit 105 sets parameters related to the annealing process (step S007). The parameters to be set are determined by a user or the like. In annealing, it is expected that the energy will converge to a stable state where it is lowest, but how long it will take to converge is random. Since annealing is performed repeatedly inside until it converges, the Ising model parameter determination unit 105 sets the initial value, the number of times, the limit of the solution search space, the number of solutions to be obtained, and the like as parameters related to the annealing process.
[0067] Then, the Ising model parameter determination unit 105 inputs the generated Ising model to the annealing unit 200, and causes the annealing unit 200 to output sampling data.
[0068] The annealing unit 200 executes an annealing process (step S008). The annealing process can obtain a combination of numerical values (a set of sampling data) that minimizes the result of the above-mentioned formula 1. Note that the annealing process may obtain a data set that violates the constraint conditions, so the optimization system 1 can remove such data sets in post-processing. The annealing unit 200 performs annealing the number of times set in step S007, and outputs a specified number of data sets in ascending order of the value of the above-mentioned formula 1.
[0069] The simulation operation unit 300 may display data on the progress of the annealing process (annealing status) during the annealing process in step S008 (step S009). Since annealing is expected to converge in a direction that lowers the evaluation formula, the user may refer to the data on the progress of the process and, if it does not converge appropriately, may decide to interrupt the process and start over, or to continue the process with the provisional results while the annealing is in progress.
[0070] Next, the decoding unit 106 performs a decoding process (step S010), which is the inverse conversion of step S005. For example, if the return value of the decoding process is set to the average value of the section, the return value will be fixed. Therefore, the decoding unit 106 may randomly set a value within the section as the return value, thereby making it a pseudo-continuous value.
[0071] A specific example of the decoding process will be described below. FIG. 4 is an explanatory diagram showing an example of the decoding process. The example shown in FIG. 4 is an example in which the interval is divided into four equal parts. In such a case, as shown in FIG. 4, by performing an annealing process, it is possible to obtain a data set in which one of the four intervals is 1 and the others are 0. At this time, the decoding unit 106 may make a continuous value by calculating a random number (random(v1min, v1max)) for the interval (v1min, v1max).
[0072] 5 is a flowchart showing an example of the decoding process. The decoding unit 106 searches for a binary variable that is set to "1" and calculates the minimum value Z of the range indicated by the binary variable (step S111). The decoding unit 106 then returns a value obtained by adding a value multiplied by the interval range width a * random number (0.0<=random<=1.0) to Z (step S112).
[0073] Next, the sampling data analysis unit 107 analyzes the data sampled by the annealing process (step S011). As described later, in this embodiment, the model is refined by repeating machine learning, annealing, simulation, and model update. In determining whether to perform the repeated process, the sampling data analysis unit 107 may determine whether the model has been sufficiently refined based on the variance of the value of an evaluation formula (for example, Formula 1 shown above) based on the data obtained by sampling.
[0074] The sampling data analysis unit 107 may, for example, compare the past variance value with the current variance value, and if the difference in change is within a predetermined range, determine that further modification of the model is unlikely to result in improvement, and decide to terminate the above-mentioned repetitive process.
[0075] In addition to the variance value, the sampling data analysis unit 107 may determine whether or not to perform repeated processing based on the difference between the minimum and maximum values of the evaluation formula or the maximum value of the evaluation formula.
[0076] Furthermore, among the obtained sampled data, data near the minimum value of the evaluation formula becomes data with the highest likelihood (i.e., maximum likelihood data). Therefore, the learning data management unit 101 may select learning data by narrowing down to data near the minimum value. Thereafter, the machine learning unit 104 performs machine learning again using the selected learning data to correct and refine the model. Note that the learning data management unit 101 may select the number of data sets according to the parameters set by the Ising model parameter determination unit 105.
[0077] The learning data management unit 101 may select as learning data data a number of which is within a pre-specified range of error from the minimum value of the evaluation formula (e.g., an error of 10%), rather than a number of which corresponds to the set parameters.
[0078] The simulation operation unit 300 may display the data used in the analysis of the sampling data as the sampling result (step S012). The user refers to the displayed data and inputs a decision as to whether to repeat the process or to stop the process (i.e., to confirm whether to repeat the process) (step S013).
[0079] 6 is an explanatory diagram showing an example of a sampling result, which shows a graph of the transition of the evaluation value according to the repeated processing and the frequency distribution of the evaluation value.
[0080] If the user inputs via the simulation operation unit 300 that re-learning will not be performed (i.e., the process will not be repeated) (No in step S104), the process ends. On the other hand, if the user inputs that re-learning will be performed (i.e., the process will be repeated) (Yes in step S104), the process from step S002 onwards is repeated. Note that the machine learning simulation unit 100 may end the repeated process when a pre-specified time has elapsed, in addition to accepting an explicit process from the user.
[0081] At that time, in step S002, the learning data management unit 101 selects data obtained by sampling with annealing and calculating with the evaluation formula as learning data to be used for re-learning. That is, the learning data management unit 101 inputs the extracted sampling data as learning data, and the machine learning unit 104 re-learns the prediction model using the input sampling data.
[0082] As described above, in this embodiment, the learning data management unit 101 accepts input of learning data, and the machine learning unit 104 learns a prediction model using the input learning data. In addition, the encoding unit 102 encodes variables included in the input learning data according to the manner of inputting them to the Ising model, and the Ising model parameter determination unit 105 generates an Ising model based on the prediction model and the encoded variables, and inputs the generated Ising model to the annealing unit 200 to output sampling data. Then, the decoding unit 106 decodes the sampling data obtained as a result of the optimization process, and the learning data management unit 101 extracts sampling data whose value of the evaluation formula satisfies a predetermined condition. At that time, the learning data management unit 101 accepts input of the extracted sampling data as learning data, and the machine learning unit 104 learns a prediction model using the input sampling data. Therefore, even if the amount of data used for learning is small, the accuracy of the generated model can be improved.
[0083] Specifically, in this embodiment, in a financial model including ambiguous or uncertain parameters, the machine learning unit 104 performs machine learning using past data, and then performs re-learning using learning data obtained by annealing and simulation, thereby obtaining a more accurate model. Therefore, since risk can be calculated more accurately, financial products can be provided at low cost without increasing risk costs. In addition, as a secondary effect, it is also possible to encourage investment expansion.
[0084] For example, in general machine learning, when there is little learning data or when the learning data is biased, it is difficult to make highly accurate predictions or classifications. On the other hand, in this embodiment, the learning data management unit 101 can create plausible learning data for a certain event, so that improvement in the accuracy of the model can be expected.
[0085] Next, modified examples of the optimization system 1 of this embodiment will be described. In the first modified example, another method of encoding and decoding will be described. Specifically, the encoding unit 102 and the decoding unit 106 use an n-digit binary representation, so that a larger value range can be handled with a smaller number of spins.
[0086] As in the above embodiment, the consecutive value list is X, and the number of spins (quantization number) used is n. Fig. 7 is a flowchart showing an example of a process for encoding the consecutive value list X into an n-digit binary representation.
[0087] The encoding unit 102 obtains the list of consecutive values X to be encoded and the quantization number n (step S121). The encoding unit 102 obtains the minimum and maximum values of the list of consecutive values X, and sets the range interval widths of the range from the median value to the maximum value (hereinafter referred to as the upper range) and the range from the minimum value to the median value (hereinafter referred to as the lower range) to a / 2 for the median value midX (step S122).
[0088] The encoding unit 102 sets the kth (initial value k=0) spin (binary variable) to 1 when each element of the consecutive value list X is included in the upper range, and to 0 when each element is included in the lower range. Furthermore, the encoding unit 102 updates the range width a and the median value midX according to each interval (step S123).
[0089] The encoding unit 102 adds 1 to k (step S124), and if k has not reached the quantization number n (No in step S125), repeats the processes from step S122 onward. On the other hand, if k has reached the quantization number n (Yes in step S125), the encoding unit 102 stores the minimum range interval width (step S126).
[0090] In this way, when the encoding unit 102 identifies the minimum and maximum values of the continuous value list X and n is the quantization number, the interval from the minimum value to the maximum value is expressed as 2 n By dividing it equally, a variable can be expressed as an n-digit binary number.
[0091] 8 is a flowchart showing an example of a process for decoding data obtained by encoding the consecutive value list X in n-digit binary representation. The decoding unit 106 acquires the first range ini_a and the minimum value, and sets the minimum value of the consecutive value list X to the target decoded variable Z (step S131). Next, if the k-th binary variable Yk is 1, the decoding unit 106 adds the k-th range to the target decoded variable Z (step S132). The decoding unit 106 adds 1 to k (step S133), and if k has not reached the quantized number n (No in step S134), repeats the process of step S132. On the other hand, if k has reached the quantized number n (Yes in step S134), the loop ends. Then, the decoding unit 106 adds a value obtained by multiplying the minimum interval range width min_a by a random number (0.0<=random<=1.0) to Z, thereby acquiring a pseudo continuous value Z (step S135).
[0092] Next, a second modified example of the optimization system 1 of this embodiment will be described. In the second modified example, the encoding unit 102 and the decoding unit 106 classify variables into n clusters, thereby enabling more general-purpose handling.
[0093] As in the above embodiment, the list of consecutive values to be encoded is X, and the number of spins (quantization number) to be used is n. Fig. 9 is a flowchart showing an example of a process for encoding the list of consecutive values X with n clusters.
[0094] The encoding unit 102 obtains the list of consecutive values X to be encoded and the quantization number n (step S141). In addition, the encoding unit 102 obtains the minimum and maximum values of the list of consecutive values X, and randomly selects n values C k (step S142).
[0095] The encoding unit 102 selects the closest C kThe encoding unit 102 determines the position of the center of gravity of the consecutive value list X to which the label k is set, and sets the value of the position as C k (Step S144). Old C k and the new C k If they are not the same (No in step S145), a new C k C k (step S146), and the processes from step S143 onwards are repeated. k and the new C k If they are the same (Yes in step S145), the loop ends. Then, for each element of the consecutive value list X, if any of k labels is attached, the encoding unit 102 sets only the k-th binary variable to 1 and sets the other binary variables to 0 (step S147).
[0096] 10 is a flowchart showing an example of a process for decoding data obtained by encoding a list of consecutive values X into n clusters. The decoding unit 106 obtains a value k indicating which clustering the data belongs to. The decoding unit 106 then converts the decoded value into Z=C k (Step S151). The decoding unit 106 adds a value obtained by multiplying the average inter-cluster distance by a random number (0.0<=random<=1.0) to the provisionally set value Z, thereby obtaining a pseudo continuous value Z (Step S152).
[0097] Next, a third modified example of the optimization system 1 of this embodiment will be described. In the third modified example, the encoding unit 102 and the decoding unit 106 make the frequency of the n intervals as even as possible, thereby enabling a more precise model representation.
[0098] As in the above embodiment, the list of consecutive values to be encoded is X, and the number of spins (quantization number) to be used is n. Fig. 11 is a flowchart showing an example of a process for uniformly encoding the list of consecutive values X into n intervals.
[0099] The encoding unit 102 acquires a list X of continuous values to be encoded and the quantization number [2*n] (step S161). Further, the encoding unit 102 acquires the minimum value and the maximum value of the list X of continuous values, and acquires the value range a from the minimum value to the maximum value (step S162).
[0100] The encoding unit 102 regards the distribution of the list X of continuous values as a normal distribution, and calculates the value range width A k that results in the probability density k / n (step S163). Here, k is an integer label where k <= 0, k < n. FIG. 12 is an explanatory diagram showing an example of interval division. The example shown in FIG. 12 shows that the intervals are divided so that the frequencies of the respective intervals are equal.
[0101] For each element of the list X of continuous values, the encoding unit 102 calculates which interval the value is included in, and sets the label k of that interval as j (step S164). Since the label j is in the range of -n < j < n, the encoding unit 102 converts the label j so that 0 <= m < 2*n (step S165). For each element of the list X of continuous values, the encoding unit 102 sets only the m-th binary variable to 1 and sets the other binary variables to 0 (step S166).
[0102] FIG. 13 is a flowchart showing an example of a process of decoding data obtained by equally encoding the list X of continuous values in n intervals. The decoding unit 106 acquires the label m of the interval. Since the label m is in the range of 0 <= m < 2*n, the decoding unit 106 converts the label m so that -n < j < n (step S171). The decoding unit 106 acquires the minimum value Z of the interval (step S172), and adds to the obtained value Z a value obtained by multiplying each interval width A k by a random number (0.0 <= random <= 1.0), and pseudo-randomly acquires the continuous value Z (step S173).
[0103] Embodiment 2. Next, a second embodiment of the optimization system of this embodiment will be described. In the first embodiment, a series of processes of the machine learning simulation unit 100 and the annealing unit 200 are repeated after a pre-specified time has elapsed, or after a pre-specified number of processes have been performed, or until a user instructs via the simulation operation unit 300. On the other hand, in the second embodiment, it is determined whether or not to repeat the processes depending on the value of the evaluation formula.
[0104] 14 is a block diagram showing an example of the configuration of a second embodiment of an optimization system of the present invention. The optimization system 2 of this embodiment includes a machine learning simulation unit 120, an annealing unit 200, and a simulation operation unit 300. The contents of the annealing unit 200 and the simulation operation unit 300 are similar to those of the first embodiment.
[0105] The machine learning simulation unit 120 includes a learning data management unit 101, an encoding unit 102, a simulation model generation unit 103, a machine learning unit 104, an Ising model parameter determination unit 105, a decoding unit 106, a sampling data analysis unit 107, a simulation execution unit 108, an end condition determination unit 109, and a storage unit 115. That is, the machine learning simulation unit 120 of this embodiment differs from the machine learning simulation unit 100 of the first embodiment in that it further includes an end condition determination unit 109. The other configurations are the same as those of the first embodiment.
[0106] The termination condition determination unit 109 analyzes the evaluation value, which is the result of the simulation performed using the sampling data obtained by the annealing unit 200, and determines whether or not to repeat the process of learning the predictive model. Any method can be used to determine whether or not the evaluation value has converged, and examples of the method include the following methods.
[0107] The first judgment method is to judge whether the evaluation value is within a certain error range. For example, in the case of an index portfolio, since it is required that the price movement coincides with the predicted index, the difference from the index value can be used as the evaluation value. Also, in the case of a portfolio with delta neutral positions, since it is required that the price movement from the whole is zero, the difference from the initial value can be used as the evaluation value.
[0108] The second judgment method is a method of judging whether or not the solution candidate derived by annealing satisfies a specific condition. For example, when a formula for calculating the fair price of an option such as Black-Scholes is used, the end condition judgment unit 109 may judge to end the process when the desired option price is reached.
[0109] As a third determination method, the termination condition determination unit 109 may calculate the minimum value of a predefined number of evaluation values, and determine to terminate the process if the cumulative minimum value has not been updated.
[0110] As a fourth determination method, the termination condition determination unit 109 may calculate the variance of a predefined number of evaluation values, and determine to terminate the process if the variance is less than a certain value.
[0111] The learning data management unit 101, the encoding unit 102, the simulation model generation unit 103, the machine learning unit 104, the Ising model parameter determination unit 105, the decoding unit 106, the sampling data analysis unit 107, the simulation execution unit 108, and the termination condition determination unit 109 are realized by a computer processor that operates according to a program (optimization program).
[0112] As described above, in this embodiment, the end condition determination unit 109 determines whether or not to repeat the process of learning a prediction model. Therefore, in addition to the effects of the first embodiment, it is possible to automatically proceed with the learning process up to a predetermined condition.
[0113] Embodiment 3. Next, a third embodiment of the optimization system of this embodiment will be described. In the first embodiment, the case where the simulation execution unit 108 performs a simulation using data sampled in the annealing process has been described. In this embodiment, a case where information is acquired from an external source instead of performing a simulation will be described.
[0114] 15 is a block diagram showing an example of the configuration of a third embodiment of the optimization system of the present invention. The optimization system 3 of this embodiment includes a machine learning simulation unit 130, an annealing unit 200, and a simulation operation unit 300. The contents of the annealing unit 200 and the simulation operation unit 300 are similar to those of the first embodiment.
[0115] The machine learning simulation unit 130 includes a learning data management unit 101, an encoding unit 102, a simulation model generation unit 103, a machine learning unit 104, an Ising model parameter determination unit 105, a decoding unit 106, a sampling data analysis unit 107, a simulation execution unit 108, a market data acquisition unit 111, and a storage unit 115. That is, the machine learning simulation unit 130 of this embodiment differs from the machine learning simulation unit 100 of the first embodiment in that it includes the market data acquisition unit 111 instead of the simulation execution unit 108. The other configurations are the same as those of the first embodiment.
[0116] The market data acquisition unit 111 acquires data from an external financial market database (not shown) using the sampling data. The market data acquisition unit 111 acquires, for example, forecast information and speculation information such as transaction costs, interest rates, and risk assessments of each financial product corresponding to the sampling data.
[0117] Any method may be used for the market data acquisition unit 111 to acquire data. For example, a method for making an inquiry to an external financial market database using sampling data may be determined in advance, and the market data acquisition unit 111 may acquire data according to the inquiry method.
[0118] In the present embodiment, a case has been described in which the machine learning / simulation unit 130 includes the market data acquisition unit 111 instead of the simulation execution unit 108. However, the machine learning / simulation unit 130 may include both the simulation execution unit 108 and the market data acquisition unit 111.
[0119] The learning data management unit 101, the encoding unit 102, the simulation model generation unit 103, the machine learning unit 104, the Ising model parameter determination unit 105, the decoding unit 106, the sampling data analysis unit 107, the simulation execution unit 108, and the market data acquisition unit 111 are realized by a computer processor that operates according to a program (optimization program).
[0120] As described above, in this embodiment, the market data acquisition unit 111 acquires data from an external financial market database using sampling data. Therefore, in addition to the effects of the first embodiment, it is possible to obtain results that are closer to the actual situation from the sampling data.
[0121] Next, an overview of the present invention will be described. FIG. 16 is a block diagram showing an overview of an optimization device according to the present invention. An optimization device 80 (for example, a machine learning simulation unit 100, a machine learning simulation unit 120, or a machine learning simulation unit 130) according to the present invention includes learning data input means 81 (for example, a learning data management unit 101) that accepts input of learning data, learning means 82 (for example, a machine learning unit 104) that uses the input learning data to learn (for example, perform machine learning) a prediction model that predicts an evaluation value to be obtained based on variables to be combined in an optimization process, encoding means 83 (for example, an encoding unit 102) that encodes variables included in the input learning data (for example, into discrete values) according to the manner in which they are input to an Ising model, and encoding means 84 (for example, an encoding unit 105) that performs encoding based on the prediction model and the encoded variables. the Ising model generating means 84 (e.g., Ising model parameter determining unit 105) that generates an Ising model; optimization process executing means 85 (e.g., Ising model parameter determining unit 105) that inputs an Ising model to an annealing machine (e.g., annealing unit 200) that executes optimization process to minimize a predetermined evaluation formula based on a combination of variables included in the learning data and causes the annealing machine to output sampling data that is a combination of variables that minimizes the evaluation value; decoding means 86 (e.g., decoding unit 106) that decodes the sampling data obtained as a result of the optimization process; and extraction means 87 (e.g., learning data management unit 101) that extracts sampling data whose value of the evaluation formula satisfies a predetermined condition.
[0122] Then, the learning data input means 81 accepts the input of the extracted sampling data as learning data, and the learning means 82 uses the input sampling data to learn a prediction model.
[0123] With such a configuration, the accuracy of the generated model can be improved even if a small amount of data is used for learning.
[0124] The extraction means 87 may also extract a set number or percentage of sample data in ascending order of sample data with the lowest evaluation formula value. Such a configuration allows for extraction of sample data with high likelihood, thereby improving the accuracy of learning the prediction model.
[0125] Specifically, the learning means 82 may learn a prediction model that predicts the difference in index value obtained based on the attributes of financial products, which are variables to be combined, and the state of the financial market in the optimization process of the financial portfolio.Then, the optimization process execution means 85 may output the combination of variables that minimizes the difference in index value as sampling data.
[0126] Alternatively, the learning means 82 may learn a prediction model that predicts the sum of price fluctuations of each financial product obtained based on the attributes of the financial products, which are the variables to be combined, and the financial market conditions in the optimization process of the financial portfolio.The optimization process execution means 85 may output, as sampling data, a combination of variables that makes the sum of the price fluctuations of each financial product zero.
[0127] In addition, as an example, the encoding means 83 identifies the minimum and maximum values of one variable in the learning data, and when n is the quantization number, the interval from the minimum value to the maximum value is 2 n It is also possible to divide it into equal parts and express one variable as an n-digit binary number.
[0128] The optimization device 80 may also include a termination condition determination means (e.g., the sampling data analysis unit 107) that determines whether or not to repeat the process of learning the prediction model. When it is determined that the repeated process is to be executed, the learning data input means 81 may accept an input of the extracted sampling data as learning data, and the learning means 82 may learn (e.g., re-learn) the prediction model using the input learning data.
[0129] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes.
[0130] (Appendix 1) A learning data input means for accepting input of learning data; A learning means for learning a prediction model that predicts an evaluation value obtained based on variables to be combined in an optimization process, using input learning data; An encoding means for encoding variables included in the input learning data according to the manner in which the variables are input to the Ising model; an Ising model generation means for generating an Ising model based on the prediction model and the encoded variables; an optimization process execution means for inputting the Ising model to an annealing machine that executes an optimization process for minimizing a predetermined evaluation formula based on a combination of variables included in the learning data, and for outputting sampling data that is a combination of variables that minimizes the evaluation value; a decoding means for decoding the sampling data obtained as a result of the optimization process; an extraction means for extracting sampling data in which the value of the evaluation formula satisfies a predetermined condition; the learning data input means receives an input of the extracted sampling data as learning data; The learning means learns the prediction model using input sampling data. Optimization device characterized by:
[0131] (Note 2) The extraction means extracts a set number or percentage of sample data in ascending order from the sample data with the lowest evaluation formula value. 2. The optimization apparatus of claim 1.
[0132] (Appendix 3) The learning means learns a prediction model that predicts the difference in index indicator values obtained based on the attributes of financial products, which are variables to be combined, and the state of the financial market in the optimization process of the financial portfolio; The optimization process execution means outputs a combination of variables that minimizes the difference between the index values as sampling data. 10. The optimization device of claim 1 or 2.
[0133] (Appendix 4) The learning means learns a prediction model for predicting the sum of price fluctuations of each financial product obtained based on the attributes of the financial products, which are variables to be combined, and the state of the financial market in the optimization process of the financial portfolio; The optimization process execution means outputs, as sampling data, a combination of variables that makes the sum of the price fluctuations of each of the financial products zero. 10. The optimization device of claim 1 or 2.
[0134] (Appendix 5) The encoding means identifies the minimum and maximum values of one variable in the training data, and when n is the quantization number, divides the interval from the minimum value to the maximum value into 2 n Divide it equally and express the one variable as an n-digit binary number. 5. The optimization device according to claim 1,
[0135] (Appendix 6) A termination condition determination means is provided for determining whether or not to repeat the process of learning a prediction model; The learning data input means, when it is determined that the repetitive processing is to be executed, accepts an input of the extracted sampling data as learning data; The learning means learns a prediction model using the input learning data. 6. The optimization device according to claim 1,
[0136] (Appendix 7) An optimization device; an annealing machine that performs an optimization process to minimize a predetermined evaluation formula based on a combination of variables included in the learning data; The optimization device comprises: A learning data input means for accepting input of learning data; A learning means for learning a prediction model that predicts an evaluation value obtained based on variables to be combined in an optimization process, using input learning data; An encoding means for encoding variables included in the input learning data according to the manner in which the variables are input to the Ising model; an Ising model generation means for generating an Ising model based on the prediction model and the encoded variables; an optimization process execution means for inputting the Ising model to the annealing machine and outputting sampling data which is a combination of variables that minimizes the evaluation value; a decoding means for decoding the sampling data obtained as a result of the optimization process; extraction means for extracting sampling data in which the value of the evaluation formula satisfies a predetermined condition; the learning data input means receives an input of the extracted sampling data as learning data; The learning means learns the prediction model using input sampling data. Optimization system comprising:
[0137] (Appendix 8) Accepts input of learning data, Using the input learning data, a predictive model is trained to predict an evaluation value obtained based on variables to be combined in an optimization process; Encoding variables included in the input learning data according to the manner in which they are input to the Ising model; generating an Ising model based on the predictive model and the encoded variables; inputting the Ising model into an annealing machine that executes an optimization process for minimizing a predetermined evaluation formula based on a combination of variables included in the learning data, and outputting sampling data that is a combination of variables that minimizes the evaluation value; Decoding the sampling data obtained as a result of the optimization process; Extracting sampling data in which the value of the evaluation formula satisfies a predetermined condition; The extracted sampling data is input as learning data, The prediction model is trained using the input sampling data. Optimization method according to claim 1,
[0138] (Appendix 9) Extract a set number or percentage of sample data in ascending order from the sample data with the lowest evaluation formula value. Optimization method according to appendix 8.
[0139] (Appendix 10) To the computer, A learning data input process that accepts input of learning data; A learning process for learning a prediction model that predicts an evaluation value obtained based on variables to be combined in the optimization process, using the input learning data; An encoding process for encoding variables included in the input learning data according to the manner in which the variables are input to the Ising model; an Ising model generation process for generating an Ising model based on the prediction model and the encoded variables; an optimization process execution process in which the Ising model is input to an annealing machine that executes an optimization process for minimizing a predetermined evaluation formula based on a combination of variables included in the learning data, and sampling data that is a combination of variables that minimizes the evaluation value is output; a decoding process for decoding the sampling data obtained as a result of the optimization process; and executing an extraction process for extracting sampling data in which the value of the evaluation formula satisfies a predetermined condition; In the learning data input process, the extracted sampling data is input as learning data, and the input is accepted; In the learning process, the prediction model is trained using input sampling data. Optimization program for.
[0140] (Appendix 11) To the computer, In the extraction process, the sample data with the lowest evaluation formula value is extracted in ascending order for the set number or percentage of sample data. The optimization program described in Appendix 10. [Industrial Applicability]
[0141] The present invention is preferably applied to an optimization device that optimizes a portfolio in financial operations, and an optimization device that optimizes raw material composition in materials and drug discovery development. [Explanation of symbols]
[0142] 100,120,130 Machine Learning and Simulation Department 101 Learning Data Management Department 102 Encoding section 103 Simulation model generation unit 104 Machine Learning Department 105 Ising model parameter determination unit 106 Decoding section 107 Sampling Data Analysis Department 108 Simulation Execution Department 109 Termination condition determination section 111 Market Data Acquisition Department 115 Storage section 200 Annealing Department 300 Simulation operation unit
Claims
1. A learning data input means for accepting input of learning data; A learning means for learning a prediction model that predicts an evaluation value obtained based on variables to be combined in an optimization process, using input learning data; An encoding means for encoding variables included in the input learning data according to the manner in which the variables are input to the Ising model; an Ising model generation means for generating an Ising model based on the prediction model and the encoded variables; an optimization process execution means for inputting the Ising model to an annealing machine that executes an optimization process for minimizing a predetermined evaluation formula based on a combination of variables included in the learning data, and for outputting sampling data that is a combination of variables that minimizes the evaluation value; a decoding means for decoding the sampling data obtained as a result of the optimization process; an extraction means for extracting sampling data in which the value of the evaluation formula satisfies a predetermined condition; the learning data input means receives an input of the extracted sampling data as learning data; The learning means learns the prediction model using input sampling data. Optimization device characterized by:
2. The extraction means extracts a set number or percentage of sample data in ascending order from the sample data having the lowest value of the evaluation formula. The optimization device according to claim 1 .
3. The learning means learns a prediction model for predicting differences in index indicator values obtained based on attributes of financial products, which are variables to be combined, and financial market conditions in a financial portfolio optimization process; The optimization process execution means outputs a combination of variables that minimizes the difference between the index values as sampling data.
3. The optimization device according to claim 1 or 2.
4. The learning means learns a prediction model for predicting the sum of price fluctuations of financial instruments obtained based on attributes of financial instruments, which are variables to be combined, and financial market conditions in a financial portfolio optimization process; The optimization process execution means outputs, as sampling data, a combination of variables that makes the sum of the price fluctuations of each of the financial products zero.
3. The optimization device according to claim 1 or 2.
5. The encoding means identifies the minimum and maximum values of one variable in the learning data, and defines the interval from the minimum value to the maximum value as 2, where n is the quantization number. n Divide it equally and express the one variable as an n-digit binary number.
3. The optimization device according to claim 1 or 2.
6. A termination condition determination means for determining whether or not to repeat the process of learning a prediction model, The learning data input means, when it is determined that the iterative process is to be executed, accepts an input of the extracted sampling data as learning data; The learning means learns a prediction model using the input learning data.
3. The optimization device according to claim 1 or 2.
7. Accepts input of learning data, Using the input learning data, a predictive model is trained to predict an evaluation value to be obtained based on variables to be combined in an optimization process; Encoding variables included in the input learning data according to the manner in which they are input to the Ising model; generating an Ising model based on the predictive model and the encoded variables; inputting the Ising model into an annealing machine that executes an optimization process for minimizing a predetermined evaluation formula based on a combination of variables included in the learning data, and outputting sampling data that is a combination of variables that minimizes the evaluation value; Decoding the sampling data obtained as a result of the optimization process; Extracting sampling data in which the value of the evaluation formula satisfies a predetermined condition; The extracted sampling data is input as learning data, The prediction model is trained using the input sampling data. Optimization method according to claim 1,
8. Extracts a set number or percentage of sample data in ascending order from the sample data with the lowest evaluation formula value 8. The optimization method according to claim 7.
9. On the computer, A learning data input process that accepts input of learning data; A learning process in which a predictive model is learned using the input learning data to predict an evaluation value obtained based on variables to be combined in the optimization process; An encoding process for encoding variables included in the input learning data according to the manner in which the variables are input to the Ising model; an Ising model generation process for generating an Ising model based on the prediction model and the encoded variables; an optimization process execution process in which the Ising model is input to an annealing machine that executes an optimization process for minimizing a predetermined evaluation formula based on a combination of variables included in the learning data, and sampling data that is a combination of variables that minimizes the evaluation value is output; a decoding process for decoding the sampling data obtained as a result of the optimization process; and executing an extraction process for extracting sampling data in which the value of the evaluation formula satisfies a predetermined condition; In the learning data input process, the extracted sampling data is input as learning data, and the input is accepted; In the learning process, the prediction model is trained using input sampling data. Optimization program for.
10. On the computer, In the extraction process, the sample data with the lowest evaluation formula value is extracted in ascending order for the set number or percentage of sample data. The optimization program according to claim 9.
Citation Information
Patent Citations
Sampling device and sampling method
JP2020204929A
Information processing device and information processing system
WO2020255839A1
Optimization device, optimization method and optimization program
JP2020194273A
Portfolio creation assistance device, portfolio creation assistance method, and portfolio creation assistance system
JP2021135917A
