Skip to content

lucavignola/DeepLearning_for_PDEs

Repository files navigation

AI in the Sciences and Engineering — Final Project (Fall 2024)

This repository contains the implementation and solutions for the Final Project of the course AI in the Sciences and Engineering taught by Prof. Siddhartha Mishra in Fall 2024 (ETH Zurich).

The project explores the use of Fourier Neural Operators (FNOs), PDE-FIND regression methods, and neural PDE solvers for learning, predicting, and analyzing dynamical systems governed by partial differential equations (PDEs).


Project Structure

The final project consists of several tasks, each focusing on a different aspect of applying machine learning to PDEs and dynamical systems:

Exercise 1: Fourier Neural Operator for the 1D Wave Equation

  • Train an FNO to approximate the solution operator of the 1D wave equation with given boundary and initial conditions.
  • Perform one-to-one training, resolution generalization, and out-of-distribution (OOD) testing.
  • Extend to All-to-All training using multiple time steps with time conditioning.
  • Evaluate performance using relative L2 error across datasets and resolutions.

Bonus: Temporal Predictions and OOD Testing

  • Extend the All-to-All model to predict solutions at intermediate times.
  • Test generalization to unseen distributions.

Exercise 2: PDE-FIND — Discovering Governing Equations from Data

  • Implement sparse regression methods (ridge regression with thresholding) to recover PDEs from spatio-temporal solution data.
  • Apply to three datasets of increasing complexity (1D PDEs and 2D coupled PDEs).
  • Report the identified PDE terms and analyze convergence and limitations.

Exercise 3: Foundation Models for Phase-Field Dynamics

  • Develop a neural solver for the Allen–Cahn equation across different parameter regimes.
  • Generate synthetic datasets with varying ε values and initial condition types.
  • Train a time-dependent architecture capable of handling full solution trajectories.
  • Evaluate interpolation/extrapolation capabilities and robustness to sharp-interface dynamics.

Bonus: Stability Analysis

  • Provide a proof of a stability theorem for the Allen–Cahn equation, including energy estimates and Gronwall-type arguments.

About

Final project for the course "AI in the Sciences and Engineering" (prof. Siddhartha Mishra) at ETH Zurich

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors