Conceptio › Archive › arXiv CS
arXiv CSopen access

When and Why Adversarial Training Improves PINNs: A Neural Tangent Kernel Perspective

2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
neural-networks
machine learning, deep learning, neural networks

When and Why Adversarial Training Improves PINNs: A Neural Tangent Kernel Perspective

Yuandong Cao1,3∗ Chi Chiu So2

Jun-Min Wang1

He Wang3†

arXiv:2605.15959v1 [cs.LG] 15 May 2026

1

School of Mathematics and Statistics, Beijing Institute of Technology, China 2 School of Professional Education and Executive Development The Hong Kong Polytechnic University, China 3 Department of Computer Science & UCL AI Centre, University College London, UK

Abstract Physics-informed neural networks (PINNs) are powerful surrogates for differential equations but are notoriously difficult to train due to spectral bias, stiffness, and poor accuracy on high-frequency or multiscale solutions. Adversarial training based on generative adversarial networks (GANs) has recently gained surprisingly strong empirical results in improving the training, but the underlying mechanisms remain elusive. To this end, we propose a new analysis framework for adversarially trained PINNs, based on the key observation of how the discriminator in GANs can influence the training dynamics of PINNs. The framework first provides a much needed theoretical grounding to why and when adversarial training is effective in PINNs, then presents a unified analysis of GANs variants in such training, and finally leads to a new, practical, efficient training algorithm for PINNs. Empirical results demonstrate that our method can significantly reduce the pathology of PINNs training, thereby providing better models with superior performance, often several magnitudes more accurate than alternative methods.

1

Introduction

Partial Differential Equations (PDEs) are foundational modeling tools in science and engineering, but designing stable and efficient solvers for them is challenging, particularly for complex systems characterized by strong nonlinearity, stiffness, or multiscale structures. Neural networks recently emerged as a promising alternative for solving PDEs, where physics-informed neural networks (PINNs) have become widely used, achieving remarkable success across a broad range of applications. However, PINNs are notoriously hard to train, especially when applied to PDEs with solutions exhibiting high-frequency or multiscale features [1–3]. Recent studies have systematically analyzed these failures and attributed the pathological behavior of PINNs to multiscale interactions and spectral bias among different loss components [4, 5]. In practice, this manifests itself as a stagnation of the training loss near stiff regions of the PDE where the network prediction deviates significantly from the ground truth. A recent attempt to mitigate this pathology is to leverage adversarial training via generative adversarial networks (GANs), i.e. adversarial PINNs training [6–10]. GANs consist of a generator and a discriminator, trained via a minmax game [11]. When applied to PINNs, the prediction errors, e.g. PDE residual, boundary, or/and initial condition errors, are modeled as generated samples, while the ideal zero error is treated as the real target. In other words, training amounts to driving the empirical distribution of the prediction error toward a Dirac measure centered at zero. A growing body of work has demonstrated the empirical effectiveness of this idea, including employing vanilla GANs with hard constraints [6], Wasserstein GANs with penalty-based methods ∗ work done during visiting University College London † corresponding author, [email protected]

Preprint.

[7] for PDEs and Stochastic Differential Equations [8]. More recent research also investigates using separate discriminators for different loss terms [9] and balancing physics constraints and control objectives in PDE-constrained optimal control [10]. Despite empirical successes, the theoretical grounding of adversarial PINNs training is missing, especially in why GANs succeed or fail in some settings. This has led to inconsistent or even contradictory observations and analysis. For example, Ciftci et al. [7] and Yang et al. [8] argued that vanilla GAN training is essentially Jensen-Shannon divergence minimization under suitable assumptions, and therefore should be avoided in PINN training due to its well-known instability, but Bullwinkel et al. [6] showed that vanilla GANs can in practice drive PINNs to extremely accurate solutions. More broadly, the generated distribution of adversarially trained PINNs is often a finite Dirac mixture supported on the PDE residual samples, whereas the target distribution is a Dirac measure with singular support at zero. Under this support mismatch, the classical divergence-based theory [12, 13] provides little useful guidance and may even suggest degenerate training behaviors, which is clearly inconsistent with empirical evidence. Overall, the above discrepancies show that existing analysis which is mainly based on static optimal-discriminator behaviors is insufficient to explain the adversarial PINNs training. A dynamical perspective is required. We draw inspiration from the gradient-flow analysis of neural networks, specifically through the lens of Neural Tangent Kernel (NTK) [14], to characterize the dynamics of adversarial PINNs training. NTKs have been employed successfully in GANs [15] to show that the study of the alternating updates between the generator and the discriminator is essential to understand the training dynamics. We generalize this analysis to adversarial PINNs training to reveal: (1) how discriminator training shapes the dynamics of PINNs, (2) how different GAN objectives induce different sample-wise weighting, and (3) how these effects interact with the generator training dynamics. These phenomena jointly explain the convergence (or the lack of) of adversarial PINNs training. Overall, our main contributions include: • A new unified NTK framework for analyzing adversarially trained PINNs. • A formal analysis of adversarial PINNs training under different GAN variants. • New findings in how the discriminator shapes the spectral dynamics of PINNs training. • A new training algorithm with improved optimization stability and convergence behavior.

2

Preliminaries

Generative Adversarial Networks GAN consists of a generator and a discriminator. We denote the discriminator by f (·; ϕ) : X → R, where ϕ denotes the discriminator parameters. The generator g(z; θ) is parameterized by θ, where z ∼ pz is a latent variable. Let αr and αgθ denote the real and generated data distributions on X , respectively. GAN training can be seen as a minmax game:     max L(ϕ) = Ex∼αr P (f (x; ϕ)) + Ex∼αθg Q(f (x; ϕ)) , (1) ϕ   min L(θ) = Ex∼αθg R(f (x; ϕ)) , (2) θ

where P, Q, R : R → R are scalar functions. In particular, we consider three GAN variants:  GAN [11]: P (t) = log σ(t), Q(t) = R(t) = log 1 − σ(t) , σ(·) is the sigmoid function, 1 1 1 LSGAN [13]: P (t) = − (t − 1)2 , Q(t) = − t2 , R(t) = (t − 1)2 , 2 2 2 and WGAN/IPM[16]: P (t) = t, Q(t) = R(t) = −t.

(3) (4) (5)

Hard-constrained PINNs Let Ω ⊂ Rd be the space–time domain and consider the PDE N (u)(x) = a(x), x ∈ Ω, B(u)(x) = b(x), x ∈ ∂Ω, (6) where N is the differential operator, a(x) is the source term, and B denotes the boundary and/or initial constraint operator. Through a proper hard-constraint parameterization [17, 18], the neural solution uθ satisfies B(uθ )(x) = b(x) exactly. Therefore, training reduces to minimizing the interior residual R(x; θ) := N [uθ ](x) − a(x). The hard-constrained PINN loss is then given by   LPINN (θ) = Ex∼µΩ R(x; θ) , (7) where µΩ denotes the sampling distribution over the interior collocation domain. 2

r Adversarially trained PINNs Given collocation points {xi }N residual ri := i=1 ⊂ Ω, define P Nr ⊤ Nr δxi to be R(xi ; θ) and r := (r1 , . . . , rNr ) ∈ R . Furthermore, we define µ̂Ω := N1r i=1 the empirical collocation measure, where δxi is the Dirac measure at xi . Then the generated PNr δri , where residual distribution is the pushforward empirical measure µ̂θr := (Rθ )# µ̂Ω = N1r i=1 Rθ : x 7→ R(x; θ). The ideal target residual distribution is the Dirac measure at zero, µreal = δ0 . Equivalently, we define the target residual map T (xi ) := 0, i = 1, . . . , Nr , which represents the desired zero-residual state (real data). Therefore, the adversarial PINNs training objectives become:

Nr   1 X L(θ) = R f (R(xi ; θ); ϕ) , Nr i=1

and L(ϕ) =

Nr h    i 1 X P f (T (xi ); ϕ) + Q f (R(xi ; θ); ϕ) . Nr i=1

(8)

(9)

Here P, Q, R are the same as in Eqs. (1) and (2). The objectives in Eqs. (8) and (9) will be the starting point of our analysis. Neural tangent kernel regime Our analysis is carried out in the neural tangent kernel (NTK) regime. At a high level, this regime describes sufficiently wide neural networks trained in a lazytraining manner, so that the network output can be approximated by its first-order expansion around initialization, while the associated kernel remains nearly constant during training. We adopt the following standard assumptions: Assumption 1 ([14]). (i) The network is a standard architecture, such as a fully connected, convolutional, or residual network, with standard nonlinearities. (ii) The activation function is sufficiently smooth, and the network output is differentiable with respect to the parameters. (iii) Linear layers contain nonzero bias terms. (iv) The network parameters are randomly initialized with a standard width-dependent scaling. (v) The hidden widths tend to infinity. Under these assumptions, if g(x; θ) denotes the network output, then around initialization θ0 , g(x; θ) ≈ g(x; θ0 ) + ∇θ g(x; θ0 )⊤ (θ − θ0 ),

(10)

k(x, x′ ) = ∇θ g(x; θ0 ), ∇θ g(x′ ; θ0 ) .

(11)

and the NTK is defined by

For a finite set of training points, the output dynamics under gradient flow are then approximated by ġ(t) ≈ −K ∇g L(g(t)),

(12)

where K is the NTK Gram matrix. Therefore, in the NTK regime, training can be analyzed in function space through an approximately fixed kernel rather than only through the original nonlinear parameter dynamics. A more detailed discussion of the related works and their connections to the present framework is provided in Appendix A.

3

The Unreasonable Successes in Adversarial PINNs Training

In vanilla GAN, it is known that the generator’s objective is, up to constants, minimizing the Jensen– Shannon divergence between the generated µ̂θr and the target δ0 , under proper assumptions. Similar conclusions also arise from other analysis based on e.g. KL-type [12] and χ2 -type [13] criteria. All analyses point to one phenomenon: when the supports of the generated and target distributions are nearly disjoint and the discriminator becomes nearly optimal, the generator receives a degenerate training signal. This issue is particularly severe in adversarial PINNs. At the beginning of training, r r the residual samples {ri }N i=1 are typically far from zero, so the support of µ̂θ is almost disjoint from that of δ0 . Theoretically, one would expect the training signal for the generator to saturate or become uninformative. In reality, existing adversarial PINNs methods often perform well. This discrepancy indicates that the classical divergence-minimization framing does not directly apply to PINNs, as it assumes the generator is always trained against an optimal discriminator, whereas 3

practical adversarial PINNs training uses a sub-optimal discriminator. As a result, the generator is driven not by the gradient of a fixed divergence alone, but also by the gradient field induced by a transient discriminator state. As a motivating example, we show how the generator–discriminator update scheme can significantly influence the training, using the two-dimensional Laplace equation: (x, y) ∈ [0, 1]2 ,

∆u(x, y) = 0,

(13)

with boundary conditions  1 cosh(π) sin(πx) eπy − e−πy , 2 and a hard-constrained PINNs. We vary the generator–discriminator update ratio by: u(x, 0) = 0, u(0, y) = 0, u(1, y) = 0, u(x, 1) =

(14)

G : D = 1000 : 1, 100 : 1, . . . , 1 : 1, . . . , 1 : 100, 1 : 1000, and show the training dynamics in Fig. 1. Fig. 1 shows that both over-trained discriminators and over-trained generators can harm adversarial PINNs optimization. When D is updated too many times relative to G, it may become nearly optimal for the current residual distribution, causing the learning signal passed to G to become saturated, weak, or poorly conditioned. Conversely, when G is updated too many times relative to D, the discriminator remains undertrained and cannot provide a reliable gradient. In both cases, the imbalance leads to deteriorated training and validation errors. Therefore, the U-shaped curve in Fig. 1 provides direct evidence that the success of adversarial PINNs is governed by finite-step alternating dynamics be- Figure 1: Laplace equation: final converged traintween G and D, rather than by the static optimal- ing and validation errors under different generatordiscriminator alone. The best performance ap- to-discriminator update ratios (G:D). pears in an intermediate regime where D is informative but not over-trained, and G is updated sufficiently but does not outrun the discriminator. These observations naturally raise two questions: how can we formally characterize such finite-step alternating dynamics, and how can we use this characterization to choose or control the generator– discriminator update schedule? Addressing these questions is the main goal of the following analysis.

4

NTK Analysis of Adversarially Trained PINNs

We establish a dynamical analysis of the alternating optimization of adversarially trained PINNs. To this end, we first formulate the discriminator-induced residual-space gradient field, then show how it influences the training of the generator. 4.1

Discriminator-induced gradient field in the NTK regime

Given a fixed generator with θ and the objective in Eq. (9), the discriminator gradient flow is: " # Nr  ∂f (T (xi ); ϕ(t))  ∂f (ri ; ϕ(t)) 1 X ′ ′ ϕ̇(t) = P f (T (xi ); ϕ(t)) + Q f (ri ; ϕ(t)) . Nr i=1 ∂ϕ ∂ϕ

(15)

If we define the discriminator NTK as: ktD (x, y) :=

∂f (x; ϕ(t)) ∂f (y; ϕ(t)) , ∂ϕ(t) ∂ϕ(t) 4

,

(16)

then NTK theory implies that ktD (x, y) ≈ k D (x, y) during training. Therefore, for any residual-space input x, the discriminator admits the function-space evolution: Nr h i   d 1 X P ′ f (T (xi ); ϕ(t)) k D (x, T (xi )) + Q′ f (ri ; ϕ(t)) k D (x, ri ) . f (x; ϕ(t)) = dt Nr i=1

(17)

NTK regularity implies that k D (·, y) is differentiable with respect to its first argument, so f (·; ϕ(t)) is differentiable w.r.t. the input; see Appendix B. Lemma 1 (Input-gradient representation of the discriminator [15]). Under Assumptions 1 the discriminator input gradient satisfies Z t Nr h  1 X ∂x f (x; ϕ(t)) = ∂x f0 (x) + P ′ f (T (xi ); ϕ(s)) ∂x k D (x, T (xi )) N r i=1 0 i  +Q′ f (ri ; ϕ(s)) ∂x k D (x, ri ) ds, (18) where f0 (x) := f (x; ϕ(0)). Remark 1. Lemma 1 describes the evolution of the discriminator gradient field w.r.t. the input during training. It shows that ∂r f (r; ϕ(t)) is governed by the derivatives of the discriminator objective and the derivatives of the discriminator NTK kernel k D w.r.t. the input. Therefore, the residual-space gradient field produced by the discriminator is not arbitrary, but is structured by the discriminator architecture, objective, and tangent kernel. This discriminator gradient field will later enter the generator dynamics through the sample-wise weighting (see Appendix B). The corresponding NTK-based discriminator dynamics for vanilla GAN, LSGAN, and IPM-type GANs are given in Appendix B.1–B.3. 4.2

Generator residual dynamics and objective-dependent weighting

For the generator, given the generator objective in Eq. (8), the generator gradient flow is: θ̇(t) = −

∂L(θ(t)) . ∂θ(t)

We further define the generator residual NTK:   ∂R(xi ; θ(t)) ∂R(xj ; θ(t)) G (Krr )ij (t) = , ∂θ(t) ∂θ(t) and a discriminator-induced weighting vector  ⊤ γ(t) := γ1 (t), . . . , γNr (t) ,

(19)

(20)

(21)

where

 1 ′ R f (ri (t); ϕ(t)) ∂r f (ri (t); ϕ(t)), i = 1, . . . , Nr . (22) Nr Proposition 1 (Residual dynamics under adversarial training). Under the generator gradient flow (19), the residual vector evolves according to γi (t) = −

G ṙ(t) = Krr (t) γ(t).

(23)

Remark 2. Equation (23) shows that adversarial PINNs training takes the form of a preconditioned G residual descent. The generator residual NTK Krr (t) determines how a weighted residual signal is propagated across collocation points, whereas the discriminator enters through the sample-wise weighting vector γ(t). In other words, the discriminator reshapes the residual descent field through its input gradient rather than through its scalar output alone. Detailed derivations of the generator– discriminator update dynamics, together with the corresponding propositions and theorems, are provided in Appendix B.4. Remark 3. The NTK-based generator dynamics above are derived for the hard-constrained setting with the residual itself as the discriminator input. When the discriminator input is changed from the residual to squared residual, the dynamics become fundamentally different and take a closed-loop multiplicative form. The detailed derivation of the dynamics based on squared residual input and the corresponding residual-energy law under hard constraints is provided in Appendix D. 5

Remark 4. Beyond the hard-constrained setting, Appendix E extends the analysis to soft-constrained adversarial PINNs, where we derive the coupled residual and energy dynamics for interior, boundary, and initial-condition violations, and further motivate our research. Remark 5. More broadly, we emphasize that the present framework is not limited to standard GAN variants. Existing adversarially trained PINNs such as SA-PINN [19], LA-PINN[9], and WAN[20] are all special cases of our analysis with the discriminator optimization restricted to structured function classes; the corresponding derivations are given in Appendix F. This perspective also reveals a much broader and still underexplored design space of adversarial PINNs methods, which we summarize in Appendix G. 4.3

Residual-energy Law, Spectral Interpretation, and Practical Optimization

To characterize the optimization effect of the discriminator-induced weighting γ(t) (Eq. (21)), we define a residual energy E(t) := 12 ∥r(t)∥2 . Theorem 1 (Residual-energy law under adversarial training). Under the residual dynamics in Eq. (23), the residual energy satisfies d G E(t) = r(t)⊤ Krr (t)γ(t) = S(t), (24) dt where S(t) is the instantaneous residual-energy variation rate induced by the current discriminator state. In particular, S(t) < 0 =⇒

d E(t) < 0, dt

S(t) > 0 =⇒

d E(t) > 0. dt

(25)

Theorem 1 shows that the first-order effect of adversarial interaction on the generator optimization is fully characterized by the scalar quantity S(t). To interpret this quantity from a modal viewpoint, we G G consider the constant-NTK regime Krr (t) ≈ Krr , decompose it as G Krr = U ΛU ⊤ , ⊤

λj ≥ 0,

(26)

λj rej (t) γ ej (t).

(27)

Λ = Diag(λ1 , . . . , λNr ), ⊤

e (t) := U γ(t). Then we obtain and define e r(t) := U r(t), γ G S(t) = r(t)⊤ Krr γ(t) = e r(t)⊤ Λe γ (t) =

Nr X j=1

Remark 6 (Energy decay rate and spectral analysis). By Eqs. (24) and (27), the decay of E(t) is jointly determined by the generator spectrum {λj }, the residual amplitudes rej (t), and the discriminatorinduced weights γ ej (t). As training proceeds, modes with large λj s decay fast, then the energy decay increasingly depends on whether γ ej (t) remains aligned with the dominant modes. If it aligns with already decayed modes thereby underweighting the others, the energy decay slows down. Remark 7 (Representative failures). The analysis explains several representative failures in adversarial PINNs training: (i) energy increase, where S(t) > 0; (ii) vanishing discriminator gradients, where γ(t) ≈ 0; and (iii) noisy or misaligned weighting, where γ ej (t) becomes unstable or ineffective. More detailed analysis and justifications for Remark 6 and 7 are in Appendix C. To systematically address the above possible failures, one could explicitly control individual modes, where modes would need to be monitored during training and the discriminator feedback would need to be adjusted. However, a straightforward solution from Eq. (24) is to ensure the continuous decrease of E(t), i.e. S(t) < 0. Therefore, we propose a practical approach below. We denote by θm the generator parameters at the beginning of the m-th iteration, and define residual rm := [R(x1 ; θm ), . . . , R(xNr ; θm )]⊤ .

(28) m+ 21

After a discriminator substep, we denote the frozen discriminator by f , and define  1 1 1 m ⊤ γim = − R′ f m+ 2 (rim ) ∂r f m+ 2 (rim ), γ m = [γ1m , . . . , γN ] . r Nr G,m We also let Krr denote the NTK at θm .

6

(29)

Proposition 2 (One-step discrete residual-energy variation). A first-order generator update with frozen discriminator yields G,m m 2 rm+1 = rm + ηG Krr γ + O(ηG ).

Consequently, if E m := 21 ∥rm ∥2 , then G,m m 2 E m+1 − E m = ηG (rm )⊤ Krr γ + O(ηG ).

Algorithm 1 Adaptive Alternating Adversarial PINNs training with Rollback Require: Initial parameters θ0 , ϕ0 , discriminator budget TD , generator budget TG 1: for m = 0, 1, 2, . . . do 2: Build a fixed evaluation set and compute 1 m 2 ∥r ∥ . 2 Discriminator: with θm frozen, run up to TD discriminator updates; after each step compute rm = [R(x1 ; θm ), . . . , R(xNr ; θm )]⊤ ,

3:

Em =

G,m m,t S m,t = (rm )⊤ Krr γ . 1

4:

Keep the discriminator state attaining the smallest score, and set it as ϕm+ 2 . 1 Generator: with ϕm+ 2 frozen, run up to TG generator updates; after each step compute E m,t =

1 m,t 2 ∥r ∥ . 2

Keep the generator state attaining the smallest residual energy, and set it as θm+1 . 5: end for From Proposition 2, we derive Algorithm 1, which is essentially a dynamic update scheme for both the generator and the discriminator. Its key principle is that the discriminator should be retained only when it can induce a residual weighting that is able to improve the generator’s ability to reduce the residual. At the same time, the generator update should be conducted only when the residual energy actually decreases. In this way, the discriminator acts not as an always accepted adversary but as an adaptive controller to balance the residual modes for continuous residual-energy decay.

5

Experiments

5.1

Experimental setup

We compare DEQGAN [6], GAN [11], LSGAN [13], and WGAN-GP [16] with their variants enhanced versions GAN-RB, LSGAN-RB, and WGAN-GP-RB, where “RB” denotes our rollback strategy. The benchmark suite includes the Poisson, Laplace, viscous Burgers, Reaction–Diffusion, and Klein–Gordon equations, covering linear and nonlinear, stationary and time-dependent PDEs. For fairness, all methods share the same generator architecture, while the discriminator architecture is chosen according to the adversarial objective. Except for DEQGAN, which follows its original tuning-dependent protocol, all methods are trained under the same default setting. We report training and validation errors as the main accuracy metrics, and additionally monitor the residual energy and G the first-order quantity r⊤ Krr γ. Full implementation details are deferred to Appendix H.1. 5.2

Mechanistic validation: when and why adversarial training improves PINNs

We revisit DEQGAN under different generator–discriminator update ratios (Fig. 1) to clarify a central question of this paper: when adversarial training improves PINNs, and why. Rather than merely G comparing schedules, we use the first-order quantity r⊤ Krr γ to distinguish successful alternating regimes from failed ones. A clear pattern emerges from Fig. 2. Fig. 2 Left shows three ratios G : D = 100 : 1, 10 : 1, and 1 : 1 G which are successful regimes because their r⊤ Krr γ curves remain predominantly negative. This 7

Figure 2: Left: successful training regimes under balanced or moderately imbalanced G : D ratios. Right: three representative failure modes caused by extreme update imbalance. G Table 1: Statistics of the positive part of r⊤ Krr γ for the three successful update ratios (Fig. 2 Left). Smaller values indicate fewer or weaker violations of the energy descent requirement.

G : D Positive ratio Positive mean Max value L1 violation L2 violation 1:1 10 : 1 100 : 1

0.0220 0.0075 0.0661

18.1644 0.1429 1.0747

322.8066 1.8219 75.9468

1180.6849 190919.5174 3.1449 4.0658 209.5676 10192.1785

indicates that, on average, the discriminator-induced signal is aligned with residual descent after modulation by the generator kernel. However, the behaviors of the three are not identical. Table 1 G reports aggregated statistics of the positive part of r⊤ Krr γ, including the positive ratio, positive mean, maximum value, and L1 /L2 violation measures. G : D = 10 : 1 yields the smallest positive ratio and the weakest violation of the energy descent requirement, indicating the best overall performance. By contrast, although G : D = 1 : 1 has a smaller positive ratio than 100 : 1, its other indicators are much G larger. So, successful adversarial training depends not only on whether r⊤ Krr γ is mostly negative, but also on how strongly it deviates from the energy descent regime when violations occur. Fig. 2 Right illustrates three failure modes described in Remark 7. G : D = 1000 : 1 corresponds to G persistent misalignment: r⊤ Krr γ remains almost always positive between 102 and 103 , indicating that the discriminator is updated too slowly to provide an effective gradient. Also, G : D = 1 : 1000 corresponds to discriminator overtraining: the curve rapidly collapses to zero after roughly 200 steps, showing that many residual samples receive nearly zero gradients, consistent with the classical analysis of vanishing generator gradients under an overly strong discriminator. Next, the intermediate G discriminator-dominant ratios G : D = 1 : 10 and 1 : 100 correspond to unstable weighting: r⊤ Krr γ oscillates repeatedly across positive and negative regions, indicating that the effective alignment G direction after modulation by Krr is unstable. Overall, these results support our main claims. Adversarial training can improve PINNs but only when the alternating generator–discriminator dynamics induce a weighting field that is sufficiently G aligned with the residual descent. r⊤ Krr γ is useful not only as a strict per-step certificate, but also as an aggregated indicator that separates successful regimes from qualitatively different failure modes. 5.3

Comparison on Diverse PDEs

We next compare the proposed rollback strategy with existing adversarial PINNs baselines on the benchmark suite above. The main results are summarized in Table 2, while detailed per-equation curves are in Appendix H.2. Four observations are most important. First, LSGAN is already a strong adversarial PINNs baseline, and even the classical GAN performs well under practical alternating optimization, which again suggests that the standard optimal-discriminator divergence picture is insufficient. Second, rollback is particularly effective for GAN and LSGAN: GAN-RB and LSGAN-RB consistently outperform their non-RB counterparts and achieve the best overall results on this benchmark suite. Third, the 8

Table 2: Comparison of adversarial PINNs methods on diverse benchmark equations. Each entry is reported as “Validation Error / Training Error”. Equation

DEQGAN

WGAN-GP

WGAN-GP + RB

LSGAN

LSGAN + RB

GAN

GAN + RB

Poisson 9.78e-13 / 9.75e-13 1.33e-04 / 1.33e-04 7.20e-05 / 7.18e-05 1.02e-08 / 1.01e-08 5.86e-13 / 5.84e-13 4.80e-07 / 4.79e-07 8.43e-12 / 8.47e-12 Laplace 3.65e-11 / 2.79e-11 9.04e-06 / 6.30e-06 6.51e-05 / 4.29e-05 5.86e-10 / 4.25e-10 3.49e-12 / 2.74e-12 8.12e-06 / 5.58e-06 2.39e-11 / 1.69e-11 Viscous-Burgers 6.49e-06 / 1.84e-04 7.36e-02 / 7.38e-02 1.84e-01 / 1.84e-01 2.35e-02 / 2.37e-02 4.34e-05 / 3.49e-04 6.48e-04 / 7.78e-04 2.57e-06 / 3.87e-04 Reaction-Diffusion 2.92e-09 / 2.45e-09 2.13e-02 / 1.79e-02 7.15e-02 / 5.96e-02 8.16e-07 / 7.09e-07 1.18e-09 / 9.24e-10 9.81e-08 / 8.19e-08 1.40e-13 / 1.08e-13 Klein-Gordon 3.79e-06 / 3.16e-06 1.62e-02 / 1.35e-02 2.39e-04 / 1.78e-04 3.91e-03 / 3.23e-03 5.45e-05 / 4.36e-05 1.65e-02 / 1.40e-02 4.75e-10 / 4.02e-10

benefit is not uniform across objectives: rollback is weaker for WGAN-GP, and can even hurt performance on some problems, likely because the gradient penalty in WGAN-GP already regularizes the discriminator and the witness-style objective is less aligned with the proposed first-order criterion. Finally, LSGAN has rarely been explored in adversarial PINNs training so far but appears particularly promising, suggesting substantial room to revisit classical adversarial objectives from the perspective of practical alternating dynamics rather than nominal divergence form alone. An important advantage of our method is that it avoids expensive hyperparameter search. Except for DEQGAN, all methods are trained with the same default learning rate 10−3 and default optimizer settings. By contrast, DEQGAN relies on exhaustively tuning both generator/discriminator hyperparameters. Therefore, our method provides a more efficient route to strong PINNs performance. In addition, the rollback strategy can be used as a plugin in existing adversarial PINNs methods, also demonstrated by additional ablations in the appendix H.3: (i) robustness under modified boundary conditions; (ii) compatibility with DEQGAN, and (iii) controlled comparisons under a fixed G : D = 20 : 20 update budget. These results indicate that the observed gains come from the rollback mechanism itself rather than merely from extra update steps.

6

Related work

Wang et al. [5] studied PINNs training from the NTK perspective and explained optimization difficulties such as spectral bias and unbalanced convergence. However, their analysis is restricted to gradient descent on a fixed PINNs loss. By contrast, we study adversarial PINNs training, where the generator residual dynamics are continuously modulated by discriminator feedback. Classical GAN theory explains training through min–max optimization and divergence minimization [13, 12], but this static picture does not explain why adversarial PINNs can still train successfully when the generated residual distribution and the zero target are initially far apart. Franceschi et al. [15] later analyzed GANs from an NTK viewpoint, but their setting is standard generative modeling rather than PDE residual learning. Our work instead studies adversarial PINNs from a residual-dynamics viewpoint. Ciftci and Hackl [7] proposed a physics-informed GAN framework and reported strong empirical performance, while Bullwinkel et al. [6] showed that adversarial objectives can improve differential equation solvers. However, these works mainly demonstrate that adversarial training can work well in practice, rather than explaining when and why it works. In contrast, we develop a residual-dynamics framework for adversarial PINNs and, based on it, derive a practical first-order rollback strategy. To the best of our knowledge, this is the first work to provide a unified theoretical framework for analyzing when and why adversarial training improves PINNs.

7

Limitations, Conclusions, and Future Work

There are limitations to our analysis. The NTK regime we employ is limited in that it assumes a fixed NTK. In reality, the kernel can evolve during training depending on the PDEs and the networks have finite widths. Also, training can still oscillate under some PDEs and settings even with our rollback strategy. This is likely to be caused by the NTK assumptions, which needs further investigation. In summary, we have proposed a new analysis framework to explain the success of adversarially trained PINNs. The framework is rigorous in providing the much needed theoretical grounding, general in unifying the analysis of existing PINNs training, and practical by presenting effective and efficient training guidance. It reconciles the conflicts between the theories in GANs analysis and their empirically successful applications in training PINNs. In future work, we will move away from the constant-NTK approximation and derive a more refined update strategy based on an evolving NTK spectrum. We include detailed discussions and limitations in Appendix I. 9

References [1] Olga Fuks and Hamdi A Tchelepi. Limitations of physics informed machine learning for nonlinear two-phase transport in porous media. Journal of Machine Learning for Modeling and Computing, 1(1), 2020. [2] Maziar Raissi. Deep hidden physics models: Deep learning of nonlinear partial differential equations. Journal of Machine Learning Research, 19(25):1–24, 2018. [3] Yinhao Zhu, Nicholas Zabaras, Phaedon-Stelios Koutsourelakis, and Paris Perdikaris. Physicsconstrained deep learning for high-dimensional surrogate modeling and uncertainty quantification without labeled data. Journal of computational physics, 394:56–81, 2019. [4] Sifan Wang, Yujun Teng, and Paris Perdikaris. Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM Journal on Scientific Computing, 43 (5):A3055–A3081, 2021. [5] Sifan Wang, Xinling Yu, and Paris Perdikaris. When and why pinns fail to train: A neural tangent kernel perspective. Journal of Computational Physics, 449:110768, 2022. [6] Blake Bullwinkel, Dylan Randle, Pavlos Protopapas, and David Sondak. Deqgan: Learning the loss function for pinns with generative adversarial networks. arXiv preprint arXiv:2209.07081, 2022. [7] Kerem Ciftci and Klaus Hackl. A physics-informed gan framework based on model-free datadriven computational mechanics. Computer Methods in Applied Mechanics and Engineering, 424:116907, 2024. [8] Liu Yang, Dongkun Zhang, and George Em Karniadakis. Physics-informed generative adversarial networks for stochastic differential equations. SIAM Journal on Scientific Computing, 42(1): A292–A317, 2020. [9] Yanjie Song, He Wang, He Yang, Maria Luisa Taccari, and Xiaohui Chen. Loss-attentional physics-informed neural networks. Journal of Computational Physics, 501:112781, 2024. [10] Yuandong Cao, Chi Chiu So, Yifan Dai, Siu Pang Yung, and Jun-Min Wang. Adversarial physics-informed neural networks with hard constraints for optimal control of pdes. Journal of Computational Physics, page 114307, 2025. [11] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks. Communications of the ACM, 63(11):139–144, 2020. [12] Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-gan: Training generative neural samplers using variational divergence minimization. Advances in neural information processing systems, 29, 2016. [13] Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. In Proceedings of the IEEE international conference on computer vision, pages 2794–2802, 2017. [14] Arthur Jacot, Franck Gabriel, and Clément Hongler. Neural tangent kernel: Convergence and generalization in neural networks. Advances in neural information processing systems, 31, 2018. [15] Jean-Yves Franceschi, Emmanuel De Bézenac, Ibrahim Ayed, Mickaël Chen, Sylvain Lamprier, and Patrick Gallinari. A neural tangent kernel perspective of gans. In International Conference on Machine Learning, pages 6660–6704. PMLR, 2022. [16] Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein generative adversarial networks. In International conference on machine learning, pages 214–223. Pmlr, 2017. [17] Isaac E Lagaris, Aristidis Likas, and Dimitrios I Fotiadis. Artificial neural networks for solving ordinary and partial differential equations. IEEE transactions on neural networks, 9(5): 987–1000, 1998. 10

[18] Cedric Flamant, Pavlos Protopapas, and David Sondak. Solving differential equations using neural network solution bundles. arXiv preprint arXiv:2006.14372, 2020. [19] Levi D McClenny and Ulisses M Braga-Neto. Self-adaptive physics-informed neural networks. Journal of Computational Physics, 474:111722, 2023. [20] Yaohua Zang, Gang Bao, Xiaojing Ye, and Haomin Zhou. Weak adversarial networks for high-dimensional partial differential equations. Journal of Computational Physics, 411:109409, 2020. [21] Zijian Zhou and Zhenya Yan. Is the neural tangent kernel of pinns deep learning general partial differential equations always convergent? Physica D: Nonlinear Phenomena, 457:133987, 2024. [22] Luís Carvalho, João L Costa, José Mourão, and Gonçalo Oliveira. The positivity of the neural tangent kernel. SIAM Journal on Mathematics of Data Science, 7(2):495–515, 2025.

11

Appendix Contents A Preliminary Knowledge

14

A.1 Generative adversarial networks . . . . . . . . . . . . . . . . . . . . . . . . . . .

14

A.2 Physics-informed neural network . . . . . . . . . . . . . . . . . . . . . . . . . . .

14

A.3 Solving Partial Differential Equations via Adversarially Trained PINNs . . . . . .

15

A.4 Background on the neural tangent kernel regime . . . . . . . . . . . . . . . . . . .

16

B Detailed derivations of discriminator and generator dynamics

17

B.1 Discriminator dynamics in parameter space . . . . . . . . . . . . . . . . . . . . .

18

B.2 Functional-space notation for discriminator training . . . . . . . . . . . . . . . . .

19

B.3 Discriminator analysis under alternating training: an NTK interpretation in residual space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20

B.3.1

The IPM case: kernel witness function on residual samples . . . . . . . . .

B.3.2

The LSGAN case: kernel-smoothed regression target for our choice of labels 22

B.3.3

The vanilla GAN case: kernel-smoothed nonlinear classifier in residual space 24

B.4 Generator residual dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

21

26

B.4.1

Specialization to common adversarial objectives . . . . . . . . . . . . . .

28

B.4.2

Interpretation in our framework . . . . . . . . . . . . . . . . . . . . . . .

29

C Analysis of the residual-energy decay

29

C.1 Residual-energy law and constant-kernel approximation . . . . . . . . . . . . . . .

29

C.2 Spectral factorization of the aligned dynamics . . . . . . . . . . . . . . . . . . . .

30

C.3 Modal view and slower decay under weaker alignment . . . . . . . . . . . . . . .

32

C.4 Failure modes: ascent and stagnation . . . . . . . . . . . . . . . . . . . . . . . . .

33

C.5 Discrete-time interpretation for the alternating algorithm . . . . . . . . . . . . . .

34

D Different Dynamics Induced by Residual Input and Squared-Residual Input

35

D.1 Generator dynamics with squared-residual input . . . . . . . . . . . . . . . . . . .

35

D.2 Spectral interpretation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37

D.3 Interpretation and implications . . . . . . . . . . . . . . . . . . . . . . . . . . . .

40

E Soft-Constrained PINNs under Adversarial Training

41

E.1 Problem setup and violation channels . . . . . . . . . . . . . . . . . . . . . . . .

41

E.2 Adversarial formulation with three discriminators . . . . . . . . . . . . . . . . . .

41

E.3 Generator gradient flow and channel-wise adversarial weights . . . . . . . . . . .

42

E.4 Coupled violation dynamics and block kernel structure . . . . . . . . . . . . . . .

43

E.5 Diagonal-weight representation . . . . . . . . . . . . . . . . . . . . . . . . . . . .

45

E.6 Energy dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

45

E.7 Constant-kernel regime and NTK interpretation . . . . . . . . . . . . . . . . . . .

46

E.8 Discriminator-side functional dynamics . . . . . . . . . . . . . . . . . . . . . . .

47

12

F Existing Adaptive and Weak-Adversarial PINNs Methods as Constrained-Discriminator Special Cases 47 F.1

General constrained-discriminator formulation . . . . . . . . . . . . . . . . . . . .

47

F.2

SA-PINN as a monotone masked discriminator . . . . . . . . . . . . . . . . . . .

48

F.3

LA-PINN as a linear attentional discriminator . . . . . . . . . . . . . . . . . . . .

48

F.4

Weak-adversarial methods as projection-type discriminators . . . . . . . . . . . .

49

F.5

Unified special-case theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

50

G A broader design space for adversarial PINNs training / Future work G.1 Dimension I: residual input versus squared-residual input . . . . . . . . . . . . . .

51

G.2 Dimension II: discriminator objective and functional class . . . . . . . . . . . . .

51

G.3 Why SA-PINN, LA-PINN, and WAN each have distinctive advantages . . . . . . .

52

G.4 A two-dimensional taxonomy of adversarial PINNs training strategies . . . . . . .

52

G.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

53

H Experiments

I

51

53

H.1 Experimental setup details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

53

H.1.1 Compared methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

53

H.1.2 Benchmark equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

54

H.1.3 Network architectures . . . . . . . . . . . . . . . . . . . . . . . . . . . .

54

H.1.4 Optimization settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

54

H.1.5 Training protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

55

H.1.6 Evaluation metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

56

H.1.7 Relation to the main text . . . . . . . . . . . . . . . . . . . . . . . . . . .

56

H.2 Benchmark equations Comparison . . . . . . . . . . . . . . . . . . . . . . . . . .

56

H.2.1 Laplace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

56

H.2.2 Poisson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

58

H.2.3 Reaction-Difussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

59

H.2.4 Viscous-Burgers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

60

H.2.5 Klein-Gordon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

61

H.3 Ablation experiment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

63

H.3.1 Laplace equation (Under different boundary conditions) . . . . . . . . . .

63

H.3.2 Compatibility with DEQGAN . . . . . . . . . . . . . . . . . . . . . . . .

64

H.3.3 Does rollback help beyond increasing the update budget? . . . . . . . . . .

66

Contributions, Limitations, and Future Work

13

69

A

Preliminary Knowledge

A.1

Generative adversarial networks

Generative Adversarial Networks (GANs) provide a powerful framework for learning probability distributions through an adversarial game between a generator and a discriminator. In this work, we adopt a unified functional perspective that allows several popular GAN variants to be represented under a common formulation. Let αr denote the real data distribution and αgθ denote the generated distribution induced by the generator g(z; θ), where z ∼ pz is a latent variable. The discriminator is represented by a function f (· ; ϕ) : X → R. Here, θ and ϕ denote the trainable parameters of the generator and discriminator networks, respectively. We consider the following general adversarial objective:     max L(ϕ) =Ex∼αr P (f (x; ϕ)) + Ex∼αθg Q(f (x; ϕ)) ϕ   min L(θ) =Ex∼αθg R(f (x; ϕ)) θ

(30) (31)

where P (·), Q(·) and R(·) are scalar-valued functions that determine the specific adversarial divergence or discrepancy being minimized between αr and αgθ . This formulation encompasses a broad family of GAN objectives depending on the choice of P , Q and R. Vanilla GAN. The vanilla GAN objective corresponds to the minimization of the Jensenv–Shannon divergence between the real and generated distributions. This is recovered by choosing  P (t) = log σ(t), Q(t) = R(t) = log 1 − σ(t) , (32) where σ(·) denotes the sigmoid function. Least-Squares GAN (LSGAN). The least-squares GAN replaces the logistic loss with a quadratic penalty, which improves gradient stability and alleviates saturation. This corresponds to choosing 1 1 1 P (t) = − (t − 1)2 , Q(t) = − t2 , R(t) = (t − 1)2 . (33) 2 2 2 Integral Probability Metric (IPM) GANs. IPM-based GANs measure distribution discrepancy via a supremum over a constrained function class F. In this setting, the adversarial objective becomes min max Ex∼αr f (x; ϕ) − Ex∼αθg f (x; ϕ). θ

f (x;ϕ)∈F

(34)

This formulation is recovered from 30-31 by choosing P (t) = t,

Q(t) = R(t) = −t.

(35)

together with structural constraints on f , such as Lipschitz continuity. Prominent examples include Wasserstein GANs (WGAN) and Wasserstein GANs with gradient penalty (WGAN-GP). At this point, f is often referred to as a critic in the literature. For consistency and ease of understanding, we will uniformly refer to it as the discriminator throughout this paper. A.2

Physics-informed neural network

Physics-Informed Neural Networks (PINNs) provide a framework for solving partial differential equations (PDEs) by embedding governing physical laws into neural network training. Instead of relying solely on labeled data, PINNs incorporate PDE constraints through automatic differentiation. Let Ω ⊂ Rd denote a spatial–temporal domain with boundary ∂Ω. We consider a general partial differential equation (PDE) expressed in operator form N (u)(x) = a(x),

x ∈ Ω,

(36)

where u : Ω → R represents the unknown solution field, N denotes a differential operator involving spatial and/or temporal derivatives of u, and a(x) is a prescribed source or forcing term defined on Ω. The governing equation is complemented by boundary and/or initial conditions given by B(u)(x) = b(x), 14

x ∈ ∂Ω,

(37)

where B is a boundary or initial operator specifying constraints on the solution, such as Dirichlet, Neumann, or Robin conditions, and b(x) denotes the corresponding prescribed data on the boundary or initial manifold. In physics-informed neural networks (PINNs), the unknown solution u(x) is approximated by a neural network parameterized by θ, namely uθ (x) ≈ u(x), allowing the differential operators N and B to be evaluated through automatic differentiation during the training process. Physics-informed loss construction. Let µΩ denote a sampling measure over the interior domain Ω, and µ∂Ω denote a sampling measure over the boundary ∂Ω. The PINNs objective can be written as LP IN N (θ) = λr Ex∼µΩ [N [uθ ](x) − a(x)] + λb Ex∼µ∂Ω [B[uθ ](x) − b(x)] .

(38)

The expectations are approximated in practice via Monte Carlo sampling over collocation and boundary points. Hard constraint enforcement. Besides penalty-based enforcement, physical constraints can also be incorporated directly into the network architecture through hard-constrained parameterizations. Instead of penalizing boundary or initial condition violations, the solution ansatz is parameterized as uθ (x) = G(x) + H(x) ũθ (x),

(39)

where G(x) satisfies the prescribed boundary or initial conditions, and H(x) is a function that vanishes on ∂Ω. The neural network ũθ (x) represents the unconstrained component of the solution. By construction, the resulting approximation uθ (x) satisfies the constraints exactly for all parameter values θ. Consequently, the training objective reduces to minimizing the interior PDE residual LP IN N (θ) = Ex∼µΩ [N [uθ ](x) − a(x)] .

(40)

Hard constraint formulations often improve training stability and reduce sensitivity to loss weighting parameters, although they may introduce additional complexity in constructing suitable constraint functions. For clarity and conciseness in the theoretical derivation and exposition, we focus primarily on the hard-constrained formulation of PINNs (40) in the subsequent analysis. A.3

Solving Partial Differential Equations via Adversarially Trained PINNs

To mitigate imbalance issues in physics-informed learning, we introduce an adversarial training framework for PINNs based on the vanilla GAN formulation. r Let the PDE residual evaluated at collocation point {xi }N i=1 be defined as R(xi ; θ) := N [uθ ](xi ) − a(xi ) and T (xi ) := 0. Here, R(·; θ) denotes the PDE residual function induced by the generator parameterized by θ, and is interpreted as the source of generated data in the adversarial framework. In contrast, T denotes the target residual map corresponding to the ideal zero-residual state. The r collocation points {xi }N i=1 ⊂ Ω are sampled from the interior sampling measure µΩ , where Nr is the number of residual collocation points and Ω is the interior domain of the PDE. For notational convenience, define ri := R(xi ; θ), i = 1, . . . , Nr , (41)

and collect these residual values into the residual vector r := (r1 , r2 , . . . , rNr )⊤ ∈ RNr .

(42)

Let N

µ̂Ω :=

r 1 X δx Nr i=1 i

(43)

denote the empirical measure associated with the collocation points, where δxi is the Dirac measure centered at xi . Then the generated residual distribution is given by the pushforward empirical measure N

µ̂θr := (Rθ )# µ̂Ω =

15

r 1 X δr , Nr i=1 i

(44)

where Rθ : x 7→ R(x; θ) denotes the residual mapping, and (Rθ )# µ̂Ω denotes the pushforward of the empirical collocation measure under this map. Therefore, the generated data distribution can r be viewed as a finite Dirac mixture supported on the residual samples {ri }N i=1 , which serves as a discrete approximation of the pushforward measure (Rθ )# µΩ . In contrast, the real data distribution associated with the ideal PDE-satisfying state is concentrated at zero and is thus represented by the Dirac measure µreal = δ0 . (45) Adversarial objective. We formulate the adversarial training between the solution network uθ and the discriminator network f (·; ϕ) within a general adversarial learning framework. Let R(x; θ) denote the generated PDE residual induced by the solution network and T (x) represent the target residual distribution. The generator (solution network) is trained to minimize ! Nr   1 X R f R (xi ; θ) ; ϕ , (46) L(θ) = Nr i=1 while the discriminator aims to distinguish target samples from generated residuals by maximizing " ! !# Nr     1 X L(ϕ) = P f T (xi ) ; ϕ + Q f R (xi ; θ) ; ϕ . (47) Nr i=1 where P (·), Q(·), and R(·) are scalar loss functions defined in (32), (33) and (35). Different choices of these functions recover various GAN formulations. In the general setting, the real data correspond to the zero-residual target. For the original GAN and LSGAN formulations, the discriminator is trained to output 1 when the input equals the real data (i.e., T (xi ) = 0) and 0 when the input corresponds to generated residual samples (R(xi ; θ)). In contrast, under the WGAN formulation, the discriminator (critic) is trained to assign larger values to the real data (zero residual) and smaller values to generated residual samples, without restricting its output to the interval [0, 1]. Meanwhile, the generator seeks to reduce the PDE residual magnitude so that the generated samples become indistinguishable from the zero-residual target, thereby enforcing the governing equation. A.4

Background on the neural tangent kernel regime

This appendix recalls the standard assumptions and conclusions of the neural tangent kernel (NTK) regime used in our analysis. The goal is not to rederive NTK theory from scratch, but to state clearly the conditions under which later kernel-based generator and discriminator dynamics are justified. The presentation follows the standard NTK viewpoint established for wide neural networks, where the network output becomes approximately linearized around initialization and the corresponding kernel remains nearly constant during training [14]. Let g(x; θ) denote a neural network with input x ∈ X and parameters θ ∈ RP . We are interested in the regime where gradient-based training of g can be described directly at the level of its output function, rather than only through the nonlinear parameter trajectory. Assumption 2 (Network architecture). The network is a standard architecture, such as a fully connected, convolutional, or residual network, with standard hidden layers and affine transformations. Assumption 3 (Activation regularity). The activation function is standard and sufficiently smooth. The activation can be any standard function: tanh, softplus, sigmoid, Gaussian, etc. Assumption 4 (Nondegenerate bias). Linear layers contain nonzero bias terms, which is standard in NTK formulations and helps avoid degenerate kernels in certain settings. Assumption 5 (Initialization). The network parameters are randomly initialized with a standard width-dependent scaling. In the usual NTK parameterization, the preactivations remain of order one as the hidden widths grow, which ensures a nontrivial infinite-width limit. Under such initialization, the network output at initialization converges in law to a Gaussian process. Assumption 6 (Infinite-width limit). The hidden widths n1 , . . . , nL−1 tend to infinity. In this regime, fluctuations due to finite width vanish, and both the network output at initialization and the NTK admit deterministic limiting descriptions. 16

Under these assumptions, the network output admits the first-order approximation  g(x; θ(t)) ≈ g(x; θ0 ) + ∇θ g(x; θ0 )⊤ θ(t) − θ0 . (48) This approximation is the basis of the NTK viewpoint: the nonlinear network is replaced by a linearized model around initialization, while the training dynamics are encoded by a kernel. The corresponding neural tangent kernel is defined by k(x, x′ ) := ⟨∇θ g(x; θ0 ), ∇θ g(x′ ; θ0 )⟩ . For a finite set of points {xi }N i=1 , the associated NTK Gram matrix is  N K = k(xi , xj ) i,j=1 .

(49) (50)

The central NTK conclusions can then be summarized as follows. Theorem 2 (Standard NTK regime [14]). Under Assumptions 2–6, the following hold: 1. Gaussian-process initialization. The random function g(·; θ0 ) converges in law to a Gaussian process. 2. Deterministic limiting NTK. The random NTK k(x, x′ ; θ0 ) converges to a deterministic limiting kernel k∞ (x, x′ ). 3. Kernel stability during training. Along training, the NTK remains approximately constant: k(x, x′ ; θ(t)) ≈ k(x, x′ ; θ0 ) ≈ k∞ (x, x′ ). (51) 4. Output dynamics in function space. If g(t) = [g(x1 ; θ(t)), . . . , g(xN ; θ(t))]⊤ denotes the vector of network outputs on training points and L(g) is the loss viewed as a function of the outputs, then under gradient flow one has ġ(t) ≈ −K ∇g L(g(t)), (52) where K is the limiting NTK Gram matrix. Interpretation. The theorem states that, in the wide-network regime, training can be analyzed directly in function space. The nonlinear parameter dynamics are replaced by a kernel-preconditioned gradient flow on the outputs. This is precisely why the NTK framework is useful for studying residual dynamics, modewise convergence, and kernel-induced weighting mechanisms. Hence the convergence rate is governed by the spectrum of the kernel matrix K: components associated with large eigenvalues decay faster, while components associated with small eigenvalues decay more slowly. This spectral viewpoint is one of the key motivations for using NTK analysis in training-dynamics problems. Scope of the approximation. The NTK regime is an asymptotic and mechanism-level approximation. Its justification relies on wide hidden layers, standard smooth parameterization, and small parameter drift. Therefore, it is not a complete description of all finite-width training phenomena. Nevertheless, it provides a mathematically tractable and often accurate description of the early and intermediate training dynamics of overparameterized neural networks, which is why it serves as the theoretical basis for the kernel-based analysis in this work. Relevance for the present paper. In the sequel, this NTK viewpoint will be applied separately to the generator and the discriminator. On the generator side, it yields a kernel description of residual evolution. On the discriminator side, it motivates a function-space flow under alternating training. The resulting interaction between these two kernel-induced dynamics is the basis of our later residual-space analysis.

B

Detailed derivations of discriminator and generator dynamics

In this appendix, we provide the detailed derivations of the discriminator and generator dynamics used in the main text. Throughout, we follow the notation introduced in Section 2. Recall that the adversarial objective is written in the unified form Nr h  i 1 X LD (ϕ) = P f (T (xi ); ϕ) + Q f (R(xi ; θ); ϕ) , (53) Nr i=1 17

for the discriminator, and N

LG (θ) =

r  1 X R f (R(xi ; θ); ϕ) Nr i=1

(54)

for the generator. Under alternating optimization, gradient ascent is applied to ϕ and gradient descent is applied to θ. The corresponding gradients are Nr   ∂f (R(x ; θ); ϕ) ∂R(x ; θ) ∂LG (θ) 1 X i i = R′ f (R(xi ; θ); ϕ) , ∂θ Nr i=1 ∂R(xi ; θ) ∂θ(t)

(55)

and " # Nr   ∂f (T (x ); ϕ)   ∂f (R(x ; θ); ϕ) 1 X ∂LD (ϕ) i i P ′ f (T (xi ); ϕ) = + Q′ f (R(xi ; θ); ϕ) . ∂ϕ Nr i=1 ∂ϕ(t) ∂ϕ(t) (56) Hence the discrete parameter updates are ∂LG (θ) , (57) ∂θ ∂LD (ϕ) , (58) ϕ(n + 1) = ϕ(n) + b(n) ∂ϕ where a(n) and b(n) denote the generator and discriminator learning rates, respectively. Passing formally to the continuous-time limit yields the gradient-flow system θ(n + 1) = θ(n) − a(n)

ϕ̇(t) =

∂LD (ϕ(t)) , ∂ϕ(t)

(59)

∂LG (θ(t)) . ∂θ(t)

(60)

θ̇(t) = − B.1

Discriminator dynamics in parameter space

We first derive the discriminator evolution. For a fixed generator state θ, we have defined the residual samples ri := R(xi ; θ), i = 1, . . . , Nr . (61) Then (59) becomes " # Nr  ∂f (T (xi ); ϕ(t))  ∂f (ri ; ϕ(t)) 1 X ′ ′ ϕ̇(t) = P f (T (xi ); ϕ(t)) + Q f (ri ; ϕ(t)) . (62) Nr i=1 ∂ϕ(t) ∂ϕ(t) This is the discriminator gradient flow in parameter space. Let

∂f (x; ϕ(t)) ∂f (y; ϕ(t)) , (63) ∂ϕ(t) ∂ϕ(t) denote the discriminator NTK. Under the standard Assumptions 2-6, this kernel remains approximately constant during training: ktD (x, y) ≈ k D (x, y). (64) For any input x in the discriminator input space, the time derivative of the discriminator output is   d ∂f (x; ϕ(t)) f (x; ϕ(t)) = , ϕ̇(t) dt ∂ϕ(t) * + Nr h  ∂f (T (xi ); ϕ(t))  ∂f (ri ; ϕ(t)) i ∂f (x; ϕ(t)) 1 X ′ ′ = , P f (T (xi ); ϕ(t)) + Q f (ri ; ϕ(t)) ∂ϕ(t) Nr i=1 ∂ϕ(t) ∂ϕ(t) ktD (x, y) :=

=

Nr h i    1 X P ′ f (T (xi ); ϕ(t)) ktD x, T (xi ) + Q′ f (ri ; ϕ(t)) ktD (x, ri ) . Nr i=1

18

(65)

Under the constant-NTK approximation, this reduces to Nr h i    1 X d P ′ f (T (xi ); ϕ(t)) k D x, T (xi ) + Q′ f (ri ; ϕ(t)) k D (x, ri ) . f (x; ϕ(t)) = dt Nr i=1

(66)

In particular, evaluating at x = rj yields Nr h i    d 1 X P ′ f (T (xi ); ϕ(t)) k D rj , T (xi ) + Q′ f (ri ; ϕ(t)) k D (rj , ri ) . (67) f (rj ; ϕ(t)) = dt Nr i=1

Integrating (66) from 0 to t, we obtain the representation Nr h i    1 X P ′ f (T (xi ); ϕ(s)) k D x, T (xi ) +Q′ f (ri ; ϕ(s)) k D (x, ri ) ds, 0 Nr i=1 (68) where f0 (x) := f (x; ϕ(0)).

Z t

f (x; ϕ(t)) = f0 (x)+

B.2

Functional-space notation for discriminator training

Before deriving the discriminator dynamics in function space, we briefly introduce the notation that will be used in the following subsection. The purpose of this step is to rewrite the discriminator update not only at the parameter level ϕ, but also at the level of the discriminator function f (·; ϕ) acting on the residual domain. Residual-domain training measure. For a fixed generator state θ, the discriminator is trained on two types of samples in the residual domain: • the real target samples T (xi ) = 0, • the generated residual samples R(xi ; θ) = ri . Accordingly, we introduce the empirical training measure on the residual domain, γ̂θr :=

Nr Nr 1 X 1 X δ0 + δr , 2Nr i=1 2Nr i=1 i

ri = R(xi ; θ).

(69)

Thus, γ̂θr is the empirical measure supported on the real zero state and the generated residual samples. It plays the role of the discriminator-side training distribution in residual space. Discriminator as a function on residual space. Instead of only viewing the discriminator through its parameter vector ϕ, we may also regard it as a time-dependent function ft (·) := f (·; ϕ(t)),

(70)

defined on the residual variable r ∈ R. In this viewpoint, the discriminator training flow (59) induces an evolution equation for the function ft itself. Functional gradient. Let LD (f ) denote the discriminator objective viewed as a functional of the discriminator function f . Its gradient with respect to the empirical measure γ̂θr , denoted by ∇γ̂θr LD (f ), is the function on the support of γ̂θr such that, for every perturbation ψ ∈ L2 (γ̂θr ), D E d LD (f + εψ) = ∇γ̂θr LD (f ), ψ 2 r . dε L (γ̂θ ) ε=0

(71)

In other words, ∇γ̂θr LD (f ) is the discriminator-side functional gradient evaluated on the empirical residual training measure. 19

Discriminator NTK and RKHS. Assume now that the discriminator is in the infinite-width or constant-NTK regime, and let k D (r, r′ ) denote its Neural Tangent Kernel on the residual domain. Associated with k D and the empirical measure γ̂θr , one defines the reproducing kernel Hilbert space (RKHS), denoted by γ̂ r HkDθ , which is the function space generated by the kernel sections k D (r, ·) over points r in the support of γ̂θr . Kernel integral operator.

The corresponding kernel integral operator γ̂ r

TkD ,γ̂θr : L2 (γ̂θr ) → HkDθ is defined by  TkD ,γ̂θr h (r) :=

Z

k D (r, r̃) h(r̃) dγ̂θr (r̃).

(72)

Since γ̂θr is empirical, this becomes  TkD ,γ̂θr h (r) =

Nr Nr 1 X 1 X k D (r, 0) h(0) + k D (r, ri ) h(ri ). 2Nr i=1 2Nr i=1

(73)

Therefore, TkD ,γ̂θr maps a function defined only on the discrete training support into a kernelsmoothed function on the whole residual domain. Interpretation. The key point is that the discriminator loss is only evaluated on the empirical support {0, r1 , . . . , rNr }, whereas the generator requires the input derivative ∂r ft (r) of the trained discriminator as a genuine function of the residual variable. The kernel operator TkD ,γ̂θr provides precisely this extension: it turns the empirical discriminator training signal into a smooth function on residual space, shaped by the architecture-dependent NTK k D . With these notations in place, the next subsection rewrites discriminator training as a functional gradient flow in residual space. B.3

Discriminator analysis under alternating training: an NTK interpretation in residual space

We adapt the discriminator-side NTK viewpoint of alternating GAN training to our residual-space formulation of adversarial PINNs. Concretely, the general NTK function-space flow of the discriminator is adapted from the discriminator-side NTK framework of Franceschi et al. [15], while our contribution here is to rewrite and interpret it in the present residual setting, where the generated distribution is the empirical residual measure µ̂θr and the real distribution is the zero state δ0 . This residual-space reinterpretation is what allows the discriminator flow to be connected directly to the generator-side residual dynamics studied in the main text. With the functional-space notation introduced above, the discriminator training dynamics under a fixed generator state can be written as   ∂t ft = TkD ,γ̂θr ∇γ̂θr LD (ft ) . (74) This equation shows that, under alternating optimization, the discriminator should not be viewed as an arbitrary optimizer on the empirical residual samples, but rather as a finite-time function-space flow shaped jointly by the empirical residual training measure γ̂θr and the discriminator NTK k D . In particular, the discriminator architecture enters generator training through the kernel operator in (74), and therefore directly affects the gradient field induced on residual space. A key consequence of (74) is that the trained discriminator is uniquely determined by its initial state and admits the representation Z t  r r ft = f0 + TkD ,γ̂θ ∇γ̂θ LD (fs ) ds . (75) 0

Hence the increment ft − f0 lies in the RKHS generated by k D , which means that discriminator training amounts to adding to the initial network a kernel-smoothed correction determined by the 20

empirical residual samples and the real zero state. This observation is important in our setting because the discriminator loss is only evaluated on the discrete support {0, r1 , . . . , rNr }, whereas the generator dynamics require the input derivative ∂r ft (r) as a function defined on the whole residual domain. Under standard architectural assumptions, the discriminator NTK is differentiable, and therefore so is the trained discriminator ft . As a result, the derivative field ∂r ft (r) appearing in the generator-side residual dynamics is well-defined. This resolves the gradient-indeterminacy issue that would arise if one treated the empirical discriminator as an unconstrained optimum only defined on a discrete support. In our framework, the discriminator derivative is instead a finite-time, NTK-smoothed quantity determined by both the sample distribution and the discriminator architecture. This interpretation fits directly into the generator dynamics developed in the main text (23). Once the discriminator is frozen after its substep, the residual evolution of the generator takes the form G ṙ = Krr (θ) ΓD 1,

(76)

D

where the diagonal entries of Γ depend on (22): γi = −

 1 ′ R ft (ri ) ∂r ft (ri ). Nr

Therefore, the discriminator-induced weighting in adversarial PINNs is not produced by an abstract optimal critic, but by the finite-time residual-space vector field generated by (74). From this viewpoint, the discriminator plays the role of an architecture-dependent smoothing and weighting operator acting on the empirical residual distribution. B.3.1

The IPM case: kernel witness function on residual samples

We now reinterpret the general discriminator-side NTK framework of [15] in our residual-space setting. The key point here is that the discriminator behaves as a kernel witness function measuring the discrepancy between the empirical residual distribution and the zero target. This makes the resulting generator-side weighting especially explicit. Proposition 3 (IPM discriminator flow as a kernel witness function on residual space). Fix the generated residual distribution µ̂θr and the target δ0 . In the IPM case, let k D denote the discriminator kernel. Then: 1. The discriminator evolves linearly in function space as ft = f0 + t fθ∗ ,

(77)

where fθ∗ is the unnormalized MMD witness function associated with k D . 2. In residual-space notation, the witness function is given by   fθ∗ (r) = −Er̃∼µ̂θr k D (r̃, r) + k D (0, r),

(78)

or equivalently N

fθ∗ (r) = −

r 1 X k D (ri , r) + k D (0, r). Nr i=1

(79)

3. The induced generator-side sample weighting is γiIPM =

1 t 1 ∂r ft (ri ) = ∂r f0 (ri ) + ∂r fθ∗ (ri ). Nr Nr Nr

(80)

Proof. In the IPM setting, the discriminator-side NTK dynamics admit an explicit linear form in function space. For fixed µ̂θr and target δ0 , the discriminator moves in the direction of the kernel witness function associated with the discrepancy between the generated residual distribution and the zero target. Therefore, ft = f0 + t fθ∗ , (81) which proves (77). By definition, the corresponding unnormalized witness function is   fθ∗ (r) = −Er̃∼µ̂θr k D (r̃, r) + k D (0, r), 21

(82)

which proves (78). Since N

µ̂θr =

r 1 X δr , Nr i=1 i

the empirical representation (79) follows immediately: N

fθ∗ (r) = −

r 1 X k D (ri , r) + k D (0, r). Nr i=1

(83)

Finally, in the IPM-GAN case, the generator-side weighting is given by 1 ∂r ft (ri ). Nr

(84)

1 t ∂r f0 (ri ) + ∂r fθ∗ (ri ), Nr Nr

(85)

γiIPM = Substituting ft = f0 + t fθ∗ yields γiIPM =

□

which proves (80).

Interpretation. Proposition 3 shows that, in the IPM case, the discriminator is most naturally interpreted as a kernel witness function on residual space. Unlike the LSGAN discriminator, which relaxes toward a regression target, or the vanilla GAN discriminator, which behaves as a nonlinear kernel classifier, the IPM discriminator directly represents the discrepancy between the empirical residual distribution and the zero target through the kernel k D . This makes the generator-side effect especially transparent: the discriminator induces a residual-space gradient field through ∂r ft (ri ), and this field is precisely the derivative of the witness function. Therefore, the IPM discriminator contributes not merely a notion of sample realism, but an explicit sample-dependent preconditioning field for residual descent. In the language of this paper, this is the clearest example of how discriminator training reshapes generator dynamics through residual-space weighting. B.3.2

The LSGAN case: kernel-smoothed regression target for our choice of labels

We next specialize the discriminator-side NTK framework to our LSGAN formulation in residual space. The main point here is not to introduce a new NTK tool, but to reinterpret the discriminator dynamics under our labeling convention: generated residual samples are assigned target value 0, while the real zero state is assigned target value 1. Under this choice, the discriminator becomes a kernel-smoothed regression field on residual space, whose derivative then induces the generator-side residual weighting. Proposition 4 (LSGAN discriminator flow as kernel-smoothed regression on residual space). Consider the discriminator objective   1   1 2 LLS − Ey∼δ0 (f (y) − 1)2 . (86) D (f ) = − Er∼µ̂θr f (r) 2 2 Let 1 1 γ̂θr = µ̂θr + δ0 , (87) 2 2 and define the regression target dδ0 ρθ := . (88) d(δ0 + µ̂θr ) Then the following statements hold: 1. The L2 (γ̂θr ) functional gradient of LLS D is ∇γ̂θr LLS D (f ) = 2(ρθ − f ).

(89)

2. Consequently, the discriminator NTK flow is ∂t ft = 2 TkD ,γ̂θr (ρθ − ft ). 22

(90)

3. The resulting function-space dynamics are linear, and the solution is  ft = exp − 2t TkD ,γ̂θr (f0 − ρθ ) + ρθ .

(91)

Equivalently, if φt (x) := e−2tx − 1,

(92)

 ft = f0 + φt TkD ,γ̂θr (f0 − ρθ ).

(93)

then 4. The induced generator-side sample weighting is γiLSGAN = −

 1 ft (ri ) − 1 ∂r ft (ri ). Nr

(94)

Proof. Starting from (86), we rewrite the discriminator loss with respect to the empirical measure γ̂θr . Since 1 1 γ̂θr = µ̂θr + δ0 , 2 2 we may express LLS D as LLS D (f ) =

 Z  1 dµ̂θr 2 1 dδ0 2 − f − (f − 1) dγ̂θr . 2 dγ̂θr 2 dγ̂θr

(95)

Taking the functional derivative with respect to f gives dδ0 dµ̂θr f− (f − 1) r dγ̂θ dγ̂θr  r  dµ̂θ dδ0 dδ0 =− + f+ . r r dγ̂θ dγ̂θ dγ̂θr

∇γ̂θr LLS D (f ) = −

(96)

Since γ̂θr = we have

1 r (µ̂ + δ0 ), 2 θ

dµ̂θr dδ0 + = 2, dγ̂θr dγ̂θr

dδ0 = 2ρθ . dγ̂θr

Therefore, ∇γ̂θr LLS D (f ) = −2f + 2ρθ = 2(ρθ − f ),

(97)

which proves (89). Substituting this gradient into the general discriminator function-space flow yields   ∂t ft = TkD ,γ̂θr ∇γ̂θr LLS D (ft ) = 2 TkD ,γ̂θr (ρθ − ft ),

(98)

which proves (90). Since this is a linear differential equation in function space, its solution is  ft = exp − 2t TkD ,γ̂θr (f0 − ρθ ) + ρθ ,

(99)

which proves (91). The equivalent representation (93) follows immediately from the definition φt (x) = e−2tx − 1. Finally, under our generator-side convention, the induced sample-wise weighting is γiLSGAN = −

 1 ft (ri ) − 1 ∂r ft (ri ), Nr

(100) □

which proves (94). 23

Interpretation. Proposition 4 shows that, under our labeling convention, the LSGAN discriminator is best understood not as an abstract optimal critic, but as a kernel-smoothed regression function on residual space. The target ρθ encodes the desired regression rule induced by the real zero state and the generated residual samples. When the supports of δ0 and µ̂θr are disjoint, this rule reduces to the usual binary labeling convention: the real zero state is assigned value 1, while generated residual samples are assigned value 0. The NTK flow then drives the discriminator toward this regression target in function space, up to the null space of the kernel operator. This interpretation is useful for adversarial PINNs because the generator does not only need discriminator values on the empirical support, but also requires the derivative field ∂r ft (r). The kernel operator TkD ,γ̂θr extends the target regression signal into a smooth function on the whole residual domain, so that ∂r ft (ri ) is well-defined at finite training time. In this sense, the discriminator acts as a kernel-smoothed regression field whose derivative modulates the generator residual dynamics. Compared with the IPM case, where the discriminator behaves as a witness function, the LSGAN discriminator instead behaves like a regression map relaxing toward a target field. Therefore, the essential difference is not only the nominal loss form, but the type of residual-space structure induced on the generator: witness-type geometry in the IPM case versus regression-type weighting in the LSGAN case. Remark 8 (On the target density and convergence). The target ρθ = dδ0 /d(δ0 + µ̂θr ) should be interpreted as a Radon–Nikodym density with respect to the combined residual measure, rather than always as a pointwise binary label. In particular, if some generated residual samples satisfy ri = 0, then the supports of δ0 and µ̂θr overlap, and the value of ρθ at zero reflects the relative mass of the real zero state and the generated residual samples located at zero. Thus, the simple 1/0 labeling interpretation is exact only in the support-disjoint case. Moreover, the formula  ft = exp − 2t TkD ,γ̂θr (f0 − ρθ ) + ρθ should be understood as relaxation toward ρθ modulo the null space of the kernel operator. If TkD ,γ̂θr is injective on the empirical support, then the discriminator converges exponentially to ρθ on that support. Otherwise, components of f0 − ρθ lying in the null space of TkD ,γ̂θr are not dissipated by the flow. B.3.3

The vanilla GAN case: kernel-smoothed nonlinear classifier in residual space

We finally rewrite the vanilla GAN discriminator flow in the same residual-space language, so that it can be compared directly with the IPM and LSGAN cases from the viewpoint of generator-side residual weighting. In contrast to the linear regression structure of LSGAN, the key new feature here is the sigmoid nonlinearity, which turns the discriminator dynamics into a nonlinear kernel classification flow. Proposition 5 (Vanilla GAN discriminator flow on residual space). Let the discriminator output be Dt (r) := σ(ft (r)), where ft (r) is the pre-sigmoid score. Consider the discriminator objective     LGAN (f ) = Ey∼δ0 log D(y) + Er∼µ̂θr log(1 − D(r)) . D Let

(101)

(102)

γ̂θr =

1 r 1 µ̂ + δ0 , 2 θ 2

(103)

ρθ :=

dδ0 . d(δ0 + µ̂θr )

(104)

and define

Then: 1. The L2 (γ̂θr ) functional gradient of LGAN is D  ∇γ̂θr LGAN (f ) = 2 ρθ − σ(f ) . D

(105)

2. Consequently, the discriminator NTK flow is  ∂t ft = 2 TkD ,γ̂θr ρθ − σ(ft ) . 24

(106)

3. If f∞ is a stationary point of (106), then  TkD ,γ̂θr ρθ − σ(f∞ ) = 0.

(107)

In particular, if the kernel operator is injective on the empirical support, then σ(f∞ ) = ρθ

on supp(γ̂θr ).

(108)

4. Near a stationary point f∞ , writing ft = f∞ + ht with ∥ht ∥ ≪ 1, one has the first-order approximation  ∂t ht = −2 TkD ,γ̂θr σ ′ (f∞ )ht + O(∥ht ∥2 ). (109) 5. The induced generator-side sample weighting is γiGAN = Proof.

1 1 1 ∂r Dt (ri ) = Dt (ri ) ∂r ft (ri ). Nr 1 − Dt (ri ) Nr

Rewriting (102) over the empirical measure γ̂θr , we have  Z  dµ̂θr dδ0 GAN log σ(f ) + log(1 − σ(f )) dγ̂θr . LD (f ) = dγ̂θr dγ̂θr

(110)

(111)

Differentiating with respect to f yields dδ0 σ ′ (f ) dµ̂θr σ ′ (f ) − dγ̂θr σ(f ) dγ̂θr 1 − σ(f ) dδ0 dµ̂ r = (1 − σ(f )) − θr σ(f ). r dγ̂θ dγ̂θ

∇γ̂θr LGAN (f ) = D

Since γ̂θr =

dδ0 = 2ρθ , dγ̂θr

1 r (µ̂ + δ0 ), 2 θ

(112)

dµ̂θr = 2(1 − ρθ ), dγ̂θr

