Partial differential equation physical field prediction method based on multi-time span nested spectrum guidance

By constructing nested spectral features across multiple time spans and adaptive spectral fusion, the problems of error accumulation and insufficient multi-scale feature representation in long-term prediction are solved, achieving efficient and stable long-term prediction of complex physical fields.

CN123178983APending Publication Date: 2026-11-27ANHUI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611673642.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing data-driven solutions for partial differential equations and time-series prediction methods for physical fields suffer from problems such as accumulated prediction errors, insufficient characterization of multi-scale dynamic features, and inadequate utilization of prediction information across different time spans during long-term prediction.

Method used

A method based on nested spectrum guidance across multiple time spans is adopted. By constructing nested spectrum features and combining the current spectrum with spectrum information from different future time spans, the guidance weights are dynamically calculated for adaptive fusion. An auxiliary supervision loss is introduced during the training phase to block the gradient update of the frequency cutoff parameter. The backbone network is shared but the spectrum and prediction parameters are configured independently, achieving efficient collaboration of spectrum information across multiple time spans.

Benefits of technology

It effectively suppresses error accumulation in long-term prediction, improves the stability of long-term evolution trends and the characterization ability of multi-scale dynamic characteristics, enhances the prediction accuracy and stability of complex physical fields, and is applicable to a variety of engineering scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178983A_ABST
    Figure CN123178983A_ABST
Patent Text Reader

Abstract

The application discloses a partial differential equation physical field prediction method based on multi-time span nested spectrum guidance, obtains a historical flow field sequence to extract current potential features, generates multiple groups of future potential features with different future time spans, constructs a nested spectrum, realizes that the effective frequency band is narrower with the larger time span, dynamically calculates guidance weights according to the frequency position, the network layer and the time span inside a Fourier neural operator, and adaptively fuses multi-time span spectrum information, introduces a multi-time span auxiliary loss filtered by a spectrum in a training stage, and performs gradient blocking, generates future features inside in an inference stage to complete recursive prediction. The application is aimed at two-dimensional compressible flow multi-scale and strong nonlinear characteristics, suppresses recursive prediction error accumulation, considers short-term accuracy and long-term evolution stability, supports incomplete flow field sample training, has strong multi-working-condition adaptability, and is suitable for fluid digital twinning, parameter scanning and long-time flow field fast prediction scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of deep learning physics prediction technology, specifically involving a method for predicting physics fields of partial differential equations based on multi-time-span nested spectrum guidance. Background Technology

[0002] Partial differential equations (PDEs) are widely used in fluid mechanics, heat transfer, meteorology, oceanography, materials science, and engineering simulation to describe the evolution of physical quantities such as velocity, pressure, temperature, density, water level, and vorticity over space and time. For complex nonlinear PDEs, traditional solution methods typically employ numerical computation techniques such as the finite difference method, finite element method, finite volume method, or spectral method, obtaining approximate solutions to the physical field by discretizing the spatial region and time interval. However, in applications involving high-dimensional spaces, high-resolution meshes, complex boundary conditions, and long-term evolution, traditional numerical solution methods often require numerous iterative calculations and are limited by factors such as mesh scale, time step size, and stability conditions, resulting in significant computational resource consumption.

[0003] In recent years, with the development of deep learning technology, data-driven methods for solving partial differential equations and predicting physical fields have gradually attracted attention. These methods typically utilize existing numerical simulation or experimental data to train neural networks, enabling the networks to learn the mapping relationship between input physical states, initial conditions, boundary conditions, or physical parameters and future physical fields, thus achieving rapid prediction of physical fields after training. Compared to traditional numerical solution methods, data-driven models have higher computational efficiency in repetitive prediction tasks. Building on this, neural operator methods provide a new technical path for solving partial differential equations by learning the mapping relationship between function spaces. However, for complex physical fields that evolve continuously over time, especially dynamic systems with significant multi-scale and multi-frequency characteristics such as turbulence, nonlinear fluctuations, and multi-scale transport, existing data-driven prediction methods still have certain limitations.

[0004] On the one hand, when using a time-step recursive approach for long-term prediction, the prediction result of the previous moment is usually used as the model input for the next moment. Local prediction errors are prone to propagate and accumulate continuously during the recursive process, which can lead to problems such as phase shift, amplitude decay, local structural distortion, or even overall prediction instability in the long-term prediction results.

[0005] On the other hand, physical field prediction tasks with different time spans have different dynamic characteristics. Prediction results with shorter time spans can usually reflect local transient changes and high-frequency details more accurately, while prediction results with longer time spans usually contain more obvious overall evolution trends and low-frequency structural information.

[0006] Existing technologies typically model for a single prediction time span or combine information by directly concatenating or weighting multiple prediction results, failing to fully utilize the complementary characteristics of prediction information from different time spans in terms of frequency domain distribution and evolution. While existing physical field prediction methods based on Fourier neural operators can learn spatial features in the frequency domain, their frequency domain feature processing is usually mainly focused on state mapping at a single moment or time span, lacking targeted modeling mechanisms for the spectral correlation between prediction results from different time spans and the impact of different frequency components on subsequent physical field evolution.

