Partial differential equation solving method based on multi-step deep neural operator network

By using the indirect mapping module of the multi-step deep neural operator network in solving partial differential equations, the network optimization path is optimized, the problem of suboptimal prediction results of traditional neural operator networks is solved, and the accuracy of partial differential equations is significantly improved. Prediction accuracy.

CN118734893AActive Publication Date: 2024-10-01CHINA AERODYNAMICS RES AND DEV CENT ULTRA-HIGH SPEED AERODYNAMICS RES INST

Patent Information

Application Number
CN202410812423.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-01
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

In the traditional neural operator network based on physical information in solving partial differential equations, the direct mapping between the input function and the output function limits the path to find the solution function space, resulting in suboptimal prediction results.

Method used

Using a multi-step deep neural operator network, the solution to the partial differential equation is mapped twice through the first mapping module and the indirect mapping module, and the relevant information between the variable function and the independent variable is used to optimize the network optimization path and improve predictions Accuracy.

Benefits of technology

By enhancing the characteristic connection between the solution and the mapping network through indirect mapping, the prediction accuracy of partial differential equations is significantly improved. Especially in areas with large gradient changes, the prediction accuracy is increased by about three times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of neural operator networks, in particular to a partial differential equation solving method based on a multi-step deep neural operator network. Comprising the steps of obtaining a target variable function and a target independent variable of a partial differential equation; inputting the target variable function and the target independent variable into a pre-trained prediction model; the prediction model is obtained by training based on a multi-step deep neural operator network, the multi-step deep neural operator network comprises a DeepONet-based first mapping module, an indirect mapping module and a driving module, the first mapping module is used for initially mapping a solution of a partial differential equation, and the indirect mapping module is used for driving the solution of the partial differential equation based on an initial mapping result. Performing quadratic mapping on the solution of the partial differential equation; and outputting a prediction solution of the partial differential equation. The indirect mapping of the scheme can make full use of the related information between the variable function and the independent variable, and enhances the feature relation between the solution and the mapping network, so as to optimize the network optimization path and improve the prediction precision of the model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of neural operator networks, and in particular to a method for solving partial differential equations based on a multi-step deep neural operator network. Background Art

[0002] In recent years, neural networks (NNs) have been widely studied in solving partial differential equations, because neural networks can be regarded as universal approximators of nonlinear functions. Combining the advantages of neural operators with physical information neural networks, a neural operator based on physical information is proposed to solve partial differential equations.

[0003] In traditional neural operator networks based on physical information, a mapping relationship is directly established between the input function and the output function, which will limit the optimal path for seeking the solution function space. The information transmission between the variable function and the independent variable is incomplete, which may cause the prediction results of the partial differential equation to be suboptimal.

[0004] Therefore, there is an urgent need for a method for solving partial differential equations based on a multi-step deep neural operator network. Summary of the invention

[0005] In order to solve the problem that the prediction results of traditional neural operator networks for partial differential equations are not optimal, an embodiment of the present invention provides a method for solving partial differential equations based on a multi-step deep neural operator network.

[0006] On the one hand, an embodiment of the present invention provides a method for solving partial differential equations based on a multi-step deep neural operator network, the method comprising: Obtain the target variable function and target independent variable of the partial differential equation; Inputting the target variable function and the target independent variable into a pre-trained prediction model for solving the partial differential equation; the prediction model is obtained based on a multi-step deep neural operator network training, and the multi-step deep neural operator network includes a first mapping module based on DeepONet, an indirect mapping module and a driving module, the first mapping module is used to perform initial mapping on the solution of the partial differential equation, and the indirect mapping module is used to perform secondary mapping on the solution of the partial differential equation based on the initial mapping result; The prediction model outputs the predicted solution of the partial differential equation under the target variable function and the target independent variable.

