Mosaic: A Benchmark Suite for Differentiable Physics Solvers
Andrin Rehmann, Heiko Zimmermann, Dion Häfner
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Time Series, PDEs & Probabilistic ML › Neural Operator Learning for PDEs · Type: benchmark or dataset · Keywords: differentiable physics solvers, benchmarking framework, gradient API, computational cost, Jacobian conditioning, scientific machine learning
Areas: Evaluation & Benchmarks › Multidisciplinary Model Benchmarks › Scientific Model Benchmarks; AI for Science › Physics-Informed Neural Modeling › Neural PDE Solvers
Summary
Mosaic is an extensible benchmarking framework that standardizes solver gradients via containerized components, enabling systematic evaluation of 14 differentiable physics solvers across fluid dynamics, structural mechanics, and heat transfer, and revealing large variations in computational cost, Jacobian conditioning, and compatibility.
Explained to a 5-year-old
Scientists build computer models that act like flowing water, bending bridges, and heating metal. They want the computer to give hints about how things change, but getting those hints can be hard. This paper creates a big toolbox that lets many different models be compared easily. It shows that some models are faster and work better than others, but all good models can still find the right answers. The toolbox is free for everyone to use.
Explained to a 5-year-old, longer
Scientists create computer simulations that mimic real-world things such as water moving, bridges bending, and metal getting hot. These simulations need to tell the computer how to change when something moves, which is called a hint. Getting these hints can be slow and tricky, and different simulations work in different ways. The paper builds a large collection of tools that lets researchers compare many simulations side by side. Each simulation is wrapped in a special box so they can be used the same way, no matter what language they were written in. The collection tests the simulations on three kinds of problems: water flow, building structures, and heat spread. It finds that some simulations are much faster than others and some even cannot be used for real tasks. Even though they differ, all the simulations that give hints eventually find the right answer. The main problems are not the hints themselves, but limits on memory, stability, and how the simulations are set up. The collection is free for anyone to look at and improve. It helps scientists pick the best simulation for their project without a lot of trial and error.
For a technical reader
The paper introduces a containerized benchmarking framework that wraps each differentiable physics solver behind a uniform gradient API, enabling consistent evaluation across languages and AD strategies. It evaluates 14 solvers on fluid dynamics, structural mechanics, and heat transfer, measuring computational cost, Jacobian conditioning, and compatibility. Results show order-of-magnitude variations in cost and conditioning, with many solvers failing realistic tasks, yet all gradient-producing solvers converge to similar optima, indicating that memory limits, numerical stability, and setup compatibility-not gradient accuracy-are the primary practical barriers.
Problem
The practical cost and usability of gradients from differentiable physics solvers are poorly understood, making it difficult to select or integrate solvers for ML training, optimal control, or inverse problems.
Method
The approach packages each solver as a containerized component with a uniform gradient API, providing an extensible benchmarking framework that integrates solvers and measures integration effort, computational cost, gradient accuracy, and Jacobian conditioning.
Results
The benchmark reveals order-of-magnitude differences in computational cost and Jacobian conditioning across solvers, and many solvers are incompatible with realistic tasks, yet all gradient-producing solvers converge to similar optima, highlighting that memory limits, numerical stability, and setup compatibility-not gradient accuracy-are the main barriers.
Contributions
The paper introduces an extensible benchmarking framework that standardizes solver gradients via containerized components, enabling systematic evaluation of differentiable physics solvers. It provides a comprehensive benchmark covering 14 solvers in fluid dynamics, structural mechanics, and heat transfer, exposing practical differences in cost, conditioning, and compatibility.
Practical relevance
By providing a standardized, extensible benchmark, Mosaic reduces the trial-and-error cost of integrating differentiable physics solvers into ML pipelines and research workflows.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction