CFO: Learning Continuous-Time PDE Dynamics via Flow-Matched Neural Operators

Xianglong Hou, Xinquan Huang, Paris Perdikaris

TL;DR

The Continuous Flow Operator (CFO) is a novel framework for learning the dynamics of partial differential equations (PDEs) that combines the flexibility of continuous-time models with the training efficiency of discrete ones. By repurposing "flow matching" to learn velocity fields directly from spline-interpolated data, CFO achieves state-of-the-art accuracy and handles irregular, sparse data. Remarkably, it outperforms standard autoregressive models even when trained on only 25% of the available data.

What Problem Does This Paper Address?

Simulating how physical systems—such as weather, fluid flow, or chemical reactions—evolve over time usually requires solving complex PDEs. Traditionally, researchers use two neural approaches, both of which have significant limitations:

  1. Autoregressive (AR) Models: These predict the next state based on the current one. However, small errors at each step accumulate over time (rollout error), and they strictly require data sampled at uniform time intervals.
  2. Neural ODEs: These treat the system as a continuous flow. While elegant and time-flexible, they are computationally expensive to train because they require "backpropagating" through an ODE solver, which is notoriously slow and memory-intensive.

The authors aim to bridge this gap by creating a model that is continuous and stable like a Neural ODE, but as fast and easy to train as a simple regressor.

Methods

The core innovation of CFO is repurposing flow matching—a technique popular in generative AI (like Stable Diffusion)—for physical dynamics.

Overview of the Continuous Flow Operator (CFO) training and inference pipeline.
  • Spline-Based Interpolation: Instead of looking at discrete data points, CFO fits high-order temporal splines (specifically quintic Hermite splines) to the training trajectories. This creates a smooth, continuous "path" for the data.
  • Derivative Supervision: Using finite-difference estimates at the spline "knots," the authors calculate the target velocity (the derivative) of the system.
  • Flow Matching: Instead of training the network to predict the next state, they train a Neural Operator (like a U-Net or FNO) to match the analytic velocity of these splines. This completely avoids the need to solve any ODEs during the training phase.
  • Inference: Once trained, the model defines a continuous vector field. To find a solution at any future time, the model is simply plugged into a standard numerical integrator (like Runge-Kutta 4).

Datasets

The authors evaluated CFO across several diverse and challenging benchmarks:

  1. Lorenz System: A classic 3D chaotic system used to test stability in unpredictable dynamics.
  2. 1D Burgers’ Equation: A fundamental PDE for fluid mechanics involving nonlinear waves and shocks.
  3. 2D Diffusion-Reaction (DR): Models complex pattern formation (like animal coat patterns or chemical oscillations).
  4. 2D Shallow Water Equations (SWE): A benchmark from PDEBench that simulates atmospheric and oceanic flows.
  5. Kuramoto–Sivashinsky (KS): A fourth-order chaotic PDE used to demonstrate efficiency over Neural ODEs.

Key Insights and Ideas

  • The "Quintic" Advantage: The authors found that quintic (5th-order) splines are the "sweet spot." They naturally capture acceleration (second derivatives), which is central to many physical laws (like Newton’s $F=ma$), leading to much more stable long-term predictions than linear or cubic interpolations.
  • Time-Resolution Invariance: Because CFO learns the underlying "velocity field" of the physics rather than a step-by-step mapping, it is agnostic to the time grid. It can be trained on messy, irregularly sampled data and then queried for a solution at any arbitrary time point during inference.
  • Eliminating the Adjoint Bottleneck: By using flow matching, CFO bypasses the "adjoint method" used in Neural ODEs. This results in training speeds that are orders of magnitude faster while maintaining (or exceeding) the accuracy of continuous modeling.
  • Reverse-Time Capability: Since the model learns a locally invertible flow, it can perform "inverse tasks"—like starting with a final state and integrating backward to figure out the initial conditions.

Key Results

  • Data Efficiency: In a head-to-head comparison, a Quintic CFO trained on only 25% of irregularly subsampled data outperformed Autoregressive models trained on 100% of the data.
  • Massive Error Reduction: On the 2D Shallow Water and Diffusion-Reaction tasks, CFO reduced relative errors by up to 87% compared to AR baselines.
  • Computational Speedup: For the chaotic KS equation, CFO achieved better accuracy than a Neural ODE while being ~40x faster to train (1 hour vs. nearly 41 hours).
  • Stability: CFO demonstrated superior stability over long "rollouts," where AR models typically diverge or "explode" due to accumulated errors.
Comparison of CFO and Autoregressive (AR) predictions over time, showing CFO's superior long-horizon stability.

Limitations and Future Work

  • Spatial Resolution: While CFO solves the problem of temporal irregularity, it still largely relies on fixed spatial grids. The authors suggest that coupling CFO with mesh-agnostic operators (like GNNs) could lead to full spatio-temporal flexibility.
  • Inference Overhead: Unlike AR models which take a single "jump," CFO requires a numerical integrator at inference time. While the authors showed this is still competitive, further acceleration (like "consistency models") could make inference even faster.
  • Physics Constraints: The current model is purely data-driven. A promising next step is incorporating known physical constraints (like conservation of mass or energy) directly into the flow-matching loss.

Summary updated

BibTeX
@inproceedings{hou2026cfo,
  author = {Xianglong Hou and Xinquan Huang and Paris Perdikaris},
  title = {{CFO: Learning Continuous-Time PDE Dynamics via Flow-Matched Neural Operators}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=IQhaeSzyup},
}
Figure