LGCVFLU-DYNNov 26, 2024

A generalised novel loss function for computational fluid dynamics

arXiv:2411.17059v14 citationsh-index: 6
Originality Incremental advance
AI Analysis

This work addresses the high computational cost and time of CFD simulations in automotive, aerospace, maritime, and medical applications, offering an incremental improvement for domain-specific machine learning acceleration.

The paper tackled the inefficiency of existing deep learning techniques in computational fluid dynamics (CFD) due to equal weighting of all data regions, by proposing a novel Gradient Mean Squared Error (GMSE) loss function that dynamically identifies important regions based on local variance. The result was faster loss convergence, an 83.6% reduction in structural similarity error, and a 76.6% higher maximum rate of loss compared to traditional methods.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes