Physics-Informed Residuals for Adaptive Mesh Refinement in Finite-Difference PDE Solvers Henry Kasumba, Ronald Katende Abstract Classical finite-difference solvers remain reliable tools for partial differential equations, but their efficiency depends on where mesh resolution is placed. Uniform refinement can waste degrees of freedom when solution difficulty is localised near sharp gradients, fronts, oscillations, or constraint-sensitive regions. This paper studies a hybrid strategy in which a physics-informed neural network (PINN) is used not as the final solver, but as an off-grid residual probe for adaptive mesh refinement. The PINN residual is sampled over the domain, converted into cellwise indicators, and used to guide refinement before the final approximation is computed by a finite-difference solver. The method is evaluated on three benchmarks. The main full-solver validation uses the one-dimensional viscous Burgers equation with a nonuniform finite-difference solve on the adapted meshes. PINN-threshold refinement attains final relative L 2 L^{2} error 0.021067 0.021067 with 60 60 degrees of freedom, compared with 0.022617 0.022617 for uniform refinement with 192 192 degrees of freedom. At matched mesh size, PINN-threshold reduces the error by about 67.5 % 67.5\% . PINN-Dörfler refinement gives similar performance, with error 0.021264 0.021264 using 58 58 degrees of freedom. A gradient indicator remains slightly more accurate, so the result supports usefulness rather than universal superiority. Manufactured 2D and 3D proxy tests, based on a nonlinear Schrödinger equation and an incompressible Navier–Stokes system, show that PINN residuals can organise structured refinement and improve over random refinement, although they do not consistently outperform gradient or uniform baselines. The results support PINN-guided AMR as a residual-indicator strategy for transferring physics-informed diagnostic information into finite-difference mesh adaptation while preserving the classical solver as the final approximation engine. Keywords physics-informed neural networks \cdot adaptive mesh refinement \cdot residual indicators \cdot finite difference methods \cdot nonuniform grids \cdot Burgers equation \cdot nonlinear Schrödinger equation \cdot Navier–Stokes equations \cdot scientific computing \cdot hybrid numerical methods 1 Introduction and related work We study the problem of using physics-informed neural network residuals to guide adaptive mesh refinement for classical numerical solvers of partial differential equations. Partial differential equations model many physical and engineering systems, including heat transfer, fluid motion, wave propagation, transport, and structural response. Since closed-form solutions are available only for restricted problem classes, practical computation usually relies on numerical discretisation. Finite difference methods approximate differential operators on structured grids 17 . Finite element methods approximate weak formulations on mesh-based trial spaces 32 ; 12 . Finite volume methods enforce balance laws over control volumes and are widely used for conservation laws and transport problems 10 . For linear initial-value problems, the Lax–Richtmyer theorem gives the classical link between consistency, stability, and convergence 16 . This theoretical structure is one reason classical solvers remain central in scientific computing. Mesh resolution is a central cost driver in these methods. Uniform refinement is simple and robust, but it may waste degrees of freedom when the solution has localised layers, sharp gradients, fronts, boundary effects, or other spatially concentrated features. Adaptive mesh refinement addresses this by placing additional resolution where the current approximation is least reliable. Early residual-based finite element adaptivity formalised this idea through computable a posteriori indicators 2 . Adaptive mesh refinement for time-dependent grid-based problems was also developed in the finite difference and finite volume literature, where local refinement can reduce the cost of resolving moving fronts or localised features 3 . Modern accounts of a posteriori error estimation emphasise that the quality of an adaptive method depends on the reliability and efficiency of the indicator used for marking cells 1 ; 28 . Physics-informed neural networks provide a different way to evaluate equation residuals. A PINN represents the unknown solution by a neural network u_{\theta} and trains the parameters by penalising the governing equation residual together with boundary, initial, and data mismatch terms 23 . Because derivatives of u_{\theta} can be computed by automatic differentiation, the residual can be evaluated at points that are not tied to the mesh. This makes the PINN residual a candidate refinement signal: it can be sampled over a domain and aggregated over cells before a classical solver is run on the adapted mesh. The present paper uses the PINN in this limited role. We do not propose a standalone PINN solver. We use a trained or partially trained PINN as a residual probe for a classical adaptive solve. The PINN residual identifies cells where the governing equation is poorly satisfied by the neural representation. Those cells are refined, and the final approximation in the full-solver experiment is computed by a finite-difference method. This keeps the classical solver as the numerical engine while allowing the neural residual to contribute diagnostic information. This distinction matters because PINNs still face known reliability and training difficulties. PINNs have been applied to a wide range of PDEs, including convection–diffusion problems 30 , moving-boundary problems 31 , high-dimensional equations 18 , and fluid-dynamics settings 13 . However, their optimisation can be stiff and sensitive to the relative scaling of residual, boundary, and data terms 29 . Training can also fail near sharp features or over long time intervals when the residual loss does not guide the optimiser effectively 14 . Theoretical analyses have made progress, but residual minimisation still requires assumptions on sampling, stability, approximation, and regularity before it can be connected to solution error 7 . For this reason, a PINN residual should not be treated as a complete error certificate without additional conditions. Earlier neural PDE solvers already used trial functions and residual minimisation to approximate differential equations 15 . The Deep Ritz method connected neural approximation with variational energy minimisation for elliptic problems 27 . The modern PINN formulation made residual-based training more broadly usable through automatic differentiation and composite loss functions 23 . These developments show that neural networks can encode PDE constraints, but they do not remove the need for careful numerical validation when PINNs are used inside solver workflows. Recent theory clarifies both the usefulness and the limits of residual information. Convergence analyses for PINNs relate residual decay to solution error under assumptions on stability and approximation capacity 25 . Residual-based estimates for high-dimensional PDEs show how sampling and residual control enter error bounds 21 . A posteriori analyses also show that residual information can be meaningful, but only when the discrete residual is connected to a suitable continuous norm or stability estimate 6 . Generalisation studies further show that the training residual, test residual, and solution error need not coincide unless sampling and loss design are controlled 9 ; 4 . These results support the use of PINN residuals as indicators, but they also motivate the conservative interpretation adopted here. Several PINN extensions are relevant to adaptive refinement. Residual-based adaptive refinement and adaptive collocation strategies select additional training points in regions where the physics loss is large 19 . Self-adaptive weighting changes the relative emphasis of residual and constraint terms during training 20 . Domain-decomposed PINN methods localise the approximation over subdomains and can improve robustness for heterogeneous or multiscale problems 26 ; 11 . Finite-basis PINNs introduce local support functions, bringing the architecture closer to mesh-based locality 22 . Multilevel PINN constructions further exploit scale separation and domain structure 8 . The present paper is related to this literature, but its objective is different: the residual does not mainly select more collocation points for the PINN. It selects mesh cells for a classical solver. The paper makes three contributions. It formulates a PINN-guided AMR workflow that converts a physics-informed residual field into cellwise refinement indicators for classical solvers. It separates the diagnostic role of the PINN residual from the stronger and generally unjustified claim that a PINN residual alone certifies global solution accuracy. It evaluates the resulting refinement strategy against uniform refinement, random refinement, a gradient-based indicator, a reference-guided diagnostic indicator, and standalone PINN approximation. The claim is deliberately bounded: PINN-guided AMR is useful when the residual field localises under-resolved regions well enough to improve the classical mesh, and when that improvement justifies the cost of constructing the residual probe. This framing treats PINNs as complements to classical numerical methods. The classical solver supplies the final discretised approximation. The PINN supplies an off-grid residual diagnostic that can guide where resolution should be placed. The resulting method is a hybrid adaptive strategy for PDE problems where localised features make uniform refinement inefficient. 2 PINN-guided adaptive refinement framework This section defines the mathematical setting and the adaptive procedure used in the experiments. The PINN is used only as a residual probe. It supplies a physics-informed refinement signal, while the final approximation in the main validation experiment is computed by a classical finite-difference solver on the adapted mesh. 2.1 Problem setting Let \Omega\subset\mathbb{R}^{d} , with d\in\{1,2,3\} , be a bounded spatial domain, and let T>0 be the final time. Let u:\Omega\times[0,T]\to\mathbb{R}^{q} denote the unknown solution field. For scalar equations, q=1 . For coupled systems, q is the number of physical components. For example, in the Navier–Stokes proxy test, u contains velocity components and pressure. We write the governing problem as \mathcal{N}[u](\mathbf{x},t)=f(\mathbf{x},t),\qquad(\mathbf{x},t)\in\Omega\times(0,T], (2.1) with boundary condition \mathcal{B}[u](\mathbf{x},t)=g(\mathbf{x},t),\qquad(\mathbf{x},t)\in\partial\Omega\times(0,T], (2.2) and initial condition u(\mathbf{x},0)=u_{0}(\mathbf{x}),\qquad\mathbf{x}\in\Omega. (2.3) Here \mathcal{N} is the differential operator, \mathcal{B} is the boundary operator, f is a source or forcing term, g is the prescribed boundary data, and u_{0} is the initial data. The notation is chosen to keep the formulation independent of the particular PDE. The symbol u denotes the full unknown state, not necessarily a scalar. For scalar problems such as Burgers, u\in\mathbb{R} . For coupled problems, u\in\mathbb{R}^{q} collects all state variables needed by the residual. Thus, for the nonlinear Schrödinger problem, u=(p,q) contains the real and imaginary components of the complex field, while for the Navier–Stokes proxy test, u=(v_{1},v_{2},v_{3},p) contains velocity and pressure. This convention allows the same residual-indicator construction to be used for scalar equations, complex-valued systems written in real form, and constrained flow systems. Let \mathcal{T}_{\ell} denote the mesh at adaptive level \ell , and let K\in\mathcal{T}_{\ell} denote one mesh cell. The measure of K is denoted by |K| . In the one-dimensional full-solver experiment, K is an interval and refinement is by bisection. In the two-dimensional proxy experiment, K is a quadrilateral cell and refinement splits it into four children. In the three-dimensional proxy experiment, K is a hexahedral cell and refinement uses an octree-style split into eight children. These are the refinement rules used in the experiments. Other mesh types require their own conforming refinement rules and are not considered here. Classical finite-difference methods approximate derivatives by grid stencils and reduce ( 2.1 )–( 2.3 ) to an algebraic problem on the mesh 17 . The placement of degrees of freedom affects both accuracy and cost. This motivates adaptive refinement when the numerical difficulty is spatially localised. The adaptive strategy follows the standard solve–estimate–mark–refine pattern used in adaptive numerical methods 28 . The difference is the marking signal. Instead of using only a classical mesh-dependent indicator, we compute a PINN residual over each cell and use it as a physics-informed adaptive indicator. The residual is not treated as a certified a posteriori error bound. Its value is assessed through comparison with uniform, random, gradient-based, and reference-guided baselines. 2.2 PINN residual indicator Let u_{\theta}:\Omega\times[0,T]\to\mathbb{R}^{q} be a neural approximation of u , with trainable parameters \theta . Following the standard PINN construction, u_{\theta} is trained by penalising the PDE residual together with boundary and initial-condition mismatch terms 23 . For ( 2.1 )–( 2.3 ), we use \mathcal{J}(\theta)=\lambda_{r}\mathcal{J}_{r}(\theta)+\lambda_{b}\mathcal{J}_{b}(\theta)+\lambda_{i}\mathcal{J}_{i}(\theta), (2.4) where \mathcal{J}_{r}(\theta)=\frac{1}{N_{r}}\sum_{j=1}^{N_{r}}\left\|\mathcal{N}[u_{\theta}](\mathbf{x}^{r}_{j},t^{r}_{j})-f(\mathbf{x}^{r}_{j},t^{r}_{j})\right\|_{2}^{2}, (2.5) \mathcal{J}_{b}(\theta)=\frac{1}{N_{b}}\sum_{j=1}^{N_{b}}\left\|\mathcal{B}[u_{\theta}](\mathbf{x}^{b}_{j},t^{b}_{j})-g(\mathbf{x}^{b}_{j},t^{b}_{j})\right\|_{2}^{2}, (2.6) and \mathcal{J}_{i}(\theta)=\frac{1}{N_{i}}\sum_{j=1}^{N_{i}}\left\|u_{\theta}(\mathbf{x}^{i}_{j},0)-u_{0}(\mathbf{x}^{i}_{j})\right\|_{2}^{2}. (2.7) Here N_{r} , N_{b} , and N_{i} are the numbers of residual, boundary, and initial-condition training samples. The points \{(\mathbf{x}^{r}_{j},t^{r}_{j})\}_{j=1}^{N_{r}} are interior collocation points, \{(\mathbf{x}^{b}_{j},t^{b}_{j})\}_{j=1}^{N_{b}} are boundary samples, and \{\mathbf{x}^{i}_{j}\}_{j=1}^{N_{i}} are initial-condition samples. The nonnegative weights \lambda_{r},\lambda_{b},\lambda_{i} balance the three loss terms. All derivatives in \mathcal{N}[u_{\theta}] are computed by automatic differentiation. After training, the pointwise PINN residual is r_{\theta}(\mathbf{x},t)=\mathcal{N}[u_{\theta}](\mathbf{x},t)-f(\mathbf{x},t), (2.8) and its magnitude is \rho_{\theta}(\mathbf{x},t)=\|r_{\theta}(\mathbf{x},t)\|_{2}. (2.9) For each cell K\in\mathcal{T}_{\ell} , let \mathcal{P}_{K}=\{(\mathbf{x}_{K,m},t_{K,m})\}_{m=1}^{M_{K}} be the set of residual-probe points assigned to K . Here M_{K} is the number of probe points in cell K . The weights \omega_{K,m}\geq 0 are quadrature or averaging weights satisfying \sum_{m=1}^{M_{K}}\omega_{K,m}=1. The cellwise PINN residual indicator is \eta_{K}^{2}=|K|\sum_{m=1}^{M_{K}}\omega_{K,m}\left\|r_{\theta}(\mathbf{x}_{K,m},t_{K,m})\right\|_{2}^{2}. (2.10) The factor |K| accounts for cell size and makes the indicator an approximation of a local residual energy over the cell rather than a pointwise average alone. This is important on nonuniform meshes, since otherwise small and large cells with similar pointwise residuals would be treated as equally important. The Euclidean norm is used because the residual may be vector-valued. For scalar equations it reduces to the absolute value, while for coupled systems it combines the component residuals into one marking quantity. The weights \omega_{K,m} represent either quadrature weights or simple averaging weights over the probe points in K . For steady problems, the time coordinate is omitted. For time-dependent problems, the probe points are sampled at selected time levels or over the space-time domain, as specified in each experiment. The indicator \eta_{K} is used only for marking cells. It is not claimed to be a certified a posteriori error estimator. Its role is to rank cells according to the magnitude of the PINN residual and to test whether this ranking improves mesh placement compared with uniform, random, and baseline adaptive indicators. 2.3 Cell marking and refinement Two marking rules are tested: threshold marking and Dörfler marking. For threshold marking, define \eta_{\max}^{(\ell)}=\max_{K\in\mathcal{T}_{\ell}}\eta_{K}. (2.11) Given a threshold parameter 0<\tau<1 , the marked set is \mathcal{M}_{\ell}^{\mathrm{thr}}=\left\{K\in\mathcal{T}_{\ell}:\eta_{K}\geq\tau\eta_{\max}^{(\ell)}\right\}. (2.12) Thus every cell whose indicator is at least a fraction \tau of the maximum indicator is refined. For Dörfler marking, choose 0<\vartheta<1 . The marked set \mathcal{M}_{\ell}^{\mathrm{Dor}}\subset\mathcal{T}_{\ell} is selected so that \sum_{K\in\mathcal{M}_{\ell}^{\mathrm{Dor}}}\eta_{K}^{2}\geq\vartheta\sum_{K\in\mathcal{T}_{\ell}}\eta_{K}^{2}. (2.13) In practice, cells are sorted in decreasing order of \eta_{K}^{2} . Cells are then added to \mathcal{M}_{\ell}^{\mathrm{Dor}} until the inequality in ( 2.13 ) is first satisfied. Dörfler marking is widely used in adaptive finite element analysis because it selects cells carrying a prescribed fraction of the total indicator mass 5 . Here it is used as one of the two PINN-guided marking variants. The two marking rules serve different purposes. Threshold marking tests whether the largest residual regions alone are sufficient to guide refinement. Dörfler marking tests a bulk-residual criterion, where refinement is distributed over the set of cells carrying a prescribed fraction of the total residual mass. Using both rules avoids tying the method to a single marking heuristic and allows the experiments to distinguish sharply localised residual behaviour from more distributed residual behaviour. After marking, all cells in the selected set \mathcal{M}_{\ell} are refined using the fixed refinement rule for the experiment. For d=1 , marked intervals are bisected. For d=2 , marked quadrilateral cells are split into four children. For d=3 , marked hexahedral cells are split into eight children. The residual construction and marking rules are the same in all dimensions; only the geometric refinement operation changes. 2.4 PINN-guided AMR algorithm The adaptive loop follows the standard structure \text{solve}\;\longrightarrow\;\text{estimate}\;\longrightarrow\;\text{mark}\;\longrightarrow\;\text{refine}\;\longrightarrow\;\text{solve again}, with the PINN residual indicator ( 2.10 ) used in the estimate and mark stages. The procedure is stated in Algorithm 1 . In the reported experiments, the loop is run for a fixed number of refinement rounds so that all methods can be compared under the same refinement budget. Algorithm 1 PINN-guided adaptive mesh refinement for d=1,2,3 1: PDE operator \mathcal{N} , data f,g,u_{0} , initial mesh \mathcal{T}_{0}\subset\Omega\subset\mathbb{R}^{d} , marking rule \mathsf{mark}\in\{\mathrm{threshold},\mathrm{Doerfler}\} , marking parameter \tau or \vartheta , stopping tolerance \varepsilon , maximum refinement level L_{\max} . 2: Adapted mesh \mathcal{T}_{L} and numerical approximation u_{h}^{L} . 3: Set \ell=0 . 4: Solve ( 2.1 )–( 2.3 ) on \mathcal{T}_{0} with the chosen classical solver or proxy approximation to obtain u_{h}^{0} . 5: repeat 6: Train or update the PINN u_{\theta} by minimizing ( 2.4 ). 7: for each cell K\in\mathcal{T}_{\ell} do 8: Choose residual-probe points \mathcal{P}_{K}=\{(\mathbf{x}_{K,m},t_{K,m})\}_{m=1}^{M_{K}} . 9: Evaluate r_{\theta}(\mathbf{x}_{K,m},t_{K,m}) using ( 2.8 ). 10: Compute the cell indicator \eta_{K} using ( 2.10 ). 11: end for 12: if \mathsf{mark}=\mathrm{threshold} then 13: Set \mathcal{M}_{\ell}=\mathcal{M}_{\ell}^{\mathrm{thr}} using ( 2.12 ). 14: else 15: Sort cells by decreasing \eta_{K}^{2} and set \mathcal{M}_{\ell}=\mathcal{M}_{\ell}^{\mathrm{Dor}} using ( 2.13 ). 16: end if 17: Refine the marked cells: \mathcal{T}_{\ell+1}=\operatorname{Refine}(\mathcal{T}_{\ell},\mathcal{M}_{\ell}). 18: Solve or evaluate the problem on \mathcal{T}_{\ell+1} to obtain u_{h}^{\ell+1} . 19: Compute the stopping diagnostic S_{\ell+1} . 20: Set \ell\leftarrow\ell+1 . 21: until S_{\ell}\leq\varepsilon or \ell=L_{\max} 22: return \mathcal{T}_{\ell} , u_{h}^{\ell} . Here S_{\ell} denotes the prescribed stopping diagnostic. When an exact or reference solution is available, S_{\ell} can be the final-time relative L^{2} error, the space-time relative L^{2} error, or another reported validation metric. When no certified reference is available, S_{\ell} may be replaced by a fixed mesh budget or a fixed maximum refinement level. In the experiments reported in this paper, all methods are run for the same maximum refinement level L_{\max}=5 , so the comparison is made at a common refinement budget rather than through an adaptive stopping tolerance. The algorithm is dimension-independent at the level of residual evaluation, indicator construction, and marking. Only the refinement map \operatorname{Refine}(\mathcal{T}_{\ell},\mathcal{M}_{\ell}) changes with dimension: interval bisection in one dimension, quadrilateral subdivision in two dimensions, and hexahedral octree subdivision in three dimensions. 2.5 Error and performance measures When an exact or high-resolution reference solution u_{\mathrm{ref}} is available, the relative L^{2} error is E_{L^{2}}=\frac{\|u_{h}-u_{\mathrm{ref}}\|_{L^{2}(\Omega)}}{\|u_{\mathrm{ref}}\|_{L^{2}(\Omega)}}. (2.14) For the Burgers full-solver experiment, u_{h} denotes the nonuniform finite-difference solution on the adapted mesh. For the higher-dimensional manufactured tests, u_{h} denotes the corresponding proxy approximation used to evaluate residual localisation and mesh construction. When derivative accuracy is relevant, the relative H^{1} error is E_{H^{1}}=\frac{\|u_{h}-u_{\mathrm{ref}}\|_{H^{1}(\Omega)}}{\|u_{\mathrm{ref}}\|_{H^{1}(\Omega)}}. (2.15) For time-dependent problems, the space-time relative L^{2} error is E_{T}=\left(\frac{\int_{0}^{T}\|u_{h}(\cdot,t)-u_{\mathrm{ref}}(\cdot,t)\|_{L^{2}(\Omega)}^{2}\,dt}{\int_{0}^{T}\|u_{\mathrm{ref}}(\cdot,t)\|_{L^{2}(\Omega)}^{2}\,dt}\right)^{1/2}. (2.16) For complex-valued fields \psi=p+iq , the pointwise squared error is computed from the real and imaginary components: |\psi_{h}-\psi_{\mathrm{ref}}|^{2}=(p_{h}-p_{\mathrm{ref}})^{2}+(q_{h}-q_{\mathrm{ref}})^{2}. (2.17) For the Navier–Stokes proxy test, velocity and pressure are evaluated as separate manufactured fields: E_{\mathbf{v}}=\frac{\|\mathbf{v}_{h}-\mathbf{v}_{\mathrm{ref}}\|_{L^{2}(\Omega)}}{\|\mathbf{v}_{\mathrm{ref}}\|_{L^{2}(\Omega)}},\qquad E_{p}=\frac{\|p_{h}-p_{\mathrm{ref}}\|_{L^{2}(\Omega)}}{\|p_{\mathrm{ref}}\|_{L^{2}(\Omega)}}. (2.18) These are manufactured proxy diagnostics. They are not mixed finite element velocity–pressure error estimates and are not used to claim full incompressible-flow solver validation. The relative L^{2} norm is the primary accuracy measure because the experiments compare global field recovery across meshes with different degrees of freedom. It gives a scale-normalised mean-square measure of the discrepancy between the computed field and the reference field, making errors comparable across refinement strategies. The space-time relative L^{2} error is reported for the Burgers experiment because a final-time error alone can miss transient discrepancies during the evolution. The H^{1} error is defined for completeness when derivative accuracy is relevant, but it is not the main metric in the present validation because the central question is whether the residual indicator improves mesh placement for field approximation and residual localisation. The complex-valued error in ( 2.17 ) is used for the nonlinear Schrödinger test because the real and imaginary parts jointly determine the amplitude and phase of the complex field. The separate velocity and pressure diagnostics in ( 2.18 ) are used for Navier–Stokes because velocity and pressure represent different physical quantities and should not be collapsed into a single unweighted scalar error in this proxy validation. The main reported performance measures are error versus degrees of freedom, final mesh size, number of refinement rounds, and comparison with uniform, random, gradient-based, reference-guided, and standalone PINN baselines. Error-versus-DOF is the primary efficiency measure because the purpose of adaptive refinement is to reduce error by placing resolution selectively rather than by increasing the mesh uniformly. Runtime is not used as the primary comparison metric because the Burgers full-solver experiment and the higher-dimensional proxy experiments do not represent the same computational workload. Timing is therefore reported only when it is comparable across methods within the same validation mode. At a prescribed error tolerance \varepsilon , the degree-of-freedom gain over uniform refinement is G_{\mathrm{dof}}(\varepsilon)=\frac{\mathrm{DOF}_{\mathrm{uniform}}(\varepsilon)}{\mathrm{DOF}_{\mathrm{PINN-AMR}}(\varepsilon)}. (2.19) A value G_{\mathrm{dof}}(\varepsilon)>1 means that PINN-guided AMR reaches the target error using fewer degrees of freedom than uniform refinement. 2.6 Experimental design The experiments test whether the PINN residual indicator in ( 2.10 ) gives useful mesh information compared with uniform refinement and baseline indicators. All experiments use the residual–indicator–mark–refine structure in Algorithm 1 . The problem-specific components are the PDE residual, domain, mesh geometry, reference field, boundary and initial data, and validation metric. The three test problems are chosen to separate three levels of difficulty. The Burgers equation tests nonlinear advection and steep-gradient formation in one space dimension. The nonlinear Schrödinger equation tests a coupled real residual for an oscillatory complex-valued field in two dimensions. The incompressible Navier–Stokes system tests a coupled velocity–pressure residual with an incompressibility constraint in three dimensions. Table 1 summarises the validation role of each problem. Table 1: Benchmark problems and validation roles. The Burgers case is the main full-solver validation. The nonlinear Schrödinger and Navier–Stokes cases are manufactured proxy tests for residual localisation and mesh construction. Problem Dimension Validation mode Purpose Viscous Burgers equation 1D Nonuniform finite-difference/finite-volume solve Tests whether PINN-guided refinement improves a classical mesh-based solution near a nonlinear steep-gradient region. Nonlinear Schrödinger equation 2D Manufactured interpolation-proxy test Tests residual localisation for a coupled oscillatory field with real and imaginary components. Incompressible Navier–Stokes equations 3D Manufactured cell-proxy test Tests residual localisation in a coupled velocity–pressure system with incompressibility. The two higher-dimensional manufactured tests are included for controlled residual-localisation rather than for full solver superiority claims. The nonlinear Schrödinger problem introduces a complex-valued field, so the residual has coupled real and imaginary components. This tests whether the PINN indicator can respond to oscillatory structure, phase variation, and amplitude variation in a two-dimensional setting. The incompressible Navier–Stokes problem introduces a coupled velocity–pressure system with nonlinear advection, diffusion, pressure-gradient forcing, and an incompressibility constraint. This tests whether a combined momentum–constraint residual can organise refinement in three spatial dimensions. In both cases, the manufactured solution provides an exact reference field and a known forcing term, allowing the residual indicator and the adapted mesh to be evaluated without ambiguity. For each problem, PINN-threshold and PINN-Dörfler refinement are compared with uniform refinement, random refinement, a gradient-based indicator, a reference-guided diagnostic indicator, and standalone PINN approximation. The threshold parameter is \tau=0.60 , and the Dörfler marking parameter is \vartheta=0.45 . The standalone PINN is included only as a neural comparator; its reported degrees of freedom are trainable parameters, not mesh unknowns. The reference-guided indicator uses reference information and is therefore diagnostic rather than deployable. The reported paper run used seed 2026 , 3000 PINN training steps, 1500 residual points per training step, 512 boundary samples, 512 initial-condition samples, and 5 adaptive refinement rounds. The PINN uses a fully connected network with 4 hidden layers, width 72 , \tanh activation, and 32 random Fourier features. The training loss weights are \lambda_{r}=1 , \lambda_{b}=10 , and \lambda_{i}=10 , and Adam is used with learning rate 10^{-3} . These values are fixed for the reported paper run and are not tuned separately for each PDE. The goal is to test whether a moderately trained PINN residual can provide useful localisation information under a common experimental protocol. The larger boundary and initial-condition weights reduce the risk that the residual field used for marking is dominated by gross violation of prescribed constraints. The Fourier features are included to improve the representation of oscillatory structure, especially in the nonlinear Schrödinger and Navier–Stokes proxy tests. The fixed refinement budget L_{\max}=5 ensures that the adaptive methods are compared under the same number of refinement rounds rather than under method-dependent stopping decisions. 2.7 One-dimensional Burgers full-solver experiment The first experiment uses the viscous Burgers equation u_{t}+uu_{x}-\nu_{B}u_{xx}=0,\qquad(x,t)\in(0,1)\times(0,1], (2.20) with initial and boundary data u(x,0)=-\sin(\pi x),\qquad u(0,t)=u(1,t)=0. (2.21) The viscosity is \nu_{B}=\frac{0.01}{\pi}. (2.22) This viscosity produces a steep advective–diffusive transition, making the problem suitable for testing whether the residual indicator concentrates grid points near the physically difficult region of the solution. For this problem, the PINN residual is r_{\theta}^{B}(x,t)=\partial_{t}u_{\theta}(x,t)+u_{\theta}(x,t)\partial_{x}u_{\theta}(x,t)-\nu_{B}\partial_{xx}u_{\theta}(x,t). (2.23) For an interval cell K=[x_{j},x_{j+1}] , the cell indicator is (\eta_{K}^{B})^{2}=|K|\sum_{m=1}^{M_{K}}\omega_{K,m}\left|r_{\theta}^{B}(x_{K,m},t_{K,m})\right|^{2}. (2.24) Cells with large \eta_{K}^{B} are marked by threshold marking ( 2.12 ) or Dörfler marking ( 2.13 ). Marked intervals are refined by bisection. After each refinement round, the Burgers equation is solved again on the adapted nonuniform grid. The classical solve is finite-volume/finite-difference in form. The convective term is discretised using a Rusanov numerical flux at cell faces, with zero boundary ghost values. The diffusive term is computed from face gradients, again enforcing the homogeneous boundary values at the two endpoints. Time integration is performed with a BDF method using relative tolerance 10^{-6} and absolute tolerance 10^{-8} . The paper-tier Burgers experiment starts from a uniform mesh with 48 cells. The high-resolution reference solution is computed on a uniform mesh with 900 cells over 120 stored time levels on 0\leq t\leq 1 . The reference solution is used only for validation and for the reference-guided diagnostic baseline. The main reported error is the final-time relative L^{2} error in ( 2.14 ); the space-time relative L^{2} error in ( 2.16 ) is also reported. This is the main validation experiment because the adapted mesh is passed to an actual nonuniform finite-difference/finite-volume solve. 2.8 Two-dimensional nonlinear Schrödinger proxy experiment The second experiment uses a forced two-dimensional nonlinear Schrödinger equation on \Omega_{N}=(0,1)^{2},\qquad 0