# A generalised novel loss function for computational fluid dynamics

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

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 48 references that are in the map.
- First posted on arXiv 26 Nov 2024.

## Builds on (most cited first, 13 of 13)

- [Progressive Growing of GANs for Improved Quality, Stability, and Variation](https://mlsanity.com/paper/1710.10196/) (2017)
- [Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labels](https://mlsanity.com/paper/1805.07836/) (2018)
- [A Review of Uncertainty Quantification in Deep Learning: Techniques, Applications and Challenges](https://mlsanity.com/paper/2011.06225/) (2020)
- [How Does Batch Normalization Help Optimization?](https://mlsanity.com/paper/1805.11604/) (2018)
- [A guide to convolution arithmetic for deep learning](https://mlsanity.com/paper/1603.07285/) (2016)
- [A Topological Loss Function for Deep-Learning based Image Segmentation using Persistent Homology](https://mlsanity.com/paper/1910.01877/) (2019)
- [DeLiGAN : Generative Adversarial Networks for Diverse and Limited Data](https://mlsanity.com/paper/1706.02071/) (2017)
- [DP-GAN: Diversity-Promoting Generative Adversarial Network for Generating Informative and Diversified Text](https://mlsanity.com/paper/1802.01345/) (2018)
- [Generative Adversarial Networks and Perceptual Losses for Video Super-Resolution](https://mlsanity.com/paper/1806.05764/) (2018)
- [Imbalanced Image Classification with Complement Cross Entropy](https://mlsanity.com/paper/2009.02189/) (2020)
- [Flow Field Reconstructions with GANs based on Radial Basis Functions](https://mlsanity.com/paper/2009.02285/) (2020)
- [Scientific Machine Learning for Modeling and Simulating Complex Fluids](https://mlsanity.com/paper/2210.04431/) (2022)
- [Investigation of Physics-Informed Deep Learning for the Prediction of Parametric, Three-Dimensional Flow Based on Boundary Data](https://mlsanity.com/paper/2203.09204/) (2022)

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

- [WAKESET: A Large-Scale, High-Reynolds Number Flow Dataset for Machine Learning of Turbulent Wake Dynamics](https://mlsanity.com/paper/2602.01379/) (2026)
- [3D Underwater Path Planning via Generative Flow Field Surrogates](https://mlsanity.com/paper/2606.06077/) (2026)
- [Neptuna: A Comprehensive Machine Learning Framework for Benchmarking Complex Multiphase Flows](https://mlsanity.com/paper/2607.22280/) (2026)

## Abstract (arXiv)

Computational fluid dynamics (CFD) simulations are crucial in automotive, aerospace, maritime and medical applications, but are limited by the complexity, cost and computational requirements of directly calculating the flow, often taking days of compute time. Machine-learning architectures, such as controlled generative adversarial networks (cGANs) hold significant potential in enhancing or replacing CFD investigations, due to cGANs ability to approximate the underlying data distribution of a dataset. Unlike traditional cGAN applications, where the entire image carries information, CFD data contains small regions of highly variant data, immersed in a large context of low variance that is of minimal importance. This renders most existing deep learning techniques that give equal importance to every portion of the data during training, inefficient. To mitigate this, a novel loss function is proposed called Gradient Mean Squared Error (GMSE) which automatically and dynamically identifies the regions of importance on a field-by-field basis, assigning appropriate weights according to the local variance. To assess the effectiveness of the proposed solution, three identical networks were trained; optimised with Mean Squared Error (MSE) loss, proposed GMSE loss and a dynamic variant of GMSE (DGMSE). The novel loss function resulted in faster loss convergence, correlating to reduced training time, whilst also displaying an 83.6% reduction in structural similarity error between the generated field and ground truth simulations, a 76.6% higher maximum rate of loss and an increased ability to fool a discriminator network. It is hoped that this loss function will enable accelerated machine learning within computational fluid dynamics.
