Machine Learning

Data Driven Science and Engineering

Notes based on Data-Driven Science and Engineering by Steven L. Brunton and J. Nathan Kurz. Their proposed teaching materials for the book can be found here. Supplementary notes that might be useful for understanding the concepts are provided in course AMATH301. The set of open source materials proposed by Kurz's team is found here.

Singular Value Decomposition

Fourier and Wavelet Transforms

Sparsity and Compressed Sensing

Regression and Model Selection

Clustering and Classification

Neural Networks and Deep Learning

Data-Driven Dynamical Systems

Linear Control Theory

Balanced Models for Control

Data-Driven Control

Reduced Order Models (ROMs)

POD for Partial Differential equations (11.1)

  • Proxy models are much faster (lower dimensional)
  • Classical discretization (FD) lead to high dimensional schemes
  • Model expansion can produce much lower dimension problems

\[u(x,t) = \sum_{k=1}^{n}a_{k}(t)\psi_k(x)\]

  • Idea: plug the modal expansion in the PDE and expand it
  • With modal basis the approximations are non-local (global)
  • Option 1: Fourier mode expansion - FFT

\[\psi_k(x)=\frac{1}{L}\exp\left(i\frac{2\pi{}kx}{L}\right)\]

  • Goal: try to approximate with $r$ basis instead of large $n$
  • Example: try to approximate a Gaussian with FME
  • Localized structures require more expansion modes
  • Construction similar to spectral methods

Optimal Basis Elements (11.2)

  • Key idea: simulate the dynamics of the system and save snapshots of time-step solutions to then identify a modal expansion.
  • The $\tilde{U}$ POD basis $\psi_k$ found by truncating the SVD matrix $U$ at rank $r$ is the optimal in the $L^2$ sense for the given data.
  • Use energy accumulated in modes as discussed in Chapter 1 Singular Value Decomposition to define the optimal (or good enough) value of $r$.
  • The produced ROM is not assured to be safe outside the subspace to which it was identified, though that is fine for several physics.

POD and Soliton Dynamics (11.3)

Continuous Formulation of POD

POD with Symmetries

Interpolation for Parametric ROMs

Additional materials

Professor Nick Trefethen, University of Oxford, Linear Algebra Optimization


Physics-Informed Neural Networks

Physics-Informed Neural Networks (PINNs) were first introduced by Raissi2017 [34] in the context of providing data-driven solutions of nonlinear PDE's. In what follows we review the basic concepts and approaches developed in this field during the past few years. Both mathematical and application aspects will be treated in the review.

Common applications

As per Guo2024a [35] the following common applications arise from PINNs:

Predictive modeling and simulations

  • Solution of dynamical systems (even high-dimensional)
  • Acceleration of multi-physics simulations

Optimization and systems control

  • Surrogate models for design optimization
  • Inverse design (finding conditions)
  • Model predictive control
  • Optimal sensor placement

Data-driven insights

Data-driven enhancement

Monitoring, diagnostic, and health assessment

Key Ideas

  • Inject the prediction values in the governing equations to compose the loss function, enforcing the NN to obey the underlying physics.

  • There are 2 components in the loss function, the physical loss evaluated from the deviation from training data (as is commonplace in NN training) and the PDE loss, which is further divided into boundary and initial condition losses.

  • Collocation points is how we call the temporal and spacial coordinates where evaluation of physical properties are computed, corresponding to nodes or cell centers in classical numerical schemes.

Research opportunities

  • Following Guo2023a [36] citing the work by Wu2022a [37], resampling and refinement methods could be improved by better PDF's and the use of active or reinforcement learning to improve sampling.

References

Unraveling the design pattern of physics-informed neural networks:

PostSubjectMain reference(s)
Guo2023a [36]Resampling of residual pointsWu2022a [37]
Guo2023b [38]Ensemble learning and dynamic solution interval expansionHaitsiukevich2022a [39]
Guo2023c [40]Improving performance through gradient boostingFang2023a [41]
Guo2023d [42]Incorporate the gradient of residual terms as an additional loss term for stiff problemsYu2022a [43]
Guo2023e [44]Wang2023a [45]
Guo2023f [46]Wang2022a [47]
Guo2023g [48]Arthurs2021a [49]
ReferenceSubject
Lagaris1997a [50]Seminal work on PINNs.
Antonelo2021a [51]
Cai2021a [52]
Cuomo2022a [53]
Haitsiukevich2022a [39]
Karniadakis2021a [54]
Lu2019a [55]
Lu2021a [56]
Nabian2021a [57]
Sanyal2022a [58]
Wurth2023a [59]Use of PINNs to solve diffusion equation (heat transfer) during the curing of composites. The paper is more focused in the application than in the implementation. Benchmark against FDM/FEM.

Other current readings: