Lune

ICLR2025Top-tier venue

Gradient-Free Generation for Hard-Constrained Systems

Chaoran Cheng, Boran Han, Danielle C. Maddix, Abdul Fatir Ansari, Andrew Stuart, Michael W. Mahoney, Bernie Wang

Abstract

Generative models that satisfy hard constraints are critical in many scientific and engineering applications, where physical laws or system requirements must be strictly respected. Many existing constrained generative models, especially those developed for computer vision, rely heavily on gradient information, which is often sparse or computationally expensive in some fields, e.g., partial differential equations (PDEs). In this work, we introduce a novel framework for adapting pre-trained, unconstrained flow-matching models to satisfy constraints exactly in a zero-shot manner without requiring expensive gradient computations or fine-tuning. Our framework, ECI sampling, alternates between extrapolation (E), correction (C), and interpolation (I) stages during each iterative sampling step of flow matching sampling to ensure accurate integration of constraint information while preserving the validity of the generation. We demonstrate the effectiveness of our approach across various PDE systems, showing that ECI-guided generation strictly adheres to physical constraints and accurately captures complex distribution shifts induced by these constraints. Empirical results demonstrate that our framework consistently outperforms baseline approaches in various zero-shot constrained generation tasks and also achieves competitive results in the regression tasks without additional fine-tuning. Our code is available at https://github.com/amazon-science/ECI-sampling .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraints cites Physics-Constrained Fine-Tuning of Flow-Matching Models for Generation and Inverse Problems
  • Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraints cites Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints
  • Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraints cites Denoising Diffusion Probabilistic Models
  • Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraints cites Denoising Diffusion Implicit Models
  • Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraints cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
  • Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraints cites Physics-Informed Distillation of Diffusion Models for PDE-Constrained Generation
  • End-to-End Probabilistic Framework for Learning with Hard Constraints cites Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints
  • Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints cites End-to-End Probabilistic Framework for Learning with Hard Constraints
  • Physics-Constrained Fine-Tuning of Flow-Matching Models for Generation and Inverse Problems cites Denoising Diffusion Probabilistic Models
  • Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints cites Denoising Diffusion Probabilistic Models
  • Denoising Diffusion Probabilistic Models cites Improved Techniques for Training Score-Based Generative Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Denoising Diffusion Implicit Models cites Improved Techniques for Training Score-Based Generative Models
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Denoising Diffusion Implicit Models
  • Physics-Informed Distillation of Diffusion Models for PDE-Constrained Generation cites Denoising Diffusion Probabilistic Models
  • Physics-Informed Distillation of Diffusion Models for PDE-Constrained Generation cites Denoising Diffusion Implicit Models
  • Physics-Informed Distillation of Diffusion Models for PDE-Constrained Generation cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Physics-Constrained Flow Matching: Sampling Generative Models with Hard ConstraintsUtkarsh Utkarsh, Pengfei Cai, Alan Edelman, Rafael Gómez-Bombarelli et al.NeurIPS 2025 · 60 citations
  2. Physics vs Distributions: Pareto Optimal Flow Matching with Physics ConstraintsGiacomo Baldan, Qiang Liu, Alberto Guardone, Nils ThuereyICLR 2026 · 31 citations
  3. End-to-End Probabilistic Framework for Learning with Hard ConstraintsUtkarsh Utkarsh, Danielle C. Maddix, Ruijun Ma, Michael W. Mahoney et al.ICLR 2026 · 13 citations
  4. Physics-Constrained Fine-Tuning of Flow-Matching Models for Generation and Inverse ProblemsJan Tauberschmidt, Sophie Fellenz, Sebastian Josef Vollmer, Andrew B. DuncanICLR 2026 · 11 citations
  5. Physics-Informed Distillation of Diffusion Models for PDE-Constrained GenerationYi Zhang, Peng Wang, Difan ZouICML 2026 · 9 citations

Builds on23

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  3. Implicit Neural Representations with Periodic Activation FunctionsVincent Sitzmann, Julien N. P. Martel, Alexander W. Bergman, David B. Lindell et al.NeurIPS 2020 · 4,008 citations
  4. Scaling Rectified Flow Transformers for High-Resolution Image SynthesisPatrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari et al.ICML 2024 · 3,620 citations
  5. Improved Techniques for Training Score-Based Generative ModelsYang Song, Stefano ErmonNeurIPS 2020 · 1,527 citations

Related papers

  1. Physically-Informed Flow Matching with Graph Neural Networks for Complex Fluid DynamicsXiaozhuang Song, Tianshu YuAAAI 2026
  2. Source-Guided Flow MatchingZifan Wang, Alice Harting, Matthieu Barreau, Michael M. Zavlanos et al.ICLR 2026 · 12 citations
  3. PolyFlow: Safe and Efficient Polytope-Constrained Flow Matching with Constraint Embedding and Projection-free UpdateJianming Ma, Qiyue Yang, Yang Zhang, Liyun Yan et al.ICML 2026 · 1 citation
  4. Particle-Guided Diffusion Models for Partial Differential EquationsAndrew Millard, Fredrik Lindsten, Zheng ZhaoICML 2026 · 4 citations
  5. Reflected Flow MatchingTianyu Xie, Yu Zhu, Longlin Yu, Tong Yang et al.ICML 2024 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines