Information processing program, information processing method, and information processing device

By dividing and scaling matrix elements within blocks of similar attributes and inputting these scaled matrices to a machine learning model, the method addresses the low accuracy issue in conventional models, achieving improved precision in solving matrix equations.

JP7568931B2Active Publication Date: 2024-10-17FUJITSU LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021048080
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-23
Publication Date
2024-10-17
Estimated Expiration
2041-03-23

AI Technical Summary

Technical Problem

Conventional machine learning models struggle with low solution accuracy when solving matrix equations with matrices containing elements of different orders, making it difficult to generate models with high precision.

Method used

The method involves adjusting matrices by dividing them into blocks with similar attributes, changing the scale of elements within these blocks, and inputting the scaled matrices to a machine learning model to perform matrix operations, thereby aligning element scales and improving accuracy.

Benefits of technology

This approach enhances the solution accuracy of machine learning models by matching element scales, leading to more precise results in solving matrix equations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568931000001
    Figure 0007568931000001
  • Figure 0007568931000002
    Figure 0007568931000002
  • Figure 0007568931000003
    Figure 0007568931000003
Patent Text Reader

Abstract

To improve the accuracy of acquiring a solution of a machine learning model.SOLUTION: An information processing device acquires a learning data set {n,An,bn,xn}Nn=1. The information processing device divides {An,bn}Nn=1 in the {n,An,bn,xn}Nn=1 into a plurality of blocks. The information processing device multiplies the divided {An!Bn,bn!cn}Nn=1 by scaling coefficients α,β to change a scale. The information processing device sets a combination of {αAn!βBn,αbn!βcn}Nn=1 after changing the scale and {xn}Nn=1 in the learning data set {n,An,bn,xn}Nn=1 in an input object.SELECTED DRAWING: Figure 20
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing program, an information processing method, and an information processing device. [Background technology]

[0002] Machine learning has been used to solve matrix equations. For example, when solving a matrix equation Ax=b for x, a machine learning model that outputs a predicted value of x corresponding to input A and b is generated by machine learning and used. A is an n×n dimensional matrix. b and x are n×1 dimensional matrices.

[0003] Prior art techniques, for example, use neural networks known as Convolutional Neural Networks (CNNs) to solve flow field patterns in steady flow simulations. [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] Guo, Xiaoxiao, Wei Li, and Francesco Iorio. “Convolutional neural networks for steady flow approximation.” Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining. 2016. Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the conventional technology, the solution accuracy of the machine learning model may be poor. For example, when the n×n-dimensional matrix A forming the matrix equation contains multiple elements each of which has a different order, it tends to be difficult to generate a machine learning model with good solution accuracy.

[0006] In one aspect, the present invention aims to improve the solution accuracy of a machine learning model. [Means for solving the problem]

[0007] According to one embodiment, an information processing program, an information processing method, and an information processing device are proposed which acquire a matrix that forms a predetermined matrix equation, divide the acquired matrix into a plurality of blocks each including elements with the same attributes based on attributes of each of a plurality of elements included in the acquired matrix, change the scale of each of a plurality of elements included in each of the divided blocks, and set the matrix after changing the scale of each of the plurality of elements included in each of the blocks as a target for input to a machine learning model that performs matrix operations. Effect of the Invention

[0008] According to one aspect, it is possible to improve the solution accuracy of a machine learning model. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of an information processing method according to an embodiment. [Diagram 2] FIG. 2 is an explanatory diagram illustrating an example of an information processing system 200. As shown in FIG. [Diagram 3] FIG. 3 is a block diagram showing an example of a hardware configuration of the information processing device 100. As shown in FIG. [Figure 4] FIG. 4 is a block diagram showing an example of a functional configuration of the information processing device 100. As shown in FIG. [Diagram 5] FIG. 5 is an explanatory diagram (part 1) showing a first operation example of the information processing device 100. In FIG. [Figure 6] FIG. 6 is an explanatory diagram (part 2) showing a first operation example of the information processing device 100. In FIG. [Figure 7] FIG. 7 is an explanatory diagram (part 3) showing a first operation example of the information processing device 100. In FIG. [Figure 8] FIG. 8 is an explanatory diagram (part 4) showing a first operation example of the information processing device 100. [Figure 9] FIG. 9 is an explanatory diagram (part 5) showing a first operation example of the information processing device 100. [Figure 10] FIG. 10 is an explanatory diagram (part 6) showing a first operation example of the information processing device 100. [Figure 11] FIG. 11 is an explanatory diagram (part 7) showing a first operation example of the information processing device 100. [Figure 12] FIG. 12 is an explanatory diagram showing an application example of the information processing device 100. [Figure 13] FIG. 13 is a flowchart illustrating an example of an overall processing procedure in the first operation example. [Figure 14] FIG. 14 is a flowchart illustrating an example of a solution-finding process procedure in the first operational example. [Figure 15] FIG. 15 is an explanatory diagram (part 1) showing a second operation example of the information processing device 100. In FIG. [Figure 16] FIG. 16 is an explanatory diagram (part 2) showing a second operation example of the information processing device 100. In FIG. [Figure 17] FIG. 17 is an explanatory diagram (part 3) showing a second operation example of the information processing device 100. [Figure 18] FIG. 18 is an explanatory diagram (part 4) showing a second operation example of the information processing device 100. [Figure 19] FIG. 19 is a flowchart illustrating an example of a solution-finding process procedure in the second operation example. [Figure 20] FIG. 20 is an explanatory diagram (part 1) showing a specific example of setting a target for input to a machine learning model. [Figure 21] FIG. 21 is an explanatory diagram (part 2) showing a specific example of setting a target for input to a machine learning model. [Figure 22] FIG. 22 is an explanatory diagram (part 3) showing a specific example of setting a target for input to a machine learning model. [Figure 23] FIG. 23 is an explanatory diagram (part 4) showing a specific example of setting a target for input to a machine learning model. [Figure 24] FIG. 24 is an explanatory diagram (part 5) showing a specific example of setting a target for input to a machine learning model. [Diagram 25] FIG. 25 is a flowchart illustrating a first example of a procedure of the setting process. [Figure 26] FIG. 26 is a flowchart illustrating a second example of the setting process procedure. [Figure 27] FIG. 27 is a flowchart illustrating a third example of the setting process procedure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of an information processing program, an information processing method, and an information processing device according to the present invention will be described in detail with reference to the drawings.

[0011] (An example of an information processing method according to an embodiment) 1 is an explanatory diagram showing an example of an information processing method according to an embodiment. The information processing device 100 is a computer for improving the solution-finding accuracy of a machine learning model. The information processing device 100 is, for example, a server or a PC (Personal Computer).

[0012] Here, when solving the matrix equation, a machine learning model may be generated by machine learning and used. The machine learning model may be generated and used, for example, when solving the matrix equation in a numerical simulation.

[0013] Specifically, in many numerical simulations, a nonlinear partial differential equation to be solved is discretized, then linearized to generate a matrix equation, and then the matrix equation is solved using a matrix equation solver. As a matrix equation solver, an iterative solution method is often used, especially for large-scale problems. To accelerate this iterative solution method, a machine learning model may be used in the numerical simulation. Linearization is realized, for example, by the Newton Raphson (NR) method. The iterative solution method may be a static method such as the Gauss Seidel (GS) method and the Successive Over Relaxation (SOR) method. The iterative solution method may be a dynamic method such as the Conjugate Gradient (CG) method and the Generalized Minimal RESidual (GMRES) method. The iterative solution method is, for example, a method of repeating steps to converge a solution of a matrix equation from an initial value.

[0014] However, in the conventional method, the solution accuracy of the machine learning model may be poor. For example, if the matrix forming the matrix equation contains multiple elements with different attributes, it becomes difficult to generate a machine learning model with good solution accuracy. The matrices forming the matrix equation are, for example, a coefficient matrix indicating the coefficients, a right-hand side matrix indicating the right-hand side, and a solution matrix indicating the solution.

[0015] Specifically, if a matrix forming a matrix equation contains multiple elements of different orders, it becomes difficult to generate a machine learning model with high solution accuracy. In addition, the magnitude of change of each of the multiple elements of different orders contained in the matrix forming the matrix equation is different, so it becomes difficult to generate a machine learning model with high solution accuracy.

[0016] Specifically, since the magnitude of change of each element included in the matrix forming the matrix equation differs for each step of the iterative solution method, it is difficult to generate a machine learning model with high solution accuracy. Specifically, there is a case where a numerical simulation is repeated to solve a matrix equation representing a predetermined target along with time changes. In this case, since the magnitude of change of each element included in the matrix forming the matrix equation differs for each numerical simulation, it is difficult to generate a machine learning model with high solution accuracy.

[0017] In response to this, it is conceivable to apply a method of shifting data, which is used to align average values, to the matrices that form the matrix equation, but this would change the meaning of the matrix equation, making it difficult to generate a machine learning model with high solution accuracy.In addition, it is conceivable to apply a method of multiplying the entire data by a constant, which is used to align variance, to the matrices that form the matrix equation, but this would tend to overlook relatively small elements of the matrices that form the matrix equation.

[0018] Therefore, in this embodiment, an information processing method that can match the scale of elements included in a matrix and improve the solution-finding accuracy of a machine learning model will be described.

[0019] In FIG. 1, (1-1) the information processing device 100 acquires matrices forming a predetermined matrix equation 101. The information processing device 100 acquires, for example, a first matrix indicating the coefficients of the predetermined matrix equation 101 and a third matrix indicating the product of the first matrix and a second matrix indicating a solution of the predetermined matrix equation 101. The first matrix is, for example, a coefficient matrix A. The second matrix is, for example, a solution vector x. The third matrix is, for example, a right-hand side vector b. In the example of FIG. 1, the information processing device 100 acquires the coefficient matrix A and the right-hand side vector b forming the predetermined matrix equation 101.

[0020] (1-2) Based on the attributes of each of the elements included in the acquired matrix, the information processing device 100 rearranges and divides the acquired matrix into a plurality of blocks each including elements with the same attributes. The attribute is, for example, information indicating what kind of physical quantity the element is. The attribute may be the order of magnitude of the element. In the example of FIG. 1, the information processing device 100 divides the coefficient matrix A into block A1 and block A2, and divides the right-hand side vector b into block b1 and block b2.

[0021] (1-3) The information processing device 100 changes the scale of each of the multiple elements included in each of the divided blocks. For example, the information processing device 100 changes the scale of each of the multiple elements included in each of the divided blocks based on the size of at least any element included in the block.

[0022] 1, the information processing device 100 sets a scaling coefficient α based on the size of at least one of the elements included in the block A1 and the block b1. The information processing device 100 changes the scale of the block A1 and the block b1 by multiplying the block A1 and the block b1 by the set scaling coefficient α.

[0023] Furthermore, the information processing device 100 sets a scaling coefficient β based on the size of at least one of the elements included in the block A2 and the block b2. The information processing device 100 changes the scales of the block A2 and the block b2 by multiplying the blocks A2 and b2 by the set scaling coefficient β.

[0024] (1-4) The information processing device 100 sets the matrix after changing the scale of each of the multiple elements included in each block as an input target for the machine learning model 102 that performs matrix calculation. The input target is, for example, a matrix to be input to the machine learning model 102 when updating the machine learning model 102.

