Introduction to optimization methods for training SciML models
Alena Kopaničáková, Elisa Riccietti
TL;DR
The paper provides a unified overview of optimization methods for both ML and SciML, highlighting that SciML losses driven by PDEs and operators are globally coupled and often ill-conditioned, contrasting with the data-driven locality of classical ML losses. It connects training dynamics to the neural tangent kernel, explains spectral bias and stiffness, and surveys first-order, second-order, and hybrid methods, including SGD theory, sampling strategies for PINNs, and preconditioning approaches. Practical guidance is offered through numerical examples and tutorial-style discussions of regu-larization, loss balancing, adaptive sampling, and switching between optimization regimes. The work underscores open research directions at the interface of scientific computing and machine learning, aiming to develop scalable, curvature-aware, and physics-consistent optimization techniques for increasingly complex SciML applications.
Abstract
Optimization is central to both modern machine learning (ML) and scientific machine learning (SciML), yet the structure of the underlying optimization problems differs substantially across these domains. Classical ML typically relies on stochastic, sample-separable objectives that favor first-order and adaptive gradient methods. In contrast, SciML often involves physics-informed or operator-constrained formulations in which differential operators induce global coupling, stiffness, and strong anisotropy in the loss landscape. As a result, optimization behavior in SciML is governed by the spectral properties of the underlying physical models rather than by data statistics, frequently limiting the effectiveness of standard stochastic methods and motivating deterministic or curvature-aware approaches. This document provides a unified introduction to optimization methods in ML and SciML, emphasizing how problem structure shapes algorithmic choices. We review first- and second-order optimization techniques in both deterministic and stochastic settings, discuss their adaptation to physics-constrained and data-driven SciML models, and illustrate practical strategies through tutorial examples, while highlighting open research directions at the interface of scientific computing and scientific machine learning.
