Manuscript Offprint

arXiv:2608.24940

When Does Frequency Decomposition Benefit Physics-Informed Neural Networks? A Preliminary Ablation Study

Shubham Rai

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

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 L2L_{2} 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.

Keywords Physics Informed Neural Networks · Spectral Bias · Frequency Decomposition · Ablation Study · Partial Differential Equations

1 Introduction

Partial differential equations (PDEs) are the mathematical backbone for modelling physical, biological, and engineering systems, including fluid flow, heat transfer, wave propagation, diffusion, reaction kinetics, and electromagnetic phenomena. Most of these equations come from conservation laws and first principles, yet closed-form solutions exist only for a narrow class of idealized cases. Once nonlinear dynamics, complex geometries, heterogeneous materials, or high-dimensional parameter spaces enter the picture, an analytical solution is usually out of reach. That is why numerical methods – finite differences, finite elements, spectral solvers – carry most of the load in practice. They work, but not cheaply: mesh generation, repeated simulation runs, and heavy compute are the price, and that price gets steeper for inverse problems, uncertainty quantification, and parameter estimation.

∗^{*}Corresponding author.

A PREPRINT

Scientific Machine Learning (SciML) takes a different route by folding the governing physical laws directly into a data-driven model, rather than relying on observed data alone – the network is pushed toward physically consistent solutions without needing as much labelled data. Physics-Informed Neural Networks (PINNs) (Raissi et al., 2019) are probably the most influential framework to come out of this line of work for forward and inverse PDE problems: governing equations, boundary conditions, and initial conditions all get folded into the training objective through automatic differentiation, so whatever the network learns has to satisfy the underlying physics. PINNs have since shown up in computational fluid dynamics, inverse modelling, biomedical engineering, and geophysical simulation, and are more or less a default tool in SciML at this point (Karniadakis et al., 2021; Cuomo et al., 2022; Luo et al., 2025).

That said, conventional PINNs are not without problems: optimization pathologies, imbalance between competing loss terms, and poor convergence on stiff or highly nonlinear PDEs have all been reported (Krishnapriyan et al., 2021; Wang et al., 2021, 2022). Spectral bias is probably the most studied of these – networks trained with gradient descent pick up low-frequency components of a target function well before high-frequency ones. Rahaman et al. (2019) first showed this in deep networks, and the Neural Tangent Kernel (NTK) later gave a reason why: low-frequency functions line up with the dominant kernel eigenmodes and so converge faster (Jacot et al., 2018). In practice this means PINNs often struggle with localized discontinuities, sharp gradients, oscillatory behaviour, or several interacting spatial or temporal scales – wave propagation (Moseley et al., 2020), reaction–diffusion systems, and other high-frequency or multi-scale PDEs are where this tends to bite hardest (Mustajab et al., 2024).

A number of frequency-aware fixes have been proposed for spectral bias, and they roughly split into four camps. One enriches the input itself: Fourier feature embeddings help a network approximate high-frequency functions (Tancik et al., 2020), and the periodic activations in Sinusoidal Representation Networks (SIREN) do something similar for oscillatory signals and their derivatives (Sitzmann et al., 2020). A second camp works on the optimization process directly, through adaptive activation functions, adaptive loss balancing, and learning-rate annealing (Jagtap et al., 2020a; Wang et al., 2021). A third tackles scalability with domain decomposition – Conservative PINNs (cPINNs), Extended PINNs (XPINNs), and Finite Basis PINNs (FBPINNs) all split the domain into subregions to make optimization and local accuracy more tractable (Jagtap et al., 2020b; Jagtap and Karniadakis, 2020; Moseley et al., 2023). And a fourth leans on gating mechanisms or deeper residual architectures for scalability and stability (Stiller et al., 2020; He et al., 2016). Between them, these advances have pushed the range of problems PINNs can handle considerably further.

Despite this progress, most existing work focuses on building more sophisticated architectures to fight spectral bias, and pays less attention to when these mechanisms actually help. Most frequency-aware methods assume that richer spectral representations are broadly useful across PDE types. But physical systems differ a lot in their spectral character: some PDEs are smooth and low-frequency, while others involve localized oscillations, several interacting frequency modes, or complex multi-scale dynamics. This raises a natural question: does explicit frequency decomposition consistently improve accuracy, or does its value depend on the spectral character of the PDE? As far as we know, few studies have directly compared frequency-decomposed architectures against matched-capacity ablations across PDEs of varying spectral complexity. That gap motivates the exploratory study we present here.

To study this question, we build the Dual-Branch Spectral-Gated Physics-Informed Neural Network (DBSG-PINN), a controlled experimental framework for examining the role of frequency decomposition in PINNs. It consists of two subnetworks that each specialize in a different frequency regime: a low-frequency branch using hyperbolic tangent activations to capture smooth solution components, and a high-frequency branch using sinusoidal activations to model oscillatory behaviour. Their outputs are combined by an adaptive gate that learns spatially varying mixing weights, letting the model balance the two representations according to local solution behaviour. Each component can be removed without changing the optimization procedure or (roughly) the network's capacity, which is what makes ablation studies possible: we can isolate the individual contributions of frequency decomposition and adaptive spectral routing.

We test the framework on five benchmark PDEs spanning a range of spectral complexity: the Burgers equation, Reaction-Diffusion equation, Allen-Cahn equation, Wave equation, and a Multimodal Wave equation, ranging from smooth, single-scale solutions to oscillatory, multi-scale dynamics. For each benchmark, we compare the full DBSG-PINN against three ablation variants, made by removing the high-frequency branch, the low-frequency branch, or the adaptive gate on its own, while keeping network capacity and optimization settings matched as closely as the architecture allows. This is meant to reduce, though not remove, the risk that any performance difference comes from model complexity or training strategy rather than frequency decomposition itself; we discuss what this control does and does not achieve in Section 4.

Across the five benchmarks, frequency decomposition clearly pays off on the spectrally complex ones: up to 59.2% lower relative L2L_{2} error on Multimodal Wave, plus better spectral recovery there more broadly. On the smoother, single-scale problems the benefit shrinks or disappears – a simpler fixed-combination variant edges out the full gated model on Burgers, and beats it outright on 1D Wave. We want to be careful about what this does and does not show:

A PREPRINT

these are observations from one seed across five benchmarks, not a general claim about frequency-decomposed PINNs as a class.

Beyond accuracy, we also looked at what the learned gate contributes across benchmarks. Its benefit is largest on the benchmarks with the richest spectral content and smallest (or negative) on the simplest ones – a pattern consistent with the gate exploiting frequency structure rather than acting as noise, though we infer this from benchmark-level comparisons rather than from a direct visualization of the gate’s spatial activations. That said, this comes from one trained model per benchmark, and it needs independent verification – ideally including an explicit visualization of g(x,t)g(x, t) against local spectral content – before we can call it a general property of the architecture.

References (30)

  • Automatic differentiation in machine learning: a survey
  • Scientific machine learning through physics-informed neural networks: Where we are and what's next
  • Deep residual learning for image recognition
  • Multilayer feedforward networks are universal approximators
  • Adaptive mixtures of local experts
  • Neural tangent kernel: Convergence and generalization in neural networks
  • Extended physics-informed neural networks (xpinns): A generalized space-time domain decomposition based deep learning framework for nonlinear partial differential equations
  • Adaptive activation functions accelerate convergence in deep and physics-informed neural networks
  • Conservative physics-informed neural networks on discrete domains for conservation laws: Applications to forward and inverse problems
  • Physics-informed machine learning
  • Adam: A method for stochastic optimization
  • Characterizing possible failure modes in physics-informed neural networks
  • On the limited memory BFGS method for large scale optimization
  • DeepXDE: A deep learning library for solving differential equations
  • Physics-informed neural networks for pde problems: A comprehensive review
  • Self-adaptive physics-informed neural networks using a soft attention mechanism (opens arXiv in a new tab)
  • Solving the wave equation with physics-informed deep learning (opens arXiv in a new tab)
  • Finite basis physics-informed neural networks (fbpinns): a scalable domain decomposition approach for solving differential equations
  • Physics-informed neural networks for high-frequency and multi-scale problems using transfer learning
  • Lux: Explicit Parameterization of Deep Neural Networks in Julia
  • On the spectral bias of neural networks
  • Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations
  • Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer
  • Implicit neural representations with periodic activation functions
  • Large-scale neural solvers for partial differential equations
  • Fourier features let networks learn high frequency functions in low dimensional domains
  • Understanding and mitigating gradient flow pathologies in physics-informed neural networks
  • When and why pinns fail to train: A neural tangent kernel perspective
  • J., Zhang, Y., Luo, T., Xiao, Y., and Ma, Z
  • NeuralPDE: Automating physics-informed neural networks (PINNs) with error approximations (opens arXiv in a new tab)