一种基于流映射的可微流体模拟的伴随方法
An Adjoint Method for Differentiable Fluid Simulation on Flow Maps
AI总结:
本文提出了一种基于双向流映射的伴随求解器,通过共享长程流映射直接求解伴随方程,实现了低内存占用且高精度的不可压缩流体可微模拟,用于精确识别、预测和控制涡旋动力学。
摘要:
本文提出了一种基于双向流映射的全新伴随求解器,用于可微流体模拟。我们的关键观察是,正向流体求解器及其相应的反向伴随求解器与正向模拟共享相同的流映射。在正向传播中,该映射将流体冲量变量从初始帧传输到当前帧以模拟涡旋动力学。在反向传播中,相同的映射将伴随变量从当前帧传播回初始帧以计算梯度。这种共享的长程映射使得梯度计算的精度能够直接受益于流映射构建的改进。基于这一洞察,我们引入了一种新颖的伴随求解器,该求解器直接在流映射上求解伴随方程,从而实现对不可压缩流体的长程且精确的微分,而无需像传统伴随方法那样对中间数值步骤进行微分或存储中间变量。为进一步提高效率,我们提出了一种用于演化伴随变量的长-短时间-稀疏流映射表示。我们的方法内存占用低,在分辨率为192^3时仅需6.53GB数据,同时在涡度追踪方面保持高精度,从而支持需要精确识别、预测和控制涡旋动力学的新型可微模拟任务。
英文摘要:
This paper presents a novel adjoint solver for differentiable fluid simulation based on bidirectional flow maps. Our key observation is that the forward fluid solver and its corresponding backward, adjoint solver share the same flow map as the forward simulation. In the forward pass, this map transports fluid impulse variables from the initial frame to the current frame to simulate vortical dynamics. In the backward pass, the same map propagates adjoint variables from the current frame back to the initial frame to compute gradients. This shared long-range map allows the accuracy of gradient computation to benefit directly from improvements in flow map construction. Building on this insight, we introduce a novel adjoint solver that solves the adjoint equations directly on the flow map, enabling long-range and accurate differentiation of incompressible flows without differentiating intermediate numerical steps or storing intermediate variables, as required in conventional adjoint methods. To further improve efficiency, we propose a long-short time-sparse flow map representation for evolving adjoint variables. Our approach has low memory usage, requiring only 6.53GB of data at a resolution of $192^3$ while preserving high accuracy in tracking vorticity, enabling new differentiable simulation tasks that require precise identification, prediction, and control of vortex dynamics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。