[0025] As a result, when training the machine learning model 102, the information processing device 100 can match the scale between elements in the matrix input to the machine learning model 102, thereby enabling training of the machine learning model 102 with relatively good solution-finding accuracy.

[0026] Here, the case has been described where the input target is a matrix input to the machine learning model 102 when updating the machine learning model 102, but is not limited thereto. For example, the input target may be a matrix input to the machine learning model 102 when solving a given matrix equation 101 using the machine learning model 102 to find a solution vector x that forms the given matrix equation 101.

[0027] As a result, when determining the solution vector x, the information processing device 100 can match the scale between elements in the matrix input to the machine learning model 102, thereby improving the solution-finding accuracy of the machine learning model 102.

[0028] Here, the case where the information processing device 100 acquires the first matrix and the third matrix has been described, but is not limited thereto. For example, the information processing device 100 may acquire the second matrix. Specifically, the information processing device 100 may acquire the solution vector x.

[0029] (An example of the information processing system 200) Next, an example of an information processing system 200 to which the information processing device 100 shown in FIG. 1 is applied will be described with reference to FIG.

[0030] 2 is an explanatory diagram showing an example of an information processing system 200. In FIG. 2, the information processing system 200 includes an information processing device 100 and a client device 201.

[0031] In the information processing system 200, the information processing device 100 and the client device 201 are connected via a wired or wireless network 210. The network 210 is, for example, a local area network (LAN), a wide area network (WAN), or the Internet.

[0032] The information processing device 100 receives, for example, a request to solve a matrix equation from the client device 201. For example, in response to the request, the information processing device 100 calculates a solution to the matrix equation and transmits it to the client device 201. Specifically, the information processing device 100 receives, from the client device 201, a request to start a numerical simulation. Specifically, in response to the request, the information processing device 100 executes a numerical simulation, calculates a solution to the matrix equation through the numerical simulation, and transmits it to the client device 201.

[0033] More specifically, the information processing device 100 calculates a temporary solution of the matrix equation numerically in any step of the iterative solution during the numerical simulation, and updates a machine learning model that solves the matrix equation using the calculated temporary solution. More specifically, the information processing device 100 calculates a temporary solution of the matrix equation using the machine learning model in any step of the iterative solution during the numerical simulation. More specifically, the information processing device 100 transmits the final solution of the matrix equation calculated by the numerical simulation to the client device 201. The information processing device 100 is, for example, a server or a PC.

[0034] The client device 201 is, for example, a computer that transmits a request to solve a matrix equation to the information processing device 100. The client device 201 receives, for example, a solution to the matrix equation from the information processing device 100 and outputs it. Specifically, the client device 201 transmits a request to start a numerical simulation to the information processing device 100. Specifically, the client device 201 receives, for example, a solution to the matrix equation calculated by the numerical simulation from the information processing device 100 and outputs it. The client device 201 is, for example, a PC, a tablet terminal, a smartphone, etc.

[0035] Here, the case where the information processing device 100 executes the process of generating a machine learning model and the process of using the machine learning model by itself has been described, but the present invention is not limited to this. For example, there may be a case where a plurality of information processing devices 100 are present, and each information processing device 100 is responsible for the process of generating a machine learning model and the process of using the machine learning model.

[0036] (Example of hardware configuration of information processing device 100) Next, an example of the hardware configuration of the information processing device 100 will be described with reference to FIG.

[0037] Fig. 3 is a block diagram showing an example of a hardware configuration of the information processing device 100. In Fig. 3, the information processing device 100 has a CPU (Central Processing Unit) 301, a memory 302, a network I / F (Interface) 303, a recording medium I / F 304, and a recording medium 305. In addition, each component is connected to each other via a bus 300.

[0038] Here, the CPU 301 is responsible for the overall control of the information processing device 100. The memory 302 has, for example, a read only memory (ROM), a random access memory (RAM), and a flash ROM. Specifically, for example, the flash ROM and the ROM store various programs, and the RAM is used as a work area for the CPU 301. The programs stored in the memory 302 are loaded into the CPU 301 to cause the CPU 301 to execute the coded processes.

[0039] The network I / F 303 is connected to the network 210 through a communication line, and is connected to other computers via the network 210. The network I / F 303 manages an internal interface with the network 210, and controls input and output of data from other computers. The network I / F 303 is, for example, a modem or a LAN adapter.

[0040] The recording medium I / F 304 controls reading / writing data from / to the recording medium 305 under the control of the CPU 301. The recording medium I / F 304 is, for example, a disk drive, a solid state drive (SSD), a universal serial bus (USB) port, etc. The recording medium 305 is a non-volatile memory that stores data written under the control of the recording medium I / F 304. The recording medium 305 is, for example, a disk, a semiconductor memory, a USB memory, etc. The recording medium 305 may be detachable from the information processing device 100.

[0041] In addition to the above-mentioned components, the information processing device 100 may have, for example, a keyboard, a mouse, a display, a printer, a scanner, a microphone, a speaker, etc. Furthermore, the information processing device 100 may have a plurality of recording medium I / Fs 304 and recording media 305. Furthermore, the information processing device 100 may not have the recording medium I / Fs 304 and the recording media 305.

[0042] (Example of Hardware Configuration of Client Device 201) An example of the hardware configuration of the client device 201 is similar to, for example, the example of the hardware configuration of the information processing device 100 shown in FIG. 3, and therefore a description thereof will be omitted.

[0043] (Example of functional configuration of information processing device 100) Next, an example of a functional configuration of the information processing device 100 will be described with reference to FIG.

[0044] 4 is a block diagram showing an example of a functional configuration of the information processing device 100. The information processing device 100 includes a storage unit 400, an acquisition unit 401, a division unit 402, a change unit 403, a setting unit 404, a generation unit 405, a solution-finding unit 406, and an output unit 407.

[0045] The storage unit 400 is realized by, for example, a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3. In the following, a case where the storage unit 400 is included in the information processing device 100 will be described, but this is not limiting. For example, the storage unit 400 may be included in a device different from the information processing device 100, and the stored contents of the storage unit 400 may be accessible from the information processing device 100.

[0046] The acquiring unit 401 to the output unit 407 function as an example of a control unit. Specifically, the acquiring unit 401 to the output unit 407 realize their functions by, for example, causing the CPU 301 to execute a program stored in a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3, or by the network I / F 303. The processing results of each functional unit are stored in, for example, a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3.

[0047] The storage unit 400 stores various information that is referred to or updated in the processing of each functional unit. The storage unit 400 stores a machine learning model that performs a matrix operation. The machine learning model is, for example, a neural network. The machine learning model is updated by, for example, the generation unit 405. The storage unit 400 stores, for example, parameters of the machine learning model.

[0048] The storage unit 400 stores matrices forming a matrix equation that are to be input to the machine learning model. The input target is, for example, a matrix to be input to the machine learning model when updating the machine learning model, and is included in the learning dataset of the machine learning model. The input target may be, for example, a matrix to be input to the machine learning model when solving the matrix equation using the machine learning model to find a solution to the matrix equation.

[0049] The matrix is, for example, at least one of a first matrix indicating coefficients of a matrix equation, a second matrix indicating a solution of the matrix equation, and a third matrix indicating a product of the first matrix and the second matrix. The first matrix is, for example, a coefficient matrix A. The second matrix is, for example, a solution vector x. The third matrix is, for example, a right-hand side vector b.

[0050] The acquisition unit 401 acquires various information used for processing by each functional unit. The acquisition unit 401 stores the acquired various information in the storage unit 400 or outputs it to each functional unit. The acquisition unit 401 may also output the various information stored in the storage unit 400 to each functional unit. The acquisition unit 401 acquires various information based on, for example, an operation input by a user. The acquisition unit 401 may receive various information from, for example, a device different from the information processing device 100.

[0051] The acquiring unit 401 acquires, for example, matrices forming a predetermined matrix equation. The matrices are, for example, at least one of a first matrix indicating coefficients of the predetermined matrix equation, a second matrix indicating a solution of the predetermined matrix equation, and a third matrix indicating a product of the first matrix and the second matrix. The first matrix is, for example, a coefficient matrix A. The second matrix is, for example, a solution vector x. The third matrix is, for example, a right-hand side vector b.

[0052] The predetermined matrix equation is, for example, a matrix equation to be solved by an iterative solution. The predetermined matrix equation may be, for example, a matrix equation including a preconditioning matrix used in a preprocessing for changing an eigenvalue distribution of any matrix equation in the iterative solution. The acquisition unit 401 acquires a matrix forming the predetermined matrix equation to obtain a solution of the predetermined matrix equation, for example, by using a machine learning model. The acquisition unit 401 acquires a matrix forming the predetermined matrix equation to be used for updating the machine learning model, for example.

[0053] The acquiring unit 401 specifically acquires a first matrix indicating coefficients of a predetermined matrix equation. The acquiring unit 401 specifically acquires a third matrix indicating a product of the first matrix indicating coefficients of the predetermined matrix equation and a second matrix indicating a solution of the predetermined matrix equation. The acquiring unit 401 more specifically acquires a coefficient matrix A and a right-hand side vector b. The acquiring unit 401 may specifically acquire a second matrix indicating a solution of the predetermined matrix equation. The acquiring unit 401 more specifically acquires a solution vector x.

[0054] Here, for example, a case may be considered in which a plurality of simulations are performed to solve different matrix equations of the same type by an iterative solution. In this case, the acquiring unit 401 may acquire, for example, a matrix forming a matrix equation to be solved by an iterative solution when the simulation is executed each time the simulation is executed. The acquiring unit 401 may acquire, for example, a matrix forming a matrix equation including a preconditioning matrix used in a preprocessing for changing an eigenvalue distribution of any of the matrix equations in the iterative solution when the simulation is executed each time the simulation is executed.

[0055] The acquiring unit 401 may receive a start trigger for starting the processing of any of the functional units. The start trigger may be, for example, a predetermined operational input by a user. The start trigger may be, for example, the receipt of predetermined information from another computer. The start trigger may be, for example, the output of predetermined information by any of the functional units. The acquiring unit 401 may receive, for example, the acquisition of a matrix as a start trigger for starting the processing of the dividing unit 402 to the solution finding unit 406.

[0056] The dividing unit 402 divides the acquired matrix into a plurality of blocks each including an element with the same attribute based on the attribute of each of a plurality of elements included in the acquired matrix. The attribute is, for example, information indicating what kind of physical quantity the element is. The attribute may be the order of magnitude of the element. For example, the dividing unit 402 divides the coefficient matrix A into a block A1 and a block A2, and divides the right-hand side vector b into a block b1 and a block b2. For example, the dividing unit 402 may divide the solution matrix x into a block x1 and a block x2. In this way, the dividing unit 402 can identify parts of the acquired matrix that have different properties.

[0057] Here, the acquired matrix may be a first matrix and a third matrix. In this case, the division unit 402 may specify a fourth matrix indicating a base forming each of the elements included in the acquired matrix when the elements are expressed as floating-point numbers, and a fifth matrix indicating an exponent forming each of the elements included in the acquired matrix when the elements are expressed as floating-point numbers. This allows the division unit 402 to specify a fourth matrix and a fifth matrix that correspond to the acquired matrix and have the scales between the elements adjusted.