[0007] Therefore, in the long-term time series prediction process, problems such as the gradual loss of high-frequency physical structures, the drift of low-frequency trends, and the difficulty in taking into account multi-scale dynamic characteristics may still occur.

[0008] Therefore, how to fully utilize the complementary temporal and spectral information contained in the prediction results across different time spans, while maintaining the accuracy of short-term local predictions, improving the stability of long-term evolution trends, and reducing error accumulation in the recursive prediction process, is a technical problem that needs further resolution in the fields of data-driven solutions for partial differential equations and time-series prediction of physical fields. Summary of the Invention

[0009] Purpose of the invention: To address the problems of prediction error accumulation, insufficient multi-scale dynamic feature representation, and inadequate utilization of prediction information at different time spans in existing data-driven solutions for partial differential equations and time-series prediction methods for physical fields during long-term prediction, this invention provides a method for predicting physical fields of partial differential equations based on nested spectrum guidance across multiple time spans.

[0010] Technical solution: The present invention provides a method for predicting the physical field of partial differential equations based on multi-time-span nested spectrum guidance, comprising the following steps:

[0011] Step 1: Obtain the historical physics sequence of the physics field to be predicted. The latent state at the current moment is extracted through encoding and temporal aggregation. ; based on the current potential state As input, generate multiple future latent features corresponding to increasing future time spans. ;

[0012] Step 2: Assign each potential future feature Transforming to the frequency domain to construct nested spectra: A trainable frequency cutoff parameter is set to create a nested constraint where the effective bandwidth narrows with a larger time span. The spectrum is then filtered using a smooth spectral mask and subjected to complex spectral mapping to obtain multi-time span nested spectral features. ;

[0013] Step 3: In the Fourier neural operator frequency domain processing stage, combine the current spectrum and nested spectrum features. The time span encoding and frequency position dynamic calculation of the guiding weights of each future spectrum are then used to adaptively fuse the weighted values ​​with the current spectrum to obtain the fused spectrum features. ;

[0014] Step 4: Combine the fused spectral features The predicted physical field for the next time step is output after Fourier neural operator transformation and decoding. Furthermore, flow field recursive prediction is achieved by sliding the historical input window, and the inference stage relies solely on the generation of future potential features within the historical physical field.

[0015] Step 5: Model training, which involves using real flow fields across multiple time spans for auxiliary supervision, calculating auxiliary losses according to the corresponding effective frequency bands, and combining them with the main prediction loss to form the total loss; during training, the gradient update of the auxiliary loss to the frequency cutoff parameter is blocked, and samples with missing ground truth values ​​are marked with validity and skipped from the corresponding auxiliary loss calculation; different flow conditions share the neural operator backbone, and independently configure the spectrum and prediction-related parameters.

[0016] This invention constructs nested spectra across multiple time spans, with longer time spans corresponding to narrower effective frequency bands. Nearer time spans retain high-frequency, small-scale vortex structures, while longer time spans retain low-frequency, large-scale flow trends, adapting to the multi-scale flow characteristics of the two-dimensional compressible Navier-Stokes equations. A dynamic adaptive spectrum fusion mechanism is introduced within the neural operator network, where weights adaptively change with frequency position, network layer depth, and time span. This fully utilizes complementary spectral information from different future time spans, suppressing error accumulation in the recursive prediction process and improving the issues of vortex structure loss, phase drift, and amplitude attenuation in long-term predictions. During the training phase, an auxiliary supervisory loss is employed after multi-time span spectrum filtering, while simultaneously blocking auxiliary... The loss is calculated with respect to the gradient of the frequency cutoff parameter, avoiding the model's simple band shrinking to evade prediction difficulty; it supports scenarios where some future ground truth values ​​of the flow field samples are missing, skipping the corresponding loss calculation through validity marking, and making full use of incomplete flow field trajectory data; different flow conditions share the backbone network, and spectrum-related parameters are configured independently, improving the model's adaptability to various two-dimensional compressible flow scenarios; no future real flow field needs to be input during the inference stage, and all potential future features are generated internally by the model. After training is completed, it can efficiently achieve long-term flow field recursive prediction, balancing prediction efficiency and multi-scale flow field prediction accuracy, and can be applied to engineering scenarios such as compressible fluid digital twins, parameter scanning, and real-time prediction.

[0017] Furthermore, the physical fields to be predicted include the spatial distribution fields of velocity field, pressure field, temperature field, vorticity field, density field, and water level field that evolve over time; the partial differential equations include the two-dimensional incompressible Navier-Stokes equations, the two-dimensional shallow water equations, and the two-dimensional reaction-diffusion equations.

[0018] First, its historical physical field sequence Normalization is performed, and spatiotemporal coordinate information is added;

[0019] Where T is the number of historical time steps input. Let be the spatial physical field corresponding to time t;

[0020] Then, spatial feature encoding is performed on the flow field at each historical moment to obtain the spatial encoding feature at time t. Through time feature aggregation operation Temporal aggregation of multi-time spatial coding features yields the current-time latent state incorporating historical spatiotemporal evolution information. ;

[0021] ;

[0022] Preset an increasing set of future time spans And satisfy ; The number of time spans;

[0023] Then the current potential state Input to the future feature prediction module Output the potential future features corresponding to each time span. : ; ;

[0024] Multiple future time spans can share some feature extraction structures, and corresponding prediction branches are set for different time spans, so that different future states can represent the evolutionary differences at their respective time scales while retaining common dynamic information; the future time spans are set as follows: That is, to generate separately , and The potential future characteristics corresponding to a given moment.

[0025] Furthermore, step 2 details the method for constructing nested spectral features across multiple time spans:

[0026] For each potential future feature Perform a two-dimensional Fourier transform to obtain the future frequency domain features; ;

[0027] Then, calculate each frequency domain. Normalized radial frequency of frequency position ; ;and ;

[0028] Frequency coordinates in two-dimensional space. The maximum radial frequency of the spectrum;

[0029] Next, a trainable frequency cutoff parameter is set for each future time span. and make it satisfy ;

[0030] By using trainable frequency cutoff parameters, a nested constraint can be achieved where the larger the time span, the narrower the effective bandwidth is preserved.

[0031] The frequency cutoff parameter is parameterized using the Sigmoid function, as shown in the following expression:

[0032] : ;

[0033] These are trainable parameters; It refers to the Sigmoid function;

[0034] Constructing a smooth spectral mask The resulting smoothed spectral mask The spectrum is filtered by multiplying element-wise with the future frequency domain features to obtain the filtered spectrum. Finally, complex domain spectrum mapping is performed on the filtered spectrum. The operation processes the real and imaginary parts separately, then reconstructs the complex spectrum to obtain nested spectral features aligned with the frequency domain dimension of the main network. ;

[0035] ;

[0036] ;

[0037] ;

[0038] A parameter indicating the smoothness of the control frequency cutoff boundary; This represents element-wise product.

[0039] Furthermore, the detailed method of step 3 is as follows:

[0040] Take the current latent features of the j-th processing stage of the network The current spectrum is obtained by two-dimensional Fourier transform. ; Its frequency domain representation;

[0041] Introducing time span codes corresponding to each time span ; Set the current spectral amplitude Nested spectral amplitude Time span coding Normalized frequency position Input-learnable weight generation network After activation by the Sigmoid algorithm, guiding weights are generated that dynamically change with network stage, frequency position, and time span.

[0042] ;

[0043] Indicates the spectral amplitude;

[0044] The spectral features corresponding to multiple future time spans are combined according to dynamic weights to obtain... ; ;

[0045] According to the overall guiding strength coefficient By combining the current spectrum with the correction term, we obtain :

[0046] fused spectrum The subsequent frequency domain transformation, inverse two-dimensional Fourier transform, and spatial feature processing are performed to obtain the updated latent state; the adaptive fusion step is repeated in one or more Fourier neural operator layers.

[0047] Furthermore, step 4 involves multi-layer neural operator feature transformation to obtain the final output latent features. Through decoding operation Mapping back to the original physical variable space yields the predicted flow field for the next time step. ;

[0048] ;

[0049] in This indicates a physical field decoding operation;

[0050] If long-term recursive prediction is required, update the historical input window: discard the earliest flow field, and... Add to the historical sequence to form a new input sequence ,

[0051] Repeat steps 1 and 4 in a loop, outputting the results sequentially. During the inference phase, no real future flow field needs to be input; all potential future features are generated by modules within the model.

[0052] Furthermore, the details of step 5, model training, are as follows:

[0053] Decode each potential future feature to generate an auxiliary flow field prediction. ; ;

[0054] Based on the effective frequency band of the corresponding time span, spectral filtering is performed on the auxiliary predicted flow field and the actual future flow field to calculate the auxiliary loss for a single time span. Then, the auxiliary losses corresponding to all time spans are combined to obtain the total future auxiliary loss. ;

[0055] ;

[0056] This represents the loss weights corresponding to different future time spans;

[0057] Finally, calculate the total loss of the model. The expression is: ;

[0058] in This refers to the primary prediction loss, expressed as: ; This indicates the overall weight of future auxiliary supervision; for The corresponding spatial physical field at that moment, It means Flow field prediction results at time t;

[0059] During training, the direct gradient update of the auxiliary loss to the frequency cutoff parameter is blocked; a validity flag is set, and the auxiliary loss calculation for a certain span of the real flow field is skipped for samples that are missing; two-dimensional compressible Navier-Stokes flow field datasets under different working conditions share the neural operator backbone and independently configure future feature prediction, frequency cutoff, and spectrum mapping parameters.

[0060] Beneficial effects: Compared with the prior art, the present invention has the following advantages:

[0061] (1) Addressing the error accumulation problem in long-term recursive prediction: This invention generates multiple future potential features with different future time spans from the same current potential state, introducing dynamic trend information over a longer time scale into the physical field prediction at the current moment, no longer relying solely on the local mapping relationship between adjacent moments. In the recursive prediction process, it takes into account both local changes at adjacent moments and constraints on future evolution trends over multiple spans, suppressing the propagation and accumulation of single-step local errors, alleviating amplitude deviation, phase shift, local structural ambiguity, and evolution trend drift phenomena in the predicted flow field, and achieving a balance between short-term prediction accuracy and long-term evolution stability.

[0062] (2) Addressing the issue of differentiated utilization of spectral features across multiple time spans: This invention constructs a nested spectral constraint relationship where the larger the time span, the narrower the effective bandwidth, configuring differentiated and trainable effective spectral ranges for each future time span; the near time span retains high-frequency small-scale detail information, while the far time span retains low-frequency large-scale evolution trends, establishing a correlation between future time spans and effective spectral ranges, fully exploring the differences and complementarities of spectral information across different time spans, and adaptively selecting spectral components with predictive value for each time span based on physical field data, thus better characterizing the flow evolution features at different scales.

[0063] (3) Addressing the problem of adaptive collaborative fusion of spectrum information across multiple time spans: Based on the current spectrum, the spectrum of each future time span, the time span, and the frequency position information, this invention dynamically calculates the guiding weights that change with frequency position, feature channels, and network processing layers, and performs adaptive weighted fusion of spectrum information across multiple time spans. This avoids the defects caused by static fusion methods such as splicing and fixed weighting, allocates the influence intensity of near and far future information as needed, reduces the interference of irrelevant and unreliable spectrum information on the current prediction, and achieves efficient collaboration between spectrum information across multiple time spans and the current spectrum features.

[0064] (4) For the future guidance adaptability problem of multiple types of physical fields: The backbone neural operator network of this invention is shared, and the parameters related to future feature prediction, frequency cutoff and spectrum mapping are independently configured for different working conditions and different physical systems to avoid mutual interference between features of different physical systems; at the same time, sample validity labeling is set, and for some samples with missing true values ​​in future time spans, the corresponding auxiliary loss calculation is skipped, making full use of training samples with inconsistent trajectory lengths to improve the model's adaptability and training stability in the face of different physical parameters and datasets with different time lengths. Attached Figure Description

[0065] Figure 1 This is a schematic diagram of the overall framework of the present invention;

[0066] Figure 2 This is a schematic diagram illustrating the construction of nested spectrums across multiple time spans in an embodiment.

[0067] Figure 3 This is a schematic diagram illustrating the dynamic fusion of future and current spectrum in the embodiment.

[0068] Figure 4 This is a schematic diagram illustrating future predictions across multiple time spans in the embodiment;

[0069] Figure 5 This is a comparison chart of the predicted and actual values ​​for an example. Detailed Implementation

[0070] The technical solution of the present invention will be described in detail below, but the scope of protection of the present invention is not limited to the embodiments described.

[0071] To address the problems of prediction error accumulation, insufficient characterization of multi-scale dynamic features, and inadequate utilization of prediction information across different time spans in existing data-driven solutions for partial differential equations and time-series prediction methods for physical fields during long-term prediction, this invention provides a partial differential equation physical field prediction method based on nested spectrum guidance across multiple time spans. This method improves the prediction accuracy, stability, and characterization ability of multi-scale dynamic features for complex time-varying physical fields, especially in long-term evolution processes. Figure 1 As shown, it includes the following steps:

[0072] Step 1: Obtain the historical physics sequence of the physics field to be predicted. The latent state at the current moment is extracted through encoding and temporal aggregation. ; based on the current potential state As input, generate multiple future latent features corresponding to increasing future time spans. The physical fields here include, but are not limited to, velocity fields, pressure fields, temperature fields, vorticity fields, density fields, water level fields, and other spatially distributed fields that evolve over time; for example, they can be oriented towards two-dimensional compressible Navigation-Stokes flow fields.

[0073] Step 2: Assign each potential future feature Transforming to the frequency domain to construct nested spectra: A trainable frequency cutoff parameter is set to create a nested constraint where the effective bandwidth narrows with a larger time span. The spectrum is then filtered using a smooth spectral mask and subjected to complex spectral mapping to obtain multi-time span nested spectral features. ;

[0074] Step 3: In the Fourier neural operator frequency domain processing stage, combine the current spectrum and nested spectrum features. The time span encoding and frequency position dynamic calculation of the guiding weights of each future spectrum are then used to adaptively fuse the weighted values ​​with the current spectrum to obtain the fused spectrum features. ;

[0075] Step 4: Combine the fused spectral features The predicted physical field for the next time step is output after Fourier neural operator transformation and decoding. Furthermore, flow field recursive prediction is achieved by sliding the historical input window, and the inference stage relies solely on the generation of future potential features within the historical physical field.

[0076] Step 5: During the training phase, the main prediction loss and the multi-span auxiliary loss calculated based on the effective frequency band are combined. The gradient of the auxiliary loss with the frequency cutoff parameter is blocked. Missing ground value samples are marked and skipped according to the corresponding loss. Different operating conditions share the backbone network and independently configure the spectrum and prediction parameters.

[0077] The technical problem to be solved by this invention is: how to make full use of the complementary evolution information contained in multiple different future time spans in the process of predicting the physical field of partial differential equations, establish the correlation between the future time span and the effective spectral characteristics, and adaptively utilize the spectral information of multiple time spans according to the current physical field state, so as to reduce the accumulation of errors in long-term recursive prediction and improve the long-term prediction accuracy and stability of complex, multi-scale physical fields.

[0078] The physical field to be predicted in this embodiment refers to the spatial distribution field that evolves over time; the partial differential equations include the two-dimensional incompressible Navier-Stokes equations, the two-dimensional shallow water equations, and the two-dimensional reaction-diffusion equations.

[0079] First, its historical physical field sequence Normalization is performed, and spatiotemporal coordinate information is added;

[0080] Where T is the number of historical time steps input. Let be the spatial physical field corresponding to time t;

[0081] Then, spatial feature encoding is performed on the flow field at each historical moment to obtain the spatial encoding feature at time t. Through time feature aggregation operation Temporal aggregation of multi-time spatial coding features yields the current-time latent state incorporating historical spatiotemporal evolution information. ;

[0082] ;

[0083] Preset an increasing set of future time spans And satisfy ; The number of time spans;

[0084] Then the current potential state Input to the future feature prediction module Output the potential future features corresponding to each time span. : ; .

[0085] Figure 2 This paper demonstrates the process of constructing nested spectral features across multiple time spans by performing Fourier transforms on potential features at different future time spans, filtering the spectrum based on corresponding cutoff frequencies, and gradually shrinking the effective bandwidth as the predicted time span increases. The detailed method for constructing nested spectral features across multiple time spans is as follows:

[0086] For each potential future feature Perform a two-dimensional Fourier transform to obtain the future frequency domain features; ; This refers to the Fourier transform;

[0087] Then, calculate each frequency domain. Normalized radial frequency of frequency position ; ;and ; Frequency coordinates in two-dimensional space. The maximum radial frequency of the spectrum;

[0088] Next, a trainable frequency cutoff parameter is set for each future time span. and make it satisfy ;

[0089] By using trainable frequency cutoff parameters, a nested constraint can be achieved where the larger the time span, the narrower the effective bandwidth is preserved.

[0090] The frequency cutoff parameter is parameterized using the Sigmoid function, as shown in the following expression:

[0091] : ;

[0092] These are trainable parameters; ; The number of time spans;

[0093] Constructing a smooth spectral mask The resulting smoothed spectral mask The spectrum is filtered by multiplying element-wise with the future frequency domain features to obtain the filtered spectrum. Finally, complex domain spectrum mapping is performed on the filtered spectrum. The operation processes the real and imaginary parts separately, then reconstructs the complex spectrum to obtain nested spectral features aligned with the frequency domain dimension of the main network. ;

[0094] ;

[0095] ;

[0096] ;

[0097] A parameter indicating the smoothness of the control frequency cutoff boundary; This represents element-wise product.

[0098] Figure 3This embodiment demonstrates the dynamic fusion effect of future and current spectra. The current latent features are Fourier transformed to obtain the current spectrum. Dynamic fusion weights are generated by combining future spectra corresponding to multiple future time spans, time span encoding, and frequency position information. The weighted summation of each future spectrum forms the future guiding spectrum, which is then fused with the current spectrum and input into the neural operator frequency domain processing module. The detailed method is as follows:

[0099] Take the current latent features of the j-th processing stage of the network The current spectrum is obtained by two-dimensional Fourier transform. ; Its frequency domain representation;

[0100] Introducing time span codes corresponding to each time span ; Set the current spectral amplitude Nested spectral amplitude Time span coding Normalized frequency position Input-learnable weight generation network After activation by the Sigmoid algorithm, guiding weights are generated that dynamically change with the network stage, frequency position, and time span. : ;

[0101] Indicates the spectral amplitude;

[0102] The spectral features corresponding to multiple future time spans are combined according to dynamic weights to obtain... ; ;

[0103] According to the overall guiding strength coefficient By combining the current spectrum with the correction term, we obtain :

[0104] fused spectrum The updated latent state is obtained by performing subsequent frequency domain transformation, inverse two-dimensional Fourier transform, and spatial feature processing.

[0105] like Figure 4 As shown, step 4 obtains the final output latent features through multi-layer neural operator feature transformation. Through decoding operation Mapping back to the original physical variable space yields the predicted flow field for the next time step. ;

[0106] ;

[0107] in This indicates a physical field decoding operation;

[0108] If long-term recursive prediction is required, update the historical input window: discard the earliest flow field, and... Add to the historical sequence to form a new input sequence ,

[0109] Repeat steps 1 and 4 in a loop, outputting the results sequentially. During the inference phase, no real future flow field needs to be input; all potential future features are generated by modules within the model.

[0110] The details of training the prediction model in step 5 are as follows:

[0111] Decode each potential future feature to generate an auxiliary flow field prediction. ; ;

[0112] Based on the effective frequency band of the corresponding time span, the auxiliary predicted flow field is... Perform spectral filtering with the real future flow field to calculate the auxiliary loss over a single time span. Then, the auxiliary losses corresponding to all time spans are combined to obtain the total future auxiliary loss. ;

[0113] ;

[0114] This represents the loss weights corresponding to different future time spans;

[0115] Finally, calculate the total loss of the model. ; ;

[0116] in This refers to the primary prediction loss, expressed as: ; This indicates the overall weight of future auxiliary supervision;

[0117] During training, the direct gradient update of the auxiliary loss to the frequency cutoff parameter is blocked; a validity flag is set, and for samples lacking a certain span of real flow field, the calculation of the auxiliary loss for that span is skipped.

[0118] To further verify the technical feasibility and technical effect of the present invention, the technical solution of the present invention will be applied to the following scenarios.

[0119] In the following implementation, the future time span, network size, training parameters, and loss weights can all be adjusted according to the specific type of partial differential equation, physical field resolution, and prediction task.

[0120] (1) Model construction and multi-time span spectrum guidance implementation

[0121] Continuously sampled temporal data of the physics field from partial differential equations are selected as input data. Each training sample includes the physics field state at multiple consecutive historical time points and the real physics field at the next time point. When the sample time length meets the requirements, several real physics fields from more distant future time points are also read for auxiliary supervision during subsequent training. After normalization, the historical physics fields undergo spatial feature encoding and temporal feature aggregation to obtain the current latent state. For multiple partial differential equation data of different types, the corresponding future feature adaptation unit can be selected according to the dataset identifier, while sharing the main neural operator structure.

[0122] Three future time spans are set here: That is, construct the latent features corresponding to the 2nd, 4th, and 8th future time steps respectively. The current latent state is obtained through the future feature prediction module: , , ;in: , , ;

[0123] A two-dimensional Fourier transform is performed on each potential future feature to obtain the corresponding future spectrum, and a normalized radial frequency map is constructed based on the two-dimensional spatial frequency coordinates. Learnable cutoff frequencies are set for different future time spans, while maintaining... This results in a wider effective frequency band in the near future, while the effective spectrum range gradually shrinks as the time span increases, thus forming a nested spectrum structure.

[0124] This embodiment uses a smooth soft spectrum mask to perform spectrum filtering. The spectrum mask temperature parameter is set as follows: The spectra corresponding to different future time spans are filtered and then transformed to a dimension consistent with the internal frequency domain characteristics of the main neural operator through appropriate complex spectrum mapping. In the main network's... In each Fourier operator processing block, the current latent feature is subjected to a Fourier transform to obtain the current spectrum. By combining the current spectral amplitude, future spectral amplitude, future time span encoding, and radial frequency position, the dynamic fusion weights corresponding to different future time spans are calculated. Each future spectrum is modulated and accumulated according to the dynamic weights. The obtained future guiding spectrum is fused with the current spectrum using a residual method: .

[0125] In this embodiment, its initial value is set to: This is to reduce the disturbance of the initial state of the original pre-trained network caused by the newly added future guidance structure.

[0126] Since future spectra spanning multiple time spans can be reused across multiple Fourier operator processing blocks in the main network, but different processing blocks recalculate dynamic fusion weights based on their respective current spectra states, the influence of the same future time span information can vary across different network layers. After passing through multiple Fourier operator processing blocks, the final latent features are input into the decoding module to restore the original physical variable space and output the physical field at the next time step.

[0127] For example, for a velocity-pressure system, velocity and pressure components can be output; for a heat conduction system, temperature can be output; and for a shallow water equation system, physical quantities such as water level and velocity can be output. Different output variables do not change the aforementioned future spectrum guidance structure.

[0128] (2) Model training and adaptation to different physical systems

[0129] The model training phase includes both the primary prediction task for the next time step and auxiliary prediction tasks for multiple future time spans. The main network outputs the physics prediction results for the next time step. and the physical field at the next moment. The main prediction loss is calculated. Simultaneously, multiple future potential features are reconstructed into the physical field space using an auxiliary decoder and compared with the real physical field at the corresponding future time points. To ensure that the future auxiliary supervision aligns with the effective frequency range corresponding to different time spans, the auxiliary prediction results and the real future physical field undergo low-pass spectral processing using the same cutoff frequency before calculating the auxiliary loss.

[0130] In the early stages of training, future auxiliary losses can participate in optimization with a small weight, gradually increasing as training progresses. For example, one could... The frequency cutoff parameter is gradually increased from 0 to 1; once the model has entered a stable fine-tuning phase, it is directly set to 1. This avoids the model simply reducing the difficulty of future auxiliary predictions by continuously shrinking the effective frequency band, ensuring that the frequency cutoff parameter is primarily adjusted based on the final physics prediction task. When the time series lengths of different training samples are inconsistent, some samples may not simultaneously provide the true physics corresponding to the 2nd, 4th, and 8th future time steps. To address this, a validity label can be set for each sample and each future time span. The auxiliary loss corresponding to that time span is calculated only when a corresponding true future physics exists; samples lacking a long-term label still participate in the main prediction task for the next time step.

[0131] For joint training on multiple partial differential equation datasets, a shared main neural operator is used, with future feature prediction parameters, cutoff frequency parameters, and complex spectrum mapping parameters set separately for different datasets. This allows the main network to learn common patterns among different physical systems while preserving the unique timescales and spectral characteristics of each system. When training or fine-tuning only for a single physical system, the dataset identifier can be fixed, retaining only one set of future feature adaptation units. During training, the shared backbone can be frozen initially, training only the future feature prediction module, dynamic fusion module, and fusion strength parameters; after the newly added modules have initially converged, the backbone network parameters can be unfrozen for overall joint fine-tuning. For samples that cannot provide an 8th future time step label, the corresponding validity label can be set to 0 without affecting their participation in the main prediction task.

[0132] (3) Model reasoning and experimental verification

[0133] After model training is complete, the actual prediction phase only requires input of the observed historical physics data; the actual physics data corresponding to the 2nd, 4th, and 8th future time steps are not needed. The latent features corresponding to multiple future time spans are automatically generated from the current latent state through the model's internal future feature prediction module. After the model outputs the prediction result for the next time step, it adds this prediction result to the historical input sequence, removes the oldest historical state, forms a new input window, and continues to execute the prediction for the next time step. Repeating this process yields the following results: .

[0134] This enables autoregressive prediction of physical fields over long periods. Existing implementations also explicitly state that the inference phase only requires input of historical states and corresponding dataset identifiers, without needing true future labels.

[0135] To illustrate the prediction and transfer capabilities of the underlying model on different partial differential equation data, this embodiment further uses publicly available experimental results of the underlying model. This embodiment is divided into four parts, including the standard small-scale model, the pre-training performance of the underlying model, the fine-tuning results, and the model merging results; the evaluation metric is L2 relative error; the best results in each part are indicated in bold.

[0136] Table 1. Comparison of L2 relative errors of different models on the FNO-ν partial differential equation dataset.

[0137] Table 2. Comparison of L2 relative errors of different models on the PDEBench dataset for partial differential equations.

[0138] Table 3. Comparison of L2 relative errors of different models on the PDEArena and CFB Bench datasets.

[0139] Tables 1, 2, and 3 illustrate the pre-training, fine-tuning, and transfer capabilities of the base model on different partial differential equation data, providing the basic network conditions for further adding multi-time-span future prediction, nested spectrum construction, and dynamic spectrum guidance to this base model.

[0140] Figure 5 This is a visualization comparison of the prediction results for a two-dimensional compressible Navigational-Stokes flow field. The figure is divided into two rows, showing the velocity and pressure in the x-direction, respectively. Each row includes three columns of contour plots: the actual value, the predicted value, and the absolute error value. Figure 5 The results show that the velocity and pressure flow field distributions in the x-direction predicted by the technical solution of this invention are highly consistent with the actual flow field structure; the overall absolute error is low, and the error is mainly concentrated in the small-scale structural region of the flow, proving that the solution can capture the multi-scale dynamic characteristics of the flow field well and has high flow field prediction accuracy.

[0141] In summary, this invention effectively improves the long-term time-series prediction performance of complex nonlinear flow fields, enhances the prediction accuracy, long-term stability, and multi-scale dynamic characteristic characterization capabilities of the physical field. The inference stage does not require input of the real future physical field; recursive prediction can be completed solely based on historical flow fields. It can be applied to engineering scenarios such as fluid digital twins and parameter scanning.

Claims

1. A method for predicting the physical fields of partial differential equations based on multi-time-span nested spectrum guidance, characterized in that: Includes the following steps: Step 1: Obtain the historical physics sequence of the physics field to be predicted. The latent state at the current moment is extracted through encoding and temporal aggregation. ; based on the current potential state As input, generate multiple future latent features corresponding to increasing future time spans. ; Step 2: Assign each potential future feature Transforming to the frequency domain to construct nested spectra: A trainable frequency cutoff parameter is set to create a nested constraint where the effective bandwidth narrows with a larger time span. The spectrum is then filtered using a smooth spectral mask and subjected to complex spectral mapping to obtain multi-time span nested spectral features. ; Step 3: In the Fourier neural operator frequency domain processing stage, combine the current spectrum and nested spectrum features. The time span encoding and frequency position dynamic calculation of the guiding weights of each future spectrum are then used to adaptively fuse the weighted values ​​with the current spectrum to obtain the fused spectrum features. ; Step 4: Combine the fused spectral features The predicted physical field for the next time step is output after Fourier neural operator transformation and decoding. Furthermore, flow field recursive prediction is achieved by sliding the historical input window, and the inference stage relies solely on the generation of future potential features within the historical physical field. Step 5: During the training phase, the main prediction loss and the multi-span auxiliary loss calculated based on the effective frequency band are combined. The gradient of the auxiliary loss with the frequency cutoff parameter is blocked. Missing ground value samples are marked and skipped according to the corresponding loss. Different operating conditions share the backbone network and independently configure the spectrum and prediction parameters.

