Gauge Flow Matching: Efficient Constrained Generative Modeling over General Convex Set and Beyond

Abstract

Generative models, particularly diffusion and flow-matching approaches, have achieved remarkable success across diverse domains, including image synthesis and robotic planning. However, a fundamental challenge persists: ensuring generated samples strictly satisfy problem-specific constraints — a crucial requirement for physics-informed problems, safety-critical applications, watermark embedding, etc. Existing approaches, such as mirror maps and reflection methods, either have limited applicable constraint sets or introduce significant computational overhead. In this paper, we develop gauge flow matching (GFM), a simple yet efficient framework for constrained generative modeling. Our GFM approach introduces a novel bijective gauge mapping to transform generation over arbitrary compact convex sets into an equivalent process over the unit ball, which allows low-complexity feasibility-ensuring operations such as reflection or projection. The generated samples are then mapped back to the original domain for output. We prove that our GFM framework guarantees strict constraint satisfaction, with low generation complexity and bounded distribution approximation errors. We further extend our GFM framework to two non-convex settings, namely, star-convex and geodesic-convex sets. Extensive experiments demonstrate that GFM outperforms existing methods in both generation speed and quality across multiple benchmarks, including synthetic data, time series, and image generation.

Cite

Text

Li et al. "Gauge Flow Matching: Efficient Constrained Generative Modeling over General Convex Set and Beyond." International Conference on Learning Representations, 2026.

Markdown

[Li et al. "Gauge Flow Matching: Efficient Constrained Generative Modeling over General Convex Set and Beyond." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/li2026iclr-gauge/)

BibTeX

@inproceedings{li2026iclr-gauge,
  title     = {{Gauge Flow Matching: Efficient Constrained Generative Modeling over General Convex Set and Beyond}},
  author    = {Li, Xinpeng and Liang, Enming and Chen, Minghua},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/li2026iclr-gauge/}
}