~/lightning

Lightning Talk: But How Do You Autograd Through Your Simulator? Making a...

Lightningat PyTorch Conference 2025 · 2025-10-22..10-23· [robotics, machine-learning]
name:R. Dagli
links:none on file
name:S. Lamba
links:none on file
slides:none on file

Practical recipe for turning PyTorch physics code into a differentiable simulator: replace non‑smooth collision and Coulomb friction with smooth proxies (smooth L1, smoothed friction), clamp Jacobians for corotated/NeoHookean materials, freeze contact sets per inner Newton solve, and stop‑grad through line search and warm starts. Differentiate inner CG/Newton with implicit differentiation using only matrix‑vector products, reuse forward preconditioners, and save memory with checkpointing. Demos and code use torch defim and show Jacobian‑free back‑prop on large rigid/deformable systems.

AI-written summary · about

  1. 0:00Autograd through simulators
  2. 1:49Training with sim parameters
  3. 2:52Autograd assumptions in simulators
  4. 4:19Implicit differentiation for gradients
  5. 6:47Gradient accuracy pitfalls
  6. 7:51Forward pass data storage
  7. 8:55Converging forward solves
  8. 9:39Freezing contact sets
  9. 10:01torch-deform and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.