Primal-Dual Flow Matching for Sample-Wise Constrained Generation
Zhengyan Huan, Peter Y. Lu, Shuchin Aeron
Key points
From the paper's conclusion- We provide a practical implementation of this approach, called Primal-Dual Flow Matching (PDFM), which has direct control over constraint satisfaction rate and requires only binary membership oracle feedback for constraint satisfaction, avoiding the need for differentiable distances, projections, or special structure of the constraint set, such as convexity.
Abstract
We consider the problem of learning to generate data while satisfying a prescribed \emph{sample-wise} constraint with a user-specified probability of constraint satisfaction. Starting with a population-level constrained negative log-likelihood minimization and using a flow-matching (FM) parameterization, under regularity assumptions and sufficient expressivity of the velocity field family, we derive guarantees on the probability of constraint satisfaction for the corresponding primal-dual optimization algorithm. We provide a practical implementation of this approach, called Primal-Dual Flow Matching (PDFM), which has direct control over constraint satisfaction rate and requires only binary membership oracle feedback for constraint satisfaction, avoiding the need for differentiable distances, projections, or special structure of the constraint set, such as convexity. We show that PDFM improves constraint satisfaction over vanilla FM and achieves competitive performance against constraint-aware baselines while maintaining distributional fidelity. Our code is available at https://github.com/ZhengyanHuan/PDFM.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Manifold Attracting Flow Matching: Physics-Constrained Sampling via Continuous Geometric DynamicsarXiv · 2026
- Multi-Agent Flow Matching with Decoupled Generative GuidancearXiv · 2026
- GenRM-Flow: Generators are Process-aware Reward Models in Flow MatchingarXiv · 2026
- Generative Modeling with Continuous Flows: Sample Complexity of Flow MatchingarXiv · 2026
- Counterfactual Generation via Flow Matching: Coupling-Sensitive End-to-End RatesarXiv · 2026
- Constrained Diffusion from Binary Evaluations via Learned Doob h-FunctionsarXiv · 2026