Abstract
Physics-Informed Neural Networks (PINNs) have emerged as a powerful mesh-free alternative for solving partial differential equations (PDEs). However, they frequently suffer from "spectral bias," where the network prioritizes low-frequency components and fails to capture high-frequency or multi-scale features. This paper introduces Fourier PINNs, a novel architecture that additively combines standard neural networks with a dense, adaptive set of Fourier bases. By employing a hybrid optimization strategy that prunes insignificant frequencies and utilizing adaptive exponential distance functions for boundary conditions, Fourier PINNs achieve orders-of-magnitude better accuracy on challenging PDE benchmarks compared to state-of-the-art baselines.
Introduction: The Challenge of Spectral Bias
While PINNs offer a flexible framework for solving PDEs, their reliance on standard neural network architectures introduces a significant limitation: spectral bias. Neural networks naturally learn smooth, low-frequency functions more easily than those with rapid oscillations or sharp transitions. Existing attempts to mitigate this, such as "Strong Boundary Conditions" or "Random Fourier Features" (RFF), often require extensive hyperparameter tuning or are difficult to generalize to complex geometries. This work seeks a robust, general-purpose solution to enable PINNs to accurately represent high-frequency physical phenomena.
Methodology
Adaptive Strong Boundary Conditions
A key contribution is the development of an adaptive exponential distance function, $\phi_{exp}$, for enforcing boundary conditions. Unlike static polynomial distance functions, $\phi_{exp}$ can adjust its shape during training to better match the true solution's behavior near boundaries.
As shown in Figure 1, the parameter $\alpha$ allows the function to "sharpen" its profile, providing the model with the flexibility to capture sharp gradients near the boundaries. Theoretical analysis via the convolution theorem further reveals that multiplying a neural network by such a boundary function helps the model capture high-frequency amplitudes more effectively.
Fourier PINN Architecture and Optimization
The proposed Fourier PINN architecture is defined as a hybrid model: $$u_{total} = \text{Neural Network} + \sum (\text{Fourier Bases})$$ This approach adds a layer of dense Fourier bases with frequencies sampled across a wide range. To maintain efficiency and robustness, the authors introduce a hybrid optimization scheme:
- Non-linear Optimization: Adam and L-BFGS are used to optimize the neural network weights.
- Linear Least Squares: Periodically, the linear coefficients of the Fourier bases are solved exactly using least squares.
- Frequency Pruning: $L_2$ regularization and thresholding are applied to identify and remove "useless" frequencies, resulting in a sparse, physically relevant set of bases.
Experimental Results
The method was evaluated on several PDE benchmarks, including 1D and 2D Poisson equations, and the steady-state and non-steady-state Allen-Cahn equations.
As illustrated in Figure 2, Fourier PINNs consistently outperform standard PINNs and other baselines, especially as the frequency $k$ of the solution increases. In high-frequency scenarios where standard models fail (error $\approx 1.0$), Fourier PINNs maintain errors between $10^{-3}$ and $10^{-4}$. Notably, the "set-and-forget" nature of the pruning algorithm makes the model far more robust than RFF-PINNs, which are highly sensitive to initial frequency scaling.
Conclusion and Future Directions
Fourier PINNs represent a significant step forward in addressing spectral bias in PINNs. By combining the strengths of neural networks with adaptive Fourier bases, the model can capture complex, multi-scale solutions that were previously inaccessible. However, the current implementation faces the "curse of dimensionality" as the number of bases grows exponentially with spatial dimensions. Future work will explore tensor decomposition techniques, such as Tensor-Train or Tucker decomposition, to scale the method to higher-dimensional problems and further refine the architecture for highly non-linear dynamics.
Summary updated