Operator-informed initialization for Fourier features physics-informed neural networks
Authors: Juan Molina, Paris Perdikaris, Mircea Petrache, Matías Courdurier, Francisco Sahli Costabal
Organizations: National Center for Artificial Intelligence, Santiago, Chile · Department of Mechanical Engineering and Applied Mechanics, University of Pennsylvania, Philadelphia, PA, USA · Department of Mathematics, Pontificia Universidad Católica de Chile, Santiago, Chile · Institute for Mathematical and Computational Engineering, Pontificia Universidad Católica de Chile, Santiago, Chile · Department of Mechanical and Metallurgical Engineering and Institute for Biological and Medical Engineering, Pontificia Universidad Católica de Chile, Santiago, Chile · Millennium Institute for Intelligent Healthcare Engineering, iHEALTH, Santiago, Chile
Physics-Informed Neural Networks (PINNs) typically exhibit spectral bias, where some frequencies of the target function converge more slowly than others. In this work, we analyze the training dynamics of Fourier Feature PINNs in the Neural Tangent Kernel regime to address this limitation. We derive an explicit evolution equation to estimate the residual error in the frequency domain, demonstrating that the convergence rate of specific frequencies is primarily governed by the product of the differential operator's symbol and the spectral density of the initialization weights. Leveraging this theoretical insight, we propose an informative initialization strategy that tailors the initial weight distribution to the specific PDE being solved. With this method, we can diminish the operator-induced spectral bias, balancing the convergence rates across the frequency spectrum and achieving better prediction accuracy. Numerical experiments on linear and nonlinear partial differential equations confirm that this initialization strategy improves learning dynamics and approximation accuracy across frequencies compared to standard initialization methods, with no additional training cost.
Figures & tables
Figure 1: Pipeline of the proposed PDE-informed initialization. The governing PDE determines the principal symbol ppde , which is used to sample the Fourier frequencies W through the proposed initialization density. The sampled frequencies define the Fourier Feature embedding of the PINN, whose parameters are trained by minimizing the PDE, boundary, and initial-condition residual losses.
Figure 2: Frequency-domain (modulus) error dynamics for three PDEs solved with PINNs. From top to bottom: the 2D Helmholtz equation uxx+uyy+k2u=0 , with k=10 , and the 1D transport equation uτ+cux=0 with c=1 and c=80 . The corresponding polynomials are ppde=(4π2(ξx2+ξy2)−k2)2 for the Helmholtz equation and ppde=4π2(ξτ+cξx)2 for the transport equation. The results show that the largest residual errors tend to persist in frequency regions where ppde is small or vanishes, consistently with the weak interior control predicted by equation ( 27 ).
Figure 3: Visualization of the exact solutions listed in Table 1 . The examples cover a diverse range of spatial structures and spectral characteristics representative of the benchmark PDEs considered in this work.
PDE
ppde
Exact solutions
Transport (c=1)uτ+cux=0
(ξτ+cξx)2
i) Multiscale oscillatory: u(τ,x)=cos(11π(x−cτ))+cos(π(x−cτ)) in Ω3 ii) Localized Gaussian: u(τ,x)=e−100(x−cτ−0.2)2 in Ω2
Heat (α=0.1)uτ−αuxx=0
ξτ2+4π2α2ξx4
i) Single-mode: u(τ,x)=e−π2ατsin(πx) in Ω3 ii) Multiscale: u(τ,x)=e−π2ατsin(πx)+111e−121π2ατsin(11πx) in Ω2
Wave (c=1)uττ−c2uxx=0
(ξτ2−c2ξx2)2
i) Multiscale oscillatory: u(τ,x)=cos(πτ)cos(πx)+cos(11πτ)cos(11πx) in Ω2 ii) Traveling Gaussian: u(τ,x)=21(e−50(x−cτ−21)2+e−50(x+cτ−21)2) in Ω3
Laplace −Δu=0
(ξx2+ξy2)2
i) Oscillatory-hyperbolic: u(x,y)=sin(πx)sinh(πy) in Ω1
Helmholtz ( k=10 ) Δu+k2u=0
(4π2(ξx2+ξy2)−k2)2
i) Multiscale oscillatory: u(x,y)=cos(kx)+cos(ky)+cos(22k(x+y)) in Ω1
Nonlinear Laplace Δu+u3=0
(ξx2+ξy2)2
u(x,y)=1+x2+y21 in Ω2
Table 1: Benchmark PDEs used for validation. The exact solutions are selected to exhibit diverse spectral characteristics representative of each PDE. The computational domains are Ω1=[−1,1]2 , Ω2=[0,1]2 , and Ω3=[0,1]×[−1,1] . For simplicity, multiplicative constants in the polynomial ppde are omitted.
example
ηGI
σwGI
GI range
ηPI
σwPI
PI range
Helmholtz Multiscale Osc.
5⋅10−7
1.42
[0.3,3]
5⋅10−4
0.028
[0.005,0.5]
Laplace Osc.–Hyperbolic
8⋅10−7
1.4
[0.5,5]
2⋅10−6
7.3⋅10−5
[5⋅10−5,5⋅10−4]
Trans. Local. Gaussian
10−5
3.0
[0.1,5]
2⋅10−3
0.62
[5⋅10−2,5]
Trans. Multiscale Osc.
10−6
2.1
[1,3]
8⋅10−5
2.6
[0.1,10]
Heat Single-Mode
5⋅10−5
0.34
[0.1,5]
5⋅10−5
7.7⋅10−3
[10−4,10−2]
Heat Multiscale
6⋅10−5
0.25
[0.1,1]
6⋅10−4
0.78
[0.1,1]
Table 2: Learning rates used in the experiments and Optuna search intervals for the proposed PDE-informed initialization. The examples correspond to Figure 5 .
Figure 4: Examples illustrating the decoupling between empirical training loss and prediction accuracy. The first row reports the training loss, while the second row shows the relative L2 prediction error. In the first column, the Gaussian initialization achieves lower training loss but a larger prediction error. In the second column, the PDE-informed initialization achieves lower training loss, whereas the Gaussian initialization yields the more accurate solution.
Figure 5: GD training dynamics for linear and nonlinear PDEs under the standard Gaussian and the proposed PDE-informed initialization. The odd rows report the training loss, while the even rows show the relative L2 prediction error. The first two pairs of rows correspond to linear PDEs. The first pair includes the Helmholtz, transport, heat, and wave equations, while the second pair includes the Laplace, transport, heat, and wave equations. For the transport, heat, and wave equations, the two pairs use different exact solutions, thereby assessing the initialization across distinct spectral contents for the same governing PDE. The last pair of rows presents four nonlinear examples: a manufactured nonlinear Laplace equation, the Burgers equation, the Sine–Gordon equation, and the nonlinear Klein–Gordon equation. For the Laplace equation, both initialization strategies exhibit similar dynamics. In contrast, the proposed PDE-informed initialization yields moderate improvements for the heat equation and more pronounced gains for the Helmholtz, transport, and wave equations. For the nonlinear problems, the proposed initialization generally improves prediction accuracy and stability across random seeds.
Figure 6: Evolution of the relative ring-wise spectral error during training for four representative PDEs under the proposed PDE-informed and standard Gaussian initializations. At each iteration, the prediction error is transformed into the Fourier domain, and its relative energy is computed over five concentric radial-frequency bands with logarithmically spaced radii, excluding the zero-frequency mode. The vertical axis orders these bands by increasing radial frequency, from the innermost low-frequency band to the outermost high-frequency band, while the horizontal axis denotes the training iteration. Thus, the vertical coordinate represents an ordered frequency band rather than the actual frequency magnitude or ring radius. For each PDE, the PDE-informed and Gaussian heatmaps share the same color scale, allowing a direct comparison of their spectral learning dynamics. The PDE-informed initialization generally produces a more uniform reduction of the spectral error across frequency bands, with larger differences for problems whose low-symbol regions exhibit stronger anisotropy or nontrivial characteristic geometries.
example
ηGI
σwGI
GI range
ηPI
σwPI
PI range
Helmholtz Multiscale Osc.
5⋅10−3
0.97
[0.3,3]
1⋅10−3
0.71
[0.01,1]
Trans. Local. Gaussian
5⋅10−4
2.1
[0.1,10]
5⋅10−4
0.096
[10−4,1]
Heat Single-Mode
10−4
0.27
[0.1,10]
10−4
0.086
[10−5,0.1]
Wave Multiscale Osc.
10−3
2.6
[0.5,10]
7⋅10−4
53.5
[0.01,100]
Nonlinear Cubic
7⋅10−5
0.095
[0.01,10]
10−4
0.03
[0.005,0.5]
Nonlinear Burgers
10−4
0.11
[0.05,0.5]
10−4
7.78
[1,10]
Table 3: Learning rates, selected initialization scales, and Optuna search intervals used in the experiments. The examples correspond to Figure 7 .
Figure 7: ADAM training dynamics for linear and nonlinear PDEs under the standard Gaussian and the proposed PDE-informed initialization. The odd rows report the training loss, while the even rows show the relative L2 prediction error. The linear experiments include the Helmholtz, transport, heat, and wave equations, while the remaining rows present four nonlinear PDEs: a manufactured nonlinear Laplace equation, the Burgers equation, the Sine–Gordon equation, and the nonlinear Klein–Gordon equation. Consistent with the GD experiments, the proposed initialization improves the optimization dynamics and prediction accuracy for the linear problems, with moderate gains for the heat equation and more pronounced improvements for the Helmholtz, transport, and wave equations. Similar improvements are observed for most of the nonlinear problems, with generally faster convergence, lower prediction errors, and more stable behavior across random seeds.
Figure 8: Multilayer experiments under GD and ADAM optimization. The first two rows show the gradient descent training dynamics, while the third and fourth rows correspond to ADAM. The odd rows report the training loss, whereas the even rows show the relative L2 prediction error. Both optimizers are evaluated on the transport, heat, nonlinear Laplace (cubic), and nonlinear Klein–Gordon equations. Consistent with the two-layer experiments, the proposed PDE-informed initialization improves both the optimization dynamics and predictive accuracy under both optimization methods. The improvements are particularly pronounced for the transport equation, while more moderate but still noticeable gains are observed for the heat equation. Similar improvements are also observed for the two nonlinear problems, demonstrating that the benefits of the proposed initialization extend to deeper neural network architectures and adaptive optimization methods.
Figure 9: Training dynamics on the JAX-PI benchmarks using the recommended SOTA configuration. The first row shows the training loss, while the second row reports the relative L2 prediction error. The columns correspond to the advection, Allen–Cahn, and Kuramoto–Sivashinsky equations, respectively. The blue curves denote the proposed PDE-informed initialization (using ( 34 ) for the linear problem and ( 32 ) with λ=0.5 for the nonlinear problems), while the orange curves correspond to the standard Gaussian initialization. Solid lines represent the median over ten random seeds and the shaded regions indicate the range between the best and worst runs.
Figure 10: Training dynamics obtained with the proposed PDE-informed initialization under the simplified baseline configuration. The layout is identical to Figure 9 . The results demonstrate that the baseline configuration achieves optimization dynamics comparable to those of the full SOTA pipeline, with the Allen–Cahn equation exhibiting noticeably faster convergence during the early stages of training.
Figure 11: Qualitative comparison of the reconstructed solutions obtained with the SOTA configuration for Gaussian initialization and baseline configuration for PDE-Informed initialization. Each row corresponds to one benchmark equation (advection, Allen–Cahn, and Kuramoto–Sivashinsky). The columns show the ground-truth solution, the prediction obtained with the proposed PDE-informed initialization, the prediction obtained with the standard Gaussian initialization, the absolute error of the PDE-informed initialization, and the absolute error of the Gaussian initialization. The predictions produced by both methods closely match the ground truth, while the proposed initialization generally yields lower reconstruction errors, particularly for the advection equation.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 12: Effect of using an inaccurate PDE symbol in the PDE-informed initialization for the Transport – Localized Gaussian example of Table 1 , whose true transport velocity is c=1 . The left panel shows the training loss and the right panel the relative L2 prediction error. The standard Gaussian initialization is shown in orange, while the PDE-informed initialization constructed using the correct velocity c=1 is shown in blue. PDE-informed initializations constructed using the incorrect values c=2 , c=5 , and c=10 are shown using progressively lighter shades of green. The PDE used during training always has c=1 ; only the polynomial used to construct the initialization density is modified. Initialization based on the correct PDE symbol yields the best dynamics among the tested alternatives, while performance progressively deteriorates as the assumed transport velocity deviates further from its true value.
Ablation Settings
Performance
Time Period
Grad Norm
RWF
Causal Rel.
L2 Error
Run Time (min)
✓
✓
✓
✓
3.91e-04
22.01
×
✓
✓
×
4.89e-05
22.9
×
✓
×
✓
6.39e-05
21.94
×
×
✓
✓
5.75e-05
21.3
×
✓
✓
✓
5.36e-05
22.02
Appendix
Table 4: Ablation study for the Advection equation.
Ablation Settings
Performance
Grad Norm
RWF
Causal Rel.
L2 Error
Run Time (min)
✓
✓
✓
2.782e-04
43.3
✓
×
×
7.924e-05
42.6
✓
✓
×
1.475e-04
44.6
✓
×
✓
1.153e-04
40.8
×
✓
✓
5.197e-04
40.5
Appendix
Table 5: Ablation study for the Allen Cahn equation.
Division of Decision and Control Systems, School of Electrical Engineering and Computer Science, KTH Royal Institute of Technology, Stockholm, 100 44, Sweden