[0007] In a possible design, the prediction model is generated by training in the following manner: For each set of variable functions and independent variables used to train the model, execute: Inputting the set of variable functions and independent variables into the first mapping module, so as to use the branch network in the first mapping module to initially map the solution based on the variable functions, and use the trunk network in the first mapping module to initially map the solution based on the independent variables; Perform a dot product operation on the output of the branch network and the output of the trunk network to obtain an initial solution; Inputting the initial solution to the indirect mapping module to perform secondary mapping on the solution of the partial differential equation based on the initial solution using a transition subnetwork in the indirect mapping module; Performing a dot product operation on the secondary mapping result of the transition subnetwork and the output of the backbone network to obtain a solution to the partial differential equation; Inputting the solution of the partial differential equation into the driving module, using the output of the partial differential equation system module and the initial boundary condition module of the partial differential equation system in the driving module as a drive, and feeding back to the first mapping module and the indirect mapping module to optimize network parameters; Until a prediction model that meets expectations is obtained.

[0008] In a possible design, the solution of the partial differential equation is input to the driving module, and the output of the partial differential equation system module and the initial boundary condition module of the partial differential equation system in the driving module is used as a drive to feed back to the first mapping module and the indirect mapping module for optimizing network parameters, including: Inputting the solution of the partial differential equation to the partial differential equation system module of the driving module and the initial boundary condition module of the partial differential equation system respectively, so as to calculate the first loss function by using the partial differential equation system module, and calculate the second loss function and the third loss function by using the initial conditions and boundary conditions in the initial boundary condition module; Adding the first loss function, the second loss function and the third loss function to determine a total loss function; The total loss function is made close to zero to optimize the network parameters of the first mapping module and the indirect mapping module.

[0009] In one possible design, the branch network, the trunk network, and the transition sub-network are fully connected networks.

[0010] In a possible design, when the partial differential equation is a variable coefficient linear advection equation in a fast flow medium simulation process, the partial differential equation is expressed by the following formula: In the formula, is a function of a variable, is the spatial independent variable, is the independent variable of time, For the solution.

[0011] In one possible design, the initial boundary conditions are expressed as follows: In the formula, is the initial condition, is the boundary condition, For solution, is the spatial independent variable, is the independent variable of time.

[0012] On the other hand, a device for solving partial differential equations based on a multi-step deep neural operator network is provided, the device comprising: An acquisition unit, used for acquiring a target variable function and a target independent variable of a partial differential equation; A prediction unit, used for inputting the target variable function and the target independent variable into a pre-trained prediction model for solving the partial differential equation; the prediction model is obtained based on a multi-step deep neural operator network training, and the multi-step deep neural operator network includes a first mapping module based on DeepONet, an indirect mapping module and a driving module, the first mapping module is used for performing initial mapping on the solution of the partial differential equation, and the indirect mapping module is used for performing secondary mapping on the solution of the partial differential equation based on the initial mapping result; An output unit is used for the prediction model to output the predicted solution of the partial differential equation under the target variable function and the target independent variable.

[0013] On the other hand, a computing device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in any embodiment of the present specification is implemented.

[0014] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute the method described in any embodiment of the present specification.

[0015] On the other hand, a computer program product is provided, comprising a computer program, wherein the computer program implements the steps of the above method when executed by a processor.