[0058] The modification unit 403 modifies the scale of each of the elements included in each of the divided blocks. For example, the modification unit 403 modifies the scale of each of the elements included in each of the divided blocks based on the size of at least one of the elements included in the block.

[0059] Here, the acquired matrices may be a first matrix and a third matrix. In this case, the modification unit 403 specifically calculates a scaling coefficient by multiplying the inverse of any element having the maximum absolute value in each block by a predetermined value. This predetermined value can be uniformly changed by the convergence of learning. Then, the modification unit 403 specifically multiplies each of the elements included in each block by the scaling coefficient calculated for that block, thereby changing the scale of each of the elements included in the block.

[0060] More specifically, the modification unit 403 sets a scaling coefficient α based on the size of at least one of the elements included in the block A1 and the block b1. More specifically, the modification unit 403 multiplies the block A1 and the block b1 by the set scaling coefficient α to change the scales of the block A1 and the block b1. More specifically, the modification unit 403 sets a scaling coefficient β based on the size of at least one of the elements included in the block A2 and the block b2. More specifically, the modification unit 403 multiplies the block A2 and the block b2 by the set scaling coefficient β to change the scales of the block A2 and the block b2. In this way, the modification unit 403 can match the scales between the elements included in the obtained matrix.

[0061] Here, the obtained matrix may be a second matrix. In this case, the change unit 403 specifically changes the scale of each of the elements included in the block by converting each of the elements included in the block based on a predetermined function set for each block. The predetermined function is set in advance by the user, for example.

[0062] More specifically, the modification unit 403 modifies the scale of the block x1 by transforming each of the elements included in the block x1 based on a predetermined function set for the block x1. Also, more specifically, the modification unit 403 modifies the scale of the block x2 by transforming each of the elements included in the block x2 based on a predetermined function set for the block x2. In this way, the modification unit 403 can match the scales of the elements included in the obtained matrix.

[0063] The setting unit 404 sets the matrix after changing the scale of each of the multiple elements included in each block as a target for input to the machine learning model. Here, for example, the acquisition unit 401 may have acquired a matrix in order to obtain a solution to a predetermined matrix equation. In this case, the setting unit 404 sets, for example, the matrix after changing the scale of each of the multiple elements included in each block as a target for input to the machine learning model in order to obtain a solution to the predetermined matrix equation. This allows the setting unit 404 to be able to calculate a solution to the predetermined matrix equation.

[0064] Also, for example, the acquisition unit 401 may have acquired a matrix in order to update the machine learning model. In this case, the setting unit 404 sets, for example, a matrix after changing the scale of each of the elements included in each block as a target for input to the machine learning model in order to update the machine learning model. This allows the setting unit 404 to make the machine learning model updatable.

[0065] The setting unit 404 may set the identified fourth matrix and the identified fifth matrix for the acquired matrix as targets for input to the machine learning model. Here, for example, the acquisition unit 401 may acquire a matrix in order to obtain a solution to a predetermined matrix equation. In this case, the setting unit 404 sets, for example, the identified fourth matrix and the identified fifth matrix for the acquired matrix as targets for input to the machine learning model in order to obtain a solution to the predetermined matrix equation. This allows the setting unit 404 to be able to calculate a solution to the predetermined matrix equation.

[0066] Also, for example, the acquisition unit 401 may have acquired matrices in order to update the machine learning model. In this case, the setting unit 404 sets, for example, the identified fourth matrix and the identified fifth matrix of the acquired matrices as targets for input to the machine learning model in order to update the machine learning model. This allows the setting unit 404 to make the machine learning model updatable.

[0067] When the predetermined matrix equation is a matrix equation to be solved by the iterative solving method, the setting unit 404 may set the input target before the predetermined matrix equation is solved by the iterative solving method. This allows the setting unit 404 to be able to calculate the solution of the predetermined matrix equation as an initial value for the iterative solving method.

[0068] When the predetermined matrix equation is a matrix equation to be solved by the iterative solving method, the setting unit 404 may set the input target after the predetermined matrix equation is solved by the iterative solving method. This allows the setting unit 404 to make the machine learning model updateable based on the result of actually solving the predetermined matrix equation by the iterative solving method.

[0069] When the predetermined matrix equation is a matrix equation including a preconditioning matrix used in preprocessing for changing the eigenvalue distribution of any of the matrix equations in the iterative solution, the setting unit 404 may set the input target before the preprocessing is performed in the iterative solution. This allows the setting unit 404 to make it possible to calculate a solution to the predetermined matrix equation in the preprocessing.

[0070] When the predetermined matrix equation is a matrix equation including a preconditioning matrix used in preprocessing for changing the eigenvalue distribution of any of the matrix equations in the iterative solution, the setting unit 404 may set the input target after the preprocessing is performed in the iterative solution. This allows the setting unit 404 to make the machine learning model updatable based on the result of actually solving the predetermined matrix equation in the preprocessing.

[0071] The generating unit 405 updates the machine learning model. Here, for example, the predetermined matrix equation may be a matrix equation to be solved by an iterative solution. In this case, the generating unit 405 updates the machine learning model based on the set input target after the predetermined matrix equation is solved by an iterative solution. Specifically, the generating unit 405 updates the machine learning model based on the set input target using a method such as backpropagation. This allows the generating unit 405 to obtain a machine learning model with relatively good solution accuracy.

[0072] Also, for example, a certain matrix equation may be a matrix equation including a preconditioning matrix used in preprocessing to change the eigenvalue distribution of any of the matrix equations in the iterative solution. In this case, the generating unit 405 updates the machine learning model based on the set input target after the preprocessing is performed in the iterative solution. Specifically, the generating unit 405 updates the machine learning model based on the set input target using a method such as backpropagation. This allows the generating unit 405 to obtain a machine learning model with relatively good solution accuracy.

[0073] The generating unit 405 may, for example, check the solution accuracy of the machine learning model. The solution accuracy is expressed, for example, by the smallness of the residual of the machine learning model. For example, when the generating unit 405 determines that the solution accuracy of the machine learning model is less than a threshold, the generating unit 405 may update the machine learning model based on the set input target. Specifically, when the residual of the machine learning model is equal to or greater than a threshold, the generating unit 405 may determine that the solution accuracy of the machine learning model is less than a threshold, and update the machine learning model based on the set input target.

[0074] Furthermore, for example, when the generating unit 405 determines that the solution-finding accuracy of the machine learning model is equal to or greater than a threshold, the generating unit 405 may not update the machine learning model based on the set input target. Specifically, when the residual of the machine learning model is less than a threshold, the generating unit 405 may determine that the solution-finding accuracy of the machine learning model is equal to or greater than a threshold, and not update the machine learning model based on the set input target. Thereby, if the solution-finding accuracy of the machine learning model is relatively good, the generating unit 405 may not update the machine learning model, thereby reducing the amount of processing.

[0075] Here, similarly to the generating unit 405, the acquiring unit 401, the dividing unit 402, and the changing unit 403 may reduce the amount of processing based on the solution-finding accuracy of the machine learning model. The generating unit 405 may further update the machine learning model based on a new input target obtained by adding a perturbation matrix to the set input target. This allows the generating unit 405 to further improve the solution-finding accuracy of the machine learning model.

[0076] The solution finding unit 406 solves a predetermined matrix equation and calculates a solution to the predetermined matrix equation. Here, for example, the predetermined matrix equation may be a matrix equation to be solved by an iterative solution method. In this case, the solution finding unit 406 inputs a set input target to the machine learning model before the predetermined matrix equation is solved by the iterative solution method. Then, the solution finding unit 406 acquires a second matrix output from the machine learning model according to the input, and sets the second matrix to an initial value used when solving the predetermined matrix equation by the iterative solution method. The solution finding unit 406 may solve the predetermined matrix equation by the iterative solution method based on the set initial value. This allows the solution finding unit 406 to improve the accuracy of solving the predetermined matrix equation.

[0077] Also, for example, the predetermined matrix equation may be a matrix equation including a preconditioning matrix used in preprocessing to change the eigenvalue distribution of any of the matrix equations in the iterative solution method. In this case, the solution finding unit 406 inputs the set input target to the machine learning model before the preprocessing is performed in the iterative solution method. Then, the solution finding unit 406 performs the preprocessing based on the second matrix output from the machine learning model in response to the input. This allows the solution finding unit 406 to reduce the amount of processing required for the preprocessing.

[0078] The output unit 407 outputs the processing result of any one of the functional units. The output format is, for example, display on a display, printout on a printer, transmission to an external device via the network I / F 303, or storage in a storage area such as the memory 302 or the recording medium 305. In this way, the output unit 407 can notify the user of the processing result of each functional unit, thereby improving the convenience of the information processing device 100.

[0079] The output unit 407 outputs, for example, a machine learning model. This allows the output unit 407 to make a machine learning model with relatively high solution accuracy available to a user or an external device. The output unit 407 outputs, for example, a solution to a predetermined matrix equation. This allows the output unit 407 to make the solution to the predetermined matrix equation available to a user or an external device.

[0080] (First operation example of information processing device 100) Next, a first operation example of the information processing device 100 will be described with reference to FIGS.

[0081] 5 to 11 are explanatory diagrams showing a first operation example of the information processing device 100. In Fig. 5 to Fig. 11, the information processing device 100 applies a machine learning model to a numerical simulation to improve the processing speed of the numerical simulation and improve the solution accuracy. First, referring to Fig. 5, the flow of the numerical simulation executed by the information processing device 100 will be described.

[0082] As shown in Fig. 5, the numerical simulation linearizes the nonlinear problem, generates a matrix equation, and then performs an iterative solution to solve the matrix equation. Before performing the iterative solution, an initial value 500 is set for the solution of the matrix equation. In the iterative solution, the solution of the matrix equation converges from the initial value 500 toward the true solution for each iteration.

[0083] For example, in the iterative solution, the solution of the matrix equation is converged from an initial value 500 to temporary solutions 501 to 504 in order so that the residual becomes smaller with each iteration. In the iterative solution, the solution of the matrix equation is output as the final solution when the residual becomes less than a threshold. One iteration is formed by a pre-processing that changes the eigenvalue distribution of the matrix equation and a numerical processing by the CG method.

[0084] The preprocessing is realized, for example, by the iLU(k) decomposition method (incomplete LU(k) decomposition method). The iLU decomposition method is, for example, a method for decomposing a sparse matrix A into A with fill-in up to k stages. k Using the nonzero structure of x=U, we perform an incomplete LU decomposition. (-1) L (-1) This is a method to calculate r and then calculate LUx=r. Here, the (-1) on the right hand side of the matrix represents the inverse matrix. When solving the iLU decomposition method numerically, the processing time tends to increase due to the determination of non-zero structures, the matrix decomposition calculations, and the forward substitution and backward elimination. The CG method can be replaced by the GMRES method, etc.

[0085] Here, the information processing device 100 applies a machine learning model to a numerical simulation to improve the processing speed of the numerical simulation and improve the solution accuracy. For example, when the information processing device 100 sets an initial value 500 to a solution of a matrix equation, the information processing device 100 may perform a first operation to apply a machine learning model and reduce the number of iterations until the solution of the matrix equation arrives at a final solution. The first operation example corresponds to the case where the information processing device 100 performs the first operation.

[0086] Here, the case where the information processing device 100 performs the first operation has been described, but is not limited thereto. For example, when performing preprocessing, the information processing device 100 may perform a second operation in which a machine learning model is applied to reduce the processing time required for preprocessing, and the processing speed of the numerical simulation is improved and the solution accuracy is improved. An example of the second operation corresponding to the case where the information processing device 100 performs the second operation will be described later with reference to, for example, Figs. 15 to 18.

[0087] Here, the numerical simulation may be repeatedly executed. How the machine learning model is applied to the entire repeated numerical simulation when the information processing device 100 repeatedly executes the numerical simulation will be described with reference to Fig. 6 to Fig. 8. First, referring to Fig. 6, an example in which the information processing device 100 updates the machine learning model will be described.

[0088] For example, as shown in a reference diagram 600 of FIG. 6, the information processing device 100 may alternately and repeatedly execute a numerical simulation SIMi and a machine learning process Li that updates a machine learning model based on the result of the numerical simulation SIMi. i is a natural number. A certain machine learning model is sequentially updated in each machine learning process Li and sequentially used in each numerical simulation SIMi.

[0089] The machine learning process Li updates the machine learning model based on a learning data set {n, A, b, x} including the size n of the coefficient matrix A, the coefficient matrix A, the right-hand side vector b, and the solution vector x obtained as a result of the numerical simulation SIMi. Specifically, the learning data set includes the coefficient matrix A, the right-hand side vector b, and the solution vector x that form a matrix equation solved in multiple loops of the time evolution and the NR method in the numerical simulation SIMi.

[0090] For example, when updating a machine learning model, the learning data set may be set as a target for input to the machine learning model after adjusting the scale between elements. A specific example of setting the learning data set as a target for input to the machine learning model after adjusting the scale between elements will be described later with reference to, for example, FIGS. 20 to 24.

[0091] This allows the information processing device 100 to update the machine learning model through multiple numerical simulations SIMi that tend to solve matrix equations that represent similar problems, and thus allows the machine learning model to be updated efficiently. Therefore, the more the numerical simulations SIMi are executed, the more the information processing device 100 can improve the solution accuracy of the machine learning model.

[0092] In addition, the machine learning process Li calculates b' by adding a perturbation Δb to the right-hand vector b based on the learning data set {n, A, b, x}, and calculates x'=A (-1) Alternatively, the information processing device 100 may calculate b' and generate a new learning data set {n, A, b', x'}. This allows the information processing device 100 to increase the learning data in the machine learning process Li, making it easier to update the machine learning model so as to further improve the solution accuracy.

[0093] Furthermore, the machine learning process Li may update multiple machine learning models with different parameters in parallel. This allows the information processing device 100 to selectively use a machine learning model with relatively good solution accuracy among multiple machine learning models. Next, moving to the explanation of FIG. 7, another example in which the information processing device 100 updates a machine learning model will be explained.

[0094] For example, as shown in a reference diagram 700 of Fig. 7, it is possible that the information processing device 100 repeatedly executes a numerical simulation SIMi and a machine learning process Li that updates a machine learning model based on a result of the numerical simulation SIMi in parallel. Next, moving to the explanation of Fig. 8, an example in which the information processing device 100 uses a machine learning model will be explained.

[0095] For example, as shown in a reference diagram 800 in FIG. 8, it is possible for the information processing device 100 not to update the machine learning model in the machine learning process Li (i≧N) after any one of the numerical simulations SIMN.

[0096] For example, in the numerical simulation SIMN, if the solution accuracy of the machine learning model is equal to or higher than a certain level, the information processing apparatus 100 does not update the machine learning model in the machine learning process Li (i ≧ N).

[0097] Specifically, the numerical simulation SIMi (i < N) transmits the input data set {n, A, b} indicating the matrix equation to the machine learning process Li (i < N), causing the machine learning process Li (i < N) to calculate the initial value of the iterative method.

[0098] The input data set may be transmitted to the machine learning process Li (i < N) after adjusting the scale between elements and set as the target of the input to the machine learning model. Specific examples of setting the input data set as the target of the input to the machine learning model after adjusting the scale between elements will be described later with reference to FIGS. 20 to 24, for example.

[0099] The information processing apparatus 100 calculates an index value indicating the preference of the calculated initial value of the iterative method as the solution accuracy of the machine learning model. The index value is, for example, the difference between the calculated initial value of the iterative method and the solution vector x calculated by the iterative method in the numerical simulation SIMi (i < N). After the solution accuracy of the machine learning model becomes equal to or higher than a certain level, the information processing apparatus 100 does not update the machine learning model in the machine learning process Li (i ≧ N).

[0100] Thereafter, the numerical simulation SIMi (i ≧ N) transmits the input data set {n, A, b} indicating the matrix equation to the machine learning process Li (i ≧ N). The machine learning process Li (i ≧ N) inputs the received input data set {n, A, b} to the machine learning model, and as a result of the input, transmits the solution vector x obtained by the machine learning model to the numerical simulation SIMi (i ≧ N).

[0101] The input data set may be sent to the machine learning process Li (i < N) after, for example, scaling between elements, and set as the target of the input to the machine learning model. Specific examples of setting the input data set as the target of the input to the machine learning model after scaling between elements will be described later with reference to, for example, FIGS. 20 to 24.

[0102] The numerical simulation SIMi (i ≥ N) sets the received solution vector x of the matrix equation as the initial value in the iterative method, and calculates the final solution vector x of the matrix equation by the iterative method.

[0103] Thereby, if the information processing apparatus 100 has a machine learning model with relatively good solution accuracy, the numerical simulation SIMi can solve the matrix equation using the machine learning model, and the processing amount of the numerical simulation SIMi can be reduced. For this reason, the information processing apparatus 100 can improve the processing speed and the solution accuracy of the numerical simulation SIMi.

[0104] The information processing apparatus 100 can reduce the processing amount related to the numerical simulation SIMi (i ≥ N). For this reason, in the machine learning process Li (i < N), the information processing apparatus 100 can cancel out the increase in the processing amount due to updating the machine learning model. As a result, the more the information processing apparatus 100 repeats the numerical simulation SIMi, the more the processing amount related to the entire plurality of numerical simulations SIMi can be reduced.

[0105] The information processing apparatus 100 may try a method of solving the matrix equation using the machine learning model and a method of solving the matrix equation without using the machine learning model in the initial several numerical simulations SIMi, and calculate the solution accuracy of each method. Then, in the subsequent numerical simulations SIMi, the information processing apparatus 100 may solve the matrix equation by the method with better solution accuracy.

[0106] The information processing device 100 may determine whether or not to update the machine learning model in the machine learning process Li during the numerical simulation SIMi. Next, the effects of the information processing device 100 will be described with reference to Figs. 9 to 11. First, the description will be shifted to Fig. 9.

[0107] 9, it is assumed that the information processing device 100 solves a one-dimensional Poisson equation expressing a certain problem by a numerical simulation. In this case, it is assumed that the information processing device 100 uses the convergence condition ||b-Ax||<ε||b||. ε=1.0×10 -6 In addition, the information processing device 100 adds a perturbation to b to increase the learning data set. The machine learning model is a neural network with 128 input nodes, 1000 hidden nodes, and 128 output nodes.

[0108] Graph 900 in FIG. 9 shows the change in the number of GSS iterations when using initial estimates by machine learning with different numbers of epochs when solving a one-dimensional Poisson equation representing a certain problem. The number of epochs corresponds to the number of learning data sets used. The number of GSS iterations corresponds to the number of iterations in the iterative solution method. Here, line 901 shows the characteristics of a conventional numerical simulation in which the initial value is always set to 0. As shown by line 901, the conventional numerical simulation repeats the iterative solution step 48,525 times when solving a one-dimensional Poisson equation, resulting in a slow processing speed.

[0109] Moreover, lines 902 and 903 show characteristics when the information processing device 100 uses a machine learning model to solve a one-dimensional Poisson equation that represents a certain problem with different parameters. As shown by lines 902 and 903, even when the information processing device 100 uses an initial machine learning model, it is possible to suppress the number of times that the iterative solution steps are repeated to about 38,000 times.

[0110] Moreover, as shown at point 904, the information processing device 100 can finally suppress the number of times the iterative solution steps are repeated to 20,000 times or less after using 150,000 or more learning data sets. Also, as shown at point 905, the information processing device 100 can finally suppress the number of times the iterative solution steps are repeated to about 10,000 times after using 150,000 or more learning data sets. Next, we move on to the explanation of FIG. 10.

[0111] 10, it is assumed that the information processing device 100 solves a one-dimensional Poisson equation representing a different problem from that in FIG. 9 by a numerical simulation. In this case, it is assumed that the information processing device 100 uses the convergence condition ||b-Ax||<ε||b||. ε=1.0×10 -6 In addition, the information processing device 100 adds a perturbation to b to increase the learning data set. The machine learning model is a neural network with 128 input nodes, 1000 hidden nodes, and 128 output nodes.

[0112] Graph 1000 in FIG. 10 is a graph showing the number of iterations of the CG method for initial estimates by machine learning with different numbers of epochs when solving a one-dimensional Poisson equation representing a different problem from that in FIG. 9. The number of epochs corresponds to the number of learning data sets used. The number of GSS iterations corresponds to the number of iterations in the iterative solution method. Here, line 1001 shows the characteristics when the information processing device 100 uses a machine learning model to solve a one-dimensional Poisson equation. As shown by line 1001, the information processing device 100 can suppress the number of times the steps of the iterative solution method are repeated.

[0113] Graph 1010 in FIG. 10 is a graph showing the relative residual versus the number of GSS iterations when solving a one-dimensional Poisson equation representing a different problem from that in FIG. 9. The number of GSS iterations corresponds to the number of iterations in the iterative solution. The relative residual is, for example, ||b-Ax|| / ||b||. Here, line 1011 shows the characteristics of a conventional numerical simulation in which the initial value is always set to 0. As shown by line 1011, the conventional numerical simulation repeats the iterative solution steps about 11 times until the convergence condition is satisfied, resulting in a slow processing speed.

[0114] On the other hand, line 1012 shows the characteristics (relative residual with respect to the number of GSS iterations) when the information processing device 100 solves a one-dimensional Poisson equation expressing a problem different from that in FIG. 9, using an initial estimate obtained by utilizing a machine learning model. As shown by line 1012, the information processing device 100 can reduce the number of times the iterative solution steps are repeated until the convergence condition is satisfied, and can improve the processing speed. Next, we move on to the explanation of FIG. 11.

[0115] 11, the processing loads of a conventional method (No. 1), a conventional method (No. 2), and a method (No. 3) using the information processing device 100 are compared. The method (No. 1) is a method that does not use a machine learning model. For the method (No. 2), for example, the above-mentioned Non-Patent Document 1 can be referred to.

[0116] 11 is a graph showing the processing load versus the number of iterations in the iterative solution of method (1). As shown in graph 1100, method (1) imposes the same processing load for each numerical simulation, so that repeating the numerical simulation leads to an increase in the overall processing load.