we obtain ∇γ̂θr LGAN (f ) = 2ρθ − 2σ(f ) = 2(ρθ − σ(f )), D

(113)

which proves (105). Substituting this into the general discriminator NTK flow gives (106). The equilibrium condition follows immediately by setting ∂t ft = 0 in (106), which gives  TkD ,γ̂θr ρθ − σ(f∞ ) = 0. If the kernel operator is injective on the empirical support, then (108) follows. For the local linearization, write ft = f∞ + ht and use the Taylor expansion σ(f∞ + ht ) = σ(f∞ ) + σ ′ (f∞ )ht + O(∥ht ∥2 ). Substituting this into (106) and using the equilibrium relation yields (109). Finally, for the minimax generator objective, γiGAN = −

 1 ′ R ft (ri ) ∂r ft (ri ). Nr

(114)

Equivalently, writing the discriminator output directly as Dt (r) = σ(ft (r)), one obtains γiGAN =

1 1 ∂r Dt (ri ). Nr 1 − Dt (ri )

(115)

Using the chain rule ∂r Dt (ri ) = Dt (ri )(1 − Dt (ri )) ∂r ft (ri ), this becomes γiGAN =

1 Dt (ri ) ∂r ft (ri ), Nr

(116) □

which proves (110). 25

Interpretation. Proposition 5 shows that, in residual space, the vanilla GAN discriminator is best understood as a kernel-smoothed nonlinear classifier rather than as a linear regression field or a witness function. The target ρθ still separates the real zero residual from the generated residual samples, but the sigmoid nonlinearity changes the discriminator dynamics qualitatively. Formally, if a finite stationary point exists, it satisfies the equilibrium condition in Proposition 5. In the separable case, however, the limiting relation σ(f∞ ) = ρθ may correspond to saturation of the logits rather than convergence to a finite discriminator. This saturation behavior directly affects the generator-side weighting. Although the logit-level discriminator flow is driven by the classification residual ρθ − σ(ft ), the probability-level input derivative satisfies ∂r Dt (r) = Dt (r)(1 − Dt (r)) ∂r ft (r). Hence the residual-space derivative of the discriminator output is suppressed in saturated regions where Dt (r) ≈ 0 or Dt (r) ≈ 1. Compared with IPM and LSGAN, vanilla GAN also introduces an additional confidence factor Dt (ri ) into the sample-wise weighting, so the discriminator acts through both its residual-space score gradient ∂r ft (ri ) and its current classification confidence. In this sense, the essential difference is not only the nominal adversarial loss, but also the way the sigmoid nonlinearity reshapes the discriminator-induced residual weighting. Remark 9. The purpose of the present appendix is not to claim a new NTK theory of GAN discriminators in itself. Rather, we use the existing discriminator-side NTK framework as an analysis tool and reinterpret it in residual space so that it becomes directly applicable to adversarial PINNs. What is specific to the present setting is that the “generated samples” are residual values, the “real samples” correspond to the zero residual state, and the resulting discriminator flow can therefore be linked explicitly to the generator-side residual weighting and residual-energy dynamics developed in the main text. B.4

Generator residual dynamics

We next derive the generator-side dynamics in residual space. Unlike the discriminator, whose evolution is naturally described in function space, the generator affects training through the evolution of the residual values themselves. It is therefore convenient to rewrite the parameter-space gradient flow of the generator as a closed dynamics for the residual vector. This leads directly to the kernelpreconditioned residual evolution used throughout the main text. Proposition 6 (Generator residual dynamics in residual space). Let the generator gradient flow be θ̇(t) = −

∂LG (θ(t)) . ∂θ(t)

(117)

For each collocation point xj , define the residual rj (t) := R(xj ; θ(t)), Let

j = 1, . . . , Nr .

r(t) := [r1 (t), . . . , rNr (t)]⊤ ∈ RNr

be the residual vector, and define the generator residual NTK matrix   ∂R(xi ; θ(t)) ∂R(xj ; θ(t)) G (Krr )ij (t) := , . ∂θ(t) ∂θ(t)

(118) (119)

(120)

Further define the diagonal matrix  Γ(t) := Diag Γ11 (t), . . . , ΓNr Nr (t) ,

(121)

with entries  ∂f (r (t); ϕ(t)) 1 ′ i R f (ri (t); ϕ(t)) . Nr ∂ri (t) Then the generator-induced residual dynamics satisfy Γii (t) = −

ṙj (t) =

Nr X

G (Krr )ji (t) Γii (t),

i=1

26

j = 1, . . . , Nr ,

(122)

(123)

or equivalently, in vector form, G ṙ(t) = Krr (t) Γ(t) 1,

where 1 ∈ R

Nr

(124)

denotes the all-one vector.

Equivalently, if one introduces the weighting vector γ(t) := Γ(t)1 = [γ1 (t), . . . , γNr (t)]⊤ ,

(125)

with γi (t) = −

 ∂f (r (t); ϕ(t)) 1 ′ i R f (ri (t); ϕ(t)) , Nr ∂ri (t)

(126)

then the residual dynamics admit the compact form G ṙ(t) = Krr (t) γ(t).

Proof.

(127)

Starting from the generator gradient flow, θ̇(t) = −

∂LG (θ(t)) , ∂θ(t)

(128)

and substituting (55), we obtain N

θ̇(t) = −

r   ∂f (R(x ; θ(t)); ϕ(t)) ∂R(x ; θ(t)) 1 X i i R′ f (R(xi ; θ(t)); ϕ(t)) . Nr i=1 ∂R(xi ; θ(t)) ∂θ(t)

(129)

For each collocation point xj , apply the chain rule:   ∂R(xj ; θ(t)) d R(xj ; θ(t)) = , θ̇(t) dt ∂θ(t) * + Nr   ∂f (R(x ; θ(t)); ϕ(t)) ∂R(x ; θ(t)) ∂R(xj ; θ(t)) 1 X i i ′ =− , R f (R(xi ; θ(t)); ϕ(t)) ∂θ(t) Nr i=1 ∂R(xi ; θ(t)) ∂θ(t)  N r   ∂f (R(x ; θ(t)); ϕ(t)) ∂R(x ; θ(t)) ∂R(x ; θ(t))  1 X i j i ′ =− R f (R(xi ; θ(t)); ϕ(t)) , . Nr i=1 ∂R(xi ; θ(t)) ∂θ(t) ∂θ(t) (130) Since ri (t) = R(xi ; θ(t)), this becomes Nr   ∂f (r (t); ϕ(t))  ∂R(x ; θ(t)) ∂R(x ; θ(t))  1 X j i i ′ , . ṙj (t) = − R f (ri (t); ϕ(t)) Nr i=1 ∂ri (t) ∂θ(t) ∂θ(t)

(131)

G Defining the generator residual NTK matrix Krr (t) and the diagonal weighting matrix Γ(t) by (122), we obtain the componentwise representation

ṙj (t) =

Nr X G (Krr )ji (t) Γii (t),

(132)

i=1

which yields the vector form G ṙ(t) = Krr (t) Γ(t) 1.

(133)

Finally, introducing γ(t) = Γ(t)1 gives G ṙ(t) = Krr (t) γ(t).

(134) □

This proves (124) and (127). 27

Interpretation. Proposition 6 shows that the generator does not evolve in residual space by an ordinary gradient descent with a scalar loss coefficient. Instead, its residual dynamics are preconditioned G by the generator residual NTK Krr (t) and modulated samplewise by the discriminator-induced weighting γ(t). G This decomposition is central to the viewpoint of the main text. The matrix Krr (t) encodes the geometry of residual propagation through the generator, while γ(t) contains the discriminator-side signal through the factor

γi = −

 ∂f (r (t); ϕ(t)) 1 ′ i R f (ri (t); ϕ(t)) . Nr ∂ri (t)

Hence, different adversarial objectives do not simply change a scalar divergence value; rather, they reshape the residual dynamics through different sample-dependent weighting mechanisms. In this sense, adversarial PINNs training should be understood as a discriminator-modulated, kernelpreconditioned residual descent process. B.4.1

Specialization to common adversarial objectives

We finally record the specialization of Γ(t) for several standard adversarial objectives. Vanilla GAN.

If  R(f ) = log 1 − σ(f ) ,

(135)

R′ (f ) = −σ(f ).

(136)

then

Hence, by (126),  ∂f (ri (t); ϕ(t)) 1 . σ f (ri (t); ϕ(t)) Nr ∂ri (t)

[Γ(t)]ii = Least-Squares GAN (LSGAN).

(137)

If R(f ) =

1 (f − 1)2 , 2

(138)

then R′ (f ) = f − 1.

(139)

Hence [Γ(t)]ii = −

 ∂f (ri (t); ϕ(t)) 1 f (ri (t); ϕ(t)) − 1 . Nr ∂ri (t)

Integral Probability Metric GAN (IPM-GAN).

(140)

If

R(f ) = −f,

(141)

R′ (f ) = −1.

(142)

then

Therefore, [Γ(t)]ii =

1 ∂f (ri (t); ϕ(t)) . Nr ∂ri (t)

(143)

Equations above show that, once the discriminator state is fixed, different adversarial objectives enter the generator residual dynamics through different sample-wise weighting rules, while the structural form of the residual dynamics remains the same. 28

B.4.2

Interpretation in our framework

The discriminator-side NTK analysis can be summarized in the language of this paper as follows. First, for a fixed generator, discriminator training against µ̂θr and δ0 produces a finite-time, architecturedependent residual-space function, rather than an arbitrary empirical optimum. Second, the derivative ∂r ft (r) entering the generator dynamics is therefore well-defined and inherits the smoothing and inductive bias of the discriminator NTK. Third, in the IPM case, this derivative is induced by the NTK-MMD witness function comparing µ̂θr and δ0 ; in the LSGAN case, it is induced by a kernelsmoothed regression solution; and in the vanilla GAN case, it is induced by a kernel-smoothed nonlinear classification flow shaped by the sigmoid nonlinearity. From our perspective, the essential role of the discriminator in adversarial PINNs is therefore not to realize an abstract optimal divergence critic, but to generate, after finite-time NTK-constrained training, a differentiable residual-space weighting field whose derivative directly modulates the generator residual dynamics. This is precisely the mechanism captured by our framework.

C

Analysis of the residual-energy decay

C.1

Residual-energy law and constant-kernel approximation

We now turn from the residual dynamics themselves to the evolution of the residual energy. This provides a more compact scalar description of whether adversarial training is effectively driving the residual toward zero. Starting from the generator-side residual dynamics derived in the previous appendix, we show that the energy dissipation rate is determined by the interaction between the generator residual NTK and the discriminator-induced weighting vector. This identity will serve as the basis for the later decay estimates, failure-mode analysis, and spectral interpretations. Theorem 3 (Residual-energy law under adversarial residual dynamics). Let E(t) :=

1 ∥r(t)∥2 2

(144)

be the residual energy, where the residual vector evolves according to G ṙ(t) = Krr (t)γ(t),

(145)

G (t) ∈ RNr ×Nr and discriminator-induced weighting vector with generator residual NTK Krr

γ(t) = [γ1 (t), . . . , γNr (t)]⊤ .

(146)

G Ė(t) = r(t)⊤ Krr (t)γ(t).

(147)

Then the residual energy satisfies

In particular, the sign and magnitude of Ė(t) are determined by how the discriminator-induced G weighting γ(t) aligns with the residual vector through the kernel geometry imposed by Krr (t). Proof.

By definition, E(t) =

1 1 ∥r(t)∥2 = r(t)⊤ r(t). 2 2

(148)

Differentiating with respect to time yields Ė(t) = r(t)⊤ ṙ(t).

(149)

Substituting the residual dynamics (145), we obtain G Ė(t) = r(t)⊤ Krr (t)γ(t),

(150) □

which proves (147). 29

Interpretation. Theorem 3 shows that the energy decay in adversarially trained PINNs is not controlled by the generator kernel alone, nor by the discriminator weighting alone, but by their G interaction. The matrix Krr (t) determines how a local discriminator signal propagates across residual samples, while γ(t) determines whether that propagated signal is aligned with residual descent. Therefore, the key quantity is not simply the size of the discriminator gradient, but the signed bilinear form G r(t)⊤ Krr (t)γ(t), which acts as the instantaneous energy-dissipation rate. To obtain explicit convergence rates and more refined decay mechanisms, it is convenient to further work under the constant-NTK approximation G G Krr (t) ≈ Krr .

(151)

Under this approximation, the energy law admits a clearer spectral interpretation, which allows us to distinguish exponential decay, slower algebraic decay, and several representative failure modes. Remark 10 (On the constant-NTK approximation). The approximation (151) is best understood as a mechanism-level simplification rather than a universally exact property. Under Assumptions 2–6, for some relatively simple or weakly nonlinear problems—especially linear PDEs and certain regular regimes—the generator NTK is known or empirically observed to remain nearly constant during training[5]. By contrast, for strongly nonlinear, multiscale, or more complicated equations, the NTK may evolve nontrivially [21, 22], so the constant-kernel assumption need not hold exactly. Nevertheless, even in such cases, the approximation remains useful for revealing the dominant spectral mechanisms behind residual-energy decay and failure modes. C.2

Spectral factorization of the aligned dynamics

We first consider the favorable case in which the discriminator-induced weighting is linearly aligned G with the negative residual direction. Instead of treating Krr A as a symmetric operator, we use a spectral factorization that converts the effective operator into the symmetric positive semidefinite G,1/2 G,1/2 matrix Krr AKrr . G Assume throughout this subsection that the generator residual NTK Krr is symmetric positive definite on the active residual subspace, and that the discriminator-induced weighting takes the linear alignment form γ(t) = −Ar(t), (152) Nr ×Nr where A ∈ R is symmetric positive semidefinite. Then the residual dynamics become G ṙ(t) = −Krr A r(t).

(153)

Theorem 4 (Spectral factorization and convergence rate under linear alignment). Let G K := Krr ,

M := KA,

H := K 1/2 AK 1/2 .

(154)

Assume that K is symmetric positive definite and that A is symmetric positive semidefinite. Then: 1. M is similar to H, namely K −1/2 M K 1/2 = K −1/2 (KA)K 1/2 = K 1/2 AK 1/2 = H.

(155)

Hence M and H have the same eigenvalues. 2. Since H is symmetric positive semidefinite, all eigenvalues of M are real and nonnegative. Moreover, if λ1 (A) ≥ λ2 (A) ≥ · · · ≥ λNr (A) ≥ 0 (156) denote the eigenvalues of A, then for each j = 1, . . . , Nr , λmin (K) λj (A) ≤ λj (M ) = λj (H) ≤ λmax (K) λj (A).

(157)

3. Introducing the transformed variable z(t) := K −1/2 r(t),

(158)

ż(t) = −Hz(t).

(159)

the dynamics (153) become

30

Therefore, ∥z(t)∥2 ≤ e−2λmin (H)t ∥z(0)∥2 .

(160)

λmin (K)∥z∥2 ≤ ∥r∥2 ≤ λmax (K)∥z∥2 ,

(161)

Since the residual energy satisfies E(t) ≤ κ(K) E(0) e−2λmin (H)t ,

κ(K) :=

λmax (K) . λmin (K)

(162)

In particular, using (157), E(t) ≤ κ(K) E(0) e−2λmin (K)λmin (A)t . Proof.

(163)

The similarity relation follows directly from K −1/2 (KA)K 1/2 = K 1/2 AK 1/2 .

Since H = K 1/2 AK 1/2 is symmetric positive semidefinite, its spectrum is real and nonnegative, and therefore the same is true for M . The eigenvalue bound (157) is the standard congruence bound for symmetric positive semidefinite matrices. Now define z = K −1/2 r. Then ż = K −1/2 ṙ = −K −1/2 KAr = −K 1/2 AK 1/2 z = −Hz, which gives (159). Since H ⪰ 0, d 1 ∥z(t)∥2 = −z(t)⊤ Hz(t) ≤ −λmin (H)∥z(t)∥2 . dt 2 Applying Grönwall’s inequality yields ∥z(t)∥2 ≤ e−2λmin (H)t ∥z(0)∥2 . Finally, using the norm equivalence induced by K, λmin (K)∥z∥2 ≤ ∥r∥2 ≤ λmax (K)∥z∥2 , we obtain (162). The lower bound λmin (H) ≥ λmin (K)λmin (A) □

then gives (163).

Interpretation. Theorem 4 shows that, under linear alignment, the effective decay rate is controlled G G not by the generator residual NTK Krr alone, but by the coupled operator Krr A, or equivalently by G,1/2 G,1/2 the symmetric matrix Krr AKrr . Therefore, adversarially induced weighting may accelerate or slow down convergence through its interaction with the spectrum of the generator kernel. In G particular, small eigenvalues of A may lead to slow-decaying directions even when Krr itself is well-conditioned, while large eigenvalues of A may selectively amplify useful descent directions. Remark 11 (Connection to standard PINN-NTK dynamics). The standard non-adversarial PINNNTK law is recovered as the special case γ(t) = −r(t), that is, A = I. In this case the aligned dynamics reduce to G ṙ(t) = −Krr r(t),

and the residual energy satisfies G

E(t) ≤ E(0)e−2λmin (Krr )t . Thus ordinary PINN training corresponds to the reference case in which the residual is fed back without adversarial distortion. 31

C.3

Modal view and slower decay under weaker alignment

We now turn to the complementary situation where the residual energy still decreases, but the convergence is no longer fast. In this regime, the discriminator-induced weighting remains descentoriented, yet its alignment with the residual is weaker than in the strongly aligned case considered above. The resulting decay is therefore slower, and its mechanism is best understood in the eigenbasis of the generator residual NTK. Theorem 5 (Modal decay and slower convergence under weaker alignment). Assume the constantNTK approximation G G Krr (t) ≈ Krr , (164) and let G Krr = U ΛU ⊤ , Λ = Diag(λ1 , . . . , λNr ), λj ≥ 0, (165) be the eigendecomposition of the generator residual NTK. Define e r(t) := U ⊤ r(t),

e (t) := U ⊤ γ(t). γ

(166)

Then: 1. The residual dynamics in modal coordinates are e e (t), r˙ (t) = Λ γ

(167)

that is,

re˙ j (t) = λj γ ej (t), j = 1, . . . , Nr . 2. If the discriminator-induced weighting is modewise aligned in the sense that γ ej (t) = −aj (t)e rj (t),

aj (t) ≥ a∗ > 0,

(168) (169)

then each mode satisfies re˙ j (t) = −λj aj (t)e rj (t),

(170)

|e rj (t)| ≤ |e rj (0)|e−λj a∗ t . Consequently, the residual energy satisfies

(171)

and therefore

N

E(t) ≤

r 1X rej (0)2 e−2λj a∗ t . 2 j=1

(172)

3. More generally, if the feedback remains descent-oriented but no longer scales linearly with the residual, and one only has G r(t)⊤ Krr γ(t) ≤ −c∥r(t)∥2α ,

α > 1,

(173)

then the residual energy obeys the algebraic decay estimate E(t) ≤ C(1 + t)−1/(α−1)

(174)

G ṙ(t) = Krr γ(t),

(175)

for some constant C > 0. Proof.

Since

left-multiplying by U

⊤

G and using Krr = U ΛU ⊤ gives

G e e (t), r˙ (t) = U ⊤ ṙ(t) = U ⊤ Krr γ(t) = U ⊤ U ΛU ⊤ γ(t) = Λ γ

(176)

which proves (167). Now assume the modewise alignment condition (169). Then each mode satisfies re˙ j (t) = λj γ ej (t) = −λj aj (t)e rj (t).

(177)

Since aj (t) ≥ a∗ > 0, Grönwall’s inequality yields |e rj (t)| ≤ |e rj (0)|e−λj a∗ t , 32

(178)

which proves (171). Summing over all modes gives E(t) =

Nr Nr 1X 1X 1 rej (t)2 ≤ rej (0)2 e−2λj a∗ t , ∥e r(t)∥2 = 2 2 j=1 2 j=1

(179)

which proves (172). For the weaker descent-oriented case, starting from (173) and using ∥r(t)∥2 = 2E(t), we obtain G Ė(t) = r(t)⊤ Krr γ(t) ≤ −c(2E(t))α .

(180)

Integrating the associated scalar differential inequality yields E(t) ≤ C(1 + t)−1/(α−1) for some constant C > 0, which proves (174).

(181) □

Interpretation. Theorem 5 makes clear that residual decay is inherently spectral. Under strong modewise alignment, each mode decays at a rate controlled by λj aj (t), so modes associated with larger effective eigenvalues decay first. As a result, long-time training is dominated by the slower unresolved modes. This explains why spectral imbalance can be harmful: once the fast modes have already become small, maintaining a negative overall energy rate requires the discriminator-induced weighting to remain aligned with the slow modes that still dominate the residual energy. The last part of the proposition shows that if the discriminator feedback remains descent-oriented but is no longer linearly aligned with the residual, then exponential decay is typically lost, and only algebraic decay can be guaranteed. This provides a natural explanation for the long optimization tails often observed in adversarial PINNs training: even when training does not fail, insufficiently strong alignment with the unresolved modes can substantially slow convergence. C.4

Failure modes: ascent and stagnation

The previous three regimes describe successful but quantitatively different decay. The opposite cases are equally important. Proposition 7 (Ascent, stagnation, and unstable oscillation regimes). Under the residual-energy law (147): 1. If G r(t)⊤ Krr (t)γ(t) ≥ 0 (182) on some time interval, then E(t) fails to decrease monotonically on that interval. In the strictly positive case, the residual energy increases. 2. If ∥γ(t)∥ → 0 (183) G while ∥Krr (t)∥ remains bounded, then G ∥ṙ(t)∥ ≤ ∥Krr (t)∥ ∥γ(t)∥ → 0.

(184)

Thus the first-order residual dynamics stall. If this happens before r(t) becomes small, training enters a plateau regime. 3. Let G s(t) := r(t)⊤ Krr (t)γ(t). (185) If s(t) changes sign repeatedly on a time interval, namely if there exist sequences t1 < t2 < t3 < · · ·

(186)

such that s(t2m−1 ) > 0, s(t2m ) < 0, (187) for all admissible m, then the residual-energy slope alternates between ascent-oriented and descent-oriented phases. In this case, E(t) does not exhibit a stable monotone decay trend, but instead undergoes oscillatory evolution. Consequently, training becomes dynamically unstable in the sense that the discriminator-induced update direction repeatedly switches between alignment and misalignment with residual descent. 33

Remark 12. Proposition 7 identifies three representative failure modes for adversarially trained PINNs. First, if the discriminator-induced weighting is misaligned with the residual after modulation G by the generator residual NTK, so that r(t)⊤ Krr (t)γ(t) > 0, then the residual energy increases rather than decreases. Second, if the discriminator-induced gradient vanishes, namely ∥γ(t)∥ → 0, then the first-order residual dynamics stall; this is especially likely to occur when the discriminator becomes overly strong and produces near-vanishing generator-side gradients, as can happen in GAN-type or LSGAN-type training. Third, even when the discriminator gradient does not vanish, it may fail to remain consistently descent-oriented, so that the induced weighting alternates between favorable and unfavorable directions. In this case, the first-order indicator changes sign repeatedly, leading to oscillatory and unstable training behavior. These three phenomena are also clearly illustrated in the right panel of Fig. 2 in the main text. C.5

Discrete-time interpretation for the alternating algorithm

The same logic carries over to the practical alternating algorithm. Recall the first-order discrete expansion G,m m S m := (rm )⊤ Krr γ .

2 E m+1 − E m = ηG S m + O(ηG ),

(188)

Thus S m is the discrete analogue of the continuous energy-dissipation rate. Contractive regime.

If S m ≤ −cE m

(189)

uniformly and ηG is sufficiently small, then E m+1 ≤ (1 − cηG )E m ,

(190)

which gives exponential decay in discrete time. Slow-decay regime. More generally, if S m scales like a higher power of E m , then one expects a slower algebraic-type decay, consistent with the continuous-time estimate (174). Failure regime. If S m becomes positive or nearly vanishes, then the discrete dynamics exhibit ascent or stagnation, respectively. Implicit spectral balancing effect of the acceptance rule. Although the proposed alternating algorithm does not explicitly enforce mode-by-mode spectral balancing, the score-based acceptance rule can still provide an indirect benefit from the spectral viewpoint. Indeed, in the eigenbasis of the generator residual NTK, G,m m S m = (rm )⊤ Krr γ =

Nr X

λm ejm γ ejm . j r

(191)

j=1

