arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.17059cs.LGcs.CVphysics.flu-dyn
收藏

一种适用于计算流体动力学的广义新型损失函数

A generalised novel loss function for computational fluid dynamics

Flinders University(弗林德斯大学)

Zachary Cooper-Baldock, Paulo E. Santos, Russell S. A. Brinkworth, Karl Sammut

AI总结:

针对计算流体动力学模拟耗时的问题,提出梯度均方误差(GMSE)损失函数,聚焦高变异数据区域,提升cGANs在CFD中的训练效率与生成精度,助力加速CFD的机器学习应用。

摘要:

计算流体动力学(CFD)模拟在汽车、航空航天、 maritime 和医疗应用中至关重要,但受限于直接计算流体的复杂性、成本和计算需求,通常需要数天的计算时间。机器学习架构,如受控生成对抗网络(cGANs),由于其能够近似数据集的潜在数据分布,在增强或替代CFD研究方面具有巨大潜力。与传统cGAN应用不同,在传统应用中整个图像都携带信息,而CFD数据包含高度变化数据的小区域,沉浸在大范围低方差的最小重要性背景中。这使得大多数现有深度学习技术在训练期间对数据的每个部分给予同等重要性的做法效率低下。为了缓解这一问题,本文提出了一种名为梯度均方误差(GMSE)的新型损失函数,该函数能自动且动态地逐个区域识别重要区域,并根据局部方差分配适当的权重。为评估所提出解决方案的有效性,训练了三个相同的网络;分别使用均方误差(MSE)损失、提出的GMSE损失和GMSE的动态变体(DGMSE)进行优化。新型损失函数实现了更快的损失收敛,对应减少了训练时间,同时在生成场与真实模拟之间的结构相似性误差降低了83.6%,最大损失率提高了76.6%,并且增强了欺骗判别器网络的能力。希望这种损失函数能够加速计算流体动力学领域的机器学习应用。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