2. The method for predicting physical fields of partial differential equations based on nested spectrum across multiple time spans as described in claim 1, characterized in that: The physical field to be predicted refers to the spatial distribution field that evolves over time; the partial differential equations include the two-dimensional incompressible Navier-Stokes equations, the two-dimensional shallow water equations, and the two-dimensional reaction-diffusion equations. First, its historical physical field sequence Normalization is performed, and spatiotemporal coordinate information is added; Where T is the number of historical time steps input. Let be the spatial physical field corresponding to time t; Then, spatial feature encoding is performed on the flow field at each historical moment to obtain the spatial encoding feature at time t. Through time feature aggregation operation Temporal aggregation of multi-time spatial coding features yields the current-time latent state incorporating historical spatiotemporal evolution information. ; ; Preset an increasing set of future time spans And satisfy ; The number of time spans; Then the current potential state Input to the future feature prediction module Output the potential future features corresponding to each time span. : ; .

3. The method for predicting physical fields of partial differential equations based on nested spectrum across multiple time spans as described in claim 1, characterized in that: Step 2: Detailed method for constructing nested spectral features across multiple time spans: For each potential future feature Perform a two-dimensional Fourier transform to obtain the future frequency domain features; ; This refers to the Fourier transform; Then, calculate each frequency domain. Normalized radial frequency of frequency position ; ;and ; Frequency coordinates in two-dimensional space. The maximum radial frequency of the spectrum; Next, a trainable frequency cutoff parameter is set for each future time span. and make it satisfy ; By using trainable frequency cutoff parameters, a nested constraint can be achieved where the larger the time span, the narrower the effective bandwidth is preserved. The frequency cutoff parameter is parameterized using the Sigmoid function, as shown in the following expression: : ; These are trainable parameters; ; The number of time spans, It refers to the Sigmoid function; Constructing a smooth spectral mask The resulting smoothed spectral mask The spectrum is filtered by multiplying element-wise with the future frequency domain features to obtain the filtered spectrum. Finally, complex domain spectrum mapping is performed on the filtered spectrum. The operation processes the real and imaginary parts separately, then reconstructs the complex spectrum to obtain nested spectral features aligned with the frequency domain dimension of the main network. ; ; ; ; A parameter indicating the smoothness of the control frequency cutoff boundary; This represents element-wise product.

4. The method for predicting physical fields of partial differential equations based on nested spectrum across multiple time spans according to claim 1, characterized in that, The detailed method for step 3 is as follows: Take the current latent features of the j-th processing stage of the network The current spectrum is obtained by two-dimensional Fourier transform. ; Its frequency domain representation; Introducing time span codes corresponding to each time span ; Set the current spectral amplitude Nested spectral amplitude Time span coding Normalized frequency position Input-learnable weight generation network After activation by the Sigmoid algorithm, guiding weights are generated that dynamically change with the network stage, frequency position, and time span. : ; Indicates the spectral amplitude; The spectral features corresponding to multiple future time spans are combined according to dynamic weights to obtain... ; ; According to the overall guiding strength coefficient By combining the current spectrum with the correction term, we obtain : ; fused spectrum The updated latent state is obtained by performing subsequent frequency domain transformation, inverse two-dimensional Fourier transform, and spatial feature processing.

5. The method for predicting the physical field of partial differential equations based on nested spectrum across multiple time spans according to claim 1, characterized in that, Step 4 involves multi-layer neural operator feature transformation to obtain the final output latent features. Through decoding operation Mapping back to the original physical variable space yields the predicted flow field for the next time step. ; ; in This indicates a physical field decoding operation; If long-term recursive prediction is required, update the historical input window: discard the earliest flow field, and... Add to the historical sequence to form a new input sequence , Repeat steps 1 and 4 in a loop, outputting the results sequentially. During the inference phase, no real future flow field needs to be input; all potential future features are generated by modules within the model.

6. The method for predicting the physical field of partial differential equations based on nested spectrum across multiple time spans as described in claim 1, characterized in that, Step 5, model training, details are as follows: Decode each potential future feature to generate an auxiliary flow field prediction. ; ; Based on the effective frequency band of the corresponding time span, the auxiliary predicted flow field is... Perform spectral filtering with the real future flow field to calculate the auxiliary loss over a single time span. Then, the auxiliary losses corresponding to all time spans are combined to obtain the total future auxiliary loss. ; ; This represents the loss weights corresponding to different future time spans; Finally, calculate the total loss of the model. The expression is: ; in This refers to the primary prediction loss, expressed as: ; This indicates the overall weight of future auxiliary supervision. for The corresponding spatial physical field at that moment, It means Flow field prediction results at time t; During training, direct gradient updates of the auxiliary loss to the frequency cutoff parameter are blocked; Set a validity flag; for samples lacking a certain span of real flow field, skip the auxiliary loss calculation for that span.