G-PINNs: Gaussian-based spatially weighted formulation for PINNs: 1D low-viscous Burgers

Kheir-eddine Otmani, Abdelhalim Azzouz, Nourelhouda Groun, Esteban Ferrer · 2026

Read G-PINNs: Gaussian-based spatially weighted formulation for PINNs: 1D low-viscous Burgers by Kheir-eddine Otmani, Abdelhalim Azzouz, Nourelhouda Groun, Esteban Ferrer (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2606-26013.txt.

Introduction

Kheir-eddine Otmani and colleagues improve physics-informed neural networks at their weakest point: shocks. These networks solve partial differential equations by training on the equation itself. Sharp jumps and steep fronts often blur or break the solution. Their G-PINNs framework weights the training loss by location. Gaussian weighting pushes effort toward high-gradient regions during training.

No advance knowledge of the shock is needed. The method finds and tracks moving jumps from the residual pattern alone. Tests use the one-dimensional Burgers equation at very low viscosity. Both standing and moving shocks are included. Errors land near thirteen and fourteen percent for the two cases. A standard network scores forty-five and thirty-three percent on the same tests. The gain comes purely from where training effort is spent. The recipe should transfer to other problems with unknown fronts.

Catalog record

CREATORKheir-eddine Otmani, Abdelhalim Azzouz, Nourelhouda Groun, Esteban Ferrer
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE31 KB
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2606.26013

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

G-PINNs: Gaussian-based spatially weighted formulation for PINNs: 1D low-viscous Burgers Kheir-eddine Otmani, Abdelhalim Azzouz, Nourelhouda Groun, Esteban Ferrer Abstract We introduce a Gaussian-based spatially weighted loss framework (G-PINNs) for physics-informed neural networks (PINNs) to improve the resolution of sharp discontinuities and shock waves. The proposed method dynamically prioritizes collocation points in high-gradient regions during optimization. Without requiring prior knowledge of the shock location or trajectory, the framework can autonomously detect and track moving discontinuities directly from the PDE residual landscape, making it broadly applicable to problems in which the position of shocks or discontinuities is unknown a priori . The approach is validated using one-dimensional quasi-inviscid Burgers’ problems exhibiting both stationary and moving shock waves. For the low-viscosity regime ( ν = 0.0005 ) (\nu=0.0005) , the proposed method achieves L 2 L_{2} relative errors of approximately 13 % 13\% and 14 % 14\% for the stationary and moving shock cases, respectively, compared with 45 % 45\% and 33 % 33\% obtained when using standard PINNs. 1 Introduction Partial differential equations (PDEs) serve as fundamental tools for describing complex systems in a wide range of disciplines, including cellular dynamics in biology, macroscopic traffic congestion, fluid mechanics, and stochastic fluctuations in financial markets. In many nonlinear PDEs, the solution may develop steep gradients, sharp discontinuities, or shock-like structures, even from smooth initial conditions; examples include shock waves in compressible flows, congestion fronts in traffic-flow models, moving interfaces in biological transport, and abrupt transitions in financial or stochastic conservation-law models. While traditional numerical schemes (e.g., finite differences, finite elements) have been for a long time the standard choice to solve PDEs, recently deep learning models and specifically Physics Informed Neural Networks (PINNs) are gaining traction due to their ability to integrate physical laws derived from the PDEs residuals directly all within a mesh-free environment. Unlike purely data-driven models, which act as a black box by interpolating between data points, PINNs provide physically consistent solutions with the governing equations. Despite their advantages, PINNs often failed to accurately resolve discontinuities and shock wave regimes. Because PINNs are fundamentally built using smooth activation functions, they exhibit a spectral bias toward low-frequency and smooth solutions. Consequently, they fail to capture sharp gradients and discontinuities. To address these difficulties, recent research has increasingly focused on adaptive refinement strategies that redistribute collocation points to regions characterized by sharp gradients, discontinuities, and shock waves. These limitations have motivated a broad class of refinement techniques aimed at improving both the approximation capability and the training efficiency of PINNs. A first line of work focuses on data and sampling refinement, including residual-based adaptive refinement (RAR), which focuses on intelligently adding more collocation points in regions where the PDE solution is difficult to learn. This approach was used in several researches such as that of Liu et al. [ 16 ] , where they introduced a novel adaptive sampling algorithm EI-RAR that increases the focus on sample points at the boundaries of the solution domain. The authors select a residual neural network and combine it with adaptive sampling algorithms for a series of numerical experiments, with numerical results indicating that, with the same number of residual points, the EI-RAR algorithm is more precise compared to other sampling methods. Tian et al. [ 23 ] proposes a Residual-Based Adaptive Refinement Physics-Informed Neural Networks (RAR-PINNs) method, which synergizes the nonlinear approximation capability of PINNs with a residual-driven adaptive sampling strategy. The authors demonstrate the efficiency of their tool using numerical experiments on two variants of the fifth-order KdV equation demonstrated, where RAR-PINNs significantly outperform conventional PINNs in terms of both accuracy and computational efficiency. Similar approaches employing residual-based adaptive refinement are introduced in [ 22 ] , which introduces G-RAS and its application on six widely used benchmarks, demonstrating that G-RAS can improve prediction accuracy and convergence speed compared to 10 SOTA methods, and also [ 6 ] where a novel residual-based adaptive PINN is developed for a two-phase flow problem in porous media. Another widely used approach is adaptive collocation strategies that concentrate training points in regions of high error or complex dynamics. Visser et al. [ 24 ] present a Point Adaptive Collocation Method for Artificial Neural Networks (PACMANN), which moves collocation points toward regions with higher residuals using gradient-based optimization algorithms guided by the gradient of the PINNs loss function. The authors apply their approach to several forward and inverse problems, including a low-regularity solution case and the 3D Navier–Stokes equations. The results show that the method achieves state-of-the-art accuracy–efficiency performance for low-dimensional problems and exceeds existing approaches in high-dimensional settings. Celaya et al. [ 4 ] proposed two adaptive collocation point selection strategies utilizing the QR Discrete Empirical Interpolation Method (QR-DEIM), a reduced-order modeling technique to efficiently approximate nonlinear functions. Their approach has proven to be successful in improving the accuracy of PINNs compared to existing methods, offering a promising direction for adaptive collocation point strategies. Other researchers have employed approaches such as that of Li et al. [ 14 ] and Lu et al. [ 17 ] Effectively reduces large ‐ error points early and improves training performance and achieves faster convergence with fewer points, which is superior for problems with localized large errors in their researchers, respectively. In parallel, domain decomposition methods, such as extended PINNs (XPINNs) proposed by Jagtap et al. [ 9 ] and hp-adaptive variants introduced by Kharazmi et al. [ 12 ] , divide the computational domain into subregions to allow localized learning, better scalability, and targeted refinement. Other approaches emphasize architectural enhancements, including adaptive activation functions [ 10 , 26 ] , Fourier feature embeddings [ 25 , 11 ] , and sinusoidal networks [ 20 ] , which aim to mitigate spectral bias and improve the representation of high-frequency solution components. Additionally, multi-fidelity and hybrid methods integrate coarse and fine data or combine PINNs with classical numerical solvers (e.g., finite element or finite difference methods) to enhance robustness and accuracy. For shock capturing problems, Han et al. [ 5 ] introduced an ’RH-piecewise PINN’ framework that combines domain-decomposition methods with the Rankine-Hugoniot (RH) jump conditions to accurately capture sharp, non-linear shock waves without relying on dense, resource-heavy grid sampling. Recently, increasing attention has been directed toward the loss function itself as a central source of inefficiency. In standard PINNs, the loss is composed of multiple competing terms—typically enforcing PDE residuals, boundary conditions, and initial constraints—whose imbalance can lead to gradient stiffness and poor optimization trajectories. To address this issue, a variety of loss function refinement and adaptive weighting strategies have been proposed. These include heuristic and rule-based weighting. Researchers such as Braga-Neto et al. [ 2 ] provided in their paper a definitive diagnostic that explains why weighting is necessary. More importantly, they introduce Learning Rate Annealing (LRA), which serves as a direct bridge between this theory and a practical adaptive weighting strategy. Meanwhile, Heydari et al. [ 7 ] proposed a straightforward heuristic family of algorithms that dynamically adjusts the weights of different loss components based on their live performance statistics. on the other hand, Cao et al. [ 3 ] introduced an adaptive weighting algorithm that avoids the redundancy of manual parameter tuning by incorporating a correlation loss term and

Read the complete text