# Poster 30710

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/30710

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, I'm Kanishk from the Technical University of Munich in Germany. I will present a summary of our work, Progressively Refined Differentiable Physics. First, let me give you a quick introduction to the broader context of our work. Differentiable physics refers to a paradigm where physics simulators are written in a differentiable framework. This allows physical simulations to be integrated into deep learning pipelines. Such integration helps neural networks to generalize, especially in the face of limited data.
However, training neural networks with differentiable physics is computationally expensive because most numerical physics solvers are iterative. Therefore, querying the solver in each forward pass and differentiating through its iterations in the backward pass can potentially become a computational bottleneck. We show two mechanisms to reduce this cost. First is progressive refinement.
Instead of using high fidelity physics throughout, training is started coarse, and solver iterations are gradually increased throughout training. Here we see an example of a low-dimensional inverse problem. We see that training through coarse physics, shown in yellow, has a lower training performance than training through refined or fully converged physics, shown in blue. However, when we train with progressive refinement, shown in green,
Early training can tolerate coarse physics while later training benefits from refined physics which leads to equivalent training progress at a reduced cost. The second idea which we call incomplete convergence is shown here. Traditionally physics solvers are run until they fully converge to a numerical tolerance. However we find that full physics convergence is often unnecessary.
A neural network can still learn effectively even when the physics solver stops early. By allowing solvers to stop at a near -optimal level, the ICA idea further reduces computation. In our approach of PRDP, we combine the savings from these two mechanisms and contribute an algorithm that adapts the PRDP strategy to the problem at hand. The algorithm monitors the trend in validation loss.
To be specific, it looks for plateauing in the validation loss. When training progress slows or plateaus, PRT-P increases the number of physics solver iterators. This implements the idea of progressive refinement. However, if further physics refinement does not improve neural network performance, PRT-P will stop the physics refinement because it is superfluous. This implements the idea of incomplete convergence.
The refinement strategy can be fine-tuned using two parameters, a stepping threshold and a stopping threshold. And now for some results, our focus is on neural networks that emulate PDEs. Across all our learning tasks, PRDP, shown here in green, achieves the same neural network performance as the benchmark that used fully converged physics, shown here in blue.
Coming to training cost, across our test problems, PRDP gives 60 to 80% savings in terms of physics solver iterations. These savings are the combined effect of the progressive refinement and incomplete convergence mechanisms shown here as PR and IC respectively. And here are the corresponding savings in terms of wall clock time. The savings, the highest savings here was 78% for training a 3D heat equation emulator.
The key takeaway is, when the physics is high-dimensional or requires more solver iterations, example due to poor conditioning, the physics solve dominates the training time. Here, PRDP shows the highest potential of compute savings. In other words, PRDP is the most effective in training pipelines where a differentiable physics solver is the bottleneck.
Thank you for listening. If you found it interesting, feel free to check out the paper, its project page, and the code repository. Looking forward to see you in Singapore.
