NRFlow: Towards Noise-Robust Generative Modeling via High-Order Mechanism

Bo Chen, Chengyue Gong, Xiaoyu Li, Yingyu Liang, Zhizhou Sha, Zhenmei Shi, Zhao Song, Mingda Wan, Xugang YeUAI 2025

TL;DR

This paper introduces NRFlow, a novel generative modeling approach that extends flow matching by incorporating higher-order dynamics (specifically, acceleration). By training on both velocity and acceleration fields, NRFlow achieves improved robustness against noise and enhances the stability of learned data trajectories, offering a more reliable method for complex generative tasks.

What Problem Does This Paper Address?

Generative models based on flow matching have shown great promise in learning complex data distributions. However, these models often struggle with noise in the data and can produce unstable or unreliable learned trajectories. This vulnerability stems from their typical reliance on first-order dynamics (velocity fields), which can overlook crucial higher-order information that contributes to smoothness and robustness. Existing methods haven't fully explored a principled way to integrate this higher-order information into the flow matching framework to address these limitations.

Methods

The core innovation of NRFlow is the incorporation of second-order dynamics into the flow matching process. Instead of solely learning a velocity field that maps a source distribution to a target distribution, NRFlow also learns an acceleration field. This is achieved by modifying the standard flow matching loss function to include terms that penalize errors in both velocity and acceleration predictions.

The authors propose a two-part loss function:

  1. First-order loss: Similar to standard flow matching, this term ensures the learned velocity field accurately approximates the true velocity of the data trajectory.
  2. Second-order loss: This new term trains the acceleration field to match the true acceleration of the trajectory.

By jointly optimizing these two loss components, NRFlow encourages smoother and more stable learned trajectories. The paper also provides a theoretical framework to analyze the regularization effects of these higher-order terms and derives guarantees for noise robustness. They extend this to a third-order and k-th order framework in the supplementary material.

Datasets

The paper uses the following synthetic datasets for evaluation:

  • Five-mode Gaussian mixture distribution: Features five source modes and five target modes with different variances and positions.
  • 3-round spiral dataset: A dataset generated from Gaussian distributions.
  • Dot-hyperbola dataset: Another dataset generated from Gaussian distributions.

These datasets are designed to test the model's ability to learn complex, non-trivial transport trajectories.

Key Insights and Ideas

  • Higher-order dynamics are crucial for robustness: The paper strongly suggests that neglecting higher-order dynamics (like acceleration) in flow matching is a key reason for its susceptibility to noise and instability.
  • Acceleration as a regularizer: Learning the acceleration field acts as a powerful regularizer, enforcing smoother and more predictable trajectories, which in turn makes the model more robust to noisy data.
  • Unified theoretical framework: The authors provide a theoretical foundation for their approach, offering noise-robustness guarantees and bounding error propagation, which is essential for building trust in generative models.
  • Generalizability to k-th order: The framework is designed to be extensible to higher-order dynamics, suggesting a path towards even more robust generative models.

Key Results

  • Improved distribution modeling: NRFlow, especially with the addition of second-order (O1+O2) and third-order (O1+O2+O3) losses, significantly outperforms the baseline first-order method (O1) in accurately modeling complex distributions.
  • Reduced out-of-distribution artifacts: The visualizations show that higher-order NRFlow models generate distributions that more closely match the target distributions, with fewer spurious artifacts compared to the first-order model.
  • Quantitative improvements: Table 1 shows that NRFlow with higher-order losses achieves lower Euclidean distance metrics across various datasets, indicating better distribution transfer accuracy. For instance, the O1+O2+O3 variant achieved the lowest loss on the dot-hyperbola dataset (2.959).
  • Theoretical guarantees: The paper provides theoretical guarantees for noise robustness and bounded error propagation, which are crucial for understanding the model's behavior in challenging conditions.

Limitations and Future Work

  • Computational complexity: While the paper claims the computational complexity of NRFlow matches previous first-order methods, extending to very high orders (k >> 3) might introduce significant computational overhead.
  • Hyperparameter tuning: The paper mentions the need for hyperparameter selection, and finding optimal values for higher-order terms could be challenging.
  • Future Work: The authors suggest exploring the extension to even higher-order dynamics and applying NRFlow to more complex, real-world datasets where noise and trajectory instability are significant concerns. They also hint at the possibility of parameterizing only higher-order terms while deriving lower-order ones through numerical integration in resource-constrained settings.

Summary updated

BibTeX
@inproceedings{chen2025nrflow,
  author = {Bo Chen and Chengyue Gong and Xiaoyu Li and Yingyu Liang and Zhizhou Sha and Zhenmei Shi and Zhao Song and Mingda Wan and Xugang Ye},
  title = {{NRFlow: Towards Noise-Robust Generative Modeling via High-Order Mechanism}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=hCONRCHDEL},
}

Loading related content...

Figure