# Learning Similarity Metrics for Numerical Simulations

arXiv: https://arxiv.org/abs/2002.07863 · HTML: https://mlsanity.com/paper/2002.07863/

## Key facts

- Cited by 9 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 18 Feb 2020.

## Built on by (most cited first, 9 of 9)

- [Benchmarking Autoregressive Conditional Diffusion Models for Turbulent Flow Simulation](https://mlsanity.com/paper/2309.01745/) (2023)
- [Eagle: Large-Scale Learning of Turbulent Fluid Dynamics with Mesh Transformers](https://mlsanity.com/paper/2302.10803/) (2023)
- [Learning the Dynamics of Physical Systems from Sparse Observations with Finite Element Networks](https://mlsanity.com/paper/2203.08852/) (2022)
- [DL4SciVis: A State-of-the-Art Survey on Deep Learning for Scientific Visualization](https://mlsanity.com/paper/2204.06504/) (2022)
- [Guiding diffusion models to reconstruct flow fields from sparse data](https://mlsanity.com/paper/2510.19971/) (2025)
- [Generative Learning for Forecasting the Dynamics of Complex Systems](https://mlsanity.com/paper/2402.17157/) (2024)
- [Neural Image Beauty Predictor Based on Bradley-Terry Model](https://mlsanity.com/paper/2111.10127/) (2021)
- [Deep Neural Networks to Correct Sub-Precision Errors in CFD](https://mlsanity.com/paper/2202.04233/) (2022)
- [Learning Similarity Metrics for Volumetric Simulations with Multiscale CNNs](https://mlsanity.com/paper/2202.04109/) (2022)

## Abstract (arXiv)

We propose a neural network-based approach that computes a stable and generalizing metric (LSiM) to compare data from a variety of numerical simulation sources. We focus on scalar time-dependent 2D data that commonly arises from motion and transport-based partial differential equations (PDEs). Our method employs a Siamese network architecture that is motivated by the mathematical properties of a metric. We leverage a controllable data generation setup with PDE solvers to create increasingly different outputs from a reference simulation in a controlled environment. A central component of our learned metric is a specialized loss function that introduces knowledge about the correlation between single data samples into the training process. To demonstrate that the proposed approach outperforms existing metrics for vector spaces and other learned, image-based metrics, we evaluate the different methods on a large range of test data. Additionally, we analyze generalization benefits of an adjustable training data difficulty and demonstrate the robustness of LSiM via an evaluation on three real-world data sets.
