arXiv:2611.03964cs.LGNov 2026

Manuscript Offprint

arXiv:2611.03964

Ermakov--Based embeddings as a parameter-free layer for physics-informed neural networks

Roberto Bernal-Jaquez, Roberto Romero Huerta, Alexander Schaum

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

Abstract

Evolution equations with time-dependent coefficients force a neural solver to spend capacity on a scale that the equation already determines. We show that a single classical object, the Ermakov-Pinney scale function ρ\rho, can be written into the input layer of a physics-informed neural network as a parameter-free embedding. One construction covers three problem families through the two signs of the Pinney constant cc: linear diffusion (c=−1,ω≡0c = -1, \omega \equiv 0), diffusion in a time-dependent confining trap (c=−1,ω≠0c = -1, \omega \neq 0), and the quantum oscillator with time-dependent frequency (c=+1c = +1). An exact moment identity gives ρ\rho in closed form from the initial data alone, so no auxiliary network or knowledge of the solution is needed. Our central finding is comparative: each family requires a different component of the construction and has a different honest control. In family I, the diffusive-time reparametrisation alone reproduces most of the gain, so that family is a poor test of the idea and shows why an ablation is mandatory. In family II no time reparametrisation exists, the control degrades accuracy, and the amplitude prefactor becomes essential (40.8x). In family III the adiabatic approximation also fails, and the quadratic phase factor is what matters (5.7x). The method does not help when the reduced solution does not converge to a fixed point: its extrapolation advantage then disappears. The reduction itself is the classical scaling-variable change of the self-similar-asymptotics literature; what is new is the moment identity that makes it architectural for time-dependent coefficients, and the comparative anatomy above.

Keywords: physics-informed neural networks, Ermakov–Lewis invariant, Pinney equation, scaling variables, self-similarity, inductive bias

1 Introduction

Physics-informed neural networks (PINNs) [1] struggle when a solution develops multiple scales or when coefficients vary rapidly [2, 3]. Supplying the network with structure that the equation already possesses is a natural remedy, and symmetry has been injected into neural PDE solvers as data augmentation [4], as a soft loss penalty [5], and architecturally through equivariant moving frames [6].

*Corresponding author: rbernal@cua.uam.mx

This paper takes the architectural route for one specific classical object. Ermakov [7] and Lewis [8] showed that an auxiliary function ρ\rho obeying the Pinney equation [9]

ρ¨+ω2(t) ρ=cρ3(1)\ddot{\rho}+\omega^{2}(t)\,\rho=\frac{c}{\rho^{3}} \tag{1}

generates an exact invariant for the parametric oscillator. We observe that the same ρ\rho organises three superficially unrelated problems, that the sign of cc is what distinguishes them, and that writing the associated change of variables into the architecture costs no parameters. We call the resulting model an Ermakov-based network (EB-NET).