[0117] Graph 1110 in Fig. 11 is a graph showing the processing load versus the number of iterations in the iterative solution of method (2). Method (2) has difficulty in efficiently executing both machine learning and numerical simulation, and the processing load due to machine learning increases significantly. Furthermore, method (2) may cause a human burden due to machine learning.

[0118] Graph 1120 in Fig. 11 is a graph showing the processing load versus the number of iterations in the iterative solution method of method (3). As shown in graph 1120, the information processing device 100 can suppress an increase in the overall processing load when a numerical simulation is repeated while suppressing an increase in the processing load due to machine learning. In addition, the information processing device 100 can suppress an increase in the human load due to machine learning.

[0119] 12 is an explanatory diagram showing an application example of the information processing device 100. The information processing device 100 can be applied, for example, in the manufacturing field, to a case where a numerical simulation for solving a matrix equation expressing a problem related to a certain product is repeated.

[0120] Specifically, in the manufacturing field, the information processing device 100 can update and use a machine learning model when repeating a fluid simulation that solves a matrix equation that represents a problem in fluid analysis of an automobile while sequentially changing preconditions. Specifically, the information processing device 100 has an analysis unit 1201 and a learning unit 1202, and can update the machine learning model by the learning unit 1202 and use the machine learning model by the analysis unit 1201.

[0121] (Overall processing procedure in operation example 1) Next, an example of an overall processing procedure in the operation example 1 executed by the information processing device 100 will be described with reference to Fig. 13. The overall processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0122] Fig. 13 is a flowchart showing an example of an overall processing procedure in the operation example 1. In Fig. 13, the information processing device 100 acquires a linear equation Ax=b (step S1301).

[0123] Next, the information processing device 100 calls a linear solver, executes a solution-finding process described later in Fig. 14, and acquires a solution x (step S1302). The linear solver is software that executes a numerical simulation using a machine learning model.

[0124] Next, the information processing device 100 outputs the solution x of the linear equation Ax=b (step S1303). Then, the information processing device 100 ends the entire process. This allows the information processing device 100 to efficiently calculate the solution x of the linear equation Ax=b by using the machine learning model.

[0125] (Procedure for solution finding in operation example 1) Next, an example of a solution finding process procedure in the operation example 1 executed by the information processing device 100 will be described with reference to Fig. 14. The solution finding process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0126] Fig. 14 is a flowchart showing an example of a solution-finding process procedure in the operation example 1. In Fig. 14, the information processing device 100 calculates an estimate x_guess of an initial value x(0) by machine learning (step S1401).

[0127] Next, the information processing device 100 sets the calculated estimated value x_guess to an initial value x(0) (step S1402).Then, the information processing device 100 sets k=0 (step S1403).

[0128] Next, the information processing device 100 calculates x(k+1)=D -1 [b-Lx(k+1)-Ux(k)] is calculated (step S1404). Then, the information processing device 100 calculates r=b-Ax(k+1) (step S1405).

[0129] Next, the information processing apparatus 100 determines whether ||r|| / ||b|| < eps (step S1406). Here, if ||r|| / ||b|| is not less than eps (step S1406: No), the information processing apparatus 100 increments k (step S1407) and returns to the process of step S1404.

[0130] On the other hand, if ||r|| / ||b|| < eps (step S1406: Yes), the information processing apparatus 100 terminates the solution process. Thereby, the information processing apparatus 100 can obtain the solution x of the linear equation Ax = b by using the machine learning model.

[0131] (Second operation example of the information processing apparatus 100) Next, with reference to FIGS. 15 to 18, a second operation example of the information processing apparatus 100 will be described.

[0132] FIGS. 15 to 18 are explanatory diagrams showing a second operation example of the information processing apparatus 100. In FIGS. 15 to 18, the information processing apparatus 100 applies a machine learning model to numerical simulation to improve the processing speed and solution accuracy of the numerical simulation.

[0133] Specifically, when performing preprocessing, the information processing apparatus 100 performs a second operation of applying a machine learning model to reduce the processing time required for preprocessing, thereby improving the processing speed and solution accuracy of the numerical simulation. The second operation example corresponds to the case where the information processing apparatus 100 performs the second operation.

[0134] Here, the numerical simulation may be executed repeatedly. With reference to FIGS. 15 to 17, how to apply the machine learning model to the entire process of repeatedly executing the numerical simulation by the information processing apparatus 100 will be described. First, turning to the description of FIG. 15, an example in which the information processing apparatus 100 updates the machine learning model will be described.

[0135] For example, as shown in a reference diagram 1500 of FIG. 15, the information processing device 100 may alternately and repeatedly execute a numerical simulation SIMi and a machine learning process Li that updates a machine learning model based on the result of the numerical simulation SIMi. i is a natural number. A certain machine learning model is sequentially updated in each machine learning process Li and sequentially used in each numerical simulation SIMi.

[0136] The machine learning process Li updates the machine learning model based on a learning data set {n, A, b, x} including the size n of the coefficient matrix A, the coefficient matrix A, the right-hand side vector b, and the solution vector x obtained as a result of the numerical simulation SIMi. Specifically, the learning data set includes the coefficient matrix A, the right-hand side vector b, and the solution vector x that form a matrix equation solved in multiple loops of the time evolution and the NR method in the numerical simulation SIMi.

[0137] For example, when updating a machine learning model, the learning data set may be set as a target for input to the machine learning model after adjusting the scale between elements. A specific example of setting the learning data set as a target for input to the machine learning model after adjusting the scale between elements will be described later with reference to, for example, FIGS. 20 to 24.

[0138] This allows the information processing device 100 to update the machine learning model through multiple numerical simulations SIMi that tend to solve matrix equations that represent similar problems, and thus allows the machine learning model to be updated efficiently. Therefore, the more the numerical simulations SIMi are executed, the more the information processing device 100 can improve the solution accuracy of the machine learning model.

[0139] In addition, the machine learning process Li calculates b' by adding a perturbation Δb to the right-hand vector b based on the learning data set {n, A, b, x}, and calculates x'=A (-1)Alternatively, the information processing device 100 may calculate b' and generate a new learning data set {n, A, b', x'}. This allows the information processing device 100 to increase the learning data in the machine learning process Li, making it easier to update the machine learning model so as to further improve the solution accuracy.

[0140] Furthermore, the machine learning process Li may update multiple machine learning models with different parameters in parallel, which allows the information processing device 100 to selectively use a machine learning model with relatively good solution-finding accuracy among the multiple machine learning models.

[0141] The machine learning process Li may update the machine learning model based on a learning data set {n, M, r, z} including the size n of the coefficient matrix M, the coefficient matrix M, the right-hand side vector r, and the solution vector z for the LU decomposition obtained as a result of the numerical simulation SIMi. M=LU. z=M (-1) Specifically, the learning data set includes a coefficient matrix M, a right-hand side vector r, and a solution vector z that form a matrix equation related to LU decomposition, which is solved in multiple loops of the time evolution and the NR method in the numerical simulation SIMi.

[0142] For example, when updating a machine learning model, the learning data set may be set as a target for input to the machine learning model after adjusting the scale between elements. A specific example of setting the learning data set as a target for input to the machine learning model after adjusting the scale between elements will be described later with reference to, for example, FIGS. 20 to 24.

[0143] This allows the information processing device 100 to update the machine learning model through multiple numerical simulations SIMi that tend to solve matrix equations that represent similar problems, and thus allows the machine learning model to be updated efficiently. Therefore, the more the numerical simulations SIMi are executed, the more the information processing device 100 can improve the solution accuracy of the machine learning model.

[0144] In addition, the machine learning process Li calculates r' by adding a perturbation Δr to the right-hand side vector r based on the learning data set {n, M, r, z}, and calculates z'=U (-1) L (-1) Alternatively, the information processing device 100 may calculate r' and generate a new learning data set {n, M, r', z'}. This enables the information processing device 100 to increase the learning data in the machine learning process Li, and to easily update the machine learning model so as to further improve the solution-finding accuracy.

[0145] Furthermore, the machine learning process Li may update multiple machine learning models with different parameters in parallel. This allows the information processing device 100 to selectively use a machine learning model with relatively good solution accuracy among multiple machine learning models. Next, moving to the description of FIG. 16, another example in which the information processing device 100 updates a machine learning model will be described.

[0146] For example, as shown in a reference diagram 1600 of Fig. 16, it is possible that the information processing device 100 repeatedly executes a numerical simulation SIMi and a machine learning process Li that updates a machine learning model based on a result of the numerical simulation SIMi in parallel. Next, moving to the explanation of Fig. 17, an example in which the information processing device 100 uses a machine learning model will be explained.

[0147] For example, as shown in a reference diagram 1700 in FIG. 17, it is possible for the information processing device 100 not to update the machine learning model in the machine learning process Li (i≧N) after any one of the numerical simulations SIMN.

[0148] For example, in the numerical simulation SIMN, if the solution accuracy of the machine learning model is equal to or higher than a certain level, the information processing device 100 does not update the machine learning model in the machine learning process Li(i≧N).

[0149] Specifically, the numerical simulation SIMi (i < N) transmits the input data set {n, A, b} indicating the matrix equation to the machine learning process Li (i < N). Then, as a result of the transmission, the numerical simulation SIMi (i < N) causes the machine learning process Li (i < N) to calculate the solution x of the matrix equation, and z = M (-1) calculates r and performs preprocessing.

[0150] The input data set may be transmitted to the machine learning process Li (i < N) after adjusting the scale between elements, for example, and set as the target of the input to the machine learning model. Specific examples of setting the input data set as the target of the input to the machine learning model after adjusting the scale between elements will be described later using, for example, FIGS. 20 to 24.

[0151] The information processing apparatus 100 calculates an index value indicating the goodness of the calculated z as the solution accuracy of the machine learning model. The index value is, for example, ||r|| / ||b||. The information processing apparatus 100 prevents the machine learning model from being updated in the machine learning process Li (i ≥ N) after the solution accuracy of the machine learning model reaches a certain level or higher.

[0152] Thereafter, the numerical simulation SIMi (i ≥ N) transmits the input data set {n, A, b} indicating the matrix equation to the machine learning process Li (i ≥ N). The machine learning process Li (i ≥ N) inputs the received input data set {n, A, b} to the machine learning model, and based on the solution vector x obtained by the machine learning model as a result of the input, calculates a solution vector z and transmits it to the numerical simulation SIMi (i ≥ N).

[0153] The input data set may be transmitted to the machine learning process Li (i < N) after adjusting the scale between elements, for example, and set as the target of the input to the machine learning model. Specific examples of setting the input data set as the target of the input to the machine learning model after adjusting the scale between elements will be described later using, for example, FIGS. 20 to 24.

[0154] Specifically, the numerical simulation SIMi (i < N) may transmit the input data set {n, M, r} indicating the matrix equation related to LU decomposition to the machine learning process Li (i < N). Then, as a result of the transmission, the numerical simulation SIMi (i < N) causes the machine learning process Li (i < N) to calculate the solution vector z and perform preprocessing.

[0155] The input data set may be transmitted to the machine learning process Li (i < N) after, for example, adjusting the scale between elements and set as the target of the input to the machine learning model. Specific examples of setting the input data set as the target of the input to the machine learning model after adjusting the scale between elements will be described later using, for example, FIGS. 20 to 24.

[0156] The information processing apparatus 100 calculates an index value indicating the goodness of the calculated z as the solution accuracy of the machine learning model. The index value is, for example, ||r|| / ||b||. The information processing apparatus 100 prevents the machine learning model from being updated in the machine learning process Li (i ≥ N) after the solution accuracy of the machine learning model reaches a certain level or higher.

[0157] Thereafter, the numerical simulation SIMi (i ≥ N) transmits the input data set {n, M, r} indicating the matrix equation to the machine learning process Li (i ≥ N). The machine learning process Li (i ≥ N) inputs the received input data set {n, M, r} into the machine learning model, and as a result of the input, transmits the solution vector z obtained by the machine learning model to the numerical simulation SIMi (i ≥ N).

[0158] The input data set may be transmitted to the machine learning process Li (i < N) after, for example, adjusting the scale between elements and set as the target of the input to the machine learning model. Specific examples of setting the input data set as the target of the input to the machine learning model after adjusting the scale between elements will be described later using, for example, FIGS. 20 to 24.

[0159] As a result, if the information processing apparatus 100 has a machine learning model with relatively good solution accuracy, the numerical simulation SIMi can solve the matrix equation using the machine learning model, and the processing amount of the numerical simulation SIMi can be reduced. Therefore, the information processing apparatus 100 can improve the processing speed and the solution accuracy of the numerical simulation SIMi.

[0160] The information processing apparatus 100 can reduce the processing amount related to the numerical simulation SIMi (i ≧ N). Therefore, in the machine learning process Li (i < N), the information processing apparatus 100 can cancel out the increase in the processing amount due to updating the machine learning model. As a result, the more the information processing apparatus 100 repeats the numerical simulation SIMi, the more it can reduce the processing amount related to the entire plurality of numerical simulations SIMi.

[0161] In the initial several numerical simulations SIMi, the information processing apparatus 100 may try a method of solving the matrix equation using the machine learning model and a method of solving the matrix equation without using the machine learning model, and calculate the solution accuracy of each method. Then, in the subsequent numerical simulations SIMi, the information processing apparatus 100 may solve the matrix equation by the method with better solution accuracy.

[0162] During the numerical simulation SIMi, the information processing apparatus 100 may sometimes determine whether to update the machine learning model in the machine learning process Li or not. Next, the effect of the information processing apparatus 100 will be described with reference to FIG. 18.

[0163] In FIG. 18, assume that the information processing apparatus 100 solves a three-dimensional Poisson equation representing a certain problem by numerical simulation. At this time, assume that the information processing apparatus 100 uses the convergence condition ||b - Ax|| < ε||b||. ε = 1.0 × 10 -6In addition, the information processing device 100 adds a perturbation to b to increase the learning data set. The machine learning model is a neural network with an input layer 3750 nodes, a hidden layer 8192 nodes, and an output layer 3750 nodes.

[0164] Graph 1800 in FIG. 18 is a graph showing the relative residual versus the number of CG method iterations when solving a three-dimensional Poisson equation representing a certain problem. The number of CG method iterations corresponds to the number of iterations in the iterative solution. The relative residual is, for example, ||b-Ax|| / ||b||. Here, line 1802 shows the characteristics of the conventional preconditioned CG method. As shown by line 1802, the conventional preconditioned CG method repeats the iterative solution steps about 11 times until the convergence condition is satisfied, resulting in a slow processing speed.

[0165] On the other hand, line 1801 shows the characteristics when the information processing device 100 solves a three-dimensional Poisson equation expressing a certain problem in a CG method using a machine learning model as preprocessing. As shown by line 1801, the information processing device 100 can reduce the number of times the iterative solution steps are repeated until the convergence condition is satisfied, and can improve the processing speed. In addition, the information processing device 100 can reduce the residual in the first iteration to the same level as in the fifth iteration of a conventional numerical simulation, and can efficiently solve the three-dimensional Poisson equation.

[0166] (Overall processing procedure in operation example 2) An example of an overall processing procedure in the operation example 2 executed by the information processing device 100 is similar to, for example, an example of an overall processing procedure in the operation example 1 shown in Fig. 13, and therefore a description thereof will be omitted. In step S1302, the information processing device 100 executes a solution-finding process described later in Fig. 19 instead of the solution-finding process shown in Fig. 14.

[0167] (Procedure for solution finding in operation example 2) Next, with reference to FIG. 19, an example of the solution process procedure in Operation Example 2 executed by the information processing apparatus 100 will be described. The solution process is realized by, for example, the CPU 301 shown in FIG. 3, a storage area such as the memory 302 and the recording medium 305, and the network I / F 303.

[0168] FIG. 19 is a flowchart showing an example of the solution process procedure in Operation Example 2. In FIG. 19, the information processing apparatus 100 calculates r0 = b - Ax0 (step S1901).

[0169] Next, the information processing apparatus 100 calculates z0 = Mr0 by machine learning (step S1902). Then, the information processing apparatus 100 calculates p0 = z0 (step S1903). -1 Next, the information processing apparatus 100 sets k = 0 (step S1904). Then, the information processing apparatus 100 calculates α = rz / pAp (step S1905).

[0170] Next, the information processing apparatus 100 calculates x = x + αp (step S1906). Then, the information processing apparatus 100 calculates r = r - αAp (step S1907). k T z k / p k T Ap k Next, the information processing apparatus 100 calculates α = rz / pAp (step S1905).

[0171] Next, the information processing apparatus 100 calculates x = x + αp (step S1906). Then, the information processing apparatus 100 calculates r = r - αAp (step S1907). k+1 =x k +αp k Next, the information processing apparatus 100 calculates x = x + αp (step S1906). Then, the information processing apparatus 100 calculates r = r - αAp (step S1907). k+1 =r k -αAp k Next, the information processing apparatus 100 calculates r = r - αAp (step S1907).

[0172] Next, the information processing apparatus 100 determines whether ||r|| / ||b|| < eps (step S1908). Here, if ||r|| / ||b|| < eps (step S1908: Yes), the information processing apparatus 100 ends the solution process. On the other hand, if ||r|| / ||b|| < eps is not satisfied (step S1908: No), the information processing apparatus 100 proceeds to the process of step S1909.

[0173] In step S1909, the information processing device 100 calculates z k+1 =M -1 r k+1 (step S1909). Next, the information processing device 100 calculates β=z k+1 T r k+1 / x k T r k (step S1910). Then, the information processing device 100 calculates p k+1 =z k+1 +βp k (step S1911).

[0174] Next, the information processing device 100 increments k (step S1912). Then, the information processing device 100 returns to the process of step S1905. This allows the information processing device 100 to use the machine learning model to find a solution x to the linear equation Ax=b.

[0175] (A concrete example of setting the input target for a machine learning model) Next, using Figures 20 to 24, a specific example will be described in which the information processing device 100 adjusts the scale between matrix elements to set the input target for the machine learning model when updating or using the machine learning model in the first operation example or the second operation example.

[0176] 20 to 24 are explanatory diagrams showing specific examples of setting a target of input to a machine learning model. First, a first specific example of setting a target of input to a machine learning model will be described with reference to FIG.

[0177] In FIG. 20, the information processing device 100 uses a learning data set {n, A n ,b n ,x n} N n=1 In this case, the information processing device 100 acquires the learning data set {n, A n ,b n ,xn} N n=1 Among them, {A n ,b n} N n=1 is divided into multiple blocks.

[0178] In the example of FIG. 20, the information processing device 100 n Block A n and Block B n and b n Block b n and c n The information processing device 100 divides the divided {A n !B n ,b n !c n} N n=1 is multiplied by scaling coefficients α and β to change the scale. Here, for convenience, ! is used in the text as a symbol indicating a block boundary. ! corresponds to a horizontal dashed line indicating a block boundary in the figure. The information processing device 100 multiplies {αA n !βB n ,αb n !βc n} N n=1 and the training data set {n,A n ,b n ,x n} N n=1 of {x n} N n=1 The combination of is set as the input target.

[0179] In addition, in FIG. 20, the information processing device 100 n ,b n} N n=1 In this case, the information processing device 100 acquires the input data set {n, A n ,b n} N n=1 Among them, {A n ,b n} N n=1 is divided into multiple blocks.

[0180] In the example of FIG. 20, the information processing device 100 n Block A n and Block B n and b n Block b n and c n The information processing device 100 divides the divided {A n !B n ,b n !c n} N n=1 The information processing device 100 multiplies the image by the scaling coefficients α and β to change the scale. n !βB n ,αb n !βc n} N n=1 is set as the input target.

[0181] Next, a second specific example of setting a target for input to a machine learning model will be described with reference to Fig. 21. In Fig. 21, an information processing device 100 has predetermined scaling functions μ(·) and v(·).

[0182] In FIG. 21, the information processing device 100 uses a learning data set {n, A n ,b n ,x n} N n=1 In this case, the information processing device 100 acquires the learning data set {n, A n ,b n ,x n} N n=1 Of these, {x n} N n=1 is divided into multiple blocks.

[0183] In the example of FIG. 21, the information processing device 100 n Block x nand block y n The information processing device 100 divides the divided {x n !y n} N n=1 The information processing device 100 substitutes these for the scaling functions μ(·) and ν(·) to change the scale. n ! n} N n=1 ={μ(x n )!ν(y n )} N n=1 and the training data set {n,A n ,b n ,x n} N n=1 Of {A n ,b n} N n=1 The combination of is set as the input target.

[0184] In addition, in FIG. 21, the information processing device 100 n ,b n} N n=1 In this case, the information processing device 100 inputs the input data set {n, A n ,b n} N n=1 By inputting {χ n ! n} N n=1 ={μ(x n )!ν(y n )} N n=1 Then, the information processing device 100 obtains {χ n ! n} N n=1 Substituting the inverse functions of the scaling functions μ(·) and ν(·), we obtain {x n} N n=1 Get the.

[0185] Next, a third specific example of setting a target for input to a machine learning model will be described with reference to Fig. 22. In Fig. 22, the information processing device 100 sets a learning data set {n, A n ,b n ,x n} N n=1 In this case, the information processing device 100 acquires the learning data set {n, A n ,b n ,x n} N n=1 Among them, {A n ,b n} N n=1 A n Element a in row i, column j of ij,n and b n Element b in row i of i,n Specifically, the information processing device 100 handles the unit of {A n ,b n} N n=1 , {(a ij,n ),(b i,n )} N n=1 We will treat it as such.

[0186] The information processing device 100 ij,n ),(b i,n )} N n=1 The information processing device 100 converts the converted {(p ij,n ×10^P ij,n ),(q i,n ×10^Q i,n )} N n=1 From the base part {p ij,n ,q i,n} N n=1 and the exponent {P ij,n ,Q i,n} N n=1 The information processing device 100 extracts two-channel information, i.e., n ,bn ,x n} N n=1 of {x n} N n=1 The combination of is set as the input target.

