PAI-230 · Education

Physics-Informed Physical AI

The physical world will not be solved by data alone: action-labeled data is scarce, and a black-box net that has never heard of energy or momentum extrapolates dangerously. This course teaches the alternative — inject the physics you already know into a learner, at one of three places: the data (guided), the loss (informed), or the architecture (encoded). You build every method on-device in the browser, driving the real ferromotion Rust library compiled to WebAssembly: reverse-mode autodiff, physics-informed neural nets, Lagrangian and Hamiltonian nets, Neural ODEs, structure-preserving integrators, equation discovery, and differentiable control. Physics → AI → Physical AI, one runnable rung at a time.

L3·10 modules · 16 live labs·19 lessons
▶ Start the course ← All courses
Module 3

Physics in the loss

The first place to inject physics: the loss function. Instead of showing a network the answer, penalize it for violating the governing equation — and it solves the equation from the physics alone.

  1. L3Solve an equation with no dataTrain a network to satisfy a differential equation directly, with no solution data at all. The loss is the equation's residual. This is the physics-informed neural network — the method that named the field.
Module 7

The on-device fabric

A learned model is only as good as the silicon it runs on. Your device is a heterogeneous compute fabric — CPU, GPU, NPU — and smart software routes each workload to whatever wins. See it happen, live, on your own hardware.

  1. L3Your device is a fabricSee the real cross-fabric runtime measure your device and route each workload to the backend that wins on it — tiny work to the CPU, large work to your GPU — the adaptive heterogeneous compute the whole course runs on.
Module 8

The model meets reality

Close the loop with the physical world: calibrate the model from recorded data by exact gradients through the dynamics.

  1. advancedThe model meets realityCalibrate a robot's masses and friction from recorded torques by exact gradients through the dynamics — real-to-sim, the single most validated use of differentiable physics.
Module 9

Fluids: the physics you can't lump

Know when the lumped coefficient model of a rotor, hull, or pour breaks — and how a resolved, verified, differentiable fluid solver reveals and repairs it, live in the browser.

  1. advancedWhen coefficients breakKnow when the lumped coefficient model of a rotor, hull, or pour stops telling the truth — and how a resolved, verified, differentiable fluid solver reveals the fix, live in your browser.