Thus, accepting a discriminator update only when S m < 0 tends to favor discriminator states whose induced weighting yields a negative net contribution across the unresolved dominant modes. In particular, when fast modes have already decayed and their amplitudes rejm become small, maintaining S m < 0 increasingly requires useful correction on the slow modes that still dominate the residual energy. Consequently, the acceptance rule may suppress discriminator states that overemphasize already-resolved modes while underweighting unresolved ones. From this perspective, the proposed method does not explicitly balance the spectrum, but it may exert an implicit spectral regularization effect on the alternating dynamics by filtering out discriminator states that produce poor net modal descent. Overall, the continuous energy analysis provides a direct interpretation of the practical score used in the alternating algorithm. The convergence rate of the residual energy in adversarial PINNs is governed not by the generator residual NTK alone, but by the interaction between the generator-side kernel geometry, the discriminator-induced weighting, and the evolving residual itself. 34

D

Different Dynamics Induced by Residual Input and Squared-Residual Input

In most existing adversarial PINNs formulations, the discriminator takes the residual itself as input, ri (θ) := R(xi ; θ),

i = 1, . . . , Nr .

By contrast, standard PINNs training is fundamentally driven by the squared residual, since the canonical physics loss is proportional to N

r 1 X ri (θ)2 . Nr i=1

This raises a natural question: what changes if the discriminator input is replaced by ri2 ? As we show below, this is not a minor reparameterization. It changes the generator dynamics from an externally forced preconditioned residual descent G ṙ = Krr Γ1 into a state-dependent multiplicative feedback law e ṙ = K G Γr. rr

Consequently, both the residual evolution law and the energy dissipation mechanism become fundamentally different. D.1

Generator dynamics with squared-residual input

We now consider the alternative design in which the discriminator no longer takes the residual ri itself as input, but instead takes the squared residual ri2 . This seemingly simple modification changes the structure of the generator dynamics in an essential way. In the residual-input case, the discriminator induces an additive forcing term on the residual dynamics. By contrast, under squared-residual input, the chain rule introduces an additional factor of ri , so that the discriminator enters multiplicatively through the current residual state. The following proposition makes this distinction precise. Proposition 8 (Generator dynamics with squared-residual discriminator input). Let si (θ) := ri (θ)2 ,

i = 1, . . . , Nr ,

(192)

and define s(θ) := [s1 (θ), . . . , sNr (θ)]⊤ .

(193)

Consider the generator loss (X 2 )

LG

(θ, ϕ) =

Nr  1 X R f (si (θ); ϕ) . Nr i=1

(194)

Then: 1. The generator gradient is (X 2 )

∇θ LG where

=

Nr 2 X (X 2 )  (X 2 ) ri R′ fi ∂s fi ∇θ ri , Nr i=1

(X 2 )

fi := f (si ; ϕ), 2. The generator gradient flow becomes θ̇ = −

(X 2 )

∂s fi

(195)

:= ∂s f (si ; ϕ).

Nr 2 X (X 2 )  (X 2 ) ri R′ fi ∂s fi ∇θ ri . Nr i=1

(196)

G (θ) = Jr Jr⊤ the generator residual NTK. Then 3. Let Jr denote the residual Jacobian and Krr the residual dynamics satisfy 2 G ṙ = − Krr (θ) γ (X ) , (197) where  2 (X 2 ) γi = ri R′ f (ri2 ; ϕ) ∂s f (ri2 ; ϕ). (198) Nr

35

4. Defining γ ei := −

 2 ′ R f (ri2 ; ϕ) ∂s f (ri2 ; ϕ), Nr

(199)

and e = diag(e Γ γ1 , . . . , γ eNr ), one has

2

e γ (X ) = −Γr,

(200) (201)

and therefore G e r. ṙ = Krr (θ) Γ 5. The corresponding residual-energy law is G e r. Ė = r⊤ Krr (θ) Γ

Proof.

Since si = ri2 , we have

(202) (203)

∇θ si = 2ri ∇θ ri .

Therefore, (X 2 )

∇θ L G

=

Nr  1 X R′ f (si ; ϕ) ∂s f (si ; ϕ) ∇θ si Nr i=1

=

Nr 2 X (X 2 )  (X 2 ) ri R′ fi ∂ s fi ∇θ ri , Nr i=1

(204)

which proves the first statement. The gradient-flow equation (196) follows immediately. Next, multiplying by the residual Jacobian Jr , we obtain 2

G ṙ = Jr θ̇ = − Krr (θ) γ (X ) ,

where (X 2 )

γi

=

 2 ri R′ f (ri2 ; ϕ) ∂s f (ri2 ; ϕ). Nr

(205) (206)

Defining γ ei = − we have

(X 2 )

γi and hence

 2 ′ R f (ri2 ; ϕ) ∂s f (ri2 ; ϕ), Nr 2

e γ (X ) = −Γr,

= −e γi ri ,

G e r, ṙ = Krr (θ) Γ

(207)

G e r, Ė = r⊤ ṙ = r⊤ Krr (θ) Γ

(208) □

which proves (202). Finally, which proves (203).

Interpretation. Proposition 8 shows that changing the discriminator input from r to r2 does not merely rescale the adversarial signal: it changes the structure of the residual dynamics. In the residual-input case, the discriminator acts through an additive forcing term of the form G ṙ = Krr (θ)Γ1,

where the weighting is independent of the current residual amplitudes. By contrast, under squaredresidual input, the dynamics take the multiplicative form e ṙ = K G (θ)Γr, rr

so that the discriminator enters through the current residual state itself. This difference is fundamental. The squared-residual input removes sign information and makes the discriminator sensitive mainly to residual magnitude, while the additional factor r turns the dynamics into a genuine multiplicative feedback system. As a result, both the residual evolution law and the energy law become quadratic in the residual state. This is why squared-residual adversarial training is structurally different from the standard residual-input formulation, and why its later spectral analysis takes a substantially different form. 36

D.2

Spectral interpretation

Under the constant-kernel approximation G G Krr (θ) ≈ Krr =: K,

(209)

we analyze the residual-input and squared-residual-input dynamics in the eigenbasis of the generator residual NTK. The main purpose is to clarify how the two input choices differ at the level of modal evolution, and why the squared-residual-input case leads to a genuinely coupled multiplicative system. Let K = U ΛU ⊤ ,

Λ = diag(λ1 , . . . , λNr ),

λj ≥ 0,

(210)

where U = [u1 , . . . , uNr ] is orthonormal, and expand r=

Nr X

cj uj .

(211)

j=1

Proposition 9 (Modal dynamics under residual and squared-residual inputs). Under the above notation: 1. If the discriminator input is the residual itself, so that ṙ = KΓ1,

(212)

⊤ ċj = u⊤ j ṙ = λj uj Γ1.

(213)

then the modal coefficients satisfy

2. If the discriminator input is the squared residual, so that e ṙ = K Γr,

(214)

then the modal coefficients satisfy ċj = u⊤ j ṙ = λj

Nr X

e ck u⊤ j Γuk .

(215)

k=1

Proof.

For the residual-input dynamics, ṙ = KΓ1,

we compute ⊤ ⊤ ċj = u⊤ j ṙ = uj KΓ1 = λj uj Γ1,

(216)

which proves (213). For the squared-residual-input dynamics, e ṙ = K Γr, we similarly obtain ⊤ e ⊤e ċj = u⊤ j ṙ = uj K Γr = λj uj Γr

= λj

Nr X

e ck u⊤ j Γuk ,

(217)

k=1

□

which proves (215). 37

Interpretation. Proposition 9 reveals the structural difference between the two input choices. In the residual-input case, each mode is driven by an external discriminator-induced forcing term u⊤ j Γ1. In the squared-residual-input case, by contrast, the evolution of mode j depends on all modal amplitudes {ck }, so the residual spectrum is fed back into its own dynamics. This is the first indication that squared-residual input leads to a genuinely multiplicative feedback system. To understand this multiplicative structure more systematically, it is useful to introduce the coupled e and its symmetric counterpart. The same spectral factorization used for the linearly operator K Γ e The crucial difference is the sign aligned residual-input dynamics applies here, with A replaced by Γ. convention: in the residual-input aligned case, decay corresponds to A ⪰ 0 in ṙ = −KAr, whereas e ⪯ 0 in ṙ = K Γr. e in the squared-residual-input case, decay corresponds to Γ Proposition 10 (Spectral factorization of the squared-residual-input dynamics). Define e M := K Γ,

e 1/2 . H := K 1/2 ΓK

(218)

e ∈ RNr ×Nr Assume that K is symmetric positive definite on the active residual subspace, and that Γ is symmetric. Then: 1. M and H are similar. M and H have the same eigenvalues. 2. Since H is symmetric, all eigenvalues of M are real. e Sylvester’s law of inertia implies that H and Γ e have the same 3. Since H is congruent to Γ, inertia, and therefore so does M . e ⪯ 0, then all eigenvalues of M are nonpositive; if Γ e ⪰ 0, then all eigenvalues of M are 4. If Γ e nonnegative; if Γ is indefinite, then M has both positive and negative eigenvalues. Proof.

The similarity relation follows directly from e 1/2 = K 1/2 ΓK e 1/2 = H. K −1/2 M K 1/2 = K −1/2 (K Γ)K

(219)

e is symmetric, its Hence M and H have the same eigenvalues. Since H is symmetric whenever Γ e so Sylvester’s spectrum is real, and therefore so is the spectrum of M . Moreover, H is congruent to Γ, law of inertia implies that they have the same inertia; similarity then transfers the same inertia to M . The sign-definite and indefinite cases follow immediately. □ Interpretation. Proposition 10 shows that the squared-residual-input dynamics are governed not by e 1/2 provides e separately, but by their coupled spectrum. The symmetric matrix H = K 1/2 ΓK K or Γ the most transparent representation of this coupling, and its sign structure determines whether the active modes are contractive, expansive, or mixed. e This also gives a direct way to compare the spectrum of the coupled operator with those of K and Γ. Proposition 11 (Spectral bounds and energy behavior). Under the assumptions of Proposition 10: e ⪰ 0, then the extreme eigenvalues of M satisfy 1. If Γ e λmin (M ) = λmin (H) ≥ λmin (K)λmin (Γ),

e λmax (M ) = λmax (H) ≤ λmax (K)λmax (Γ). (220)

2. Introduce

z := K −1/2 r. Then the squared-residual-input dynamics become

(221)

ż = Hz,

(222)

λmin (K)∥z∥2 ≤ ∥r∥2 ≤ λmax (K)∥z∥2 .

(223)

and the residual energy satisfies e ⪯ 0, then H ⪯ 0. In the strictly negative definite case Γ e ≺ 0, 3. If Γ E(t) ≤ κ(K) E(0) e2λmax (H)t ≤ κ(K) E(0) e−2λmin (K)|λmax (Γ)|t , e

(224)

where λmax (H) < 0 and κ(K) :=

38

λmax (K) . λmin (K)

(225)

e ⪰ 0, then the transformed energy 1 ∥z(t)∥2 is nondecreasing. In the strictly positive 4. If Γ 2 e ≻ 0, the transformed dynamics are expansive, and the original residual definite case Γ energy admits the lower bound E(t) ≥ κ(K)−1 E(0) e2λmin (H)t ≥ κ(K)−1 E(0) e2λmin (K)λmin (Γ)t . e

(226)

e is indefinite, then some modes decay while others grow, and the residual energy is not 5. If Γ guaranteed to be monotone. Proof.

For the extreme eigenvalue bounds, note that e 1/2 H = K 1/2 ΓK