[0016] An embodiment of the present invention provides a method for solving partial differential equations based on a multi-step deep neural operator network. An indirect mapping module is added to the prediction model to map the solution of the partial differential equation twice in sequence using a first mapping module and an indirect mapping module, so as to achieve indirect mapping of the variable function and the independent variable to the solution of the partial differential equation system. Compared with the traditional direct mapping neural operator network, the indirect mapping of this scheme can make full use of the relevant information between the variable function and the independent variable, and enhance the characteristic connection between the solution and the mapping network, so as to optimize the network optimization path and improve the prediction accuracy of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 It is a flow chart of a method for solving partial differential equations based on a multi-step deep neural operator network provided by one embodiment of the present invention; Figure 2 It is an architecture diagram of a multi-step deep neural operator network provided by one embodiment of the present invention; Figure 3 It is a benchmark result obtained by numerical simulation using computational fluid dynamics; Figure 4 It is the prediction result of the traditional PIDeepONet model; Figure 5 is the absolute error between the prediction result of the traditional PIDeepONet model and the benchmark result; Figure 6 is the prediction result of the multi-step deep neural operator model provided by an embodiment of the present invention; Figure 7 is the absolute error between the prediction result of the multi-step deep neural operator model provided by an embodiment of the present invention and the benchmark result; Figure 8 is a hardware architecture diagram of an electronic device provided by an embodiment of the present invention; Fig. 9 It is a structural diagram of a partial differential equation solving device based on a multi-step deep neural operator network provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0020] The specific implementation is described below.

[0021] Please refer to Figure 1 and Figure 2 , an embodiment of the present invention provides a method for solving partial differential equations based on a multi-step deep neural operator network, the method comprising: Step 100: Obtain the target variable function and target independent variable of the partial differential equation; Step 102: inputting the target variable function and the target independent variable into a pre-trained prediction model for solving partial differential equations; the prediction model is obtained based on a multi-step deep neural operator network training, and the multi-step deep neural operator network includes a first mapping module based on DeepONet, an indirect mapping module and a driving module, the first mapping module is used to perform initial mapping on the solution of the partial differential equation, and the indirect mapping module is used to perform secondary mapping on the solution of the partial differential equation based on the initial mapping result; Step 104: The prediction model outputs the predicted solution of the partial differential equation under the target variable function and the target independent variable.

[0022] In an embodiment of the present invention, an indirect mapping module is added to the prediction model to map the solution of the partial differential equation twice in sequence using the first mapping module and the indirect mapping module, so as to achieve the indirect mapping of the variable function and the independent variable to the solution of the partial differential equation system. Compared with the traditional direct mapping neural operator network, the indirect mapping of this scheme can make full use of the relevant information between the variable function and the independent variable, and enhance the characteristic connection between the solution and the mapping network, so as to optimize the network optimization path and improve the prediction accuracy of the model.

[0023] It should be noted that the traditional direct mapping neural operator usually only maps once, and directly outputs the mapping result of this time as the solution to the driving module, while the multi-step deep neural operator network in the embodiment of the present invention includes a first mapping module and an indirect mapping module, and the solution needs to be mapped twice. Therefore, this embodiment can solve the defects of the traditional direct mapping neural operator, enhance the characteristic connection between the solution and the mapping network through indirect mapping, optimize the network optimization path, and improve the prediction accuracy of the model.

[0024] Described below Figure 1 How the various steps are performed.

[0025] For steps 100 and 102: In step 100, different physical systems face different control equations, and it is necessary to determine the control equation that needs to be solved by partial differential method, that is, the partial differential equation, for the physical system.

[0026] refer to Figure 2 In some embodiments, the prediction model is generated by training in the following manner: For each set of variable functions and independent variables used to train the model, execute: Inputting the set of variable functions and independent variables into a first mapping module, so as to use a branch network in the first mapping module to initially map the solution based on the variable functions, and use a trunk network in the first mapping module to initially map the solution based on the independent variables; Perform a dot product operation on the output of the branch network and the output of the trunk network to obtain an initial solution; The initial solution is input to the indirect mapping module to perform secondary mapping on the solution of the partial differential equation based on the initial solution using a transition subnetwork in the indirect mapping module; Perform a dot product operation on the secondary mapping result of the transition sub-network and the output of the backbone network to obtain the solution of the partial differential equation; The solution of the partial differential equation is input to the driving module, and the output of the partial differential equation system module and the initial boundary condition module of the partial differential equation system in the driving module is used as a drive, and fed back to the first mapping module and the indirect mapping module to optimize the network parameters; Until a prediction model that meets expectations is obtained.

[0027] In this embodiment, the outputs of the branch network and the trunk network are dot-producted to obtain an initial solution G(u)(x). This part of the network structure is the DeepONet part. The initial solution G(u)(x) is used as the input of the transition subnetwork to enhance the transmission of trunk information and branch information in the network.

[0028] In the indirect mapping module, the output of the transition subnetwork is indirectly implied by the dot product operation with the output of the backbone network, so that the features are fused between the independent variables and the solution function to enhance the recognition of the backbone network information. The solution S(x)(t) of the partial differential equation obtained is the final solution, which is used as the information recognition of the partial derivative relationship of the independent variables of the PDE (partial differential equation) system.

[0029] Finally, the final solution is input into the driving module to generate driving feedback to the first mapping module and the indirect mapping module to optimize the network parameters.

[0030] Next, the network structure of the first mapping module, the indirect mapping module and the driving module is described in detail.

[0031] The first mapping module consists of two parts: the branch network and the trunk network. The inputs are variable functions. and the independent variable coordinate x. The branch network and the trunk network are fully connected networks with n and m hidden layers respectively, and their activation functions can be Tanh, Relu or other activation functions.

[0032] Among them, the branch network output includes p quantities: , the backbone network output includes p quantities: .

[0033] The output of the branch network and the trunk network is obtained through dot product to obtain G(u)(x), which is the initial mapping solution of the network to the solution function (the solution with large error), and is used as the output of the DeepONet layer.

[0034] Indirect mapping module: The transition sub-network is used as the main network of the indirect mapping module, which is composed of a fully connected network with k hidden layers. The DeepONet layer output is used as the input of the transition sub-network. The output of the transition sub-network includes p quantities: Finally, the output of the transition sub-network and the output of the backbone network are precisely mapped to the solution function through the dot product, which is recorded as S(x,t).

[0035] Driver module: The total network loss consists of three parts: , and , among which The control equations are constrained by automatic differentiation techniques to ensure that the constraints at the physical level are met. and Constraints under boundary conditions and initial conditions respectively.

[0036] In some embodiments, the solution of the partial differential equation is input to the driving module, and the output of the partial differential equation system module and the initial boundary condition module of the partial differential equation system in the driving module is used as a drive, and fed back to the first mapping module and the indirect mapping module to optimize the network parameters, including: Inputting the solution of the partial differential equation to the partial differential equation system module of the driving module and the initial boundary condition module of the partial differential equation system respectively, so as to calculate the first loss function by using the partial differential equation system module, and calculate the second loss function and the third loss function by using the initial conditions and boundary conditions in the initial boundary condition module; Add the first loss function, the second loss function and the third loss function to determine a total loss function; The total loss function is made close to zero to optimize the network parameters of the first mapping module and the indirect mapping module.

[0037] In this embodiment, the PDE system is explicitly embedded into the LOSS function of the network through automatic differentiation technology as the physical driving part of the network to reduce the network's demand for data volume, and the initial boundary conditions of the PDE system are used as the data driving part of the network. These two parts are used as the total loss function of the network, and the network parameters of the first mapping module and the indirect mapping module are updated by making the total loss function as close to zero as possible.

[0038] In some implementations, the branch network, the backbone network, and the transition sub-network are fully connected networks.

[0039] In this embodiment, the branch network, the trunk network, and the transition sub-network are set as fully connected networks, which can reduce the amount of network parameters and facilitate the rapid solution of partial differential equations.

[0040] It should be noted that the branch network, the backbone network, and the transition sub-network can be set as a convolutional network to improve the prediction accuracy.

[0041] In some embodiments, when the partial differential equation is a linear advection equation with variable coefficients in a fast flow medium simulation process, the partial differential equation is expressed by the following formula: In the formula, is a function of a variable, is the spatial independent variable, is the independent variable of time, For the solution.

[0042] In this embodiment, during the simulation of fast-flowing media, the gas-liquid flow process will cause physical oscillations, which are difficult to predict by manual calculation. The partial differential equation can be determined as a variable coefficient linear advection equation as shown in the above formula, and a multi-step deep neural operator network is constructed based on the above partial differential equation, and the corresponding prediction model is trained to greatly improve the simulation prediction accuracy of fast-flowing media.

[0043] In some embodiments, the initial boundary condition is expressed by the following formula: In the formula, is the initial condition, is the boundary condition, For solution, is the spatial independent variable, is the independent variable of time.

[0044] In this embodiment, the initial conditions are , the boundary conditions are , through the above initial boundary conditions, the data-driven part of the network can be generated to more accurately map the variable function u(x) to the solution s(x,t).

[0045] Regarding step 104: After training to obtain a prediction model that meets expectations, the target variable function and target independent variable of the partial differential equation are input into the prediction model obtained by training based on the multi-step deep neural operator network, and the prediction solution of the partial differential equation under the target variable function and target independent variable can be output from the indirect mapping module. It can be understood that the multi-step deep neural operator network makes full use of the relevant information between the variable function and the independent variable by indirectly mapping the relationship between the input function and the output function, and enhances the characteristic connection between the model output and the backbone network, so as to optimize the network optimization path and improve the network prediction accuracy.

[0046] In order to verify the effectiveness of the embodiment of the present invention, a traditional direct-mapped physical information deep neural operator network (PIDeepONet) was constructed and compared with the multi-step deep neural operator network (MulSPIDeepONet) of the embodiment of the present invention for experimental data verification. Figure 3 The following is the benchmark result obtained by numerical simulation using computational fluid dynamics, where the area enclosed by the solid line is the area with the largest gradient change. Figure 4 This is the prediction result of the traditional PIDeepONet. Figure 5 for Figure 4 The prediction results of traditional PIDeepONet are Figure 3 The absolute error of the benchmark result. Figure 6 is the prediction result of MulSPIDeepONet of the embodiment of the present invention, Figure 7 for Figure 6 The prediction results of MulSPIDeepONet in the embodiment of the present invention are Figure 3 The absolute error of the benchmark result.

[0047] Combination Figure 3-Figure 7 The experimental results show that the PIDeepONet model has obvious errors in the area with large gradient changes (the area framed by solid lines), and its average absolute error is 0.0218. After using the multi-step deep neural operator network (MulSPIDeepONet) of the embodiment of the present invention, Figure 7 As shown in the figure, the mean absolute error in the area with large gradient changes is 0.0083, which shows that the prediction accuracy of the MulSPIDeepONet model in the embodiment of the present invention is improved by about three times compared with the traditional PIDeepONet model. Therefore, it can be proved that the method in the embodiment of the present invention can better capture the occurrence of physical phenomena when processing large gradient changes by utilizing the feature fusion between the independent variable and the solution function for indirect mapping.

[0048] like Figure 8 , Fig. 9 As shown, an embodiment of the present invention provides a partial differential equation solving device based on a multi-step deep neural operator network. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. From the hardware level, Figure 8 As shown in FIG. 1 , a hardware architecture diagram of a computing device in which a partial differential equation solving device based on a multi-step deep neural operator network is provided in an embodiment of the present invention is located, except that Figure 8 In addition to the processor, memory, network interface, and non-volatile memory shown in the figure, the computing device in which the device is located in the embodiment may also generally include other hardware, such as a forwarding chip responsible for processing messages, etc. Taking software implementation as an example, Fig. 9 As shown, as a device in a logical sense, the CPU of the computing device in which it is located reads the corresponding computer program in the non-volatile memory into the internal memory and runs it.

[0049] like Fig. 9 As shown, this embodiment provides a partial differential equation solving device based on a multi-step deep neural operator network, comprising: An acquisition unit 901 is used to acquire a target variable function and a target independent variable of a partial differential equation; A prediction unit 902 is used to input the target variable function and the target independent variable into a pre-trained prediction model for solving partial differential equations; the prediction model is obtained based on a multi-step deep neural operator network training, and the multi-step deep neural operator network includes a first mapping module based on DeepONet, an indirect mapping module and a driving module, the first mapping module is used to perform initial mapping on the solution of the partial differential equation, and the indirect mapping module is used to perform secondary mapping on the solution of the partial differential equation based on the initial mapping result; The output unit 903 is used for predicting the model output of the target variable function and the predicted solution of the partial differential equation under the target independent variable.

[0050] In one embodiment of the present invention, the prediction model in the prediction unit 902 is generated by training in the following manner: For each set of variable functions and independent variables used to train the model, execute: Inputting the set of variable functions and independent variables into a first mapping module, so as to use a branch network in the first mapping module to initially map the solution based on the variable functions, and use a trunk network in the first mapping module to initially map the solution based on the independent variables; Perform a dot product operation on the output of the branch network and the output of the trunk network to obtain an initial solution; The initial solution is input to the indirect mapping module to perform secondary mapping on the solution of the partial differential equation based on the initial solution using a transition subnetwork in the indirect mapping module; Perform a dot product operation on the secondary mapping result of the transition sub-network and the output of the backbone network to obtain the solution of the partial differential equation; The solution of the partial differential equation is input to the driving module, and the output of the partial differential equation system module and the initial boundary condition module of the partial differential equation system in the driving module is used as a drive, and fed back to the first mapping module and the indirect mapping module to optimize the network parameters; Until a prediction model that meets expectations is obtained.

[0051] In one embodiment of the present invention, the prediction unit 902 inputs the solution of the partial differential equation into the driving module, and uses the output of the partial differential equation system module and the initial boundary condition module of the partial differential equation system in the driving module as a driver, and feeds back to the first mapping module and the indirect mapping module to optimize the network parameters, and is used to: Inputting the solution of the partial differential equation to the partial differential equation system module of the driving module and the initial boundary condition module of the partial differential equation system respectively, so as to calculate the first loss function by using the partial differential equation system module, and calculate the second loss function and the third loss function by using the initial conditions and boundary conditions in the initial boundary condition module; Add the first loss function, the second loss function and the third loss function to determine a total loss function; The total loss function is made close to zero to optimize the network parameters of the first mapping module and the indirect mapping module.

[0052] In one embodiment of the present invention, the branch network, the trunk network, and the transition sub-network in the prediction unit 902 are fully connected networks.

[0053] In one embodiment of the present invention, when the partial differential equation in the prediction unit 902 is a variable coefficient linear advection equation in a fast flow medium simulation process, the partial differential equation is expressed by the following formula: In the formula, is a function of a variable, is the spatial independent variable, is the independent variable of time, For the solution.

[0054] In one embodiment of the present invention, the initial boundary condition in the prediction unit 902 is expressed by the following formula: In the formula, is the initial condition, is the boundary condition, For solution, is the spatial independent variable, is the independent variable of time.

[0055] It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on a partial differential equation solving device based on a multi-step deep neural operator network. In other embodiments of the present invention, a partial differential equation solving device based on a multi-step deep neural operator network may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0056] The information interaction, execution process and other contents between the units in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.

[0057] An embodiment of the present application also provides a computing device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, a method for solving partial differential equations based on a multi-step deep neural operator network in any embodiment of the present invention is implemented.

[0058] An embodiment of the present application also provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the partial differential equation solving method based on a multi-step deep neural operator network provided in the above-mentioned method embodiments.

[0059] An embodiment of the present application also provides a computer program product, which includes a computer program. A processor of a computer device reads the computer program from a computer-readable storage medium, and the processor executes the computer program, so that the computer device executes any of the partial differential equation solving methods based on a multi-step deep neural operator network described in the above embodiments.

