1. Introduction
Employing data enhancement techniques to create datasets that reflect both differential and symmetric demands, which are subsequently used as inputs for the neural network, can significantly enrich the data without being restricted to discrete equidistant sampling points.
The outputs generated by the neural network facilitate efficient differential computations by converting the differentiation operations within the continuous model's loss function into forward and backward difference operations in the discrete model. This approach reduces computational complexity and enhances efficiency.
Building upon the symmetrical properties inherent in the solutions of physical equations, this study proposes an adaptive symmetric point learning method. By dynamically selecting symmetric points and imposing symmetry constraints on the network outputs, the model's solutions are ensured to adhere to the principles of physical symmetry.
2. Model description
2.1. Data enhancement
Figure 1. The data enhancement process. Black is the initial point, other colors are new points generated by data enhancement. |
2.2. Training process and optimization strategies
Figure 2. SDE-PINN architecture diagram. |
2.3. Network settings and effectiveness evaluation
3. Numerical simulation of discrete KdV equation
3.1. Known symmetric point: one-soliton solution of equation (6)
Figure 3. Numerical solution of equation ( |
3.2. Unknown symmetric point: two-soliton solution of equation (6)
Figure 4. The training process diagram, where the straight line is the change value of the loss function, the dashed line is the unknown symmetric point coordinate evolution, and the vertical line indicates the optimizer transformation, as well as the stage transformation during the training process. |
Figure 5. The time evolution of a two-soliton solution at six different space-time points. |
Figure 6. Numerical solution for a two-soliton solution with unknown symmetric point of equation ( |
Figure 7. The impact of different initial symmetric point selections on the loss function evolution. |
Figure 8. The REInt and REExp under different initial symmetry point selection conditions. (A) depicts the heatmap of prediction errors at various coordinates. (B) shows the heatmap of extrapolation errors at different coordinates. In both panels, lighter colors represent smaller relative errors, indicating better model performance during training. |
4. Model comparison through the Toda lattice equation
Table 1. Comparison of RE for different models. |
Model | REInt | REExt | Times | ||||
---|---|---|---|---|---|---|---|
un | vn | Total | un | vn | Total | ||
PG-PhyCRNet | 2.0567724E-05 | 2.2417906E-04 | 2.4474679E-04 | 1.0692835E-03 | 1.3986321E-02 | 1.5055604E-02 | 1003 s |
SDE-PINN(1) | 1.0501234E-04 | 1.2644633E-03 | 1.3694756E-03 | 1.2041807E-04 | 1.5070488E-03 | 1.6274669E-03 | 156 s |
SDE-PINN(2) | 4.4054545E-05 | 5.0257038E-04 | 5.4662493E-04 | 7.9619436E-05 | 9.1176821E-04 | 9.9138765E-04 | 622 s |
Figure 9. Numerical solution of equation ( |