WO2024198599A1 - 基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法、介质及产品 - Google Patents
基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法、介质及产品 Download PDFInfo
- Publication number
- WO2024198599A1 WO2024198599A1 PCT/CN2024/070340 CN2024070340W WO2024198599A1 WO 2024198599 A1 WO2024198599 A1 WO 2024198599A1 CN 2024070340 W CN2024070340 W CN 2024070340W WO 2024198599 A1 WO2024198599 A1 WO 2024198599A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- neural
- operator
- partial differential
- node
- solution
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/088—Non-supervised learning, e.g. competitive learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
- G06F17/12—Simultaneous equations, e.g. systems of linear equations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
- G06F17/13—Differential equations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/14—Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/15—Correlation function computation including computation of convolution operations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/17—Mechanical parametric or variational design
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/23—Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0464—Convolutional networks [CNN, ConvNet]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/048—Activation functions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/04—Inference or reasoning models
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16C—COMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
- G16C60/00—Computational materials science, i.e. ICT specially adapted for investigating the physical or chemical properties of materials or phenomena associated with their design, synthesis, processing, characterisation or utilisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/10—Numerical modelling
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/24—Sheet material
Definitions
- the present invention belongs to the intersection of physical simulation and machine learning, and in particular relates to a unified method, medium and product for neural operator training and partial differential equation solution based on variational principle.
- neural operators can perform high-precision instant reasoning on the entire solution domain of the group of partial differential equations compared to traditional proxy models such as Gaussian process models and radial basis function models. They have received extensive attention in many physical simulation fields such as fluids, solids, electromagnetics, and heat transfer. Neural operators have many advantages such as potential super-resolution, high flexibility, and excellent generalization performance. They have huge landing space in industries such as industrial equipment digital twins, real-time and large-scale simulation solutions, animation and game modeling and rendering, and the metaverse, and are very likely to become the core technology of the next generation of physical simulation solvers.
- the present invention proposes a unified method, medium and product for neural operator training and partial differential equation solution based on the variational principle.
- the discrete functional is estimated by the predicted node solution of the neural operator, and the gradient norm of the discrete functional obtained by the automatic differentiation technique to the node solution is minimized by an iterative method based on the system of equations.
- the label-free optimization objective is constructed to train the neural operator, thereby avoiding the large-scale use of traditional solvers to obtain labels and saving computational costs.
- the method uses the generalization ability of the neural operator to provide a good initial solution for each iteration, essentially incorporating training and solution into a unified framework.
- a unified method for neural operator training and partial differential equation solution based on variational principle comprises the following steps:
- Step 100 Sample from the parameter space of the partial differential equation system to form an unlabeled dataset D containing only discrete parameter fields, divide the dataset D into an offset set L, a test set T and an unlabeled set U, divide the unlabeled set U into multiple batches, encode the boundary conditions, and form a mask tensor of the boundary conditions, including the following sub-steps:
- Step 101 Select the form and sampling strategy of the parameter space of the partial differential equation system
- Step 102 Grid the solution domain of the partial differential equation system, and sample the parameter space of the partial differential equation system according to the sampling strategy selected in step 101, discretize the sampled parameter field at the Gaussian points of the grid, and form an unlabeled discrete parameter field data set D containing only discrete parameter fields. Specifically: determine the number of sampled discrete parameter fields and the discrete parameter field shape;
- Step 103 randomly sample (N 1 +N 2 ) discrete parameter fields from the discrete parameter field data set D, solve the node solutions of the partial differential equations corresponding to the (N 1 +N 2 ) discrete parameter fields, and use the first N 1 discrete parameter fields and their corresponding node solutions (labels) as the offset set L, and the remaining N 2 discrete parameter fields and their corresponding node solutions as the test set T, wherein the offset set L is used to offset the output range, see step 203 for details;
- Step 104 exclude the (N 1 +N 2 ) discrete parameter fields sampled in the previous step from the data set D to form an unlabeled set U as a training set;
- Step 105 Set a variable i that records the number of iterations and set its value to 0, dividing the unlabeled set U into several batches of discrete parameter field samples;
- Step 106 Encode the boundary conditions to form a mask tensor M of the boundary conditions with the same shape as the node solution, in which the M elements corresponding to the constrained node degrees of freedom are set to 0, and the remaining elements are set to 1;
- Step 200 Use the neural operator module F to predict the node solutions of the discrete parameter field samples in the unlabeled set U, and further obtain the discretized functional as an estimate of the system functional based on the node solutions, including the following sub-steps:
- Step 201 extract a batch of discrete fiber angle field samples s from the unlabeled set U without replacement. If all batches are extracted, the variable i is incremented by 1 to determine whether the training process of the neural operator has reached the algorithm convergence condition. If converged, the weight ⁇ of the neural operator is output and step 304 is executed. Otherwise, the unlabeled set U is shuffled and the shuffled unlabeled set U is re-divided into several batches, and re-extracted and trained from the first batch; wherein the convergence condition may be that i reaches the maximum number of iterations of training or the inference accuracy of the neural operator has reached the accuracy requirement;
- ⁇ represents the element-wise product between tensors, the same below;
- Step 204 performing a convolution operation on the node solution a to obtain a solution at the Gaussian point and its spatial derivative;
- Step 205 Process the solution at the Gaussian point and its spatial derivative using tensor operations to obtain the value of the functional integrand at the Gaussian point;
- Step 206 using the Gaussian integral method, according to the value of the functional integrand at the Gaussian point, obtain the discretized functional estimate ⁇ ;
- Step 300 Apply variational operations to the discretized functional to construct an optimization target. Specifically, calculate the gradient R of the functional estimate ⁇ with respect to the node solution a, and use its norm as the minimization target, use an iterative method based on a system of equations to obtain the update step length ⁇ a of the current node solution, and use ⁇ a to update the weight ⁇ of the neural operator module F, including the following sub-steps:
- Step 301 using the automatic differentiation method, back-propagating the functional estimate ⁇ , recording the gradient R of the functional estimate ⁇ to the node solution a, and taking its norm as the minimization target;
- Step 302 input the gradient R into the iterative method based on the equation system to obtain the update step length ⁇ a of the current node solution;
- Step 303 Use ⁇ a to update the weight ⁇ of the neural operator, and return to execute step 201;
- Step 304 Perform inference on the neural operator module F on the test set T and calculate the test set indicators.
- the parameter space of the partial differential equations may be a space formed by the coefficients or free terms of the partial differential equations
- the parameter space of the partial differential equations may be in the form of a continuous parameter field controlled by parameters such as a B-spline surface and a Gaussian random field, or a function with such a parameter field as an independent variable
- the sampling strategy may be a sampling method such as a simple random sampling method and a Latin hypercube sampling method.
- the grid division settings can be adjusted according to the specific research problems.
- Sampling the parameter space of the partial differential equation group can refer to direct sampling of the parameters of the partial differential equation group, or can refer to sampling of the independent variables that control the parameters of the partial differential equation group.
- the heat source term can be directly sampled
- the elastic mechanics partial differential equation group that controls the fiber-laminated elastic plate the material principal direction coordinate axis angles that control the elastic coefficients in the constitutive equation group can be sampled, that is, the fiber angle field can be sampled.
- the analysis method used to solve the partial differential equations may be a finite element analysis method, a boundary element analysis method, an isogeometric analysis method, a meshless method, or the like.
- step 105 the size and number of batches can be adjusted according to specific research questions.
- the neural operator module F includes but is not limited to a single neural operator and a combination of multiple neural operators, and the network structure and hyperparameters of all neural networks of the neural operator module F can be adjusted according to specific research problems.
- step 205 the specific form of the tensor operation of obtaining the functional integrand at the Gaussian point from the solution at the Gaussian point and its spatial derivative can be adjusted according to the form of the partial differential equation group to be solved.
- the iterative method based on the system of equations includes but is not limited to the steepest descent method and the conjugate gradient method.
- the number of iterations of the iterative method based on the system of equations can be adjusted according to the specific research problem, and the maximum number of iterations of training can be adjusted according to the specific research problem.
- step 303 various hyperparameters required for the update process, such as learning rate, momentum, etc., can be adjusted according to specific research problems.
- test set index can be determined according to the specific research question.
- a computer-readable storage medium comprises instructions, which, when executed on a computer, cause the computer to execute any one of the methods of the first aspect.
- a computer program product comprising instructions, when it is run on a computer, causes the computer to execute the On the one hand, any method.
- the present invention proposes a unified method, medium and product for neural operator training and partial differential equation solution based on variational principle, which incorporates the solution and training process into a unified framework.
- the solution and training process of pure data-driven method are carried out separately, and a large number of labels are required to construct optimization targets.
- the present invention estimates the output functional of the neural operator and introduces variational operation to construct unlabeled optimization targets, thereby reducing the labels required in the training process and reducing the use of traditional solvers.
- Fields such as optimization design and uncertainty quantification require solving the parameter set of partial differential equations rather than a single parameter.
- Traditional solvers such as finite element-based solvers, can only independently solve each parameter instance in the parameter set, and then traversely solve the entire parameter set.
- the present invention solves an operator from parameter space to solution space and simultaneously learns the weight of a neural operator with generalization ability, which ensures that while solving a specific parameter, the present invention can obtain accuracy improvement on other parameters.
- the present invention is expected to replace traditional solvers in fields such as optimization design and uncertainty quantification, which require solving a large number of parameters of partial differential equations.
- FIG1 is a flowchart of a unified method, medium, and product for neural operator training and partial differential equation solution based on the variational principle provided by an embodiment of the present invention
- FIG2 is a schematic diagram of boundary conditions of Example 1;
- FIG3 is a schematic diagram of the neural operator network structure of Example 1;
- FIG4 is a diagram showing 5 samples randomly sampled from the test set of Example 1;
- FIG5 is a schematic diagram of boundary conditions of a rectangular region P containing a variable heat source in Example 2;
- FIG6 is a diagram showing 5 samples randomly sampled from the test set of Example 2.
- the embodiment of the present invention provides a unified method for neural operator training and partial differential equation solution based on variational principle, comprising the following steps:
- Step 100 Study the variable stiffness fiber laminate elastic plate P.
- the size, material properties and boundary conditions of the plate P are shown in step 103.
- the fiber angle field of the plate P is sampled to form an unlabeled dataset D containing only discrete fiber angle fields.
- the dataset D is further divided into an offset set L, a test set T and an unlabeled set U.
- the unlabeled set U is divided into multiple batches, and the boundary conditions are encoded to form a mask tensor of the boundary conditions, including the following sub-steps:
- Step 101 The fiber angle field is selected in the form of the z coordinate component of a second-order B-spline surface controlled by a 4 ⁇ 4 control point grid.
- the x and y components of the control points are fixed.
- Z( xp , yp ) is determined by formula (1.1):
- Ni ,2 and Nj,2 are the basis functions of the (i+1)th and (j+1)th control points in the x and y directions respectively, i and j are the control point numbers in the x and y directions respectively, and the sampling strategy is Latin hypercube sampling;
- Step 102 For the fiber-laminated elastic plate P under study, the unit is selected as a bilinear reduced integration unit with four plane nodes.
- the grid setting adopts uniform grid division, the grid division density is 32 ⁇ 32 units, and there are 33 ⁇ 33 nodes in total.
- the z coordinates of the 4 ⁇ 4 control points of the fiber angle field are sampled by Latin hypercube, and the range of all z coordinate sampling is In this way, the fiber angle field is sampled.
- the number of sampled fiber angle fields is 100,000. 14,005 fiber angle fields are randomly selected and discretized to form an unlabeled discrete fiber angle field dataset D containing only discrete fiber angle fields.
- the fiber angle field is discretized at the Gaussian points of the grid, and the shape of the discrete fiber angle field is 32 ⁇ 32 ⁇ 1.
- Step 103 Randomly sample 2005 discrete fiber angle fields from the data set D, solve the node displacement solutions of the partial differential equations corresponding to the 2005 discrete fiber angle fields, and use the first 5 discrete fiber angle fields and their corresponding node displacement solutions as the offset set L, and the remaining 2000 discrete fiber angle fields and their corresponding node displacement solutions as the test set T.
- the node displacement solutions in this example are obtained by solving the ABAQUS commercial software.
- the S4R unit in the ABAQUS commercial software unit library is used in the calculation.
- the grid division in the ABAQUS software adopts uniform division, and the density of the grid is 32 ⁇ 32 units, with a total of 33 ⁇ 33 nodes.
- the boundary conditions of the variable stiffness fiber laminate elastic plate P studied in this example are shown in Figure 2.
- test set randomly samples 5 samples and the display diagram is shown in FIG4 , wherein the 5 samples are displayed in five columns, each column is a sample, wherein the first row is the fiber path display of the 5 samples, the second row is the fiber angle field (unit: rad) of the 5 samples, and the third row is the x-component prediction (unit: mm) of the displacement node solution of the 5 samples by the neural operator.
- the fourth row is the label of the x-component of the displacement node solutions of the 5 samples (unit: mm)
- the fifth row is the absolute value error of the neural operator's prediction of the x-component of the displacement node solutions of the 5 samples (unit: mm)
- the sixth row is the neural operator's prediction of the y-component of the displacement node solutions of the 5 samples (unit: mm)
- the seventh row is the label of the y-component of the displacement node solutions of the 5 samples (unit: mm)
- the eighth row is the absolute value error of the neural operator's prediction of the y-component of the displacement node solutions of the 5 samples (unit: mm).
- Step 104 exclude the 2005 discrete fiber angle fields sampled in the previous step from the data set D, and obtain an unlabeled set U containing 12000 discrete fiber angle fields as a training set;
- Step 105 set a variable i that records the number of iterations and set its value to 0, divide the unlabeled set U into 12,000 batches of discrete fiber angle field samples, and the size of each batch is 1;
- Step 106 Encode the boundary conditions to form a boundary condition mask tensor M of shape (1, 33, 33, 2), in which the M elements corresponding to the constrained node degrees of freedom are set to 0, and the remaining elements are set to 1;
- Step 200 Using a neural operator module F, F includes two implicit Fourier neural operators (IFNO) with the same settings, each of which is responsible for predicting a displacement component.
- the settings of each Fourier neural operator are shown in FIG3 .
- the node displacements of the shape of 32 ⁇ 32 ⁇ 2 corresponding to the discrete fiber angle field samples in the unlabeled set U are predicted. Further, the discretized functional is obtained according to the node displacement as an estimate of the system functional, including the following sub-steps:
- Step 201 extract a batch of discrete fiber angle field samples s from the unlabeled set U without replacement. If all batches are extracted, the variable i is incremented by 1 to determine whether the training process of the neural operator reaches the algorithm convergence condition. If converged, the weight ⁇ of the neural operator is output and step 304 is executed. Otherwise, the unlabeled set U is shuffled and the shuffled unlabeled set U is re-divided into 12,000 batches, and re-extracted and trained from the first batch; wherein the convergence condition is that i reaches the maximum number of iterations of training, and the maximum number of iterations of training in this embodiment is 500;
- Step 204 performing a convolution operation on the node displacement a to obtain a solution at the Gaussian point and its spatial derivative
- Step 205 using tensor operations to process the solution and spatial derivative at the Gaussian point to obtain the value of the functional integrand at the Gaussian point;
- Step 206 Using the Gaussian integral method, according to the value of the integrand of the functional at the Gaussian point, the discretized functional ⁇ is obtained, as shown in formula (1.4);
- ae represents the nodal displacement of each element
- the subscript “l” is taken at the lth integration point in the element
- N represents the shape function matrix
- B represents the strain-displacement matrix
- D represents the material property matrix
- Je represents the Jacobian matrix of the element
- f represents the body force.
- H l and I ml represent the weight of the lth integration point in the unit and the weight of the lth integration point on the boundary of the mth unit, respectively.
- Step 300 Discretize the functional Apply variational operations, specifically: calculate functional estimates Regarding the gradient R of the node displacement a, and taking its norm as the minimization target, an iterative method based on the equation group is used to obtain the update step length ⁇ a of the current node displacement, and ⁇ a is used to update the weight ⁇ of the neural operator module F, including the following sub-steps:
- Step 301 Use automatic differentiation technology to estimate the functional Perform back propagation and record functional estimates
- the gradient R of the node displacement a is shown in formula (1.5), and the norm of R is taken as the minimization target;
- Step 302 input the gradient R into the conjugate gradient method, and the conjugate gradient method runs two iterations to obtain the update step length ⁇ a of the current node displacement;
- Step 303 Based on the stochastic gradient descent method, the weight ⁇ of the neural operator is updated using ⁇ a, and the learning rate is set to 1, and then the process returns to step 201;
- Step 304 Perform inference on the neural operator module F on the test set T, and select the test set indicator as the average relative 2-norm error, as shown in formula (1.6);
- a computer-readable storage medium comprises instructions, which, when executed on a computer, cause the computer to execute any one of the methods of the first aspect.
- a computer program product comprising instructions, when the computer program product is run on a computer, causes the computer to execute any one of the methods in the first aspect.
- the present invention proposes a unified method, medium and product for neural operator training and partial differential equation solution based on variational principle.
- Composite materials are widely used in aerospace, sports equipment, automobile manufacturing and other industries.
- Variable stiffness composite materials are favored in lightweight design because they can maximize mechanical bearing performance through fiber path optimization design.
- Variable angle fiber ply is a basic component of variable stiffness composite materials. Realizing batch real-time analysis of the mechanical response of variable angle fiber ply is of great significance to accelerating the optimization design of variable stiffness composite materials.
- anisotropic variable angle fiber ply simulation is achieved.
- the present invention provides a unified method for neural operator training and partial differential equation solution based on variational principle, comprising the following steps:
- Step 100 Study the heat transfer problem of a rectangular region P containing a variable heat source.
- the region size and boundary conditions are shown in step 103.
- the unlabeled set U is divided into multiple batches. Encode the boundary conditions to form a mask tensor of the boundary conditions, including the following sub-steps:
- Step 101 Select the form of the heat source field as Gaussian random field:
- Step 102 For the rectangular region P containing the variable heat source under study, the unit is selected as a bilinear unit with four plane nodes, the grid setting adopts uniform grid division, the grid division density is 30 ⁇ 30 units, and there are 31 ⁇ 31 nodes in total.
- the heat source field is simply randomly sampled and discretized, and the number of samples is 12010, thereby forming an unlabeled data set D containing only discrete heat source fields, wherein the heat source field is discretized at the Gaussian points of the grid, and the shape of the discrete heat source field is 30 ⁇ 30 ⁇ 1;
- Step 103 randomly sample 2010 discrete heat source fields from the data set D, solve the node temperature solutions of the partial differential equations corresponding to the 2010 discrete heat source fields, and use the first 10 discrete heat source fields and their corresponding node temperature solution labels as the offset set L, and the remaining 2000 discrete heat source fields and their corresponding node temperature solution labels as the test set T.
- the node temperature solution labels in this example are obtained by solving the COMSOL commercial software.
- the planar 4-node bilinear unit in the COMSOL commercial software unit library is used in the calculation.
- the mesh division in the COMSOL software adopts uniform division, and the mesh division density is 30 ⁇ 30 units, with a total of 31 ⁇ 31 nodes.
- the boundary conditions of the rectangular area P containing a variable heat source studied in this example are shown in FIG5.
- the display diagram of 5 samples randomly sampled from the test set is shown in FIG6 , where the 5 samples are displayed in five columns, each column is a sample, where the first row is the heat source field of the 5 samples (unit: W/m 2 ), the second row is the temperature node solution of the 5 samples by the neural operator (unit: °C), the third row is the temperature node solution label of the 5 samples (unit: °C), and the fourth row is the predicted absolute value error of the temperature node solution of the 5 samples by the neural operator (unit: °C);
- Step 104 Exclude the 2010 discrete heat source fields sampled in the previous step from the data set D, and obtain a data set containing 10,000 discrete heat source fields.
- the unlabeled set U of scattered heat source fields is used as the training set;
- Step 105 Set the variable i that records the number of iterations to 0, and divide the unlabeled set U into 157 batches of discrete heat source field samples, of which 156 batches have a size of 64 and the last batch has a size of 16;
- Step 106 Encode the boundary conditions to form a boundary condition mask tensor M of shape (1, 31, 31, 1), in which the M elements corresponding to the constrained node degrees of freedom are set to 0, and the remaining elements are set to 1;
- Step 200 Use the neural operator module F, which includes an implicit Fourier neural operator (IFNO) responsible for temperature prediction, predicting the node temperature of the shape of 31 ⁇ 31 ⁇ 1 corresponding to the discrete heat source field samples in the unlabeled set U, and further obtain the discretized functional as the estimation of the system functional according to the node temperature, including the following sub-steps:
- IFNO implicit Fourier neural operator
- Step 201 extract a batch of discrete fiber angle field samples s from the unlabeled set U without replacement. If all batches are extracted, the variable i is incremented by 1 to determine whether the training process of the neural operator reaches the algorithm convergence condition. If converged, the weight ⁇ of the neural operator is output and step 304 is executed. Otherwise, the unlabeled set U is shuffled and the shuffled unlabeled set U is re-divided into 157 batches, of which 156 batches have a size of 64 and the last batch has a size of 16. The first batch is re-extracted and trained; wherein the convergence condition is that i reaches the maximum number of iterations of training, and the maximum number of iterations of training in this embodiment is 5000;
- Step 204 performing a convolution operation on the node temperature a to obtain a solution at the Gaussian point and its spatial derivative
- Step 205 using tensor operations to process the solution and spatial derivative at the Gaussian point to obtain the value of the functional integrand at the Gaussian point;
- Step 206 Using the Gaussian integral method, the discretized temperature functional is obtained based on the value of the integrand of the functional at the Gaussian point.
- Step 300 Discretize the temperature functional Apply variational operations, specifically: calculate functional estimates Regarding the gradient R of the node temperature a, and taking its norm as the minimization target, an iterative method based on a system of equations is used to obtain the update step length ⁇ a of the current node temperature, and ⁇ a is used to update the weight ⁇ of the neural operator module F, including the following sub-steps:
- Step 301 Use automatic differentiation technology to estimate the functional Perform back propagation and record functional estimates
- the gradient R of the node temperature a is as shown in equation (1.5), and the norm of R is taken as the minimization target;
- Step 302 input the gradient R into the conjugate gradient method, and the conjugate gradient method runs two iteration steps to obtain the update step length ⁇ a of the current node temperature;
- Step 303 Based on the stochastic gradient descent method, the weight ⁇ of the neural operator is updated using ⁇ a, and the learning rate is set to 1e-5, and then the process returns to step 201;
- Step 304 Perform inference on the neural operator module F on the test set T, and select the test set indicator as the average relative 2-norm error, as shown in formula (1.6);
- a computer-readable storage medium comprises instructions, which, when executed on a computer, cause the computer to execute any one of the methods of the first aspect.
- a computer program product comprising instructions, when the computer program product is run on a computer, causes the computer to execute any one of the methods in the first aspect.
- the present invention proposes a unified method, medium and product for neural operator training and partial differential equation solution based on variational principle.
- Heat transfer problems are widely present in various engineering and technical fields, such as energy and power, metallurgy, chemical industry, transportation, construction and building materials, machinery, traditional industries such as food, light industry, textile, and medicine, as well as many high-tech fields such as aerospace, nuclear energy, microelectronics, materials, biomedical engineering, environmental engineering, new energy and agricultural engineering. Accurate and real-time batch simulation of heat transfer phenomena can help us better understand and master heat transfer phenomena, so as to better apply them to actual production and life.
- Example 2 of the present invention achieved an average relative 2-norm error of only 2.20% on a test set with a capacity of 2000, when only 10 labels were used in the offset set L and the training set was completely unlabeled, reaching the level of pure data-driven training error, thereby proving that the present invention can be applied to accurate real-time batch simulation of heat transfer phenomena.
- the present invention can save time and computing power for generating a large number of labels required to construct data-driven error terms, and unify the two tasks of solving partial differential equations and training neural operators in one framework, providing strong support for downstream applications such as optimization design and inverse problems.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Computing Systems (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Geometry (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Algebra (AREA)
- Computer Hardware Design (AREA)
- Operations Research (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Complex Calculations (AREA)
Abstract
Description
a=F(s)⊙M (1.1)
a=a⊙std+mean (1.2)
a=F(s)⊙M (1.2)
a=a⊙std+mean (1.3)
a=F(s)⊙M (1.2)
a=a⊙std+mean (1.3)
Claims (7)
- 一种基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法,其特征在于,包括以下步骤:步骤100:从偏微分方程组的参数空间中抽样形成无标签的仅含离散参数场的数据集D,将数据集D划分为偏移集L、测试集T和无标签集U,将无标签集U分为多个批次,对边界条件进行编码,形成边界条件的掩码张量;步骤200:使用神经算子模块F预测无标签集U中离散参数场样本的节点解,根据节点解得到离散化的泛函作为系统泛函的估计;步骤300:对离散化的泛函施加变分操作构建优化目标,计算泛函估计Π关于节点解a的梯度R,并将其范数作为最小化目标,采用基于方程组的迭代法获取当前节点解的更新步长△a,并利用△a更新神经算子模块F的权重θ。
- 根据权利要求1所述的一种基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法,其特征在于,所述的步骤100子步骤为:步骤101:选定偏微分方程组的参数空间的形式和抽样策略;步骤102:对偏微分方程组的求解域进行网格划分,并按照步骤101选定的抽样策略对偏微分方程组的参数空间进行抽样,对抽样得到的参数场在网格的高斯点处离散化,形成无标签的仅含离散参数场的离散参数场数据集D;步骤103:从离散参数场数据集D随机抽样出(N1+N2)个离散参数场,求解这(N1+N2)个离散参数场对应的偏微分方程组的节点解,并将其中前N1个离散参数场及其对应的节点解作为偏移集L,剩余的N2个离散参数场及其对应的节点解作为测试集T,其中,偏移集L用于对输出的范围进行偏移;步骤104:将上一步骤抽样的(N1+N2)个离散参数场排除出数据集D,形成无标签集U作为训练集;步骤105:设定记录迭代次数的变量i,并设置其值为0,将无标签集U分为若干批次的离散参数场样本;步骤106:对边界条件进行编码,形成形状和节点解相同的边界条件的掩码张量M,在M当中,位置对应于被约束的节点自由度的M元素被设为0,其余元素被设为1。
- 根据权利要求2所述的一种基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法,其特征在于,所述的步骤200子步骤为:步骤201:不放回地抽取无标签集U中一批离散纤维角度场样本s,如果所有的批次都被抽出,变量i自增1,判断对神经算子的训练过程是否达到算法收敛条件,如果收敛,则输出神经算子的权重θ,并执行步骤304,否则,打乱无标签集U,并将打乱后的无标签集U重新分 为若干个批次,并从第一个批次开始重新进行抽取、训练;其中,所述的收敛条件可以是i达到训练的最大迭代次数或者神经算子的推理精度已达到精度要求;步骤202:将样本s输入神经算子模块F进行推理,利用掩码张量M对F输出的张量F(s)进行掩码操作,得到节点解a,如式(1.1)所示;
a=F(s)⊙M (1.1)式(1.1)中,⊙代表张量之间进行元素积,下同;步骤203:使用偏移集L内所有标签的均值mean和标准差std,对节点解a进行偏移处理:
a=a⊙std+mean (1.2)步骤204:对节点解a进行卷积操作,得到在高斯点处的解及其空间导数;步骤205:利用张量操作处理高斯点处的解及其空间导数,求得泛函被积函数在高斯点处的值;步骤206:使用高斯积分法,根据泛函被积函数在高斯点处的值,求得离散化的泛函估计Π。 - 根据权利要求3所述的一种基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法,其特征在于,所述的步骤300子步骤为:步骤301:利用自动微分方法,对泛函估计Π进行反向传播,记录泛函估计Π对节点解a的梯度R,并将其范数作为最小化目标;步骤302:将梯度R输入基于方程组的迭代法,得到当前的节点解的更新步长△a;步骤303:使用△a对神经算子的权重θ进行更新,并返回执行步骤201;步骤304:将神经算子模块F在测试集T上进行推理,并统计测试集指标。
- 根据权利要求3所述的一种基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法,其特征在于,所述的步骤202中,神经算子模块F为单个神经算子或多个神经算子的组合。
- 一种计算机可读存储介质,其特征在于,包括指令,当指令其在计算机上运行时,使得计算机执行如权利要求1-5任意一项所述的统一方法。
- 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行如权利要求1-5任意一项所述的统一方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024528593A JP7732694B2 (ja) | 2023-03-30 | 2024-01-03 | 変分原理に基づくニューロ演算子のトレーニングと偏微分連立方程式を解くことに指向する統合方法、媒体及び製品 |
| GB2406536.9A GB2631826A (en) | 2023-03-30 | 2024-01-03 | Variational principle-based neural operator training and partial differential equation system solving integrated method, medium, and product |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310326728.2 | 2023-03-30 | ||
| CN202310326728.2A CN116468104A (zh) | 2023-03-30 | 2023-03-30 | 基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法、介质及产品 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024198599A1 true WO2024198599A1 (zh) | 2024-10-03 |
Family
ID=87181606
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/070340 Ceased WO2024198599A1 (zh) | 2023-03-30 | 2024-01-03 | 基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法、介质及产品 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN116468104A (zh) |
| WO (1) | WO2024198599A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119849235A (zh) * | 2024-12-10 | 2025-04-18 | 南京航空航天大学 | 一种基于深度学习的电磁仿真多尺度区域分割方法 |
| CN119886389A (zh) * | 2025-01-24 | 2025-04-25 | 广州市易鸿智能装备股份有限公司 | 一种基于分布式计算的梯度优化方法以及参数化模型 |
| CN120995887A (zh) * | 2025-10-21 | 2025-11-21 | 湖南大学 | 基于图神经网络的物理场梯度计算方法及系统 |
| CN121503304A (zh) * | 2026-01-14 | 2026-02-10 | 中国空气动力研究与发展中心超高速空气动力研究所 | 基于自伴算子泛函约束的变分物理信息神经网络求解方法 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116468104A (zh) * | 2023-03-30 | 2023-07-21 | 大连理工大学 | 基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法、介质及产品 |
| GB2631826A (en) * | 2023-03-30 | 2025-01-15 | Univ Dalian Tech | Variational principle-based neural operator training and partial differential equation system solving integrated method, medium, and product |
| CN116954869B (zh) * | 2023-09-18 | 2023-12-19 | 武汉信安珞珈科技有限公司 | 任务调度系统及方法、设备 |
| CN120612322B (zh) * | 2025-06-10 | 2026-01-27 | 沈阳友达道桥公路工程有限责任公司 | 基于机器学习的道路桥梁施工沥青路面离析层厚度估计方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160070023A1 (en) * | 2013-04-24 | 2016-03-10 | The University Of British Columbia | A penalty method for pde-constrained optimization |
| WO2021184466A1 (zh) * | 2020-03-17 | 2021-09-23 | 北京大学 | 一种基于偏微分算子的等变卷积网络模型的图像分类方法 |
| WO2022062164A1 (zh) * | 2020-09-23 | 2022-03-31 | 北京大学 | 基于偏微分算子的广义等变卷积网络模型的图像分类方法 |
| CN114444012A (zh) * | 2021-12-29 | 2022-05-06 | 东南大学 | 一种基于神经网络架构搜索的偏微分方程数值求解方法 |
| CN116468104A (zh) * | 2023-03-30 | 2023-07-21 | 大连理工大学 | 基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法、介质及产品 |
-
2023
- 2023-03-30 CN CN202310326728.2A patent/CN116468104A/zh active Pending
-
2024
- 2024-01-03 WO PCT/CN2024/070340 patent/WO2024198599A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160070023A1 (en) * | 2013-04-24 | 2016-03-10 | The University Of British Columbia | A penalty method for pde-constrained optimization |
| WO2021184466A1 (zh) * | 2020-03-17 | 2021-09-23 | 北京大学 | 一种基于偏微分算子的等变卷积网络模型的图像分类方法 |
| WO2022062164A1 (zh) * | 2020-09-23 | 2022-03-31 | 北京大学 | 基于偏微分算子的广义等变卷积网络模型的图像分类方法 |
| CN114444012A (zh) * | 2021-12-29 | 2022-05-06 | 东南大学 | 一种基于神经网络架构搜索的偏微分方程数值求解方法 |
| CN116468104A (zh) * | 2023-03-30 | 2023-07-21 | 大连理工大学 | 基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法、介质及产品 |
Non-Patent Citations (1)
| Title |
|---|
| LI ZONGYI, KOVACHKI NIKOLA, AZIZZADENESHELI KAMYAR, LIU BURIGEDE, BHATTACHARYA KAUSHIK, STUART ANDREW, ANANDKUMAR ANIMA: "Fourier Neural Operator for Parametric Partial Differential Equations", ARXIV:2010.08895, 18 October 2020 (2020-10-18), pages 1 - 16, XP093217029 * |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119849235A (zh) * | 2024-12-10 | 2025-04-18 | 南京航空航天大学 | 一种基于深度学习的电磁仿真多尺度区域分割方法 |
| CN119886389A (zh) * | 2025-01-24 | 2025-04-25 | 广州市易鸿智能装备股份有限公司 | 一种基于分布式计算的梯度优化方法以及参数化模型 |
| CN119886389B (zh) * | 2025-01-24 | 2025-09-23 | 广州市易鸿智能装备股份有限公司 | 一种基于分布式计算的梯度优化方法以及参数化模型 |
| CN120995887A (zh) * | 2025-10-21 | 2025-11-21 | 湖南大学 | 基于图神经网络的物理场梯度计算方法及系统 |
| CN121503304A (zh) * | 2026-01-14 | 2026-02-10 | 中国空气动力研究与发展中心超高速空气动力研究所 | 基于自伴算子泛函约束的变分物理信息神经网络求解方法 |
| CN121503304B (zh) * | 2026-01-14 | 2026-04-21 | 中国空气动力研究与发展中心超高速空气动力研究所 | 基于自伴算子泛函约束的变分物理信息神经网络求解方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116468104A (zh) | 2023-07-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024198599A1 (zh) | 基于变分原理的面向神经算子训练与偏微分方程组求解的统一方法、介质及产品 | |
| Kuo et al. | GNN-LSTM-based fusion model for structural dynamic responses prediction | |
| CN106650147A (zh) | 一种基于有界不确定性的连续体结构非概率拓扑优化方法 | |
| CN111125963A (zh) | 基于拉格朗日积分点有限元的数值仿真系统及方法 | |
| Zhang et al. | A total‐Lagrangian material point method for coupled growth and massive deformation of incompressible soft materials | |
| CN117474073A (zh) | 一种基于图神经网络求解参数化偏微分方程的无监督方法 | |
| CN118866211A (zh) | 基于数据驱动的颗粒增强金属基复合材料的本构建模方法及应力预测方法 | |
| Su et al. | A three-dimensional prediction method of stiffness properties of composites based on deep learning | |
| Sun et al. | An advanced form-finding of tensegrity structures aided with noise-tolerant zeroing neural network | |
| CN113505511B (zh) | 一种复合材料梁结构的多尺度数字孪生方案 | |
| Yang et al. | A bistable pure carbon fiber composite symmetric laminate and its preparation, modeling, and experimental verification | |
| Das et al. | An unstructured finite-volume method for structure–electrostatics interactions in MEMS | |
| CN107395704A (zh) | 一种Spark云计算平台下的结构物理参数辨识方法 | |
| CN105677995A (zh) | 一种基于全网格配点理论的模糊稳态热传导问题数值求解方法 | |
| Xing et al. | A unified friction description and its application to the simulation of frictional instability using the finite element method | |
| CN118940715B (zh) | 一种压电半导体器件的多物理场耦合力学行为预测方法 | |
| CN111259549B (zh) | 一种任意边界条件下板组合结构屈曲分析的半解析方法 | |
| JP7732694B2 (ja) | 変分原理に基づくニューロ演算子のトレーニングと偏微分連立方程式を解くことに指向する統合方法、媒体及び製品 | |
| Jiang et al. | A hyper reduction model for fast thermo-mechanical coupling analysis of high-temperature components | |
| Zhang et al. | A vprnn model with fixed-time convergence for time-varying nonlinear equation | |
| CN117789892A (zh) | 一种基于小波-机器学习智能预测复合材料等效物理性能的方法、系统、设备及介质 | |
| CN110196983B (zh) | 一种基于配点理论的高维随机热传导问题谱分析方法 | |
| Jiang et al. | Novel zeroing neural network for determining square and cube roots of discrete time-variant matrices | |
| Park et al. | Point-DeepONet: Predicting Nonlinear Fields on Non-Parametric Geometries under Variable Load Conditions | |
| Yang et al. | Flexural wave propagation characteristics of advanced nanocomposites reinforced sandwich structure via 3D-flexibility-deep neural networks approaches |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 202406536 Country of ref document: GB Kind code of ref document: A Free format text: PCT FILING DATE = 20240103 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2406536.9 Country of ref document: GB |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024528593 Country of ref document: JP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18710462 Country of ref document: US |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24777395 Country of ref document: EP Kind code of ref document: A1 |
|
| WWP | Wipo information: published in national office |
Ref document number: 2406536.9 Country of ref document: GB |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 24777395 Country of ref document: EP Kind code of ref document: A1 |