[0187] In addition, in FIG. 22, the information processing device 100 n ,b n} N n=1 In this case, the information processing device 100 acquires the input data set {n, A n ,b n} N n=1 Among them, {A n ,b n} N n=1 A n Element a in row i, column j of ij,n and b n Element b in row i of i,n In units of {(a ij,n ),(b i,n )} N n=1 We will treat it as such.

[0188] The information processing device 100 ij,n ),(b i,n )} N n=1 The information processing device 100 converts the converted {(p ij,n ×10^P ij,n ),(q i,n ×10^Q i,n )} N n=1 From the base part {p ij,n ,q i,n} N n=1 and the exponent {P ij,n ,Q i,n} N n=1 The information processing device 100 extracts two-channel information, ie, information on the two channels and the two channels. The information processing device 100 sets the extracted two-channel information as the input target.

[0189] Next, the effect of adjusting the scale between elements and setting the target of input to a machine learning model will be described with reference to Figures 23 and 24.

[0190] Graph 2300 in Fig. 23 shows the magnitudes of elements in blocks b1 and b2 into which right-hand side vector b is divided. The horizontal axis represents 300 elements. The vertical axis represents the absolute value of the magnitude of the elements. As shown in graph 2300, right-hand side vector b includes elements of different scales.

[0191] Graph 2400 in FIG. 24 shows the residual versus the number of epochs. The number of epochs corresponds to the number of training data sets. The smaller the residual, the better the solution-finding accuracy of the machine learning model. Line 2401 is a learning curve when the scale between elements is not matched according to a conventional learning method. As shown by line 2401, in the conventional learning method, it is difficult to improve the solution-finding accuracy of the machine learning model even if the training data set is increased.

[0192] A line 2402 is a learning curve in the case where the scales between elements are matched by the information processing device 100. As shown by the line 2402, the information processing device 100 can improve the solution-finding accuracy of the machine learning model by increasing the learning data set by matching the scales between elements.

[0193] (Settings procedure) 25 to 27, an example of a setting process procedure executed by the information processing device 100 will be described. The setting process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in FIG.

[0194] Fig. 25 is a flowchart showing a first example of a setting process procedure. The first example corresponds to the first specific example shown in Fig. 20. In Fig. 25, the information processing device 100 acquires a dataset (step S2501). The dataset is an input dataset or a learning dataset.

[0195] Next, the information processing device 100 divides the coefficient matrix A and the right-hand side vector b included in the acquired data set into a plurality of blocks such that the blocks in the coefficient matrix A and the blocks in the right-hand side vector b form pairs of corresponding blocks (step S2502). For example, the coefficient matrix A is divided into blocks A1 and A2. Also, for example, the right-hand side vector b is divided into blocks b1 and b2. Also, for example, the pair of blocks A1 and b1 includes elements with the same attribute and is a pair of corresponding blocks. For example, the pair of blocks A2 and b2 includes elements with the same attribute and is a pair of corresponding blocks.

[0196] Next, the information processing device 100 calculates a scaling coefficient based on the size of an element included in each of the multiple blocks (step S2503). The information processing device 100 calculates a common scaling coefficient for each pair of corresponding blocks, for example. For example, for a pair of block A1 and block b1, the information processing device 100 calculates a scaling coefficient α based on the element with the largest absolute value in the pair. Also, for example, for a pair of block A2 and block b2, the information processing device 100 calculates a scaling coefficient β based on the element with the largest absolute value in the pair.

[0197] Next, for each pair of corresponding blocks, the information processing apparatus 100 multiplies each of the elements included in the blocks by the scaling coefficient calculated for that pair, and changes the scale of each element (step S2504).

[0198] Next, the information processing device 100 sets the dataset after the scale change as the input target (step S2505). Then, the information processing device 100 ends the setting process. This enables the information processing device 100 to improve the solution-finding accuracy of the machine learning model.

[0199] Fig. 26 is a flowchart showing a second example of the setting process procedure. The second example corresponds to the second specific example shown in Fig. 21. In Fig. 26, the information processing device 100 acquires a dataset (step S2601). The dataset is an input dataset or a learning dataset.

[0200] Next, the information processing device 100 determines whether the acquired dataset is a learning dataset (step S2602). If the acquired dataset is a learning dataset (step S2602: Yes), the information processing device 100 proceeds to processing of step S2603. On the other hand, if the acquired dataset is an input dataset (step S2602: No), the information processing device 100 proceeds to processing of step S2606.

[0201] In step S2603, the information processing device 100 divides the solution vector x included in the data set into a plurality of blocks (step S2603). Then, the information processing device 100 changes the scale of the elements included in each of the plurality of blocks based on a scaling function (step S2604).

[0202] Next, the information processing device 100 sets the data set after the scale change as the input target (step S2605), and then the information processing device 100 ends the setting process.

[0203] In step S2606, the information processing device 100 sets the acquired data set as an input target (step S2606). Next, when a plurality of blocks corresponding to the data set are acquired by the machine learning model, the information processing device 100 reconstructs the solution vector x from the plurality of blocks based on the inverse function of the scaling function (step S2607).

[0204] Then, the information processing device ends the setting process. This enables the information processing device 100 to improve the solution-finding accuracy of the machine learning model.

[0205] Fig. 27 is a flowchart showing a third example of the setting process procedure. The third example corresponds to the third specific example shown in Fig. 22. In Fig. 27, the information processing device 100 acquires a dataset (step S2701). The dataset is an input dataset or a learning dataset.

[0206] Next, the information processing device 100 converts the coefficient matrix A and the right-hand side vector b included in the acquired data set into floating-point notation (step S2702). Then, the information processing device 100 sets the matrix indicating the radix part and the matrix indicating the exponent part in the floating-point notation, and the solution vector x of the acquired data set as input targets (step S2703).

[0207] After that, the information processing device 100 ends the setting process. This enables the information processing device 100 to improve the solution-finding accuracy of the machine learning model.

[0208] As described above, the information processing device 100 can obtain a matrix that forms a predetermined matrix equation. The information processing device 100 can divide the obtained matrix into a plurality of blocks each including an element with the same attribute based on the attribute of each of the elements included in the obtained matrix. The information processing device 100 can change the scale of each of the elements included in each of the divided blocks. The information processing device 100 can set the matrix after changing the scale of each of the elements included in each of the blocks as an input target for a machine learning model that performs matrix calculation. As a result, the information processing device 100 can match the scale between elements, and therefore can learn a machine learning model with relatively good solution accuracy.

[0209] According to the information processing device 100, it is possible to obtain a first matrix indicating coefficients of a predetermined matrix equation, and a third matrix indicating a product of the first matrix and a second matrix indicating a solution to the predetermined matrix equation. This allows the information processing device 100 to match the scale between elements in the first matrix and the third matrix, and therefore allows learning of a machine learning model with relatively good solution accuracy.

[0210] According to the information processing device 100, it is possible to obtain a second matrix that indicates a solution to a predetermined matrix equation. As a result, the information processing device 100 can match the scale between elements in the second matrix, and therefore can learn a machine learning model with relatively high solution accuracy.

[0211] According to the information processing device 100, for an acquired matrix, a fourth matrix indicating a base forming each of a plurality of elements included in the matrix and a fifth matrix indicating an exponent forming each of a plurality of elements included in the matrix can be specified. According to the information processing device 100, for an acquired matrix, the specified fourth matrix and the specified fifth matrix can be set as targets for input to a machine learning model. Thereby, the information processing device 100 can convert the first matrix and the third matrix into different expressions, and can learn a machine learning model with relatively good solution accuracy based on the scaled elements.

[0212] According to the information processing device 100, a matrix equation to be solved by an iterative solution can be adopted as the predetermined matrix equation. According to the information processing device 100, an input target can be set before solving the predetermined matrix equation by an iterative solution. According to the information processing device 100, in response to inputting the set input target to the machine learning model, the second matrix output from the machine learning model can be set as an initial value used when solving the predetermined matrix equation by an iterative solution. Thereby, the information processing device 100 can match the scale between elements and use the machine learning model to accurately find a solution.

[0213] According to the information processing device 100, a matrix equation to be solved by an iterative solution method can be adopted as the predetermined matrix equation. According to the information processing device 100, after solving the predetermined matrix equation by an iterative solution method, an input target can be set. According to the information processing device 100, a machine learning model can be updated based on the set input target. This allows the information processing device 100 to efficiently learn a machine learning model with relatively good solution accuracy during the execution of a simulation. The information processing device 100 can reduce the processing load required for learning, for example, by using a matrix equation used in a simulation.

[0214] According to the information processing device 100, when multiple simulations are executed to solve different matrix equations of the same type by an iterative solution method, processing can be performed. According to the information processing device 100, each time a simulation is executed, a matrix forming a matrix equation to be solved by an iterative solution method when the simulation is executed can be acquired. This allows the information processing device 100 to update a machine learning model through multiple simulations, and the machine learning model can be updated efficiently. Therefore, the more simulations are executed, the more the information processing device 100 can improve the solution-finding accuracy of the machine learning model. In addition, the information processing device 100 can use a machine learning model through multiple simulations, and the later a simulation is executed, the more accurately a solution can be obtained.

[0215] According to the information processing device 100, a matrix equation including a preconditioning matrix used in preprocessing for changing the eigenvalue distribution of any of the matrix equations in the iterative solution can be adopted as a predetermined matrix equation. According to the information processing device 100, an input target can be set before performing preprocessing in the iterative solution. According to the information processing device 100, in response to inputting the set input target to the machine learning model, preprocessing can be performed based on a second matrix output from the machine learning model. This allows the information processing device 100 to match the scale between elements and use the machine learning model to accurately find a solution.

[0216] According to the information processing device 100, a matrix equation including a preconditioning matrix used in preprocessing for changing the eigenvalue distribution of any of the matrix equations in the iterative solution can be adopted as a predetermined matrix equation. According to the information processing device 100, in the iterative solution, after performing preprocessing, an input target can be set. According to the information processing device 100, a machine learning model can be updated based on the set input target. This allows the information processing device 100 to efficiently learn a machine learning model with relatively good solution accuracy during the execution of a simulation. For example, the information processing device 100 can reduce the processing load required for learning by utilizing a matrix equation used in the simulation.

[0217] According to the information processing device 100, when multiple simulations are executed to solve different matrix equations of the same type by an iterative solution method, processing can be performed. According to the information processing device 100, each time a simulation is executed, a matrix forming a matrix equation used in a preprocessing for changing the eigenvalue distribution of any of the matrix equations in the iterative solution method when the simulation is executed can be acquired. This allows the information processing device 100 to update the machine learning model through multiple simulations, and the machine learning model can be updated efficiently. Therefore, the more simulations are executed, the more the information processing device 100 can improve the solution accuracy of the machine learning model. In addition, the information processing device 100 can use the machine learning model through multiple simulations, and the later the simulation is executed, the more accurately the solution can be obtained.

[0218] According to the information processing device 100, when it is determined that the solution accuracy of the machine learning model is less than a threshold, the machine learning model can be updated based on the set input target. This allows the information processing device 100 to reduce the amount of processing.

[0219] According to the information processing device 100, the machine learning model can be updated based on a new input target obtained by adding a perturbation matrix to the set input target. This makes it easier for the information processing device 100 to further improve the solution-finding accuracy of the machine learning model.