[0060] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0061] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0062] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0063] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for solving partial differential equations based on a multi-step deep neural operator network, characterized in that: include: Obtain the target variable function and target independent variable of the partial differential equation; Inputting the target variable function and the target independent variable into a pre-trained prediction model for solving the partial differential equation; the prediction model is obtained based on a multi-step deep neural operator network training, the multi-step deep neural operator network includes a first mapping module based on DeepONet, an indirect mapping module and a driving module, the first mapping module is used to perform initial mapping on the solution of the partial differential equation, the indirect mapping module is used to perform secondary mapping on the solution of the partial differential equation based on the initial mapping result, and the driving module includes a partial differential equation system module and an initial boundary condition module; The prediction model outputs the predicted solution of the partial differential equation under the target variable function and the target independent variable.

2. The method according to claim 1, characterized in that The prediction model is trained and generated in the following way: For each set of variable functions and independent variables used to train the model, execute: Inputting the set of variable functions and independent variables into the first mapping module, so as to use the branch network in the first mapping module to initially map the solution based on the variable functions, and use the trunk network in the first mapping module to initially map the solution based on the independent variables; Perform a dot product operation on the output of the branch network and the output of the trunk network to obtain an initial solution; Inputting the initial solution to the indirect mapping module to perform secondary mapping on the solution of the partial differential equation based on the initial solution using a transition subnetwork in the indirect mapping module; Performing a dot product operation on the secondary mapping result of the transition subnetwork and the output of the backbone network to obtain a solution to the partial differential equation; Inputting the solution of the partial differential equation into the driving module, using the output of the partial differential equation system module and the initial boundary condition module of the partial differential equation system in the driving module as a drive, and feeding back to the first mapping module and the indirect mapping module to optimize network parameters; Until a prediction model that meets expectations is obtained.

3. The method according to claim 2, characterized in that The inputting the solution of the partial differential equation into the driving module, using the output of the partial differential equation system module and the initial boundary condition module of the partial differential equation system in the driving module as a drive, and feeding back to the first mapping module and the indirect mapping module for optimizing network parameters, comprises: Inputting the solution of the partial differential equation to the partial differential equation system module of the driving module and the initial boundary condition module of the partial differential equation system respectively, so as to calculate the first loss function by using the partial differential equation system module, and calculate the second loss function and the third loss function by using the initial conditions and boundary conditions in the initial boundary condition module; Adding the first loss function, the second loss function and the third loss function to determine a total loss function; The total loss function is made to approach zero to optimize the network parameters of the first mapping module and the indirect mapping module.

4. The method according to claim 2, characterized in that: The branch network, the trunk network, and the transition sub-network are fully connected networks.

5. The method according to claim 1, characterized in that When the partial differential equation is a variable coefficient linear advection equation in the fast flow medium simulation process, the partial differential equation is expressed by the following formula: In the formula, is a function of a variable, is the spatial independent variable, is the independent variable of time, For the solution.

6. The method according to claim 5, characterized in that The initial boundary conditions are expressed as follows: In the formula, is the initial condition, is the boundary condition, For solution, is the spatial independent variable, is the independent variable of time.

7. A partial differential equation solving device based on a multi-step deep neural operator network, characterized in that: include: An acquisition unit, used for acquiring a target variable function and a target independent variable of a partial differential equation; A prediction unit, used for inputting the target variable function and the target independent variable into a pre-trained prediction model for solving the partial differential equation; the prediction model is obtained based on a multi-step deep neural operator network training, and the multi-step deep neural operator network includes a first mapping module based on DeepONet, an indirect mapping module and a driving module, the first mapping module is used for performing initial mapping on the solution of the partial differential equation, and the indirect mapping module is used for performing secondary mapping on the solution of the partial differential equation based on the initial mapping result; An output unit is used for the prediction model to output the predicted solution of the partial differential equation under the target variable function and the target independent variable.

8. A computing device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The method comprises a computer program, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • CN117992702A

  • CN118052143A

  • US20240143970A1

Cited By

  • CN120633747A