e ⪰ 0, then for any x ̸= 0, is symmetric. If Γ e 1/2 x) ≥ λmin (Γ) e ∥K 1/2 x∥2 ≥ λmin (K)λmin (Γ) e ∥x∥2 . x⊤ Hx = (K 1/2 x)⊤ Γ(K

(227)

Taking the minimum over unit vectors x yields e λmin (H) ≥ λmin (K)λmin (Γ). Similarly, e ∥K 1/2 x∥2 ≤ λmax (K)λmax (Γ) e ∥x∥2 , x⊤ Hx ≤ λmax (Γ)

(228)

and taking the maximum over unit vectors gives e λmax (H) ≤ λmax (K)λmax (Γ). Since M and H are similar by Proposition 10, they have the same eigenvalues, which proves (220). Next, setting z = K −1/2 r, we obtain e = K 1/2 ΓK e 1/2 z = Hz, ż = K −1/2 ṙ = K −1/2 K Γr which proves (222). Since r = K 1/2 z, the norm equivalence (223) follows immediately. e ⪯ 0, then H ⪯ 0. In the strictly negative definite case, λmax (H) < 0, and If Γ d 1 ∥z(t)∥2 = z(t)⊤ Hz(t) ≤ λmax (H)∥z(t)∥2 . dt 2 Grönwall’s inequality yields ∥z(t)∥2 ≤ e2λmax (H)t ∥z(0)∥2 .

(229)

Combining this with (223) gives E(t) ≤ κ(K) E(0) e2λmax (H)t . e ≺ 0, we have Moreover, since Γ e = −λmin (K)|λmax (Γ)|, e λmax (H) ≤ λmin (K)λmax (Γ) which proves (224). e ⪰ 0, then H ⪰ 0, and therefore If Γ d 1 ∥z(t)∥2 = z(t)⊤ Hz(t) ≥ 0, dt 2

(230)

e ≻ 0, one has λmin (H) > 0, so the energy is nondecreasing. In the strictly positive definite case Γ and d 1 ∥z(t)∥2 ≥ λmin (H)∥z(t)∥2 . (231) dt 2 Applying Grönwall’s inequality gives ∥z(t)∥2 ≥ e2λmin (H)t ∥z(0)∥2 , 39

which, together with (223), yields E(t) ≥ κ(K)−1 E(0)e2λmin (H)t . Using e λmin (H) ≥ λmin (K)λmin (Γ), we obtain (226). e is indefinite, then by Proposition 10, H has both positive and negative eigenvalues. Finally, if Γ Hence the linear system ż = Hz contains both contractive and expansive modes, so some components decay while others grow, and monotonicity of the residual energy is no longer guaranteed. □ Interpretation. The three propositions above make the spectral distinction between the two input choices precise. With residual input, the discriminator acts as an external forcing projected onto each kernel mode. With squared-residual input, the residual state is fed back into the dynamics through e As a result, the squared-residual-input case forms a genuine multiplicative the coupled operator K Γ. feedback system. e ⪯ 0, The energy behavior is therefore controlled by the sign structure of the coupled spectrum. If Γ e e the active modes are non-expansive; if Γ ≺ 0, the residual energy decays exponentially; if Γ ⪰ 0, the e is indefinite, the system contains both active modes become expansive and the energy grows; and if Γ damping and amplification, which naturally leads to oscillatory or unstable behavior. This is why replacing the discriminator input r by r2 should be viewed not as a cosmetic modification, but as a structural change in the adversarial PINNs dynamics. D.3

Interpretation and implications

The analysis above shows that replacing the discriminator input r by r2 changes the adversarial PINNs dynamics in a structural rather than merely parametric manner. In the residual-input case, G ṙ = Krr Γ1,

so the discriminator acts as an external sample-wise forcing term. In the squared-residual-input case, Ge ṙ = Krr Γr,

so the discriminator enters multiplicatively through the current residual state. At the same time, the map r 7→ r2 removes sign information, making the discriminator sensitive only to residual magnitude rather than to its sign. This modification has two opposite consequences. On the positive side, the extra factor ri naturally amplifies the contribution of large-residual samples, which makes the adversarial signal more consistent with the squared-residual structure of standard PINNs training and may help concentrate optimization on poorly fitted regions. On the negative side, the same mechanism automatically weakens the update as ri → 0, which can slow late-stage refinement, and it may over-emphasize a small subset of large-residual modes, thereby worsening spectral imbalance. Correspondingly, the energy law changes from the linear form G Ė = r⊤ Krr Γ1

to the quadratic form Ge Ė = r⊤ Krr Γr.

Thus, changing the discriminator input from r to r2 should not be viewed as a minor implementation choice: it changes the continuous-time training law, the NTK-level spectral coupling, and the mechanism by which the discriminator influences convergence. 40

E

Soft-Constrained PINNs under Adversarial Training

In the hard-constrained setting considered in the main text, the solution ansatz is designed so that boundary and initial conditions are satisfied identically, and adversarial training is applied only to the interior PDE residual. In the soft-constrained setting, by contrast, the solution network does not enforce these constraints exactly. As a result, the PDE residual, the boundary-condition mismatch, and the initial-condition mismatch must all be controlled during training. This naturally leads to a multi-discriminator adversarial formulation, in which a single generator uθ is coupled to three discriminators f1 , f2 , f3 , each acting on a different violation channel. In this appendix, we derive the resulting coupled dynamics in a unified way and show that, unlike the hard-constrained case, soft-constrained adversarial PINNs training is governed by a block-structured kernel dynamics with cross-coupling among the interior, boundary, and initial-condition channels. E.1

Problem setup and violation channels

Consider a PDE of the form N [u](x) = a(x),

x ∈ Ω,

(232)

GB [u](x) = gB (x),

x ∈ ∂Ω,

(233)

with boundary condition and initial condition G0 [u](x) = g0 (x), x ∈ Ω0 , where Ω0 denotes the initial manifold (for example, t = 0 in time-dependent problems).

(234)

Let uθ be the generator (solution network). In the soft-constrained setting, we define three types of violations: Interior residual.

r Given interior collocation points {xri }N i=1 ⊂ Ω, define

ri (θ) := R(xri ; θ) := N [uθ ](xri ) − a(xri ), Collect them into

r(θ) = [r1 (θ), . . . , rNr (θ)]⊤ ∈ RNr .

Boundary-condition mismatch.

Initial-condition mismatch.

j = 1, . . . , Nb .

b(θ) = [b1 (θ), . . . , bNb (θ)]⊤ ∈ RNb .

(236)

(237) (238)

0 Given initial-condition points {x0k }N k=1 ⊂ Ω0 , define

ck (θ) := I(x0k ; θ) := G0 [uθ ](x0k ) − g0 (x0k ), Collect them into

(235)

b Given boundary collocation points {xbj }N j=1 ⊂ ∂Ω, define

bj (θ) := B(xbj ; θ) := GB [uθ ](xbj ) − gB (xbj ), Collect them into

i = 1, . . . , Nr .

k = 1, . . . , N0 .

c(θ) = [c1 (θ), . . . , cN0 (θ)]⊤ ∈ RN0 .

(239) (240)

Thus, instead of a single residual vector, soft-constrained PINNs involve three generator-dependent violation vectors: r, b, c. E.2

Adversarial formulation with three discriminators

As in the main text, the target for each violation channel is the zero state. Therefore, each channel induces a generated empirical distribution and a real distribution δ0 . For the interior residual channel, N

µ̂θr =

r 1 X δr (θ) , Nr i=1 i

41

r µreal = δ0 .

(241)

For the boundary channel, N

µ̂θb =

b 1 X δb (θ) , Nb j=1 j

µ̂θ0 =

0 1 X δck (θ) , N0

b µreal = δ0 .

(242)

0 µreal = δ0 .

(243)

For the initial channel, N

k=1

We introduce three discriminators with separate parameters: f1 (·; ϕ1 ),

f2 (·; ϕ2 ),

f3 (·; ϕ3 ),

where • f1 acts on interior residual samples ri , • f2 acts on boundary mismatch samples bj , • f3 acts on initial mismatch samples ck . Using the unified GAN notation P, Q, R from the main text, the discriminator objectives are max LD1 (θ, ϕ1 ) =

Nr Nr   1 X 1 X P f1 (0; ϕ1 ) + Q f1 (ri (θ); ϕ1 ) , Nr i=1 Nr i=1

(244)

max LD2 (θ, ϕ2 ) =

Nb Nb   1 X 1 X P f2 (0; ϕ2 ) + Q f2 (bj (θ); ϕ2 ) , Nb j=1 Nb j=1

(245)

max LD3 (θ, ϕ3 ) =

N0 N0   1 X 1 X P f3 (0; ϕ3 ) + Q f3 (ck (θ); ϕ3 ) . N0 N0

(246)

ϕ1

ϕ2

ϕ3

k=1

k=1

Correspondingly, the generator minimizes the sum of three adversarial objectives: (r)

(b)

(0)

LG (θ, ϕ1 , ϕ2 , ϕ3 ) = λr LG + λb LG + λ0 LG ,

(247)

where Nr  1 X R f1 (ri (θ); ϕ1 ) , Nr i=1

(248)

LG =

Nb  1 X R f2 (bj (θ); ϕ2 ) , Nb j=1

(249)

(0)

N0  1 X R f3 (ck (θ); ϕ3 ) . N0

(250)

(r)

LG = (b)

LG =

k=1

Here λr , λb , λ0 > 0 are channel weights balancing the three soft constraints. E.3

Generator gradient flow and channel-wise adversarial weights

We now derive the continuous-time generator dynamics with the discriminator parameters ϕ1 , ϕ2 , ϕ3 frozen. For notational convenience, define f1,i := f1 (ri ; ϕ1 ), f2,j := f2 (bj ; ϕ2 ), f3,k := f3 (ck ; ϕ3 ),

∂r f1,i := ∂r f1 (ri ; ϕ1 ), ∂b f2,j := ∂b f2 (bj ; ϕ2 ), ∂c f3,k := ∂c f3 (ck ; ϕ3 ). 42

(251) (252) (253)

Differentiating (247) with respect to θ yields ∇θ L G =

Nb Nr λb X λr X R′ (f1,i ) ∂r f1,i ∇θ ri + R′ (f2,j ) ∂b f2,j ∇θ bj Nr i=1 Nb j=1 N

+

0 λ0 X R′ (f3,k ) ∂c f3,k ∇θ ck . N0

(254)

k=1

Under generator gradient flow, θ̇ = −∇θ LG , (255) we define the three discriminator-induced sample-weight vectors λr (r) γi := − R′ (f1,i ) ∂r f1,i , i = 1, . . . , Nr , (256) Nr λb (b) γj := − R′ (f2,j ) ∂b f2,j , j = 1, . . . , Nb , (257) Nb λ0 (0) γk := − R′ (f3,k ) ∂c f3,k , k = 1, . . . , N0 . (258) N0 Let (r) (r) (b) (b) (0) (0) γ (r) = [γ1 , . . . , γNr ]⊤ , γ (b) = [γ1 , . . . , γNb ]⊤ , γ (0) = [γ1 , . . . , γN0 ]⊤ . Then (254) can be rewritten compactly as θ̇ = Jr⊤ γ (r) + Jb⊤ γ (b) + J0⊤ γ (0) ,

(259)

 (∇θ r1 )⊤   .. N ×p Jr (θ) :=  ∈R r , .

(260)

(∇θ rNr )   (∇θ b1 )⊤   .. N ×p Jb (θ) :=  ∈R b , .

(261)

where the three Jacobians are 

⊤

(∇θ bNb )⊤   (∇θ c1 )⊤   .. N ×p J0 (θ) :=  ∈R 0 , .

(262)

⊤

(∇θ cN0 ) and p = dim(θ).

Equation (259) already reveals the key difference from the hard-constrained case: the generator update is now the sum of three adversarially weighted Jacobian-transpose terms, one for each constraint channel. E.4

Coupled violation dynamics and block kernel structure

We now derive the generator-induced dynamics for the three violation channels in the soft-constrained setting. Unlike the hard-constrained case, where the state is a single residual vector, the softconstrained formulation involves three coupled channels: the interior residual, the boundary violation, and the initial-condition violation. Since all three channels depend on the same generator parameters, their dynamics are not independent. Instead, the resulting evolution is governed by a block kernel operator with both self-kernel and cross-kernel interactions. Proposition 12 (Coupled soft-constrained violation dynamics). Let r, b, and c denote the interior, boundary, and initial-condition violation vectors, respectively, and let the generator flow be given by (259). Then the induced channel-wise dynamics satisfy ṙ = Jr θ̇ = Jr Jr⊤ γ (r) + Jr Jb⊤ γ (b) + Jr J0⊤ γ (0) ,

(263)

ḃ = Jb θ̇ = Jb Jr⊤ γ (r) + Jb Jb⊤ γ (b) + Jb J0⊤ γ (0) ,

(264)

ċ = J0 θ̇ = J0 Jr⊤ γ (r) + J0 Jb⊤ γ (b) + J0 J0⊤ γ (0) .

(265)

43

Define the self-kernel blocks G Krr := Jr Jr⊤ ,

G Kbb := Jb Jb⊤ ,

G K00 := J0 J0⊤ ,

(266)

G Kr0 := Jr J0⊤ ,

G Kb0 := Jb J0⊤ ,

(267)

and the cross-kernel blocks G Krb := Jr Jb⊤ ,

with

G G ⊤ G G ⊤ Kbr = (Krb ) , K0r = (Kr0 ) , Then the channel-wise dynamics become

G G ⊤ K0b = (Kb0 ) .

G (r) G (b) G (0) ṙ = Krr γ + Krb γ + Kr0 γ ,

(268)

G (r) G (b) G (0) ḃ = Kbr γ + Kbb γ + Kb0 γ , G (r) G (b) G (0) ċ = K0r γ + K0b γ + K00 γ .

(269)

Further define the stacked violation vector " # r z := b ∈ RNr +Nb +N0 , c

(270)

(271)

the stacked adversarial-weight vector  (r)  γ γ := γ (b)  , γ (0) and the block kernel matrix

(272)

 G G G Krb Kr0 Krr G G G G . Ksoft := Kbr Kbb Kb0 G G G K0r K0b K00 Then the coupled soft-constrained dynamics admit the compact form 

G ż = Ksoft γ.

(273)

(274)

Proof. By differentiating the three violation vectors r, b, and c along the generator flow (259), we obtain ṙ = Jr θ̇ = Jr Jr⊤ γ (r) + Jr Jb⊤ γ (b) + Jr J0⊤ γ (0) ,

(275)

ḃ = Jb θ̇ = Jb Jr⊤ γ (r) + Jb Jb⊤ γ (b) + Jb J0⊤ γ (0) , ċ = J0 θ̇ = J0 Jr⊤ γ (r) + J0 Jb⊤ γ (b) + J0 J0⊤ γ (0) .

(276) (277)

This proves (263)–(265). Introducing the self-kernel and cross-kernel blocks by G Krr := Jr Jr⊤ ,

G Kbb := Jb Jb⊤ ,

G K00 := J0 J0⊤ ,

G Krb := Jr Jb⊤ , with the transpose relations

G Kr0 := Jr J0⊤ ,

G Kb0 := Jb J0⊤ ,

and

G G ⊤ Kbr = (Krb ) ,

G G ⊤ K0r = (Kr0 ) ,

G G ⊤ K0b = (Kb0 ) ,

we immediately obtain (268)–(270). Finally, stacking the three channels into the single vector  (r)  " # γ r z= b , γ = γ (b)  , c γ (0) G and defining the block kernel matrix Ksoft as in (273), the three coupled equations are exactly equivalent to the compact block form G ż = Ksoft γ, which proves (274). □

44

Interpretation. Proposition 12 is the soft-constrained analogue of the hard-constrained adversarial PINNs dynamics in the main text. The key difference is that the state is no longer a single residual vector, but a stacked multi-channel violation vector. Accordingly, the generator-side kernel is no longer a single NTK matrix, but a block operator containing both self-channel and cross-channel interactions. G G G The cross-kernel blocks Krb , Kr0 , and Kb0 are especially important. They show that even if a discriminator acts only on one channel, the resulting generator update will generally propagate to the other channels through the shared generator parameters. Thus, soft-constrained adversarial PINNs training is intrinsically coupled: interior, boundary, and initial-condition corrections cannot be analyzed independently, but must be treated as a single block dynamical system.

E.5

Diagonal-weight representation

To make the connection with the main text more explicit, define diagonal matrices (r)

(r)

(b)

Γr = diag(γ1 , . . . , γNr ),

(b)

Γb = diag(γ1 , . . . , γNb ),

(0)

(0)

Γ0 = diag(γ1 , . . . , γN0 ). (278)

Let 1r , 1b , 10 denote the all-one vectors of dimensions Nr , Nb , N0 , respectively. Then γ (r) = Γr 1r ,

γ (b) = Γb 1b ,

γ (0) = Γ0 10 .

Define # 1r 1soft := 1b . 10 "

Γsoft := diag(Γr , Γb , Γ0 ),

(279)

Then (274) can be rewritten as G ż = Ksoft Γsoft 1soft .

(280)

This form makes clear that soft-constrained adversarial training is still a discriminator-induced sample-dependent preconditioned dynamics, but now at the level of a coupled three-channel system rather than a single residual channel. E.6

Energy dynamics

A natural total violation energy is Esoft (t) :=

1 1 1 1 ∥r(t)∥2 + ∥b(t)∥2 + ∥c(t)∥2 = ∥z(t)∥2 . 2 2 2 2

(281)

Differentiating (281) and using (274) gives G G Ėsoft = z⊤ ż = z⊤ Ksoft γ = z⊤ Ksoft Γsoft 1soft .

(282)

Equivalently, in expanded form,   G (r) G (b) G (0) Ėsoft = r⊤ Krr γ + Krb γ + Kr0 γ   G (r) G (b) G (0) + b⊤ Kbr γ + Kbb γ + Kb0 γ   G (r) G (b) G (0) + c⊤ K0r γ + K0b γ + K00 γ .

(283)

Therefore, unlike in the hard-constrained case, the decrease of total violation energy is jointly determined by G G G 1. the self-kernel blocks Krr , Kbb , K00 , G G G 2. the cross-kernel blocks Krb , Kr0 , Kb0 , 3. the three discriminator-induced sample-weight vectors γ (r) , γ (b) , γ (0) .

This means that improving one channel adversarially may either help or hurt the others, depending on the sign and structure of the corresponding cross-kernel couplings. 45

E.7

Constant-kernel regime and NTK interpretation

In the infinite-width or lazy-training regime, it is natural to approximate the block kernel matrix by a constant operator, G G Ksoft (θ) ≈ Ksoft . (284) The soft-constrained adversarial dynamics then reduce to G ż = Ksoft Γsoft 1soft ,

(285)

where

" # r z= b , Γsoft = diag(Γr , Γb , Γ0 ). c Equation (285) shows that, unlike the hard-constrained case, the generator is no longer governed by a single residual-regression dynamics, but by a coupled block-NTK system in which the three discriminators jointly modulate the evolution of the interior residual, boundary mismatch, and initial-condition mismatch.

The essential new feature is the presence of cross-channel coupling. Although f1 , f2 , f3 act on the three channels separately and induce channel-wise diagonal weightings Γr , Γb , Γ0 , these weightings G are all propagated through the same shared generator kernel Ksoft . As a consequence, an update encouraged by one discriminator generally affects not only its own channel, but also the other two through the off-diagonal kernel blocks. Therefore, the success of soft-constrained adversarial training depends not only on whether each discriminator provides a useful weighting within its own channel, but also on whether the three channels remain balanced under the shared generator dynamics. A convenient coarse diagnostic for this balance can be obtained by examining the diagonal block interactions between the generator kernel and the discriminator-induced weighting matrices. More specifically, define    G G G Tr := Tr Krr Γr , Tb := Tr Kbb Γb , T0 := Tr K00 Γ0 . (286) Each of these quantities summarizes, at an aggregated level, how strongly the generator-side sensitivity and the discriminator-induced sample weighting interact within the corresponding channel. In this sense, Tr , Tb , T0 can be viewed as coarse channel-wise driving strengths for the residual, boundary, and initial-condition modules, respectively. To compare the three channels on a common scale, we further introduce the normalized balance indicators Tr Tb T0 ρr := , ρb := , ρ0 := , (287) Tr + Tb + T0 Tr + Tb + T0 Tr + Tb + T0 whenever the denominator is nonzero. By construction, ρr + ρb + ρ0 = 1.

(288)

These ratios provide a simple first-order measure of how the total effective adversarial drive is distributed across the three channels. If 1 ρr ≈ ρb ≈ ρ0 ≈ , 3 then the residual, boundary, and initial-condition modules are being driven at roughly comparable levels. If one ratio is significantly larger than the others, then the corresponding channel is dominating the generator update; if one ratio is much smaller, then that channel is comparatively under-driven. To quantify this deviation from balanced evolution, one may further define a scalar imbalance score  2  2  2 1 1 1 Bimb := ρr − + ρb − + ρ0 − . (289) 3 3 3 A smaller value of Bimb indicates that the three channels are being updated in a more balanced manner, whereas a larger value indicates that the training dynamics are biased toward only one or two components. In particular, a persistently large Bimb suggests that the soft-constrained adversarial training may be over-emphasizing one class of violations while neglecting the others. 46

G Of course, these trace-based quantities do not capture the full off-diagonal coupling structure of Ksoft . Nevertheless, they provide a useful and easily interpretable first-order diagnostic: they isolate the interaction between the generator-side diagonal kernel blocks and the discriminator-side weighting matrices, and thereby allow one to infer whether the residual, boundary, and initial-condition modules are evolving in a balanced way before analyzing the more detailed cross-channel effects.

E.8

Discriminator-side functional dynamics

For completeness, we also write the discriminator-side gradient-flow dynamics. Since the three discriminators are independent given the current generator state, each evolves on its own violation channel. For ℓ ∈ {1, 2, 3}, let fℓ (·; ϕℓ ) denote the corresponding discriminator and let kℓD be its NTK kernel. Let the fake samples be (1)

ξi

(2)

:= ri ,

ξj

:= bj ,

(3)

ξk := ck .

Then, under discriminator gradient ascent, ϕ̇ℓ = ∇ϕℓ LDℓ ,

(290)

the induced functional dynamics satisfy, for any input z, Nℓ Nℓ    ′  d 1 X 1 X (ℓ) (ℓ) fℓ (z; ϕℓ (t)) = kℓD z, 0 P ′ fℓ (0; ϕℓ (t)) + kℓD z, ξm Q fℓ (ξm ; ϕℓ (t)) , dt Nℓ m=1 Nℓ m=1 (291) where N1 = Nr , N2 = Nb , and N3 = N0 . Thus each discriminator learns a channel-specific weighting function shaped by its own NTK and its own empirical violation distribution.

F

Existing Adaptive and Weak-Adversarial PINNs Methods as Constrained-Discriminator Special Cases

In this appendix, we show that several existing PINNs variants, including SA-PINN, LA-PINN, and weak-adversarial methods, can be embedded into a unified adversarial PINNs framework by restricting the discriminator to a prescribed functional subspace. Under this viewpoint, these methods do not require a fundamentally different generator-side training law; rather, they differ in the admissible class of discriminator functions and therefore in the induced sample-weighting or mode-weighting structure acting on the generator dynamics. However, in contrast to the label convention adopted in the main text—where the real target 0 is assigned label 1 and the generated data is assigned label 0—the following methods use a different normalization. Specifically, the discriminator is constrained to satisfy f (0) = yreal := 0 rather than 1. F.1

General constrained-discriminator formulation

Let x ∈ X denote the generated discrepancy variable. Depending on the method, x may represent a pointwise residual, a boundary or initial mismatch, or a weak-form discrepancy. The real target is always the zero-violation state, so the real distribution is concentrated at x = 0. Consider the generator-side adversarial objective LG (θ, ϕ) =

N  1 X R f (xi (θ); ϕ) , N i=1

(292)

where f (·; ϕ) is the discriminator (or critic), R is the generator-side adversarial potential, and {xi (θ)}N i=1 are the generated discrepancies induced by the solution network uθ . We now restrict f to a structured family Fconstr ⊂ F, and assume that every admissible discriminator satisfies the anchoring condition f (0; ϕ) = yreal = 0, 47

(293)

where yreal is the prescribed real label or real-score baseline. In other words, the discriminator is forced to match the real target exactly at the zero-violation state, and only its response on generated discrepancies x ̸= 0 is trainable. Let

x(θ) = [x1 (θ), . . . , xN (θ)]⊤

and define

 (∇θ x1 )⊤   .. Jx (θ) :=  , . 

G Kxx (θ) := Jx Jx⊤ .

(∇θ xN )⊤ If the generator is trained by gradient flow,

θ̇ = −∇θ LG , then the induced discrepancy dynamics are given by  1 ′ R f (xi ; ϕ) ∂x f (xi ; ϕ). (294) N Therefore, once the discriminator class is restricted, the generator-side dynamics are completely determined by the admissible form of f (x; ϕ), or equivalently by the induced weighting law γi . G ẋ = Kxx (θ) γ,

F.2

γi = −

SA-PINN as a monotone masked discriminator

In SA-PINN, the discriminator acts on pointwise violation quantities. More precisely, the input variable x denotes a generic pointwise discrepancy, which may represent any one of the three soft-constrained PINNs channels (235), (237) and (239): x ∈ { ri , bj , ck }, where ri is the PDE residual at an interior collocation point, bj is the boundary-condition mismatch at a boundary point, and ck is the initial-condition mismatch at an initial point. From the viewpoint of the present paper, SA-PINN can be interpreted within the IPM-type (35) adversarial framework, namely the same general class as WGAN-type objectives, but with the discriminator restricted to a highly structured function family. Instead of optimizing over an unconstrained critic class, SA-PINN introduces trainable nonnegative pointwise weights m(λi ), where the mask m is nonnegative, differentiable, and strictly increasing, and the mask parameters are updated by ascent while the solution network is updated by descent. This is equivalent to constraining the discriminator to the family 1 fSA (x; λ) = − m(λ)x2 , m(λ) ≥ 0, m′ (λ) > 0. (295) 2 Thus the discriminator is restricted to a one-dimensional monotone family acting on squared discrepancies, rather than being free over an arbitrary nonlinear hypothesis class. Moreover, ∂x fSA (x; λ) = −m(λ)x, and, for the IPM/WGAN-type generator choice Q(t) = R(t) = −t, the induced generator-side weighting reduces to 1 γiSA = − m(λi ) xi . (296) N Hence SA-PINN can be interpreted as a constrained-discriminator adversarial PINNs under an IPMtype objective, whose critic is limited to a monotone mask family on x2 , consistent with its original trainable-mask construction [19]. F.3

LA-PINN as a linear attentional discriminator

In LA-PINN, the discriminator also acts on pointwise violation quantities. As in the SA-PINN case, the input variable x denotes a generic pointwise discrepancy, which may represent any one of the three soft-constrained PINNs channels: x ∈ { ri , bj , ck }. 48

From the viewpoint of the present paper, LA-PINN can also be interpreted within an IPM-type adversarial framework, namely the same general class as WGAN-type objectives, but with the discriminator restricted to a structured linear attentional family. LA-PINN feeds pointwise squared errors into independent loss-attentional networks (LANs) and explicitly emphasizes that the attentional transformation is linear, without nonlinear activation in the LAN weighting stage. This leads naturally to the constrained discriminator family 1 fLA (x; ξ) = − LANξ (x2 ), 2

LANξ (0) = 0,

(297)

where LANξ is a linear map parameterized by ξ. The condition LANξ (0) = 0 ensures that fLA (0; ξ) = 0, which is consistent with the zero-discrepancy target in the IPM setting. If LANξ acts pointwise, for instance, LANξ (x2i ) = ai (ξ)x2i + bi (ξ), then the constraint LANξ (0) = 0 implies bi (ξ) = 0, and hence 1 fLA (xi ; ξ) = − ai (ξ)x2i . 2 In our notation, this form is exactly equivalent to Eq. (17) in [9]. Therefore, ∂x fLA (xi ; ξ) = −ai (ξ)xi , and, for the IPM/WGAN-type choice Q(t) = R(t) = −t, the induced weighting becomes γiLA = −

1 ai (ξ) xi . N

(298)

Thus LA-PINN may be viewed as a constrained-discriminator adversarial PINNs under an IPM-type objective, with a more flexible linear attentional family than SA-PINN, but still far more structured than a generic MLP critic. This interpretation matches the original LAN design, where the pointwise squared errors are the inputs and the weighting transformation is purely linear [9]. F.4

Weak-adversarial methods as projection-type discriminators

Weak-adversarial methods such as WAN [20] do not act on pointwise strong-form residuals directly. Instead, they optimize a saddle-point problem induced by the weak formulation, where the adversarial network parameterizes a test function and seeks the most challenging weak direction for the current solution network. From the viewpoint of the present paper, this can be interpreted within the same IPM-type adversarial framework, namely the same general class as WGAN-type objectives with Q(t) = R(t) = −t, but with the discriminator restricted to a normalized projection-type family in weak space:   1 |⟨x, φη ⟩|2 , fW (x; η) = − log 2 ∥φη ∥22

(299)

where φη is the adversarial test function. Here x denotes the discrepancy object in weak space, such as the weak residual functional induced by the current generator. By contrast, the boundary and initial conditions are not modified through the discriminator, but are still enforced through standard L2 -type errors. Unlike SA-PINN or LA-PINN, the discriminator is now restricted not to pointwise masks on x2 , but to normalized rank-one projection-type forms in function space. The adversarial variable η searches for the most challenging direction φη , while the generator attempts to suppress that weak projection. Formally, writing g(x, η) :=

|⟨x, φη ⟩|2 , ∥φη ∥22

49

we have ∂x fW (x; η) = −

1 1 ∂x g(x, η). 2 g(x, η)

Since ∂x g(x, η) =

(300)

2⟨x, φη ⟩ φη , ∥φη ∥22

it follows that

φη . (301) ⟨x, φη ⟩ Thus, under the IPM/WGAN-type choice Q(t) = R(t) = −t, the induced generator update is still directed by the most adversarial weak test direction, but now with an additional inverse-projection normalization coming from the logarithmic form. The induced weighting becomes ∂x fW (x; η) = −

γiW = −

1 φη . N ⟨x, φη ⟩

(302)

Therefore, weak-adversarial PINNs can be interpreted as constrained-discriminator adversarial PINNs under an IPM-type objective, whose critic is limited to normalized weak-space projection forms, consistent with the original WAN saddle-point formulation based on induced operator norms [20]. F.5

Unified special-case theorem

Theorem 2 (SA-PINN, LA-PINN, and weak-adversarial methods as constrained-discriminator special cases). Each of the following methods can be embedded into the general generator-side dynamics G ẋ = Kxx (θ) γ by restricting the discriminator to a prescribed structured family: SA-PINN: LA-PINN: Weak-adversarial PINN:

1 m(λ) ≥ 0, m′ (λ) > 0, f (x) = − m(λ)x2 , 2 1 LANξ linear, f (x) = − LANξ (x2 ), 2   2 1 |⟨x, φη ⟩| f (x) = − log , φη is the test function. 2 ∥φη ∥22

(303) (304) (305)

In all three cases, the discriminator is anchored at the zero-violation state, f (0) = 0, and is only allowed to vary on generated violations inside a prescribed structured subspace. Consequently, these methods differ primarily in the admissible structure of the discriminator-induced weighting γ, rather than in the generator-side kernel form itself. Proof. For each of the three constructions above, the discriminator family is explicitly restricted to a structured class and satisfies the zero-state anchoring condition f (0) = 0. Moreover, in all cases the generator-side weighting can be written in the unified form  1 γi = − R′ f (xi ) ∂x f (xi ), N or its weak-space analogue in the weak-adversarial case. Therefore, by Proposition 1, each method admits the same generator-side representation G ẋ = Kxx (θ) γ.

Hence they are all realizations of a broader adversarial PINNs framework with constrained discriminator classes. □ Theorem 2 has an immediate consequence for the NTK-based analysis developed in the main text. Corollary 3. The unified discriminator-induced weighting framework is not limited to standard GAN or IPM critics, but also applies to SA-PINN, LA-PINN, and weak-adversarial PINNs once their discriminators are interpreted as belonging to constrained subspaces. 50

Interpretation.

Under this viewpoint,

• SA-PINN corresponds to a monotone mask-induced weighting on pointwise squared violations; • LA-PINN corresponds to a linear attentional weighting on pointwise squared violations; • weak-adversarial methods correspond to a projection-induced weighting in weak space. Therefore, these methods can be analyzed within the same generator-side NTK framework, even though their discriminator classes are much more restricted than those of generic adversarial neural networks. More importantly, this viewpoint clarifies that the essential distinction among these methods is not whether they are formally written as GANs, but rather the functional subspace in which the discriminator is allowed to live. Once this subspace is fixed, the induced weighting law γ is fixed accordingly, and the generator dynamics follow the same kernel-driven mechanism as in the general adversarial PINNs analysis.

G

A broader design space for adversarial PINNs training / Future work

The analysis developed in this paper suggests that adversarial PINNs training should be viewed as a broad design space rather than as a small collection of isolated named algorithms. Two largely orthogonal design dimensions emerge naturally: the discriminator input and the discriminator objective or functional class. Existing methods only occupy a limited subset of this space. An additional important point is that several methods that appear distinct from standard adversarial PINNs can in fact be understood within the same general framework. More precisely, many such methods do not leave the GAN/IPM paradigm altogether; instead, they can be interpreted as standard GAN-type or IPM-type adversarial schemes in which the discriminator is restricted to a structured function space. From this viewpoint, the essential distinction among methods is often not whether they are “adversarial” in a completely different sense, but rather what discriminator input is used and in what functional class the discriminator is allowed to live. G.1

Dimension I: residual input versus squared-residual input

The first design choice concerns the quantity fed into the discriminator. Two natural options are the residual itself, x = r, and the squared residual, x = r2 . When the discriminator takes r as input, the sign information of the violation is preserved. The discriminator can therefore distinguish positive and negative residuals and induce a direction-sensitive correction signal. In the NTK residual-dynamics formulation of the main text, this leads to an additive forcing law G ṙ = Krr Γ1. When the discriminator instead takes r2 as input, the sign information is removed and only the magnitude of the violation is retained. In this case, the discriminator naturally emphasizes large residuals, and the generator dynamics become multiplicatively coupled: Ge ṙ = Krr Γr.

Thus the distinction between r and r2 is structural: the former yields a sign-sensitive additive mechanism, while the latter yields a sign-free magnitude-gated multiplicative mechanism. G.2

Dimension II: discriminator objective and functional class

The second design choice concerns the discriminator itself. At a broad level, the methods considered in this work may be grouped into the following categories. 51

Classification-type discriminators (GAN). These discriminators are trained through a classification-style adversarial objective and produce a signal tied primarily to separation of the zero target from the generated residual samples. Regression-type discriminators (LSGAN). These discriminators learn a smooth regression from residual samples to target labels. Compared with classification-type objectives, they generate a smoother and more local correction signal, which can be particularly suitable when the training goal is to drive every residual point toward zero. Witness-function discriminators (IPM/WGAN). These discriminators learn a witness function measuring the discrepancy between the empirical generated distribution and the real target distribution. Under the NTK view, the generator is driven by the input derivative of this witness field, so these methods emphasize global distributional discrepancy rather than direct pointwise fitting. Regularized witness discriminators (WGAN-GP). These methods retain the witness-function interpretation of IPM/WGAN while additionally regularizing the discriminator, for instance through gradient penalties, in order to improve smoothness and stability. Monotone constrained discriminators (SA-PINN-type). Here the discriminator is restricted to a trainable monotone mask acting on pointwise discrepancy magnitudes. From the present viewpoint, SA-PINN is naturally interpreted as a standard adversarial framework with the discriminator restricted to a monotone mask family. Linear constrained discriminators (LA-PINN-type). In this class, the discriminator is restricted to a linear attentional transform of pointwise squared errors. Thus LA-PINN may be understood as an adversarial scheme with a more expressive but still highly structured discriminator class. Weak-space discriminators (WAN-type). Weak adversarial methods do not act directly on strongform pointwise residuals. Instead, they parameterize an adversarial test function in weak space and maximize the normalized weak-form discrepancy. From the present viewpoint, this again fits naturally into the same broader adversarial framework, but with the discriminator restricted to a weak-space projection class. G.3

Why SA-PINN, LA-PINN, and WAN each have distinctive advantages

This taxonomy helps explain why SA-PINN, LA-PINN, and WAN can all be effective, but for different reasons. SA-PINN. The strength of SA-PINN lies in its simplicity and robustness. By assigning a trainable nonnegative weight to each point and updating these weights by ascent, it automatically increases the emphasis on points whose losses remain large. This makes it particularly effective at highlighting stiff or hard-to-fit regions. LA-PINN. LA-PINN inherits the pointwise weighting idea but replaces the simple monotone mask with a more expressive linear attentional map. This gives the discriminator more flexibility in redistributing emphasis across points while preserving the stability and interpretability of a structured weighting rule. WAN. The advantage of WAN is of a different nature. Rather than refining pointwise weighting, WAN changes the space in which adversarial training is performed. The discriminator becomes a weak test function, and the adversarial interaction takes place over the weak formulation of the PDE. This is particularly attractive when the weak form is more natural or more stable than the strong form. G.4

A two-dimensional taxonomy of adversarial PINNs training strategies

The discussion in Appendix G.1–G.3 is summarized here by the two-dimensional taxonomy in Tables 3 and 4. The first table emphasizes the role of the discriminator input, while the second highlights the role of the discriminator objective or structured function class. Here, a check mark 52

Table 3: Combinations of discriminator input and basic adversarial objective in adversarial PINNs. A check mark indicates that a representative method already exists in the literature or has a clear correspondence, while △ highlights combinations that we believe are particularly promising. Discriminator input GAN Residual r Squared residual r2

LSGAN

IPM-GAN

✓[6] ✓[This paper] ✓[20] × △ ✓[7, 9, 19]

Table 4: Adversarial objectives and discriminator function classes. The first column corresponds to the unconstrained setting, while the other columns correspond to additional structural restrictions on the discriminator. Adversarial framework Unconstrained Spectra Normalization Gradient-Penalty(GP) Monotone-Mask Linear-Transform Weak-Space × ✓[This paper] ×

GAN LSGAN IPM-GAN

× × ✓[7]

✓[6] × ×

× × ✓[19]

× × ✓[9]

× △ ✓[20]

indicates that a representative method already exists in the literature or has a clear correspondence, while △ highlights combinations that we believe are particularly promising. Several observations follow immediately. First, the current literature only explores a limited subset of the full design space. Second, many methods that appear quite different can still be interpreted within a unified adversarial framework once the discriminator is viewed as living in a structured function space. Third, the missing entries are themselves informative: they indicate combinations that are meaningful from the present theory but have not yet been systematically explored. In particular, we believe that the two highlighted cases, namely r2 +LSGAN and LSGAN with weak-space constraints, are especially promising and may potentially yield stronger performance. G.5

Summary

In summary, adversarial PINNs training is best understood as a broad design space. The choice between r and r2 determines whether the discriminator preserves sign information or focuses on magnitude, and whether the induced generator dynamics are additive or multiplicative. The choice of discriminator objective or function class determines whether the discriminator behaves like a classifier, a regression map, a witness function, or a constrained weighting operator. Existing methods such as SA-PINN, LA-PINN, and WAN should therefore be viewed not as isolated constructions, but as representative points in a much larger structured family of adversarial PINNs training strategies.

H

Experiments

H.1

Experimental setup details

This appendix provides the detailed experimental setup corresponding to the results reported in Section 5. H.1.1

Compared methods

We compare the following adversarial PINNs methods: • DEQGAN, • GAN, • LSGAN, • WGAN-GP, • GAN-RB, • LSGAN-RB, • WGAN-GP-RB. Here the suffix “RB” denotes the proposed rollback strategy. For the rollback-enhanced variants, rollback selection is performed within at most 20 generator updates and 20 discriminator updates in each outer iteration. 53

Although the preceding theoretical discussion shows that a broader family of existing methods can also be interpreted as special cases of adversarial training under constrained discriminator classes, in the experiments we deliberately focus on the most basic adversarial objectives, namely GAN, LSGAN, and WGAN-GP. The reason is that these methods represent the canonical adversarial design choices and therefore provide the cleanest setting for evaluating the proposed framework. By starting from these standard baselines, we can more clearly separate the effect of the adversarial objective itself from the effect of the proposed update-control mechanism, without introducing additional architectural or formulation-specific factors. DEQGAN is included for a different reason. In fact, our study was initially motivated by the distinctive phenomena observed in DEQGAN under different generator–discriminator update ratios. These observations led us to identify a gap between the empirical behavior of adversarial PINNs training and the classical divergence-based explanation, and further motivated the unified residualdynamics framework developed in this paper. In this sense, DEQGAN serves not only as a strong existing baseline, but also as the starting point from which we first discovered the phenomenon, constructed the explanatory framework, and then generalized the resulting analysis to a broader class of adversarial PINNs methods. The purpose of including both the original and rollback-enhanced variants is therefore twofold: first, to evaluate the adversarial objectives themselves under a unified setting; and second, to isolate the contribution of the proposed rollback mechanism from the choice of adversarial objective. H.1.2

Benchmark equations

To evaluate the robustness of the proposed framework across different PDE types, we consider the following benchmark problems: • Poisson equation, • Laplace equation, • Viscous Burgers equation, • Reaction–Diffusion equation, • Klein–Gordon equation. These problems cover a diverse range of settings, including linear and nonlinear equations, stationary and time-dependent systems, as well as equations with different propagation, diffusion, and stiffness characteristics. This diversity is intended to test whether the conclusions drawn from the proposed residual-dynamics analysis generalize beyond a single PDE family. H.1.3

Network architectures

For fairness, the generator architecture is kept fixed across all methods and uses residual links. The discriminator architecture depends on the adversarial objective. For DEQGAN, GAN, and GAN-RB, we use the standard discriminator configuration of GAN-style adversarial training: • residual links, • spectral normalization, • a non-regressive output with a final sigmoid activation. For LSGAN, LSGAN-RB, WGAN-GP, and WGAN-GP-RB, the discriminator is treated as a critic: • no residual links, • no spectral normalization, • no final sigmoid activation. All hidden layers use tanh activation. H.1.4

Optimization settings

A central practical distinction in our study is that, except for DEQGAN, all methods are trained under the same simple default optimization setting: lrG = lrD = 10−3 , 54

(306)

Table 5: Hyperparameter settings for DEQGAN on PDE benchmarks. Hyperparameter

Poisson Laplace Viscous–Burgers Reaction–Diffusion Klein–Gordon

Num. iterations 3000 3000 Num. grid points 32 × 32 32 × 32 G units/layer 50 50 G num. layers 4 4 D units/layer 30 50 D num. layers 2 2 Activations tanh tanh G learning rate 0.019 0.012 D learning rate 0.021 0.088 G β1 (Adam) 0.139 0.295 G β2 (Adam) 0.369 0.358 D β1 (Adam) 0.745 0.575 D β2 (Adam) 0.759 0.133 Exponential LR decay (γ) 0.957 0.953 Decay step size 9 10

3400 32 × 32 50 3 20 5 tanh 0.012 0.005 0.185 0.594 0.093 0.184 0.954 25

4500 32 × 32 50 3 20 5 tanh 0.007 0.009 0.185 0.594 0.093 0.184 0.954 10

4000 32 × 32 50 3 20 5 tanh 0.012 0.005 0.185 0.594 0.093 0.184 0.954 10

Table 6: Running time (hours) for different PDE benchmarks and compared methods. All experiments were conducted on a laptop workstation equipped with an NVIDIA GeForce RTX 4070 Laptop GPU and an Intel Core i7-14700HX CPU. PDE DEQGAN GAN LSGAN WGAN-GP GAN-RB LSGAN-RB WGAN-GP-RB Poisson Laplace Burgers Reaction Klein

0.24 0.28 0.46 0.33 0.45

0.33 0.27 0.41 0.32 0.43

0.28 0.27 0.42 0.29 0.44

0.29 0.29 0.37 3.86 0.36

3.17 3.33 4.62 4.11 4.98

3.02 3.27 4.48 4.09 4.82

2.98 3.24 4.47 4.07 4.69

with Adam optimizer and default hyperparameters (β1 , β2 ) = (0.9, 0.999).

(307)

By contrast, DEQGAN follows its original tuning-dependent protocol (Table 5), which relies on: • two-timescale generator/discriminator learning rates, • tuned Adam hyperparameters, • Ray Tune-based hyperparameter search. This distinction is particularly important because one of the central goals of our work is to demonstrate that favorable alternating training dynamics can be effectively recovered through the proposed rollback principle, while avoiding the substantial hyperparameter tuning burden and implementation cost typically required by DEQGAN. H.1.5

Training protocol

For each outer training iteration, the generator and discriminator are updated alternately. The rollbackenhanced variants additionally evaluate candidate intermediate states and retain only those updates that improve the corresponding first-order criterion or residual-energy criterion, as described in the main text. Unless otherwise specified, all methods are trained under the same sampling and optimization pipeline on each benchmark problem. This design ensures that performance differences are primarily attributable to the adversarial objective and the rollback mechanism, rather than to unrelated implementation choices. All experiments are implemented in PyTorch and conducted on a laptop workstation equipped with an NVIDIA GeForce RTX 4070 Laptop GPU and an Intel Core i7-14700HX CPU. The detailed hardware configuration and running-time (hours) statistics are summarized in Table 6. 55

H.1.6

Evaluation metrics

We report both training error (L2 error) and validation error (L2 error) as the primary accuracy metrics. To connect the experiments with the theory developed in the main text, we additionally track: • the residual energy E=

1 ∥r∥2 , 2

(308)

• the first-order indicator

G S = r⊤ Krr γ, (309) • and, for rollback-based methods, the selected discriminator and generator rollback depths.

These quantities are not only useful diagnostics but also provide a direct empirical bridge to the NTK-based residual-dynamics analysis developed in the paper. H.1.7

Relation to the main text

The main text reports the core quantitative comparisons and the principal mechanistic observations. Detailed training curves, per-equation dynamics, rollback-step statistics, and additional ablation results are deferred to the appendix in order to keep the main paper focused on the central theoretical and algorithmic message. We note that the mechanistic analysis of DEQGAN under different G : D ratios has already been presented systematically in Section 5.2 of the main text. There, based on the first-order indicator and the NTK-based failure-mode analysis, we explained the phenomena identified in Section 3, clarified the apparent mismatch between empirical observations and the classical theoretical picture, reconstructed the training-dynamics viewpoint, and supported the resulting interpretation with numerical evidence. Since these components already form a coherent narrative in the main paper, we do not repeat them again in the appendix. H.2 H.2.1

Benchmark equations Comparison Laplace

Laplace equation: We first consider a two-dimensional Laplace equation posed on the unit square domain Ω = (0, 1) × (0, 1), with Dirichlet boundary conditions. The governing equation is  2 ∂ u ∂2u   + 2 = 0, (x, y) ∈ Ω,   ∂x2 ∂y      u(0, y) = 0, y ∈ [0, 1],  u(1, y) = 0, y ∈ [0, 1],    u(x, 0) = 0, x ∈ [0, 1],       1   u(x, 1) = sin(πx) eπ − e−π ), x ∈ [0, 1]. 2 cosh(π) The Laplace equation is one of the most fundamental elliptic partial differential equations and commonly arises in steady-state heat conduction, electrostatic potential analysis, incompressible fluid flow, and other equilibrium problems. In the present example, the problem is defined on a bounded rectangular domain with mixed homogeneous and non-homogeneous Dirichlet boundary conditions, making it a standard benchmark for evaluating the approximation quality of physics-informed methods. For this problem, an analytical solution is available:  1 u(x, y) = sin(πx) eπy − e−πy , 2 cosh(π) Hence, the numerical prediction can be directly compared with the exact solution in both solution error and PDE residual. 56

(a) Training MSE

(b) Validation MSE

(c) Residual energy

(d) GAN-RB

(e) LSGAN-RB

(f) WGAN-GP-RB

Figure 3: Laplace equation: The first row reports the training MSE, validation MSE, and residual energy for all compared methods. The second row shows the rollback-related dynamics for GAN-RB, LSGAN-RB, and WGAN-GP-RB, respectively, including the selected generator/discriminator innerstep behavior and the discriminator-induced quantity r⊤ Krr γ. Comparison among different methods: Fig. 3(a)–(c) reports the training error, validation error, and residual energy dynamics of different adversarial PINNs variants on the Laplace equation. Overall, the rollback-based methods significantly improve the corresponding original adversarial methods. In particular, LSGAN-RB and GAN-RB achieve the best performance, with both the residual energy and prediction errors reduced by several orders of magnitude compared with their non-rollback counterparts. This demonstrates that the proposed rollback strategy can effectively stabilize and accelerate adversarial PINNs training by selecting more favorable generator–discriminator update states. An interesting observation is that WGAN-GP does not perform well in this experiment, although it is commonly believed to alleviate the gradient-vanishing issue in standard GAN training. Even after applying the rollback strategy, WGAN-GP-RB still fails to achieve comparable accuracy. This suggests that avoiding discriminator saturation alone is not sufficient for adversarial PINNs training. From the perspective of our framework, the key factor is whether the discriminator-induced weighting γ provides an informative and well-aligned residual descent direction under the generator NTK. In this case, the WGAN-type gradient field appears to be less effective for the residual dynamics of the Laplace equation. We further analyze the three rollback variants in Fig. 3(d)–(f), which show the evolution of the first-order indicator, the selected generator update steps, and the selected discriminator update steps during training. For better visualization, all three quantities are smoothed by a moving average over 300 iterations. In the following experiments, we adopt the same analysis strategy. The main quantity of interest is the number of selected generator update steps. According to the rollback criterion, the generator is allowed to continue updating only when the current discriminator-induced direction leads to a decrease in the residual energy. Therefore, a larger selected generator update ratio indicates that the discriminator feedback remains useful over a longer generator trajectory and can continuously drive the residual energy downward. Fig. 3(d) and (e) correspond to GAN-RB and LSGAN-RB, respectively. We observe that both methods maintain a high generator update ratio for most of the training process, indicating that their discriminator-induced gradient fields provide effective descent directions for the generator. This is consistent with their strong performance in Fig. 3(a)–(c). In contrast, Fig. 3(f) shows that WGANGP-RB keeps the generator update steps at a very low level throughout training. This means that the

57

rollback criterion frequently rejects generator updates, implying that the WGAN-GP discriminator fails to provide a sufficiently useful residual descent direction in this problem. The behavior of the first-order indicator further supports this interpretation. Under our plotting convention, a negative value corresponds to a favorable energy-decreasing direction. For GANRB and LSGAN-RB, the first-order indicator is largely suppressed in the negative region during training, which explains why their generator updates can be repeatedly accepted. By contrast, for WGAN-GP-RB, the indicator rapidly moves toward the positive region at the early stage and then becomes ineffective, indicating poor alignment between the discriminator-induced weighting and the generator NTK descent direction. This provides direct empirical evidence for our theoretical claim that the success of adversarial PINNs training depends not only on the adversarial loss itself, but more fundamentally on the quality of the induced residual-space weighting and its alignment with the generator residual dynamics. H.2.2

Poisson

Poisson equation domain

We next consider a two-dimensional Poisson equation posed on the unit square Ω = (0, 1) × (0, 1),

with homogeneous Dirichlet boundary conditions. The governing equation is given by  2 2  ∂ u + ∂ u = 2x(y − 1) y − 2x + xy + 2ex−y , (x, y) ∈ Ω, 2 ∂x ∂y 2  u(x, y) = 0, (x, y) ∈ ∂Ω. The Poisson equation is one of the most classical elliptic partial differential equations and arises widely in electrostatics, steady-state heat conduction, gravitational potential modeling, and incompressible flow analysis. In the present example, the problem is defined on a bounded rectangular domain with a prescribed source term and zero boundary values, which makes it a standard benchmark for testing the approximation accuracy and training stability of PINNs-type methods. For this problem, an analytical solution is available: u(x, y) = x(1 − x)y(1 − y)ex−y . Therefore, both the solution error and the PDE residual can be evaluated directly, making this example particularly suitable for quantitative Comparison among different methods: . Comparison among different methods: For the Poisson equation, Fig. 4(a)–(c) shows that LSGAN-RB achieves the best convergence behavior among all compared methods. It attains lower training error, validation error, and residual energy than the original DEQGAN baseline, indicating that the proposed rollback strategy can further improve adversarial PINNs training beyond the existing GAN-based formulation. Here, WGAN-GP still performs poorly, and the application of rollback does not lead to a clear improvement. This again suggests that the non-saturating property of WGAN-type objectives alone is insufficient to guarantee effective residual descent. Fig. 4(d)–(f) further explain this behavior from the perspective of the rollback dynamics. GAN-RB and LSGAN-RB maintain relatively high selected generator update steps during most of the training process, which means that the discriminator-induced directions can support a longer sequence of energy-decreasing generator updates. In contrast, WGAN-GP-RB keeps the generator update steps at a much lower level, implying that many candidate generator updates are rejected by the rollback criterion. The first-order indicator shows a consistent trend. For GAN-RB and LSGAN-RB, the indicator remains at a lower level during training, suggesting better alignment between the discriminatorinduced residual weighting and the generator NTK dynamics. By contrast, the WGAN-GP-RB indicator becomes large already in the early stage, indicating an unfavorable or poorly aligned descent direction. Since the qualitative interpretation is consistent with the Laplace experiment, we omit repeated details here. Overall, the Poisson results further confirm that the effectiveness of adversarial PINNs training depends on the quality of the induced residual-space weighting rather than merely on the nominal GAN objective. 58

(a) Training MSE

(b) Validation MSE

(c) Residual energy

(d) GAN-RB

(e) LSGAN-RB

(f) WGAN-GP-RB

Figure 4: Poisson equation: The first row reports the training MSE, validation MSE, and residual energy for all compared methods. The second row shows the rollback-related dynamics for GAN-RB, LSGAN-RB, and WGAN-GP-RB, respectively, including the selected generator/discriminator innerstep behavior and the discriminator-induced quantity r⊤ Krr γ. H.2.3

Reaction-Difussion

Reaction-Difussion equation We consider a one-dimensional time-dependent parabolic equation on the space–time domain Ω = (0, 1) × (0, 5), subject to homogeneous Dirichlet boundary conditions and a zero initial condition. The governing equation is    2 1   u − u − 10u = t − 2t − x(1 − x), (x, t) ∈ Ω,  t xx  5 5   u(0, t) = 0, t ∈ [0, 5],    u(1, t) = 0, t ∈ [0, 5],    u(x, 0) = 0, x ∈ [0, 1]. This type of parabolic equation is commonly used to describe diffusion and heat-transfer processes, and more generally appears in time-dependent transport-reaction problems. For the present example, an analytical solution is available: u(x, t) =

t x(1 − x). 5

Hence, the predicted solution can be directly compared with the exact solution, which makes this problem convenient for evaluating both approximation accuracy and training behavior. Comparison among different methods: For the reaction–diffusion equation, Fig. 5(a)–(c) shows that GAN-RB achieves the best accuracy among all compared methods. Compared with the other baselines, GAN-RB improves the training accuracy by approximately four orders of magnitude, demonstrating that the rollback strategy can be particularly effective for nonlinear or reactiondominated residual dynamics. Fig. 5(d)–(f) further illustrate the underlying update behavior. Both GAN-RB and LSGAN-RB maintain relatively high selected generator update steps during training, indicating that their discriminatorinduced directions can still support repeated energy-decreasing generator updates. However, compared with GAN-RB, the first-order indicator of LSGAN-RB remains relatively large at the early 59

(a) Training MSE

(b) Validation MSE

(c) Residual energy

(d) GAN-RB

(e) LSGAN-RB

(f) WGAN-GP-RB

Figure 5: Reaction-Difussion equation: The first row reports the training MSE, validation MSE, and residual energy for all compared methods. The second row shows the rollback-related dynamics for GAN-RB, LSGAN-RB, and WGAN-GP-RB, respectively, including the selected generator/discriminator inner-step behavior and the discriminator-induced quantity r⊤ Krr γ. stage. Since this indicator is an aggregated quantity, this suggests that the discriminator feedback of LSGAN-RB is less well aligned with the global residual-energy descent direction, although it can still produce decreasing residual energy. This explains why LSGAN-RB converges, but not as rapidly or accurately as GAN-RB. For WGAN-GP-RB, the rollback strategy brings a slight improvement over the original WGAN-GP. As shown in Fig. 5(f), the WGAN-GP discriminator provides a useful descent direction at the very beginning of training. Nevertheless, this favorable behavior quickly disappears, and the selected generator updates become less effective afterward. As a result, the overall training performance remains unsatisfactory. These results again indicate that the success of the rollback mechanism depends on whether the discriminator-induced weighting can provide a persistently informative residual descent direction. H.2.4

Viscous-Burgers

Viscous Burgers equation time domain

We consider a one-dimensional viscous Burgers equation on the space– Ω = (−5, 5) × (0, 2.5),

with viscosity coefficient ν = 0.001. The governing equation is  (x, t) ∈ Ω, ut + u ux − νuxx = 0, 1  , x ∈ [−5, 5]. u(x, 0) = cosh(x) In the implementation, the boundary values at x = ±5 are fixed to 1/ cosh(5), which is numerically very close to zero. The viscous Burgers equation is a classical nonlinear convection–diffusion model and is widely used as a benchmark for studying nonlinear transport, diffusion, and sharp-gradient dynamics. Owing to the competition between nonlinear advection and viscosity, it provides a representative test case for assessing the stability and accuracy of physics-informed methods. For this problem, the reference solution is not available in closed form. Instead, a high-accuracy numerical solution computed by an FFT-based solver is used for comparison. 60

(a) Training MSE

(b) Validation MSE

(c) Residual energy

(d) GAN-RB

(e) LSGAN-RB

(f) WGAN-GP-RB

Figure 6: Viscous Burgers equation: The first row reports the training MSE, validation MSE, and residual energy for all compared methods. The second row shows the rollback-related dynamics for GAN-RB, LSGAN-RB, and WGAN-GP-RB, respectively, including the selected generator/discriminator inner-step behavior and the discriminator-induced quantity r⊤ Krr γ. Comparison among different methods: For the Burgers equation, Fig. 6(a)–(c) shows that all methods exhibit strongly oscillatory training dynamics. This behavior is reasonable because the Burgers equation contains nonlinear convection, and its residual landscape is more sensitive to local sharp structures and dynamically evolving error modes. As a result, the adversarial feedback may change rapidly during training, leading to more pronounced fluctuations than in the linear elliptic problems. Despite these oscillations, GAN-RB achieves the best overall performance. This indicates that, for nonlinear convection-dominated residual dynamics, the sharper discriminator-induced weighting of GAN, together with the rollback selection mechanism, can provide more effective residual descent directions than the smoother LSGAN-type weighting. Fig. 6(d)–(f) further support this interpretation. Among the three rollback variants, GAN-RB maintains the largest selected generator update steps, followed by LSGAN-RB, while WGAN-GP-RB keeps the lowest generator update level. This ordering is consistent with their final accuracy. The first-order indicator of GAN-RB is also the most favorable and remains better suppressed during training, suggesting that its discriminator-induced weighting is better aligned with the generator residual dynamics. For LSGAN-RB, the first-order indicator is negative at the beginning, indicating an initially useful descent direction. However, it gradually moves toward the positive region and remains there, which weakens the effectiveness of subsequent generator updates and leads to an inferior final result compared with GAN-RB. WGAN-GP-RB performs the worst: its first-order indicator is poorly suppressed and the selected generator update steps remain low, implying that the WGAN-GP-RB discriminator fails to provide a persistently useful residual descent direction for this nonlinear problem.

H.2.5

Klein-Gordon

Klein-Gordon equation We further consider a one-dimensional Klein–Gordon-type equation on the space–time domain Ω = (0, 1) × (0, 2), 61

(a) Training MSE

(b) Validation MSE

(c) Residual energy

(d) GAN-RB

(e) LSGAN-RB

(f) WGAN-GP-RB

Figure 7: Klein-Gordon equation: The first row reports the training MSE, validation MSE, and residual energy for all compared methods. The second row shows the rollback-related dynamics for GANRB, LSGAN-RB, and WGAN-GP-RB, respectively, including the selected generator/discriminator inner-step behavior and the discriminator-induced quantity r⊤ Krr γ. with homogeneous Dirichlet boundary conditions. The governing equation is  utt − c2 uxx − 4u = 0.8 sin(πx) cos(πt), (x, t) ∈ Ω,      u(0, t) = 0, t ∈ [0, 2],  u(1, t) = 0, t ∈ [0, 2],    u(x, 0) = −0.2 sin(πx), x ∈ [0, 1],    ut (x, 0) = 0, x ∈ [0, 1]. The Klein–Gordon equation is a classical hyperbolic partial differential equation and is widely used to describe wave propagation with restoring or reaction effects. It also serves as a representative benchmark for testing whether learning-based solvers can accurately capture second-order temporal dynamics together with spatial oscillations. For the default choice c = 1, the problem admits the analytical solution u(x, t) = −0.2 sin(πx) cos(πt). Hence, the predicted solution can be directly compared with the exact solution in both solution error and PDE residual. Comparison among different methods: For the Klein–Gordon equation, Fig. 7(a)–(c) shows that GAN-RB achieves the best accuracy among all methods. Its final error is approximately four orders of magnitude lower than the other baselines, demonstrating that GAN-RB is particularly effective for this oscillatory and wave-like problem. From Fig. 7(d)–(f), we observe that both GAN-RB and LSGAN-RB maintain relatively high selected generator update steps during training. However, GAN-RB obtains a much larger improvement after applying the rollback strategy. This indicates that, in the Klein–Gordon problem, the GANinduced residual weighting is better aligned with the generator residual dynamics than the smoother LSGAN-type weighting. The first-order indicator provides further evidence. For GAN-RB, the indicator is globally well suppressed in the favorable region throughout training, which is a strong indication that the discriminator feedback persistently provides useful descent directions. In contrast, LSGAN-RB also 62

produces a favorable indicator at the beginning, but it gradually increases and eventually stays near a small positive value around zero. This means that the discriminator-induced direction becomes less effective in later training stages, explaining why LSGAN-RB is inferior to GAN-RB. For WGAN-GP-RB, the rollback strategy also brings a clear improvement, reducing the error by about two orders of magnitude compared with the original WGAN-GP. Different from the previous examples, Fig. 7(f) shows that the selected generator update steps of WGAN-GP-RB are significantly higher in this experiment. This suggests that the WGAN-GP discriminator can provide more useful descent directions for the Klein–Gordon residual dynamics than in the Laplace, Poisson, or reaction– diffusion cases. Nevertheless, its first-order indicator is still less stable and less favorable than that of GAN-RB, so its final performance remains worse. H.3 H.3.1

Ablation experiment Laplace equation (Under different boundary conditions)

Here, we conduct the first ablation experiment to examine the robustness of the proposed method under changes in boundary conditions. The motivation for this experiment is that, even when the governing PDE remains unchanged, the solution can be highly sensitive to the prescribed boundary conditions. Therefore, it is important to verify whether the proposed algorithm can still maintain stable and accurate performance when the boundary conditions are modified. Specifically, we keep the differential operator and the computational domain fixed, and only change the boundary condition setting. This allows us to isolate the effect of boundary-induced changes in the solution structure, while avoiding interference from changes in the PDE type itself. If the proposed method still achieves strong performance under this setting, it provides evidence that the improvement is not limited to one specific boundary configuration, but reflects a more robust residual optimization mechanism. Laplace with different boundary condition: equation on the unit square domain

We also consider a two-dimensional Laplace

Ω = (0, 1) × (0, 1), subject to Dirichlet boundary conditions:  uxx + uyy = 0, (x, y) ∈ Ω,     u(0, y) = 0, y ∈ [0, 1],     u(1, y) = 0, y ∈ [0, 1],  u(x, 0) = sin(πx), x ∈ [0, 1],      1 π 1    u(x, 1) = sin(πx) + tanh(π) cos πx + , cosh(π) 2 2

x ∈ [0, 1].

Compared with simpler homogeneous-boundary examples, this test case involves nontrivial nonhomogeneous boundary data and is therefore useful for evaluating the capability of a method to handle more complex boundary structures. For this problem, an analytical solution is available: u(x, y) =

   1 1 π  πy sin(πx) eπ(y−1) + eπ(1−y) + cos πx + e − e−πy . 2 cosh(π) 4 cosh(π) 2

Hence, the numerical prediction can be directly compared with the exact solution. Comparison among different methods: For the second Laplace setting, Fig. 8 evaluates the same Laplace equation under different boundary conditions. As shown in Fig. 8(a)–(c), both GAN-RB and LSGAN-RB achieve strong convergence performance. Compared with the other methods, they improve the final accuracy by about two orders of magnitude. This result indicates that the proposed rollback strategy remains effective even when the boundary conditions are changed, suggesting good robustness with respect to boundary-induced variations in the solution structure. Fig. 8(d) and (e) further show that GAN-RB and LSGAN-RB maintain a large number of selected generator update steps during training. At the same time, the discriminator updates help keep the 63

(a) Training MSE

(b) Validation MSE

(c) Residual energy

(d) GAN-RB

(e) LSGAN-RB

(f) WGAN-GP-RB

Figure 8: Ablation study on the same pde with different boundary condition: The first row reports the training MSE, validation MSE, and residual energy for all compared methods. The second row shows the rollback-related dynamics for GAN-RB, LSGAN-RB, and WGAN-GP-RB, respectively, including the selected generator/discriminator inner-step behavior and the discriminator-induced quantity r⊤ Krr γ. first-order indicator mostly below zero, meaning that the discriminator-induced directions remain favorable for residual-energy reduction. This explains why both methods can achieve stable and accurate convergence in this modified boundary setting. In contrast, WGAN-GP-RB still performs poorly. As shown in Fig. 8(f), its first-order indicator quickly moves to a large positive value at the early training stage, indicating poor alignment between the WGAN-GP-induced weighting and the generator residual dynamics. Consequently, even with rollback, WGAN-GP-RB cannot provide sufficiently effective descent directions for this problem. H.3.2

Compatibility with DEQGAN

To further evaluate the compatibility of the proposed rollback strategy, we combine it with DEQGAN and test the resulting method on the Laplace equation introduced in Section H.2.1. The purpose of this experiment is not merely to seek another performance gain, but to clarify an important conceptual point: rollback is not a standalone algorithm disconnected from existing adversarial PINNs methods. Rather, it should be understood as a dynamical modification of the alternating optimization process motivated by the NTK-based residual analysis developed in this paper. From this viewpoint, rollback does not replace the underlying adversarial objective or discriminator design. Instead, it operates at the level of update selection, using the first-order residual-dynamics criterion to filter candidate alternating steps and retain those more consistent with descent-oriented residual evolution. Therefore, if our interpretation is correct, the rollback principle should be compatible not only with GAN and LSGAN, but also with existing adversarial PINNs frameworks such as DEQGAN. To verify this, we apply rollback on top of DEQGAN under the Laplace benchmark. This setting is particularly informative because DEQGAN already relies on carefully tuned hyperparameters and a specific two-timescale training protocol. If rollback can still improve performance in this case, then its benefit cannot be attributed merely to replacing weak baselines or to using simpler optimization settings. Instead, it would support the stronger claim that rollback captures a more general principle of alternating adversarial PINNs training. The results confirm this expectation: even when combined with DEQGAN, the rollback-enhanced variant achieves improved convergence behavior and better final accuracy on the Laplace problem. 64

(a) Training MSE

(b) Validation MSE

(c) Residual energy

(d) DEQGAN-RB dynamics

(e) GAN-RB dynamics

(f) Comparison of r⊤ Krr γ

Figure 9: Ablation study on the DEQGAN and RB. The top row reports the training MSE, validation MSE, and residual energy of all compared methods. The bottom row illustrates the rollback dynamics of adversarial variants, including the selected generator/discriminator inner-step evolution and the discriminator-induced quantity r⊤ Krr γ. This indicates that the proposed rollback mechanism is compatible with existing adversarial PINNs methods and can serve as an additional optimization layer on top of them. In this sense, the contribution of rollback is not to define a completely separate training paradigm, but to provide a principled update-control mechanism that can be integrated into broader adversarial PINNs frameworks.

Comparison among different methods: In Fig. 9, we further combine the rollback strategy with the existing DEQGAN method to demonstrate the flexibility and broad applicability of the proposed strategy. As shown in Fig. 9(a)–(c), the resulting DEQGAN-RB method achieves the best accuracy among all compared methods. This indicates that rollback is not restricted to the standard GAN, LSGAN, or WGAN-GP formulations, but can also be incorporated into existing adversarial PINNs frameworks to further improve their stability and accuracy. An interesting observation is that the original DEQGAN performs poorly when the generator– discriminator update ratio is fixed to 20 : 20. This is reasonable because the original DEQGAN hyperparameters were tuned for a different update setting, such as a 1 : 1 update ratio. In contrast, after incorporating rollback, DEQGAN-RB can adaptively select more favorable update states and therefore achieves much better performance under the same update budget. We also include GAN-RB as a comparison. The results show that, when rollback is applied on top of a properly tuned adversarial training method, it can produce more stable training dynamics and higher final accuracy. This observation suggests that rollback can serve as a general stabilization module for adversarial PINNs training. Across the previous five numerical experiments, adversarial training methods often exhibit strong fluctuations, especially on nonlinear or oscillatory PDEs. Therefore, combining rollback with existing adversarial PINNs methods is a meaningful direction for improving both robustness and training stability. Fig. 9(d) and (e) compare the rollback dynamics of DEQGAN-RB and GAN-RB. We observe that DEQGAN-RB selects fewer generator update steps than GAN-RB. This does not contradict the previous analysis, because the two methods use different learning rates. DEQGAN-RB adopts a larger learning rate, so each accepted generator update can produce a larger decrease in the residual energy. As a result, fewer accepted generator steps are sufficient to achieve strong convergence. In contrast, GAN-RB uses more generator updates, but its first-order indicator shows much stronger fluctuations. After hyperparameter tuning and integration with the existing DEQGAN framework, the 65

rollback indicator becomes more stable, which explains the superior performance of DEQGAN-RB in this experiment. In Fig. 9(f), we compare the first-order indicator across four methods. It can be observed that the DEQGAN method achieves its best performance under a 1:1 generator–discriminator update ratio. This is because, when the number of alternating updates per outer iteration is small, the generator and discriminator—after careful hyperparameter tuning—are less likely to become excessively strong or weak relative to each other. However, since the total number of updates is strictly limited under the 1:1 setting, the overall optimization process remains insufficiently explored, and the final performance is therefore suboptimal. When the update budget is increased, e.g., to a 20:20 ratio, a different phenomenon emerges. We observe that the first-order indicator rapidly approaches zero within a very small number of iterations. This suggests that the discriminator becomes effectively over-trained relative to the generator: the discriminator gradients quickly vanish, leading to γ ≈ 0 and thus a near-degenerate training signal for the generator. In other words, simply increasing the update budget of DEQGAN is not sufficient to guarantee improved optimization performance. For the GAN-RB method, although no extensive hyperparameter tuning is performed, it achieves better results than the 1:1 baseline. However, its first-order indicator is noticeably unstable. As shown in Fig. F, there exist several abrupt positive spikes (i.e., indicator values exceeding zero), which correspond to regions where the loss exhibits significant oscillations. This instability reflects inconsistent descent behavior in the residual energy. Finally, we emphasize that the proposed DEQGAN-RB method achieves the most stable first-order indicator under the 20:20 update ratio. This stability directly translates into more consistent energy decay and smoother training dynamics, ultimately leading to higher solution accuracy. These observations suggest that combining existing adaptive alternating training strategies with the proposed first-order rollback mechanism could yield new methods with both improved stability and accuracy, which provides an important direction for future research. H.3.3

Does rollback help beyond increasing the update budget?

A natural concern about the proposed rollback strategy is that it evaluates multiple candidate updates within each outer iteration, and therefore may appear to benefit simply from using more update steps. To rule out this possibility, we perform a controlled ablation and examine whether the observed performance gain truly comes from rollback itself. We focus on the two rollback-enhanced methods that perform best overall in our experiments, namely GAN-RB and LSGAN-RB. For GAN-RB, we use the Klein–Gordon equation benchmark in Section H.2.5, where GAN-RB performs best. For LSGAN-RB, we use the Laplace equation in Section H.3.1, where this method achieves its strongest performance. For each method, we compare three training settings: (i) no rollback with G : D = 1 : 1, (ii) no rollback with G : D = 20 : 20, and (iii) rollback with G : D = 20 : 20. This design is chosen to answer two separate questions. The comparison between settings (i) and (ii) tests whether simply increasing the number of generator and discriminator updates can improve the solution accuracy. The comparison between settings (ii) and (iii) then isolates the effect of rollback under the same 20 : 20 update budget, and asks whether adding the proposed optimization strategy on top of that fixed budget leads to further improvement. Therefore, if the third setting consistently outperforms the second, the gain cannot be attributed merely to more candidate updates, but must come from the rollback mechanism itself. Laplace. From Fig. 10, several clear observations can be made. First, Fig. 10 (a)–(c) show that among the three compared settings, the fixed G : D = 20:20 scheme without rollback performs the worst, while the rollback-enhanced 20:20 scheme achieves the best overall convergence. A particularly interesting phenomenon is that the non-rollback 20:20 method actually exhibits very good optimization behavior before roughly 1700 iterations, but then suddenly collapses, with both the training and validation errors increasing sharply. This abrupt failure can be better understood from Fig. 10 (d), where we plot, for the non-rollback 20:20 method, the best discriminator/generator inner-step statistics together with the first-order indicator r⊤ Krr γ. At the beginning of training, this indicator remains stably negative, suggesting that the discriminator-induced signal is well aligned with residual descent. However, around iteration 1500, the indicator undergoes a large jump, and at almost the same time the best generator update depth drops sharply to around 6 steps. Since the generator update budget is fixed to 20 steps, this means that 66

(a) Training MSE

(b) Validation MSE

(c) Residual energy

(d) No rollback, G : D = 20:20

(e) Rollback, G : D = 20:20

(f) Comparison of r⊤ Krr γ

Figure 10: Controlled ablation for LSGAN on the Laplace benchmark. The first row reports the training MSE, validation MSE, and residual energy. The second row compares the convergence behavior without rollback and with rollback under the same update budget G : D = 20:20, and further shows the corresponding evolution of the first-order quantity r⊤ Krr γ across the compared settings. after the useful descent-oriented regime has already been exhausted, the generator continues to update for many additional steps under a deteriorated discriminator signal. As a result, the accumulated error is rapidly amplified, causing the sudden jump in loss and the eventual training failure. By contrast, Fig. 10 (e) shows that after introducing rollback, the first-order indicator is maintained within a slightly negative but much more stable range, and the effective generator update depth remains consistently high and stable throughout training. At the same time, the discriminator also keeps a relatively high effective update ratio during the early stage, indicating that it is still able to push the first-order indicator toward a favorable regime. In this sense, rollback acts on both sides of the alternating process: it prevents the generator from taking too many harmful steps once the discriminator signal becomes unreliable, and it also prevents the discriminator from continuing unnecessary updates after a sufficiently good state has already been reached. This observation also helps explain why the non-rollback 20:20 scheme can perform well at the beginning of training. In the early stage, allowing the discriminator to take many updates is indeed beneficial, because it helps drive the first-order indicator into a good negative region and thus yields rapid error reduction. However, as training proceeds, keeping the discriminator fixed at 20 updates becomes excessive. At that point, the discriminator no longer needs such a strong update budget, and continuing to optimize it too aggressively starts to destroy the previously favorable dynamical balance. The rollback mechanism effectively corrects this issue by adapting the usable update depth to the current training state, thereby maintaining stability while preserving accuracy. Finally, Fig. 10 (f) compares the evolution of r⊤ Krr γ across the three settings. One can see that the overall indicator of the 1:1 baseline is comparable to that of 20:20 with rollback. However, the important point is that once the generator and discriminator update budgets are both increased, maintaining a favorable first-order indicator becomes much more difficult. This is precisely why the plain 20:20 scheme fails: without rollback, the enlarged update budget makes the dynamics far more vulnerable to abrupt misalignment, which then causes the catastrophic jump observed in training. In this sense, the comparison shows that the benefit of rollback is not merely to improve performance, but to make larger alternating-update budgets practically usable. Klein–Gordon. From Fig. 11, a different but equally informative pattern can be observed on the Klein–Gordon benchmark. Fig. 11 (a)–(c) show that the G : D = 1:1 baseline gives the worst final 67

(a) Training MSE

(b) Validation MSE

(c) Residual energy

(d) No rollback, G : D = 20:20

(e) Rollback, G : D = 20:20

(f) Comparison of r⊤ Krr γ

Figure 11: Controlled ablation for GAN on the Klein–Gordon benchmark. The first row reports the training MSE, validation MSE, and residual energy. The second row compares the convergence behavior without rollback and with rollback under the same update budget G : D = 20:20, and further shows the corresponding evolution of the first-order quantity r⊤ Krr γ across the compared settings. accuracy, the fixed 20:20 scheme without rollback performs better, and the rollback-enhanced 20:20 scheme achieves the best overall result. In this example, increasing the generator and discriminator update budgets does indeed improve the solution accuracy, which is different from the Laplace case above. At the same time, Fig. 11 (d) shows that for the non-rollback 20:20 scheme, the first-order indicator r⊤ Krr γ is kept in a relatively stable negative region throughout most of training. This indicates that the alternating dynamics are more stable here than in the previous example. However, the same Fig. 11 also shows that the best generator update depth is only around 10 steps in the early stage. Therefore, when the generator budget is fixed to 20 updates, a substantial fraction of these updates are already beyond the most effective descent-oriented range. In other words, even though the overall indicator remains negative, the generator is still being updated more than necessary. Fig. 11 (e) shows the effect of adding rollback under the same 20:20 budget. In this case, the generator consistently operates within a higher and more stable effective update range, while the first-order indicator is further improved. This suggests that rollback does not merely preserve stability, but also makes the enlarged update budget more efficient by filtering out less useful updates and retaining those that are better aligned with the current descent direction. Finally, Fig. 11 (f) compares the evolution of r⊤ Krr γ across the three settings. One can see that although the 1:1 baseline has the most favorable first-order indicator overall, its small update budget leads to inferior final accuracy. Once the generator and discriminator update numbers are increased, the first-order indicator deteriorates immediately in the plain 20:20 setting. After rollback is introduced, however, the indicator is clearly improved again. This explains why the rollbackenhanced method achieves the best performance: it not only allows the larger alternating-update budget to be used, but also restores a better first-order descent quality under that larger budget.

Conclusion: This ablation supports the interpretation that rollback improves adversarial PINNs training by selecting more descent-consistent alternating updates, rather than by merely enlarging the optimization budget. In other words, the performance improvement is attributable to better update control, not to more iterations. 68

I

Contributions, Limitations, and Future Work

Contributions: Although the present work still has several limitations, we believe that its main contributions are already clear. First, from the perspective of residual dynamics and NTK analysis, we develop a unified framework for adversarially trained PINNs. In contrast to the classical static picture based on the optimal discriminator and divergence minimization, we emphasize that practical training is governed by finite-step alternating dynamics, and we show how different adversarial objectives induce different residual-weighting mechanisms through the discriminator input derivative. Second, based on this framework, we propose a first-order rollback strategy and demonstrate across multiple PDE benchmarks that it can substantially improve GAN-based and LSGAN-based adversarial PINNs without requiring expensive hyperparameter search. Third, we show that this viewpoint is not limited to standard GAN variants: it also provides a unified interpretation of squared-residual input, soft-constrained settings, and existing methods such as SA-PINN, LA-PINN, and WAN, thereby suggesting a broader design space for adversarial PINNs training. Limitations:

Against this background, several limitations remain.

First, the rollback strategy, while effective, can still introduce noticeable oscillations during training. In some sense, this is natural, since rollback explicitly compares and reverts among candidate alternating updates, so the resulting trajectory is not expected to be completely smooth. Nevertheless, such oscillations indicate that the current rollback mechanism still has room for improvement in terms of stability. At the same time, our ablation results (H.3.2) show that when rollback is combined with an already well-tuned model, it can achieve both higher accuracy and more stable dynamics. This suggests that rollback should not be viewed only as a substitute for hyperparameter tuning; it may also serve as an additional control layer on top of a good optimization configuration, further improving training quality. Second, our interpretation of discriminator behavior across different GAN variants is still built on the NTK regime. In particular, the present theory describes how, in the infinite-width and linearizedtraining limit, the discriminator influences generator residual descent through its input derivative. Compared with the finite-width and often shallow networks used in practice, this analysis remains an approximation. However, the value of the framework is precisely that it does not aim to reproduce every finite-network phenomenon exactly; rather, it provides a mechanistic picture that explains success and failure modes and, more importantly, guides algorithm design. The numerical results suggest that this infinite-width viewpoint remains informative for finite-width training. Third, the current theory does not explicitly cover common training techniques such as spectral normalization or gradient penalties. This limitation is not specific to our analysis alone, but reflects a broader boundary of the standard NTK framework itself. In particular, classical NTK theory is typically developed under assumptions such as infinite network width, smooth activations, and a near-linearized training regime. By contrast, mechanisms such as spectral normalization actively modify the network parameterization and training geometry, and therefore are not naturally captured by the usual fixed-kernel NTK approximation. For this reason, our present theory does not yet characterize how such techniques alter the discriminator NTK, the induced gradient field, or the resulting residual dynamics in a strict sense. At the same time, this does not prevent us from analyzing the resulting training behavior empirically through the network output and residual-based indicators. One practical strength of the present framework is that these indicators remain informative even when such regularization mechanisms are used in training. A fuller theoretical integration of spectral normalization, gradient penalties, and related techniques would make the framework both more complete and more realistic. Fourth, the generator-side analysis relies on the assumption that the generator NTK remains approximately constant. For relatively regular problems such as Poisson and Laplace equations, this approximation appears reasonable and is consistent with both existing studies and our numerical observations [5]. However, for more complex strongly nonlinear, multiscale, stiff, or higher-order PDEs, the generator NTK may evolve more substantially during training, and the constant-kernel approximation may become less accurate [21, 22]. In this sense, the present theory is better suited to describing early-stage or weakly nonlinear training dynamics than fully global dynamics in strongly nonlinear regimes. Even so, one of the main messages of this paper is that a linearized infinite-width analysis can still provide practically useful guidance for finite-network training control. 69

G Fifth, under finite-width neural network training, the first-order quantity r⊤ Krr γ should be understood as an aggregated and low-cost first-order indicator rather than as a strict per-step descent certificate. It effectively separates successful regimes from representative failure modes and provides a practical basis for rollback, but it remains a low-dimensional global scalar and cannot fully resolve finer interactions among spectral modes, spatial regions, or multiple loss channels. In difficult PDEs, the dominant error may come from a small subset of slow modes, boundary channels, or localized regions, while a single aggregated score may not fully reflect such structural imbalance. At the G same time, this indicator is not spectrally blind. Through the decomposition of r⊤ Krr γ, it implicitly constrains how discriminator-induced gradients are distributed across modes. In particular, fast modes associated with larger kernel eigenvalues typically decay first, so their residual amplitudes G become small early in training. If one still wishes to maintain r⊤ Krr γ < 0 afterwards, then the discriminator-induced weighting must become more consistent with the slower unresolved modes that continue to dominate the residual energy. In this sense, the first-order indicator does not explicitly optimize spectral modes one by one, but it implicitly favors a training process that first reduces the fast modes and then increasingly emphasizes the slow ones. It is precisely because this quantity is global, low-cost, and available online that it provides a workable bridge between theory and algorithm.

Sixth, while our experiments already cover a diverse set of PDEs, including Poisson, Laplace, viscous Burgers, Reaction–Diffusion, and Klein–Gordon equations, the overall benchmark range is still limited. We have not yet systematically studied higher-dimensional PDEs, complex geometries, noisy inverse problems, parameter identification tasks, or more extreme stiffness and boundary-condition regimes. Therefore, although the current conclusions already show a certain degree of generality, their broader scope still requires further validation. On the other hand, the existing experiments are sufficient to show that the proposed framework is not tied to a single equation or isolated phenomenon, but has explanatory and algorithmic value across multiple PDE types. Future Work:

These limitations also point naturally to several directions for future work.

First, the rollback strategy itself can be made more stable. For example, one may incorporate rollback as an additional control layer on top of an already well-tuned optimization setting, or design smoother rollback criteria with momentum, confidence thresholds, or multi-step prediction mechanisms to reduce oscillations. Second, it would be valuable to move beyond the constant-NTK or weakly varying NTK approximation and study more general time-varying kernel dynamics, especially for strongly nonlinear, multiscale, and higher-order PDEs. Such an analysis could lead to a deeper understanding of how generator kernels and discriminator feedback co-evolve across residual modes. Third, common practical techniques such as spectral normalization, gradient penalties, and residual links should be incorporated into a unified theoretical framework. Understanding how these mechanisms reshape the discriminator NTK, its input-gradient field, and the induced preconditioned residual descent may lead not only to a more faithful theory, but also to better training strategies. Fourth, the broader design space suggested by this work deserves more systematic exploration. In particular, many combinations among residual input versus squared-residual input, GAN/LSGAN/IPMtype objectives, and constrained discriminator function classes remain unexplored. Such combinations may exhibit better stability, spectral balance, or stiffness-handling properties. G Fifth, future work may develop more refined control criteria beyond the scalar quantity r⊤ Krr γ, for instance by using spectral information, channel-wise loss decomposition, or block-structured residual diagnostics for interior, boundary, and initial-condition terms. This could yield a more fine-grained and PDE-aware update-control mechanism. Balancing the computational cost of solving the spectrum and the resulting accuracy during training remains an open problem.

Sixth, the present framework could be extended to broader scientific machine learning settings, including soft-constrained PINNs, inverse problems, optimal control, weak-form methods, and function-space generative models. Since the key idea of this paper is that the discriminator modulates generator dynamics by inducing a gradient field on residual space, this mechanism is not restricted to standard PINNs and may be relevant in a wider class of problems.

70

Record · ID 196465 · SHA-256 edfa1e96a789d0a5
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.