[0220] According to the information processing device 100, in each block, it is possible to calculate a scaling coefficient obtained by multiplying the reciprocal of any element having the maximum absolute value by a predetermined value. According to the information processing device 100, it is possible to multiply each of the elements included in the block by the scaling coefficient calculated for each block. In this way, the information processing device 100 can match the scale between elements based on an appropriate scaling coefficient, and therefore can learn a machine learning model with relatively good solution-finding accuracy.

[0221] The information processing method described in this embodiment can be realized by executing a prepared program on a computer such as a PC or a workstation. The information processing program described in this embodiment is recorded on a computer-readable recording medium, and is executed by being read from the recording medium by the computer. The recording medium may be a hard disk, a flexible disk, a CD (Compact Disc)-ROM, an MO (Magneto Optical disc), a DVD (Digital Versatile Disc), or the like. The information processing program described in this embodiment may also be distributed via a network such as the Internet.

[0222] The following supplementary notes are further disclosed regarding the above-described embodiment.

[0223] (Appendix 1) Obtain matrices that form a given matrix equation, Dividing the obtained matrix into a plurality of blocks each including elements having the same attribute based on the attributes of each of the plurality of elements included in the obtained matrix; Changing the scale of each of a plurality of elements included in each of the divided blocks; The matrix after changing the scale of each of the plurality of elements included in each of the blocks is set as an input target for a machine learning model that performs a matrix operation. An information processing program that causes a computer to execute a process.

[0224] (Appendix 2) The information processing program according to appendix 1, characterized in that the acquiring process acquires a first matrix indicating the coefficients of the specified matrix equation, and a third matrix indicating the product of the first matrix and a second matrix indicating a solution to the specified matrix equation.

[0225] (Supplementary Note 3) The information processing program according to Supplementary Note 1 or 2, wherein the acquiring process acquires a second matrix indicating a solution to the predetermined matrix equation.

[0226] (Appendix 4) A process is performed in which a fourth matrix indicating a base forming each of a plurality of elements included in the obtained matrix and a fifth matrix indicating an exponent forming each of a plurality of elements included in the matrix are identified, The information processing program described in any one of Appendices 1 to 3, characterized in that the setting process sets the identified fourth matrix and the identified fifth matrix of the acquired matrices as targets for input to the machine learning model.

[0227] (Appendix 5) The predetermined matrix equation is a matrix equation to be solved by an iterative solution method, The setting process is executed by the computer before solving the predetermined matrix equation by an iterative solution method; setting a second matrix indicating a solution to the predetermined matrix equation output from the machine learning model in response to inputting the set input target to the machine learning model, to an initial value used when solving the predetermined matrix equation by an iterative solution method. 5. The information processing program according to any one of claims 1 to 4, which causes the computer to execute a process.

[0228] (Appendix 6) The predetermined matrix equation is a matrix equation to be solved by an iterative solution method, the setting process is executed by the computer after solving the predetermined matrix equation by an iterative solution method; updating the machine learning model based on the set input target; 5. The information processing program according to any one of claims 1 to 4, which causes the computer to execute a process.

[0229] (Appendix 7) The information processing program according to appendix 5 or 6, characterized in that the acquiring process acquires, when multiple simulations are executed in which different matrix equations of the same type are solved by an iterative method, matrices that form the matrix equations to be solved by the iterative method when the simulations are executed each time the simulations are executed.

[0230] (Appendix 8) The predetermined matrix equation is a matrix equation including a preconditioning matrix used in preprocessing to change the eigenvalue distribution of any of the matrix equations in an iterative solution method, The setting process is executed by the computer before the pre-processing is performed in an iterative solution method; performing the preprocessing based on a second matrix indicating a solution to the predetermined matrix equation output from the machine learning model in response to inputting the set input target into the machine learning model; 5. The information processing program according to any one of claims 1 to 4, which causes the computer to execute a process.

[0231] (Appendix 9) The predetermined matrix equation is a matrix equation including a preconditioning matrix used in preprocessing to change the eigenvalue distribution of any of the matrix equations in an iterative solution method, The setting process is executed by the computer after performing the preprocessing in an iterative solution method; updating the machine learning model based on the set input target; 5. The information processing program according to any one of claims 1 to 4, which causes the computer to execute a process.

[0232] (Appendix 10) The information processing program according to appendix 8 or 9, characterized in that the acquiring process acquires, when multiple simulations are executed in which different matrix equations of the same type are solved by an iterative solving method, a matrix that forms a matrix equation including a preconditioning matrix, which is used for preprocessing that changes the eigenvalue distribution of one of the matrix equations in the iterative solving method when the simulation is executed each time the simulation is executed.

[0233] (Appendix 11) The information processing program described in Appendix 6 or 9, characterized in that the updating process updates the machine learning model based on the set input target when it is determined that the solution accuracy of the machine learning model is less than a threshold.

[0234] (Appendix 12) The information processing program according to appendix 6 or 9, characterized in that the updating process further includes updating the machine learning model based on a new input target obtained by adding a perturbation matrix to the set input target.

[0235] (Appendix 13) In each of the blocks, a scaling coefficient is calculated by multiplying the reciprocal of any element having a maximum absolute value by a predetermined value; The information processing program according to claim 2, wherein the changing process multiplies each of a plurality of elements included in the block by the scaling coefficient calculated for the respective block.

[0236] (Appendix 14) Obtain matrices that form a given matrix equation, Dividing the obtained matrix into a plurality of blocks each including elements having the same attribute based on the attributes of each of the plurality of elements included in the obtained matrix; Changing the scale of each of a plurality of elements included in each of the divided blocks; The matrix after changing the scale of each of the plurality of elements included in each of the blocks is set as an input target for a machine learning model that performs a matrix operation. An information processing method characterized in that the processing is executed by a computer.

[0237] (Appendix 15) Obtain matrices that form a given matrix equation, Dividing the obtained matrix into a plurality of blocks each including elements having the same attribute based on the attributes of each of the plurality of elements included in the obtained matrix; Changing the scale of each of a plurality of elements included in each of the divided blocks; The matrix after changing the scale of each of the plurality of elements included in each of the blocks is set as an input target for a machine learning model that performs a matrix operation. An information processing device comprising a control unit. [Explanation of symbols]

[0238] 100 Information processing device 101 Matrix equations 102 Machine Learning Models 200 Information Processing Systems 201 Client device 210 Network 300 Bus 301 CPU 302 Memory 303 Network Interface 304 Recording media I / F 305 Recording media 400 Storage section 401 Acquisition Department 402 Split part 403 Changes 404 Settings 405 Generator 406 Solving section 407 Output section 500 Initial value 501~504 solution 600,700,800,1500,1600,1700 Reference diagram 900,1000,1010,1100,1110,1120,1800,2300,2400 Graph 901~903,1001,1011,1012,1801,1802,2401,2402 line 904,905 points 1201 Analysis Department 1202 Learning Department

Claims

1. Obtaining matrices that form a given matrix equation; Dividing the obtained matrix into a plurality of blocks each including elements having the same attribute based on the attributes of each of the plurality of elements included in the obtained matrix; Changing the scale of each of a plurality of elements included in each of the divided blocks; The matrix after changing the scale of each of the plurality of elements included in each of the blocks is set as an input target for a machine learning model that performs a matrix operation. An information processing program that causes a computer to execute a process.

2. 2. The information processing program according to claim 1, characterized in that the acquiring process acquires a first matrix indicating coefficients of the specified matrix equation and a third matrix indicating a product of the first matrix and a second matrix indicating a solution of the specified matrix equation.

3. 3. The information processing program according to claim 1, wherein the obtaining process obtains a second matrix indicating a solution of the predetermined matrix equation.

4. a fourth matrix indicating a base forming each of a plurality of elements included in the matrix and a fifth matrix indicating an exponent forming each of a plurality of elements included in the matrix; The information processing program according to any one of claims 1 to 3, characterized in that the setting process sets the identified fourth matrix and the identified fifth matrix for the acquired matrices as targets for input to the machine learning model.

5. the predetermined matrix equation is a matrix equation to be solved by an iterative solution method, The setting process is executed by the computer before solving the predetermined matrix equation by an iterative solution method; setting a second matrix indicating a solution to the predetermined matrix equation output from the machine learning model in response to inputting the set input target to the machine learning model, to an initial value used when solving the predetermined matrix equation by an iterative solution method; 5. The information processing program according to claim 1, which causes the computer to execute a process.

6. the predetermined matrix equation is a matrix equation to be solved by an iterative solution method, the setting process is executed by the computer after solving the predetermined matrix equation by an iterative solution method; updating the machine learning model based on the set input target; 5. The information processing program according to claim 1, which causes the computer to execute a process.

7. The information processing program according to claim 5 or 6, characterized in that the acquisition process acquires, when multiple simulations are performed in which different matrix equations of the same type are solved by an iterative method, a matrix that forms the matrix equation to be solved by the iterative method when the simulation is performed each time the simulation is performed.

8. the predetermined matrix equation is a matrix equation including a preconditioning matrix used in preprocessing for changing an eigenvalue distribution of any of the matrix equations in an iterative solution method, The setting process is executed by the computer before the pre-processing is performed in an iterative solution method; performing the preprocessing based on a second matrix indicating a solution to the predetermined matrix equation output from the machine learning model in response to inputting the set input target into the machine learning model; 5. The information processing program according to claim 1, which causes the computer to execute a process.

9. the predetermined matrix equation is a matrix equation including a preconditioning matrix used in preprocessing for changing an eigenvalue distribution of any of the matrix equations in an iterative solution method, The setting process is executed by the computer after performing the preprocessing in an iterative solution method; updating the machine learning model based on the set input target; 5. The information processing program according to claim 1, which causes the computer to execute a process.

10. 10. The information processing program according to claim 8, wherein the acquiring process acquires, when a plurality of simulations are executed in which different matrix equations of the same type are solved by an iterative solving method, a matrix forming a matrix equation including a preconditioning matrix used for preprocessing to change the eigenvalue distribution of one of the matrix equations in the iterative solving method when the simulation is executed each time the simulation is executed.

11. Obtaining matrices that form a given matrix equation; Dividing the obtained matrix into a plurality of blocks each including elements having the same attribute based on the attributes of each of the plurality of elements included in the obtained matrix; Changing the scale of each of a plurality of elements included in each of the plurality of divided blocks; The matrix after changing the scale of each of the plurality of elements included in each of the blocks is set as an input target for a machine learning model that performs a matrix operation. An information processing method characterized in that the processing is executed by a computer.

12. Obtaining matrices that form a given matrix equation; Dividing the obtained matrix into a plurality of blocks each including elements having the same attribute based on the attributes of each of the plurality of elements included in the obtained matrix; Changing the scale of each of a plurality of elements included in each of the divided blocks; The matrix after changing the scale of each of the plurality of elements included in each of the blocks is set as an input target for a machine learning model that performs a matrix operation. An information processing device comprising a control unit.

Citation Information

Patent Citations

  • Calculating device related to simultaneous linear equations

    JP1993081310A

  • Learning data generation method and learning data generation program

    JP2019191781A

  • H-matrix preconditioner

    US20160202389A1