Skip to main content
QUICK REVIEW

[Paper Review] Learning Similarity Metrics for Numerical Simulations

Georg Kohl, Kiwon Um|arXiv (Cornell University)|Feb 18, 2020
Model Reduction and Neural NetworksPhysics and Astronomy51 references2 citations
TL;DR

This paper proposes LSiM, a deep learning-based metric using a Siamese network with a novel loss function to learn similarity in 2D scalar time-dependent numerical simulation data. It outperforms standard vector norms and learned image metrics by capturing structural and contextual relationships, achieving superior generalization and robustness on synthetic and real-world simulation data.

ABSTRACT

This archive contains data sets of training and test data for the LSiM project.

Motivation & Objective

  • To develop a reliable, generalizable metric for comparing numerical simulation data that outperforms traditional vector space norms.
  • To address the limitations of shallow metrics like L2 in capturing structural and contextual differences in time-dependent 2D field data from PDEs.
  • To leverage controlled data generation from PDE solvers to train a metric that generalizes across diverse simulation types and parameter variations.
  • To demonstrate robustness and generalization on real-world simulation datasets beyond synthetic benchmarks.

Proposed method

  • Employs a Siamese neural network architecture with feature map normalization to extract and compare latent representations of simulation field data.
  • Introduces a novel loss function combining mean squared error and a correlation loss term to improve metric accuracy and generalization.
  • Uses controlled PDE-based data generation to produce training sequences with known ground truth distances via gradual parameter changes.
  • Applies optical flow networks to model temporal and spatial transformations between simulation frames for enhanced feature alignment.
  • Trains the metric to predict relative distances preserving the ground truth ordering, not absolute parameter changes.
  • Utilizes a learnable aggregation mechanism over feature maps using per-channel weights to compute final similarity scores.

Experimental results

Research questions

  • RQ1Can a learned metric outperform standard L2 and image-based metrics like LPIPS in evaluating numerical simulation data?
  • RQ2How does the proposed loss function that incorporates feature correlation improve metric generalization?
  • RQ3To what extent can the model generalize to unseen simulation types and parameter variations not seen during training?
  • RQ4How does the difficulty of training data (e.g., varying parameter change magnitude) affect model robustness and performance?
  • RQ5Can the learned metric generalize to real-world simulation datasets beyond synthetic PDE-generated data?

Key findings

  • LSiM outperforms L2 and LPIPS metrics in predicting ground truth relative distances across all test data, with significantly lower mean and standard deviation in predicted distances.
  • On shape-based simulation tasks, LSiM maintains a consistently low standard deviation and mean close to the ground truth, while L2 fails to distinguish samples beyond a parameter variation of 0.4.
  • For liquid simulation data, LSiM shows a more stable and accurate prediction than L2, especially at higher parameter variations, despite both metrics showing increased standard deviation.
  • The model generalizes robustly to real-world datasets, demonstrating its practical utility beyond synthetic benchmarks.
  • The correlation-aware loss function contributes to improved performance by encoding interactions between features, enhancing metric reliability.
  • The use of controlled PDE-based data generation enables effective training with known ground truth, leading to a metric that generalizes across diverse simulation dynamics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.