TLDR: Researchers have developed a Variational Physics-Informed Neural Network (VPINN) framework that combines the Petrov-Galerkin method with deep neural networks to accurately solve singularly perturbed boundary value problems and parabolic partial differential equations. This new approach uses neural networks to approximate solutions and localized hat functions for testing, demonstrating improved accuracy and stability, especially in problems with sharp boundary layers, without requiring complex mesh generation.
A new research paper introduces an innovative approach to solving a class of challenging mathematical problems known as singularly perturbed boundary value problems (SPPs). These problems are common in various scientific and engineering fields, including fluid dynamics, chemical engineering, and control theory, but are notoriously difficult to solve due to the presence of “boundary layers” – regions where the solution changes very rapidly.
Traditionally, methods like the finite element method (FEM) and its variants, such as the Discontinuous Galerkin (DG) method, have been used to tackle SPPs. While effective, these methods often require complex mesh generation, which can be computationally intensive and difficult to manage, especially for problems with irregular domains or high dimensions.
In recent years, deep neural networks (DNNs) have emerged as powerful tools for approximating functions and solving differential equations. This led to the development of Physics-Informed Neural Networks (PINNs), which embed physical laws directly into the neural network’s training process. PINNs are mesh-free and can handle complex geometries, but they can struggle to accurately capture the sharp variations characteristic of SPPs.
The new work, titled “A Variational Physics-Informed Neural Network Framework Using Petrov-Galerkin Method for Solving Singularly Perturbed Boundary Value Problems,” proposes a Variational Physics-Informed Neural Network (VPINN) framework that significantly enhances the ability of neural networks to solve these difficult problems. Authored by Vijay Kumar and Gautam Singh from the National Institute of Technology Tiruchirappalli, India, this framework integrates the Petrov-Galerkin formulation with deep neural networks.
How the New VPINN Framework Works
The core idea of this VPINN framework is to combine the strengths of neural networks with a classical numerical technique. Instead of solving the differential equations pointwise, as standard PINNs do, VPINNs enforce the equations in a “weak” or “variational” form. This means that the residual (the error in satisfying the equation) is required to be orthogonal to a set of “test functions” over the problem domain.
In this specific VPINN setup, the solution is approximated by neural network functions, which form the “trial space.” For the “test space,” the researchers use simple, localized “hat functions.” This combination allows the method to effectively capture the sharp boundary layers without needing a dense, problem-specific mesh. The framework also incorporates interface penalty terms to improve numerical stability and uses automatic differentiation to compute source terms, further enhancing accuracy.
For problems with fixed boundaries (Boundary Value Problems), Dirichlet boundary conditions (where the solution’s value is known at the boundaries) are imposed as “hard constraints.” This means the neural network’s architecture is designed to inherently satisfy these conditions, eliminating the need for additional penalty terms in the loss function and improving convergence.
For time-dependent problems, such as parabolic partial differential equations, the framework uses the backward Euler scheme for temporal discretization, allowing it to handle evolving systems effectively.
Also Read:
- Physics-Informed Neural Networks Advance Minimal Surface Solutions in Curved Spacetime
- A Novel Training Method: Decoupling Search and Learning in Neural Networks
Training and Performance
The neural networks in this VPINN framework are trained using a two-stage optimization process. Training begins with the Adam optimizer for faster initial progress, followed by fine-tuning with the L-BFGS optimizer to achieve higher accuracy. The network architecture typically consists of four hidden layers, each with 20 neurons, and uses the hyperbolic tangent (tanh) activation function.
The researchers conducted extensive numerical experiments on various benchmark problems, including one-parameter convection-diffusion, reaction-diffusion, and parabolic initial boundary-value problems, as well as two-parameter singularly perturbed problems. The results consistently demonstrated that the proposed VPINN method achieved significantly improved accuracy in both L2 and maximum norms compared to standard VPINN approaches, particularly in capturing the intricate details within boundary layers.
This new VPINN framework offers a stable, accurate, and mesh-free solution technique for both steady-state and time-dependent singularly perturbed problems. By intelligently combining deep learning with classical variational methods, it provides a powerful tool for scientists and engineers to tackle complex problems that were previously computationally intensive or difficult to solve with high precision.


