Condition-Aware Graph Flow Matching for Modeling the Distributions of Complex Fluid Systems

Xiaochao Deng, Jie Chen, Xiaogang DengICML 2026

Overview

Understanding the statistical equilibrium of complex fluid systems—such as the aerodynamic flow over an aircraft wing—is critical for engineering and design. While traditional Computational Fluid Dynamics (CFD) solvers provide high fidelity, they are computationally expensive and slow. Researchers have recently introduced Condition-Aware Graph Flow Matching (CGFM), a novel generative framework designed to learn the full statistical distribution of complex fluid states from limited, incomplete data. By integrating hierarchical graph neural networks with a geometry-aware coarsening scheme, CGFM can sample physically realistic 3D turbulent flow fields up to 600x faster than traditional numerical solvers.

The Challenge: Modeling Fluid Distributions

In many fluid dynamics applications, predicting the exact state of a single particle at a specific microsecond is less important than understanding the overall "cloud" of possible states a system might inhabit. Deep learning surrogate models have emerged to accelerate this process, but they face three primary hurdles:

  1. Error Accumulation: Autoregressive models, which predict the next step based on the previous one, tend to drift and become unstable over long time horizons.
  2. Irregular Geometries: Standard generative models (like grid-based diffusion models) struggle with the complex, unstructured 3D meshes used in real-world engineering. Sharp features, such as wing tips, require high resolution that grid models cannot easily accommodate.
  3. Data Scarcity: High-fidelity simulation data is costly to generate. Researchers rarely have access to long, perfect trajectories across all possible physical conditions (e.g., varying Reynolds numbers or wing shapes).

Methodology: The CGFM Framework

To overcome these limitations, CGFM shifts the focus from predicting sequential steps to modeling the probability path of the system's states. The framework relies on three core innovations:

  • Condition-Aware Flow Matching: Unlike standard diffusion models that iteratively remove noise, Flow Matching learns a vector field that smoothly "pushes" a simple distribution (like Gaussian noise) toward the complex distribution of fluid states. CGFM injects physical parameters directly into this learning process, enabling smooth interpolation across different physical conditions.
  • HieraGraphNet: Fluids exhibit multi-scale dynamics, where tiny eddies influence large-scale flows. CGFM utilizes a U-shaped hierarchical Graph Neural Network (HieraGraphNet) to perform message passing across multiple levels of mesh resolution, capturing both local details and long-range interactions.
  • Topology- and Geometry-Aware Coarsening (TGC): Standard mesh simplification often blurs critical areas. The novel TGC algorithm selects which nodes to retain based on both topological connectivity and local geometric density. This ensures that high-gradient regions remain sharp even within the model's coarser internal representations.

Experimental Validation

The researchers validated CGFM on three increasingly complex scenarios:

  1. EllipseFlow: A 2D unsteady laminar flow around an elliptical cylinder, testing the model's ability to capture periodic vortex shedding.
  2. Wing: A 3D turbulent flow benchmark for surface pressure prediction on various wing geometries (approximately 7,000 nodes per sample).
  3. TandemFoilSet: A challenging multi-body aerodynamic dataset evaluating the model's handling of complex topology changes, such as interacting airfoils.

Key Results and Insights

CGFM demonstrated significant improvements over state-of-the-art baselines like Diffusion Graph Networks (DGN):

  • Superior Accuracy: CGFM consistently achieved the highest $R^2$ (coefficient of determination) and the lowest Wasserstein-2 distances, indicating highly accurate distributional modeling.
  • Massive Speedups: On the 3D Wing task, CGFM generated 3,000 samples in just under 5 minutes on a single GPU. Compared to a traditional OpenFOAM solver, this represents a staggering 606x speedup.
  • Robust Generalization: By training jointly on multiple short trajectories across different conditions, the model successfully extrapolated to unseen physical conditions (e.g., higher Reynolds numbers) while maintaining physical coherence, such as accurately capturing Turbulent Kinetic Energy (TKE) fields.
  • Flow Matching Superiority: The study highlights that Flow Matching is not only more stable to train for physics tasks than standard diffusion but also significantly faster at inference time.

Limitations and Future Directions

While CGFM represents a major leap forward, it remains a surrogate model that requires a "seed" of high-fidelity simulation data for training. Additionally, the current iteration assumes the mesh structure is provided as an input condition, relying on a fixed mesh topology.

Future work will likely focus on applying CGFM to real-time aerodynamic design optimization and active flow control. In these domains, the ability to instantly sample diverse, physically plausible fluid states could be a game-changer for engineering workflows.

Summary updated

BibTeX
@inproceedings{deng2026condition,
  author = {Xiaochao Deng and Jie Chen and Xiaogang Deng},
  title = {{Condition-Aware Graph Flow Matching for Modeling the Distributions of Complex Fluid Systems}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=zclW70fItC},
}
Figure