An improved periodic activation for PINNs reconstructing convective flows
Authors: Michael Mommert, Marie-Christine Volk, Christian Bauer
Organizations: German Aerospace Center (DLR), Institute of Aerodynamics and Flow Technology, Department Ground Vehicles, Bunsenstr. 10, 37073 Göttingen, Germany · Technische Universität Ilmenau, Institute of Thermodynamics and Fluid Mechanics, 98693 Ilmenau, Germany
Architectures with periodic activation functions have already been shown to be beneficial in comparison to monotonic counterparts for a wide range of applications of physics-informed neural networks. Here, we investigate a network architecture which uses the complex exponential function, generating pairs of sine and cosine outputs as activation functions. Testing it against comparable, sine-activated multi-layer perceptrons for the task of temperature reconstruction from sparse velocity data for cubic Rayleigh-Bénard convection reveals significant improvements in the reconstruction quality without a substantial increase in computational cost per training step. Vice versa, the improved architecture enables reaching similar reconstruction qualities for a fraction of the expense. Analyzing the mathematical structure of these networks points to the improvements being rooted in the property of passing both a sine and cosine function forward. This way, the subsequent layer is able to adapt the phase of the provided latent periodic functions, and doing it individually for each of its neurons.
Figures & tables
Name
NL
NN
total parameter count Nθ
wall time per epoch
MAET
PCCT
R2T
eq_net
8
256
397318
∼0.7s∗
0.0291
0.9351
0.8706
eq_par
8
362
792062
∼1s
0.0258
0.9518
0.8991
new
8
256
792070
∼1s
0.0168
0.9775
0.9547
Table 1: Configuration and metrics of the test cases. (* Referring to an Nvidia RTX 4090, while the remining cases refer to an Nvidia RTX 6000 Ada using the same AD102 die.)
Figure 1: Ground truth and PINN reconstruction for the three test cases in a central vertical section and the central time instance.
Figure 2: Evolution of the R2 score for the temperature field over the course of the training.
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
initialization
sampling
MAET
PCCT
R2T
zeros
A
0.0168
0.9775
0.9547
same
A
0.0216
0.9732
0.9387
zeros
B
0.0161
0.9842
0.9670
same
B
0.0208
0.9720
0.9420
Appendix
Table 2: Metrics achieved for the architecture based on complex exponential activation for two different initialization strategies of the real part of the weight matrices, namely "zeros" and "same" for to different random samplings of the data of the test case. (* marks the case presented in section 3.3 )
Figure 3: Evolution of the R2 score for the temperature field over the course of the training for different initialization strategies of the real part of the weight matrices and data samplings.
Convection-dominated convection-diffusion problems often develop thin layers, where the solution has sharp transition profiles and its derivatives are highly localized. This creates a structural mismatch for standard physics-informed neural networks (PINNs), whose trial spaces are not designed to match the value--derivative structure of such layers. We propose a Layer-Resolving XNet Physics-Informed Neural Network (LRX-PINN) based on integrated Cauchy activations. The proposed basis is transition-type at the solution level, while its derivative recovers a localized Cauchy kernel. We show that this structure matches the scaling of convection-dominated layers, inherits the Cauchy approximation mechanism at the derivative-profile level, and identifies d/∥w∥ as the effective physical width of a ridge neuron. For analytic layer profiles, this yields derivative-stable exponential approximation in the stretched coordinate and a layer-scaled estimate for the strong residual of the singularly perturbed operator. Numerical experiments on several convection-dominated benchmarks show that LRX-PINN achieves higher accuracy than PIKAN and Fourier-feature PINNs while using less than 30% of their trainable parameters. On more challenging benchmarks, embedding the proposed representation into hp-VPINN-based frameworks further improves the best results obtained by existing hp-VPINN-based baselines without changing their original loss functionals or stabilization strategies. These results show that neural representations aligned with layer structure provide a compact and effective approach for convection-dominated problems.
Zihao Guo, Xin Li, Zhihong Xia
Institute for Advanced Research, Great Bay University, Dongguan, China · College of Computer Science and Technology, Dongguan University of Technology, Dongguan, China · Department of Mathematics, Northwestern University, Evanston, USA
Partial differential equations (PDEs) often have high-frequency and multi-scale features that neural networks struggle to approximate. Physics-Informed Neural Networks (PINNs) build the governing equations directly into training, but suffer from spectral bias: they learn low-frequency components faster than high-frequency ones. Techniques such as Fourier feature embeddings and sinusoidal activations address this, but most studies assume they help across the board without checking which spectral regimes actually benefit. We introduce a dual-branch, spectrally-gated architecture (DBSG-PINN) that splits low- and high-frequency components into separate subnetworks joined by an adaptive gate, and use it to run a partially controlled ablation of frequency decomposition and spectral routing. We test this on five one-dimensional benchmark PDEs, ranging from smooth, single-scale problems to oscillatory, multi-scale ones. Frequency decomposition helps most on the spectrally complex benchmarks, cutting relative L2 error by up to 59.2% on a multimodal wave problem, but gives little benefit on smoother PDEs. On one benchmark (1D Wave), it performs substantially worse than a simpler fixed-combination variant. The gate's benefit scales with how spectrally rich the target solution is: the full model's advantage over the ablations is largest on multi-scale benchmarks and smallest (or negative) on single-scale ones, consistent with the gate exploiting frequency structure rather than acting as noise,though we do not directly visualize or quantify its spatial activations in this study. All results come from a single training seed across five 1D benchmarks, so we present this as an exploratory study meant to raise questions rather than answer them, and outline the additional seeds and benchmarks needed to test whether the pattern holds.
Physics-informed neural networks (PINNs) embed governing partial differential equations directly into the training loss, offering a promising alternative to costly CFD solvers for unsteady flows. Yet the growing list of techniques proposed to improve PINN training is typically validated one at a time, leaving open whether these techniques actually compose. We study this question in depth on the DFG/Schafer-Turek unsteady cylinder wake benchmark. In isolation, nearly every technique performs no better than an untreated baseline. However, combining periodic (SIREN) activations with causal weighting unlocks a previously inaccessible regime, reconstructing velocity and pressure fields to within 4.1% average relative L2 error against an OpenFOAM reference solution. Adding further techniques instead causes catastrophic performance degradation, demonstrating that individually effective PINN interventions can interact nonlinearly and that more elaborate training recipes are not necessarily better.