mlsanityData to 14 Oct 2026

Constraint-Aware Flow Matching via Randomized Exploration

arXiv 2508.13316 ↗First posted 18 Aug 2025cs.LGcited by 2

On the map: Diffusion models → Flow matching, time series and science

Abstract (arXiv)

We consider the problem of designing constraint-aware flow matching (FM) models that address the issue of constraint violations commonly observed in vanilla generative models. We consider two scenarios, viz.: (a) when a differentiable distance function to the constraint set is given, and (b) when the constraint set is only available via queries to a membership oracle. For case (a), we propose a simple adaptation of the FM objective with an additional term that penalizes the distance between the constraint set and the generated samples. For case (b), we propose to employ randomization and learn a mean flow that is numerically shown to have a high likelihood of satisfying the constraints. This approach deviates significantly from existing works that require simple convex constraints, knowledge of a barrier function, or a reflection mechanism to constrain the probability flow. Furthermore, in the proposed setting we show that a two-stage approach, where both stages approximate the same original flow but with only the second stage probing the constraints via randomization, is more computationally efficient than the corresponding one-stage approach. Through several synthetic cases of constrained generation, we numerically show that the proposed approaches achieve significant gains in terms of constraint satisfaction while matching the target distributions. As a showcase for a practical oracle-based constraint, we show how our approach can be used for training an adversarial example generator, using queries to a hard-label black-box classifier. We conclude with several future research directions. Our code is available at https://github.com/ZhengyanHuan/FM-RE.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 22 of its 29 references that are in the map. First posted on arXiv 18 Aug 2025.

Builds on

22 of 29 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024Reflected Flow Matching26 May
  2. 2023Improving and generalizing flow-based generative models with minibatch optimal transport1 Feb
  3. 2022Flow Matching for Generative Modeling6 Oct
  4. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow7 Sep

Other references · 18

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  4. 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,323
  5. 2022Building Normalizing Flows with Stochastic Interpolantscited by 995
  6. 2023Stochastic Interpolants: A Unifying Framework for Flows and Diffusionscited by 939
  7. 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 462
  8. 2019Sign-OPT: A Query-Efficient Hard-label Adversarial Attackcited by 120
  9. 2024Understanding Reinforcement Learning-Based Fine-Tuning of Diffusion Models: A Tutorial and Reviewcited by 98
  10. 2024Constrained Synthesis with Projected Diffusion Modelscited by 89
  11. 2023Reflected Diffusion Modelscited by 87
  12. 2023Diffusion Bridge Mixture Transports, Schr"odinger Bridge Problems and Generative Modelingcited by 80
6 more
  1. 2023Diffusion Models for Constrained Domainscited by 63
  2. 2023Mirror Diffusion Models for Constrained and Watermarked Generationcited by 42
  3. 2020Nonparametric Score Estimatorscited by 23
  4. 2024Constrained Diffusion Models via Dual Trainingcited by 20
  5. 2024Hard-label based Small Query Black-box Adversarial Attackcited by 10
  6. 2024Neural Approximate Mirror Maps for Constrained Diffusion Modelscited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Constraint-Aware Flow Matching: Decision Aligned End-to-End Training for Constrained Sampling
  2. 2025Chance-constrained Flow Matching for High-Fidelity Constraint-aware Generation
  3. 2026MintFlow: Minimal Trajectory Intervention for Constrained Flow Matching
  4. 2026When do explicit penalties improve flow matching?
  5. 2025Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints
  6. 2026Flow Matching with Arbitrary Auxiliary Paths
  7. 2024Gradient-Free Generation for Hard-Constrained Systems
  8. 2026ConFlow: Constraints-Guided Learning with Flow Matching for Motion Generation