Manifold neural operator construction method based on regularization Laplacian
Through the manifold neural operator construction method based on regularized Lapulaski, the geometric shape and physical field information are integrated to solve the problem in the existing technology that the physical field prediction on complex geometric shapes is difficult to accurately represent, and realize the complex geometric shape Accurate prediction of physical fields and reduction of model complexity.
Patent Information
- Application Number
- CN202411225263.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-09-03
AI Technical Summary
When existing neural operator models deal with physical field prediction on complex geometric shapes, it is difficult to accurately represent high-frequency information, resulting in a significant increase in computational complexity and parameter complexity, making it difficult to train.
The manifold neural operator construction method based on regularized Lapulaski is adopted. By calculating the regularized Lapulaski, the geometric shape information and physical field data information are integrated to construct a manifold neural operator model, and the physical field is used to construct the manifold neural operator model. Data samples train model parameters to achieve accurate prediction of physical fields on complex geometric shapes.
Using a small amount of regularized Lapulaski to achieve accurate characterization and prediction of physical fields on complex geometric shapes reduces the computational complexity and parameter complexity of the model and improves prediction performance.
Smart Images

Figure CN118734458A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of machine learning, and in particular to a method for constructing a manifold neural operator based on a regularized Laplacian. Background Art
[0002] Many engineering problems involve physical field prediction problems, such as component solidification deformation field prediction for composite component solidification process optimization, and aircraft surface flow field prediction for aircraft aerodynamic shape optimization. Physical fields are functions defined on complex geometries. The essence of physical field prediction problems is to establish a mapping from function to function, which is called an operator in mathematics. Neural operator models can learn the mapping relationship between functions by designing a specific neural network architecture, which has attracted widespread attention in the fields of deep learning and AI for Science.
[0003] Existing neural operator models use fast Fourier transform or wavelet transform to equate operator learning problems to function learning problems in frequency domain space, which significantly reduces the complexity of the model and has been widely used. However, both fast Fourier transform and wavelet transform are defined in Euclidean space, and can only process functions on regular geometry, which is difficult to apply to complex geometric shapes commonly found in engineering. Patent CN116187386A proposes a neural operator construction method for complex geometric shapes, which can define the Laplace operator according to the discrete grid of complex geometric shapes, and calculate the eigenvalues and eigenfunctions of the Laplace operator. A finite number of Laplace operator eigenfunctions are taken as a set of bases in the order of eigenvalues from small to large, and the data defined on complex geometry can be encoded (similar to fast Fourier transform) and decoded (similar to inverse Fourier transform), so that the operator learning problem defined on complex geometry can be processed. The solution of the Laplace operator eigenfunction is only related to the geometric shape information. The truncated Laplace operator eigenfunction can effectively characterize low-frequency smooth functions. However, for physical fields containing high-frequency information, non-smooth physical fields or discontinuous physical fields, in order to accurately encode and decode, the number of Laplace operator eigenfunctions needs to be greatly increased, resulting in a significant increase in the computational complexity and parameter complexity of the operator model, making it difficult to train. Summary of the invention
[0004] The purpose of the present invention is to provide a method for constructing a manifold neural operator based on regularized Laplacian, which comprehensively considers geometric shape information and physical field data sample information to calculate the regularized Laplacian, and uses a small amount of regularized Laplacian to achieve accurate characterization of the physical field on complex geometric shapes and accurate prediction of the physical field on complex geometric shapes.
[0005] To achieve the above object, the present invention provides a method for constructing a manifold neural operator based on regularized Laplacian, the steps of which are as follows: S1. Meshing a given complex geometric shape to obtain a data discrete grid, and obtaining an adjacency matrix and a mass matrix of nodes in the data discrete grid; S2, obtaining multiple sets of physical field data samples defined on a given complex geometric shape, each set of data samples consisting of input data and output data; S3, calculating the regularized Laplacian according to the acquired adjacency matrix, mass matrix and physical field data samples; S4, constructing a manifold neural operator model based on regularized Laplacian; S5. Train the parameters in the manifold neural operator model through the acquired physical field data samples.
[0006] Preferably, in S1, the data discrete grid is a triangular grid, a quadrilateral grid, a tetrahedral grid, a pentahedral grid or a hexahedral grid, the adjacency matrix of the nodes in the data discrete grid is a square matrix, the matrix elements represent the connection relationship between the nodes, the mass matrix of the nodes is a diagonal matrix, the diagonal elements represent the area or volume occupied by the nodes, and the number of grid nodes of complex geometric shapes is recorded as , then the adjacency matrix can be expressed as , then the mass matrix can be expressed as .
[0007] Preferably, in S2, the physical field data samples refer to field data with physical meaning defined on complex geometric shapes in engineering problems, including temperature fields, pressure fields, stress fields, strain fields, deformation fields, and geometric shape fields defined on the shape of components involved in the problem of curing deformation control of composite components, and velocity fields, pressure fields, stress fields, temperature fields, and geometric shape fields defined on the surface of aircraft involved in the problem of aerodynamic shape design of aircraft. The physical field data samples can be solved using finite element software or numerical solution algorithms corresponding to specific engineering problems or obtained through experiments. The number of physical field data samples is denoted as , then the input data of multiple sets of physical field data samples can be expressed as , the output data can be expressed as .
[0008] Preferably, in S3, the regularized Laplacian includes a regularized Laplacian matrix of the physical field input data and the regularized Laplacian matrix of the physics output data , The regularized Laplacian number is obtained by using an analytical method and an error basis augmentation method.
[0009] Preferably, the steps of calculating the regularized Laplacian using an analytical solution method include: Taking into account the geometric information and physical field data reconstruction error, the minimization problem is constructed based on the adjacency matrix, mass matrix, and physical field data samples. The mathematical expression is: ; in, is the regularized Laplacian matrix, The first OK, is the regularized Laplacian matrix List, To balance the hyperparameters of data reconstruction loss and geometric information, the matrix Equal to the mass matrix or the identity matrix, considering the orthogonality of the regularized Laplacian matrix in terms of geometry is the mass matrix , considering the orthogonality of the regularized Laplacian matrix in Euclidean space is the identity matrix, when The first When the line is , the regularized Laplacian matrix of the physical field input data is obtained ;when Output data for the physics field When the line is , the regularized Laplacian matrix of the physical field output data is obtained .
[0010] Preferably, the step of calculating the regularized Laplacian using the error basis augmentation method comprises: S1. Define the Laplace operator according to the adjacency matrix and the mass matrix, solve the Laplace operator eigenvector, sort them from small to large according to the eigenvalue, and take the first Laplacian ; S2, calculating the Laplacian reconstruction error of the physical field input data and the physical field output data, and obtaining the physical field input error data and the physical field output error data; S3. Calculate the POD (Proper Orthogonal Decomposition) basis of input error data and the POD basis for outputting error data ,in , is the number of POD bases; S4, Laplaski and POD-based Concatenate to form the regularized Laplacian matrix of the physics input data , Laplaski and POD-based The regularized Laplacian matrix of the physics output data is concatenated .
[0011] Preferably, the manifold neural operator model in S4 is composed of a channel dimensionality increase module, one or more input data frequency domain parameterization modules, an input and output frequency domain transformation module, one or more output data frequency domain parameterization modules, and a channel dimensionality reduction module which are connected in sequence.
[0012] Preferably, the channel dimension increasing module is used to increase the channel dimension of the data to increase the modeling capability of the manifold neural operator model, and the channel dimension reducing module reduces the channel dimension of the data to the original dimension. The channel dimension increasing module and the channel dimension reducing module are linear transformation, fully connected neural network or convolutional neural network.
[0013] Preferably, the processing of module input data by the input data frequency domain parameterization module, the input-output frequency domain transformation module and the output data frequency domain parameterization module includes the following steps: linear transformation, encoding, parameterization, decoding, nonlinear activation,
[0014] Linear transformation: linear transformation of the module’s input data; Encoding: Use the regularized Laplacian to decompose the input data of the module to obtain a coefficient vector, that is, project the input data of the module on the regularized Laplacian, and use a set of coordinates obtained after projection as the coefficient vector; Parameterization, using tensor product, fully connected neural network, convolutional neural network or multi-head attention mechanism neural network to map the coefficient vector obtained after encoding to obtain a set of new coefficient vectors; Decoding, using the regularized Laplacian to reconstruct the parameterized coefficient vector, that is, calculating the regularized Laplacian multiplied by the corresponding coefficients in the coefficient vector and then summing them to obtain the decoded data; Nonlinear activation: nonlinear activation functions are used to perform nonlinear processing on linearly transformed data and decoded data; In some cases, a channel attention mechanism network is added as needed to apply weights to each channel of the data after nonlinear activation to enhance the expressiveness of the model.
[0015] Preferably, for the input data frequency domain parameterization module, both encoding and decoding use the regularized Laplacian matrix of the physical field input data; for the input and output frequency domain transformation module, encoding uses the regularized Laplacian matrix of the physical field input data, and decoding uses the regularized Laplacian matrix of the physical field output data; for the output data frequency domain parameterization module, both encoding and decoding use the regularized Laplacian matrix of the physical field output data.
[0016] Therefore, the present invention adopts the above steps to develop a method for constructing a manifold neural operator based on a regularized Laplacian, and calculates the regularized Laplacian by fusing the geometric information of complex geometric shapes and the data information of the physical field on the complex geometric shapes. It is possible to accurately characterize the physical field on the complex geometric shapes with a small amount of regularized Laplacian, and then construct a manifold neural operator model based on the regularized Laplacian, and train the model parameters through physical field data samples, thereby achieving accurate prediction of the physical field on the complex geometric shapes.
[0017] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A schematic diagram of a flow chart of an embodiment of a method for constructing a manifold neural operator based on regularized Laplacian of the present invention; Figure 2 Schematic diagram of the structure of a manifold neural operator model according to an embodiment of the present invention; Figure 3 It is a schematic diagram of the process of processing input data by the input data frequency domain parameterization module, the input-output frequency domain transformation module and the output data frequency domain parameterization module according to an embodiment of the present invention; Figure 4 3D wing surface flow field prediction process diagram of an embodiment of the present invention, (a) represents the wing surface grid, (b) represents the FFD control point data, and (c) represents the pressure field data. DETAILED DESCRIPTION
[0019] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
[0020] Example
[0021] The three-dimensional wing surface flow field is predicted by using a regularized Laplacian-based manifold neural operator construction method proposed in the present invention. Figure 1 As shown, the following steps are included: S1. Mesh a given complex geometric shape to obtain a data discrete grid, and obtain the adjacency matrix and mass matrix of the nodes in the data discrete grid.
[0022] The wing surface is meshed using triangular meshes using finite element analysis software to obtain a data discrete mesh. The part model after meshing includes 18285 mesh nodes, such as Figure 4As shown in (a) in . According to the data discretized grid, the adjacency matrix and mass matrix of the node are obtained. The adjacency matrix represents the connection relationship between the nodes. The mass matrix is a diagonal matrix, and the diagonal elements represent the area occupied by the node. The method does not limit the type of mesh divided, and triangular mesh, quadrilateral mesh, tetrahedral mesh, pentahedral mesh, hexahedral mesh, etc. are all possible.
[0023] S2. Acquire multiple groups of physical field data samples defined on a given complex geometric shape, each group of data samples consisting of input data and output data.
[0024] In this embodiment, the input data is the geometric shape field of the wing surface, specifically the z-coordinates of all mesh nodes on the wing surface. The output data is the pressure field of the wing surface, specifically the pressure values of all mesh nodes on the wing surface. Figure 4 As shown in (b), the free-form deformation (FFD) technology is used to generate 200 sets of different geometric shape fields by changing the z coordinates of the FFD control points, and then 200 sets of corresponding pressure field data are obtained by aerodynamic simulation. Figure 4 As shown in (c), the open source software SU2 is used to perform aerodynamic simulation of the wing. The control equation is the steady-state Euler equation, the free stream Mach number is set to 0.8395, the free stream temperature is set to 288.15K, the free stream pressure is set to 101325.0Pa, and the wing pitch angle is set to 3.06 degrees.
[0025] S3. Calculate the regularized Laplacian according to the acquired adjacency matrix, mass matrix and physical field data samples.
[0026] In this embodiment, the adjacency matrix is , the mass matrix is , the input data of the physical field data sample is , the output data is , the regularized Laplacian is calculated by analytical solution, and the minimization problem is constructed according to the adjacency matrix, mass matrix, and physical field data samples. Specifically, ; in is the regularized Laplacian matrix to be solved, The first OK, is the regularized Laplacian matrix List, is 200, Set to the identity matrix, Set to 128, Set to 0.2.
[0027] S4: Constructing a manifold neural operator model based on regularized Laplacian. Figure 2 As shown, the manifold neural operator model consists of a channel dimension enhancement module, one or more input data frequency domain parameterization modules, an input and output frequency domain transformation module, one or more output data frequency domain parameterization modules, and a channel dimension reduction module which are connected in sequence.
[0028] like Figure 3 As shown, the processing of module input data by the input data frequency domain parameterization module, the input-output frequency domain transformation module and the output data frequency domain parameterization module includes the following steps: linear transformation, encoding, parameterization, decoding and nonlinear activation.
[0029] In this embodiment, the channel dimension of the input data is 1, and the channel dimension after the channel dimension upgrade module is 32. The number of regularized Laplacians of the physical field input data and the number of regularized Laplacians of the physical field output data are both 128. The number of frequency domain parameterized modules of the input data in the constructed manifold neural operator model is 1, and the number of frequency domain parameterized modules of the output data is 2. The channel dimension upgrade module is composed of a single hidden layer fully connected neural network, and the channel dimension reduction module is composed of a double hidden layer fully connected neural network. The linear transformation is implemented by convolution operation, and the nonlinear activation adopts the ReLU activation function. The parameterization adopts an attention mechanism neural network composed of a multi-head attention mechanism and a single hidden layer fully connected neural network, and the channel attention mechanism network adopts the SENet network.
[0030] S5: Train the parameters in the manifold neural operator model through the acquired physical field data samples.
[0031] The average relative L2 error of the physical field output data is used as the loss function, Adam is used as the optimization method, the batch size is set to 50, the number of iterations is set to 1000, and the parameters in the manifold neural operator model are trained through multiple groups of physical field data samples obtained in step 2 to complete the construction of the manifold neural operator.
[0032] To further illustrate the advantages of the regularized Laplacian-based manifold neural operator construction method described in the present invention, 100 sets of physical field data samples are generated as test data according to the data generation method described in step 2 to evaluate the predictive performance of the constructed manifold neural operator, and compared with the neural operator construction method for complex geometric shapes proposed in patent CN116187386A. The comparison of the average relative L2 error results on the training data and the test data is shown in Table 1.
[0033] Table 1 Error comparison table of training data and test data ;
[0034] The results show that the regularized Laplacian-based manifold neural operator construction method proposed in the present invention can achieve better prediction performance.
[0035] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for constructing a manifold neural operator based on regularized Laplacian, characterized in that: Here are the steps: S1. Meshing a given complex geometric shape to obtain a data discrete grid, and obtaining an adjacency matrix and a mass matrix of nodes in the data discrete grid; S2, obtaining multiple sets of physical field data samples defined on a given complex geometric shape, each set of data samples consisting of input data and output data; S3, calculating the regularized Laplacian according to the acquired adjacency matrix, mass matrix and physical field data samples; S4, constructing a manifold neural operator model based on regularized Laplacian; S5. Train the parameters in the manifold neural operator model through the acquired physical field data samples.
2. The method for constructing a regularized Laplacian-based manifold neural operator according to claim 1, characterized in that: In S1, the data discretization grid is a triangular grid, a quadrilateral grid, a tetrahedral grid, a pentahedral grid or a hexahedral grid. The adjacency matrix of the nodes in the data discretization grid is a square matrix. The matrix elements represent the connection relationship between the nodes. The mass matrix of the nodes is a diagonal matrix. The diagonal elements represent the area or volume occupied by the nodes. The number of grid nodes of complex geometric shapes is recorded as , the adjacency matrix is expressed as , the mass matrix is expressed as .
3. The method for constructing a regularized Laplacian-based manifold neural operator according to claim 2, characterized in that: In S2, the physical field data samples refer to the field data with physical meaning defined on complex geometric shapes in engineering problems. The number of physical field data samples is , the input data of multiple sets of physical field data samples are expressed as , the output data is expressed as .
4. The method for constructing a regularized Laplacian-based manifold neural operator according to claim 3, characterized in that: In S3, the regularized Laplacian includes the regularized Laplacian matrix of the physical field input data and the regularized Laplacian matrix of the physics output data , The regularized Laplacian number is obtained by using an analytical method and an error basis augmentation method.
5. The method for constructing a regularized Laplacian-based manifold neural operator according to claim 4, characterized in that: The steps to calculate the regularized Laplacian using the analytical solution method include: Taking into account the geometric information and physical field data reconstruction error, the minimization problem is constructed based on the adjacency matrix, mass matrix, and physical field data samples. The mathematical expression is: in, is the regularized Laplacian matrix, The first OK, is the regularized Laplacian matrix List, To balance the hyperparameters of data reconstruction loss and geometric information, the matrix Equal to the mass matrix or the identity matrix, when The first When the line is , the regularized Laplacian matrix of the physical field input data is obtained ;when Output data for the physics field When the line is , the regularized Laplacian matrix of the physical field output data is obtained .
6. The method for constructing a regularized Laplacian-based manifold neural operator according to claim 4, characterized in that: The steps of calculating the regularized Laplacian using the error basis augmentation method include: S1. Define the Laplace operator according to the adjacency matrix and the mass matrix, solve the Laplace operator eigenvector, sort them from small to large according to the eigenvalue, and take the first Laplacian ; S2, calculating the Laplacian reconstruction error of the physical field input data and the physical field output data, and obtaining the physical field input error data and the physical field output error data; S3. Calculate the POD basis of input error data and the POD basis for outputting error data ,in , is the number of POD bases; S4, Laplaski and POD-based Concatenate to form the regularized Laplacian matrix of the physics input data , Laplaski and POD-based The regularized Laplacian matrix of the physics output data is concatenated .
7. The method for constructing a regularized Laplacian-based manifold neural operator according to claim 4, characterized in that: The manifold neural operator model in S4 consists of a channel dimension enhancement module, one or more input data frequency domain parameterization modules, an input and output frequency domain transformation module, one or more output data frequency domain parameterization modules, and a channel dimension reduction module connected in sequence.
8. The method for constructing a regularized Laplacian-based manifold neural operator according to claim 7, characterized in that: The channel dimension increase module is used to increase the channel dimension of the data, and the channel dimension reduction module reduces the channel dimension of the data to the original dimension. The channel dimension increase module and the channel dimension reduction module are linear transformation, fully connected neural network or convolutional neural network.
9. The method for constructing a regularized Laplacian-based manifold neural operator according to claim 8, characterized in that: The processing of module input data by the input data frequency domain parameterization module, the input-output frequency domain transformation module and the output data frequency domain parameterization module includes the following steps: linear transformation, encoding, parameterization, decoding, nonlinear activation, Linear transformation: linear transformation of the module’s input data; Encoding, decompose the input data of the module using regularized Laplacian to obtain a coefficient vector; Parameterization, using tensor product, fully connected neural network, convolutional neural network or multi-head attention mechanism neural network to map the coefficient vector obtained after encoding to obtain a new set of coefficient vectors; Decoding, reconstruct the parameterized coefficient vector using regularized Laplacian; Non-linear activation uses non-linear activation functions to perform non-linear processing on linearly transformed data and decoded data.
10. The method for constructing a regularized Laplacian-based manifold neural operator according to claim 9, characterized in that: For the input data frequency domain parameterization module, both encoding and decoding use the regularized Laplacian matrix of the physical field input data; for the input and output frequency domain transformation module, encoding uses the regularized Laplacian matrix of the physical field input data, and decoding uses the regularized Laplacian matrix of the physical field output data; for the output data frequency domain parameterization module, both encoding and decoding use the regularized Laplacian matrix of the physical field output data.
Citation Information
Patent Citations
Spectrum posture migration method
CN106484511A
Neural operator construction method for complex geometrical shape
CN116187386A
Bearing state monitoring and fault early warning method and system for digital twin drive
CN117332333A
Physical field operator construction method based on differential homeomorphism and application
CN117648864A
Image compression and decoding, video compression and decoding: methods and systems
WO2021220008A1
Cited By
Irregular grid engineering simulation method and system based on Laplacian neural operator
CN122818982A
A Simulation Method and System for Irregular Mesh Engineering Based on Laplace Neural Operator
CN122818982B
