[Paper Review] Resolving gradient pathology in physics-informed epidemiological models
Introduces Conflict-Gated Gradient Scaling (CGGS) to resolve gradient conflicts in physics-informed neural networks for SEIR epidemiological modeling, ensuring stable training and standard convergence rates. Demonstrates improved robustness and curriculum-like training dynamics over magnitude-based baselines.
Physics-informed neural networks (PINNs) are increasingly used in mathematical epidemiology to bridge the gap between noisy clinical data and compartmental models, such as the susceptible-exposed-infected-removed (SEIR) model. However, training these hybrid networks is often unstable due to competing optimization objectives. As established in recent literature on ``gradient pathology," the gradient vectors derived from the data loss and the physical residual often point in conflicting directions, leading to slow convergence or optimization deadlock. While existing methods attempt to resolve this by balancing gradient magnitudes or projecting conflicting vectors, we propose a novel method, conflict-gated gradient scaling (CGGS), to address gradient conflicts in physics-informed neural networks for epidemiological modelling, ensuring stable and efficient training and a computationally efficient alternative. This method utilizes the cosine similarity between the data and physics gradients to dynamically modulate the penalty weight. Unlike standard annealing schemes that only normalize scales, CGGS acts as a geometric gate: it suppresses the physical constraint when directional conflict is high, allowing the optimizer to prioritize data fidelity, and restores the constraint when gradients align. We prove that this gating mechanism preserves the standard $O(1/T)$ convergence rate for smooth non-convex objectives, a guarantee that fails under fixed-weight or magnitude-balanced training when gradients conflict. We demonstrate that this mechanism autonomously induces a curriculum learning effect, improving parameter estimation in stiff epidemiological systems compared to magnitude-based baselines. Our empirical results show improved peak recovery and convergence over magnitude-based methods.
Motivation & Objective
- Motivate and analyze gradient pathology in PINNs applied to SEIR epidemiological models.
- Develop a dynamic, geometry-based gradient gating mechanism to resolve conflicting training signals.
- Prove convergence guarantees for the proposed CGGS method under smooth non-convex objectives.
- Demonstrate empirical improvements in convergence, peak recovery, and robustness to noisy data.
Proposed method
- Formulate SEIR dynamics with data loss, ODE residual loss, and logical non-negativity constraints.
- Introduce Conflict-Gated Gradient Scaling (CGGS) that gates the physics gradient using cosine similarity with the data gradient and a magnitude balance term.
- Update rule for the adaptive physics weight uses a sigmoid gate on cosine similarity and gradient norms (Eq. 5).
- Anchor data term by keeping lambda_data = 1 while adapting lambda_phy; fix logical constraint weight to maintain biological validity.
- Prove convergence of CGGS to first-order stationary points of the data loss at O(1/T) for smooth non-convex objectives (Theorem 4.7).
- Provide curriculum-learning interpretation where CGGS creates a relaxation phase during gradient conflict followed by a refinement phase as gradients align.

Experimental results
Research questions
- RQ1Can gradient conflicts between data fidelity and physics residuals cause Pareto deadlock in PINNs for SEIR models?
- RQ2Does a conflict-aware gradient gating mechanism guarantee stable, convergent training and better parameter recovery under noisy, sparse data?
- RQ3How does CGGS compare to magnitude-based balancing and gradient projection methods in terms of convergence and computational cost?
- RQ4Can the training dynamics exhibit autonomous curriculum learning that improves stiffness handling in epidemiological systems?
Key findings
- CGGS prevents Pareto deadlock by suppressing the physics term when gradients conflict (negative cosine similarity).
- CGGS achieves an O(1/T) convergence rate for the data loss in smooth non-convex settings, matching standard gradient methods.
- The method induces a curriculum effect: a relaxation phase when gradients conflict, followed by a refinement phase as they align.
- Empirically, CGGS yields robust recovery of SEIR trajectories from sparse, noisy data, outperforming magnitude-based baselines.
- CGGS maintains a constant data-anchor, while physics constraints are adaptively gated, improving stability and convergence.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.