[Paper Review] One-Shot Transfer Learning of Physics-Informed Neural Networks
This paper proposes a one-shot transfer learning framework for Physics-Informed Neural Networks (PINNs) that enables instant inference for linear systems of ODEs and PDEs by computing optimal output weights in closed form. By freezing pre-trained hidden layers and solving a matrix inversion for the output layer, the method achieves high-accuracy solutions without retraining, reducing inference time by orders of magnitude.
Solving differential equations efficiently and accurately sits at the heart of progress in many areas of scientific research, from classical dynamical systems to quantum mechanics. There is a surge of interest in using Physics-Informed Neural Networks (PINNs) to tackle such problems as they provide numerous benefits over traditional numerical approaches. Despite their potential benefits for solving differential equations, transfer learning has been under explored. In this study, we present a general framework for transfer learning PINNs that results in one-shot inference for linear systems of both ordinary and partial differential equations. This means that highly accurate solutions to many unknown differential equations can be obtained instantaneously without retraining an entire network. We demonstrate the efficacy of the proposed deep learning approach by solving several real-world problems, such as first- and second-order linear ordinary equations, the Poisson equation, and the time-dependent Schrodinger complex-value partial differential equation.
Motivation & Objective
- To address the high computational cost of retraining PINNs for each new differential equation instance.
- To enable one-shot inference for linear systems of ODEs and PDEs using transfer learning.
- To develop a framework where pre-trained PINN hidden layers can be reused with minimal adaptation for new equations.
- To demonstrate that optimal output weights for new equations can be computed analytically via matrix inversion.
- To extend the approach to both real and complex-valued PDEs, such as the time-dependent Schrödinger equation.
Proposed method
- Freeze the hidden layers of a PINN pre-trained on a family of linear differential equations.
- Reduce the solution of new equations to optimizing only the output layer weights, treated as a linear head.
- Formulate the optimal output weights as the solution to a normal equations system derived from loss and constraint terms.
- Use matrix inversion to compute the closed-form solution for the output weights, enabling one-shot inference.
- For complex-valued PDEs like the Schrödinger equation, decompose the wavefunction into real and imaginary parts and solve the coupled system jointly.
- Train the network on multiple configurations of initial conditions and coefficients to learn a shared latent space of solutions.
Experimental results
Research questions
- RQ1Can transfer learning in PINNs enable one-shot inference for unseen linear differential equations without retraining?
- RQ2Is the optimal output weight configuration for a new differential equation computable in closed form via matrix inversion?
- RQ3How does the method perform across different types of linear ODEs and PDEs, including the Poisson and Schrödinger equations?
- RQ4What is the impact of the F-principle on transfer learning performance when solving high-frequency components?
- RQ5Can the framework be extended to nonlinear systems using gradient-based fine-tuning?
Key findings
- The proposed method achieves one-shot inference for linear ODEs and PDEs by computing optimal output weights via matrix inversion, eliminating the need for iterative training.
- For the time-dependent Schrödinger equation, the method produces solutions with minimal error, as measured by MSE, across diverse initial conditions and parameters.
- The predicted real and imaginary components of the wavefunction closely match the analytic solution, with tight coupling to ground truth in test configurations.
- The method maintains high accuracy even for higher-frequency solutions, though performance degrades slightly with increasing $p_0$, consistent with the F-principle.
- The framework significantly reduces inference time—solutions are obtained in seconds, compared to minutes or hours for full retraining.
- In nonlinear settings, the approach still enables accurate solutions using gradient descent for the output layer, demonstrating robustness beyond linear systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.