A generalised novel loss function for computational fluid dynamics

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Cooper-Baldock, Zachary, Santos, Paulo E., Brinkworth, Russell S. A., Sammut, Karl
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916496067788800
author Cooper-Baldock, Zachary
Santos, Paulo E.
Brinkworth, Russell S. A.
Sammut, Karl
author_facet Cooper-Baldock, Zachary
Santos, Paulo E.
Brinkworth, Russell S. A.
Sammut, Karl
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_17059
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A generalised novel loss function for computational fluid dynamics
Cooper-Baldock, Zachary
Santos, Paulo E.
Brinkworth, Russell S. A.
Sammut, Karl
Machine Learning
Computer Vision and Pattern Recognition
Fluid Dynamics
68T07
I.2.6; I.5.1; G.1.2
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.
title A generalised novel loss function for computational fluid dynamics
topic Machine Learning
Computer Vision and Pattern Recognition
Fluid Dynamics
68T07
I.2.6; I.5.1; G.1.2
url https://arxiv.org/abs/2411.17059