Physics Informed Machine Learning
- 27Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is physics informed machine learning?
27 questions
- 1
What is physics informed machine learning?
Model answer
Physics informed machine learning builds physical models from data using optimization and regression techniques, incorporating known physics to improve models or using ML to discover new physics.
Explanation
The lecture defines it as the intersection of ML and physics, with two main aspects: enforcing physics into models and discovering physics from data.
- 2
What are the two major themes of physics informed machine learning?
Model answer
The two themes are enforcing known physics (symmetries, conservation laws) into ML models to improve performance, and using ML to discover new physics (e.g., differential equations) from data.
Explanation
The lecture emphasizes these dual goals: baking physics in and extracting physics out.
- 3
In the pendulum example, what two key ingredients are needed for a physics informed ML approach?
Model answer
Learning a good coordinate system (e.g., angle θ) and learning differential equations (equations of motion) that describe the system's time evolution.
Explanation
The example illustrates the need for coordinate learning and governing equation discovery.
- 4
What are the five stages of building a machine learning model according to the lecture?
Model answer
Problem definition, data curation, architecture design, loss function crafting, and optimization to train the model.
Explanation
The lecture breaks down ML into these five stages to show where physics can be embedded.
- 5
At which stage does a researcher decide on inputs and outputs of the model?
Model answer
Stage one: problem definition, where you decide what to model and the input-output relationship.
Explanation
The lecture lists problem definition as the first stage.
- 6
What happens during stage two (data curation)?
Model answer
Data is gathered and curated, including collecting training data and deciding on labels or features.
Explanation
Stage two involves data collection and preparation, often the most expensive step.
- 7
What is meant by 'architecture' in stage three?
Model answer
Architecture is the class of functions (e.g., neural network type) chosen to represent the input-output relationship.
Explanation
The lecture describes it as choosing a specific model structure like CNN, RNN, SINDy, etc.
- 8
What is the purpose of a loss function in stage four?
Model answer
The loss function quantifies how well the model performs, typically including prediction error and regularization terms.
Explanation
Stage four crafts an objective to minimize during training.
- 9
How is optimization used in stage five?
Model answer
Optimization adjusts the parameters (e.g., neural network weights) of the architecture to minimize the loss function over training data.
Explanation
Stage five uses algorithms like Adam or SGD to find optimal parameters.
- 10
Give an example of how physics can be embedded in stage one (problem definition).
Model answer
Choosing to model a physical quantity like forces on a pendulum (f=ma) or learning a Hamiltonian or Lagrangian inherently bakes physics into the problem.
Explanation
The lecture mentions that setting a physics-based problem statement is a way to embed physics.
- 11
How can data augmentation incorporate physics in stage two?
Model answer
If the system has symmetries (e.g., translation, rotation), you can augment the data with transformed copies to enforce invariance.
Explanation
The lecture uses the example of rotating car images for a classifier to handle orientation invariance.
- 12
Why is coordinate system choice important in data curation?
Model answer
A good coordinate system (e.g., heliocentric vs. geocentric) makes it easier to learn physical models from data.
Explanation
The lecture illustrates with the Earth-Sun example: the heliocentric view simplifies modeling.
- 13
What is an inductive bias in the context of architecture choice?
Model answer
An inductive bias is an assumption built into the architecture that steers the learning process, such as choosing a specific network structure to enforce physics.
Explanation
The lecture notes that architecture choice acts as an inductive bias for physics-informed learning.
- 14
Name three types of architectures mentioned for physics-informed ML.
Model answer
Lagrangian neural networks (LNNs), SINDy autoencoders, and Galilean-invariant neural networks (by Julia Ling).
Explanation
The lecture highlights these as examples of architectures that embed physical knowledge.
- 15
What principle does the SINDy autoencoder architecture promote?
Model answer
Parsimony: learning a model that is as simple as possible to describe the data, using sparsity to achieve low-dimensional and sparse representations.
Explanation
The lecture explains that SINDy uses an autoencoder with sparse regression to find minimal models.
- 16
How does the Galilean-invariant neural network enforce physics?
Model answer
It uses an auxiliary tensor input layer that ensures the model's predictions are invariant under Galilean transformations (rotations and translations).
Explanation
The lecture describes this architecture for fluid flow modeling to maintain invariance.
- 17
What is a physics-informed neural network (PINN)?
Model answer
A PINN is a neural network that adds the governing partial differential equation as a term in the loss function, so the model learns to satisfy the physics.
Explanation
The lecture presents PINNs as a prominent example of embedding physics in the loss function.
- 18
How can sparsity be promoted in a loss function?
Model answer
By adding L1 or L0 norm regularization terms, which encourage the model to have fewer non-zero parameters, leading to simpler (parsimonious) models.
Explanation
The lecture mentions these norms as a way to quantify sparsity.
- 19
What is a limitation of adding physics only as a loss function term?
Model answer
It promotes physics but does not enforce it exactly; the physics term competes with other loss terms and may not be satisfied to high precision.
Explanation
The lecture contrasts loss terms with constrained optimization for stronger enforcement.
- 20
How can constrained optimization enforce physics more strictly than a loss term?
Model answer
By using Lagrange multipliers or constrained least squares, the constraints (e.g., energy conservation) are satisfied exactly to numerical precision, not just promoted.
Explanation
The lecture gives the example of energy conservation in incompressible flows enforced via constrained optimization.
- 21
Name three applications of physics-informed ML mentioned in the lecture.
Model answer
Shape optimization (e.g., wing design), drug discovery/protein folding, and digital twins for robotics or aircraft.
Explanation
The lecture lists these and others like climate science and materials design.
- 22
What is a digital twin?
Model answer
A digital twin is a living digital model of a physical system (e.g., aircraft, factory floor) that is updated with new data and used for design, testing, and optimization.
Explanation
The lecture describes it as a hybrid physics-data driven model for engineering.
- 23
Why are benchmark problems important for physics-informed ML?
Model answer
They allow researchers to focus on algorithm development rather than creating test problems, and enable fair comparison of methods, as seen in classic ML (e.g., image datasets).
Explanation
The lecture stresses the need for standard benchmarks for dynamics and control.
- 24
What are two types of benchmark problems mentioned?
Model answer
Static datasets of dynamical systems (simulated or experimental) and interactive control frameworks that allow closed-loop testing with the simulation or physical hardware.
Explanation
The lecture distinguishes between passive data and interactive benchmarks.
- 25
According to the lecture, what fundamental physical concepts repeatedly appear in physics-informed ML?
Model answer
Conservation laws, invariances, and symmetries (e.g., translational, rotational, Galilean) are fundamental ways to encapsulate physics.
Explanation
The lecture emphasizes symmetries as a recurring theme throughout the series.
- 26
What historical parallel is drawn between alchemy/chemistry and machine learning?
Model answer
Just as alchemy transformed into chemistry with systematic principles, ML is moving from trial-and-error to principled methods through physics-informed approaches.
Explanation
The lecture suggests that applying ML to physical problems can lead to more principled understanding.
- 27
What is the principle of parsimony?
Model answer
The principle that models should be as simple as possible to describe the data, but no simpler—a guide for physical modeling used for over 2,000 years.
Explanation
The lecture links parsimony to sparsity and low-dimensional models.

Ask anything
We've read this whole study set, so questions about it get the best answers.