Primal-Dual Inference Enables Constrained Diffusion Models

Samar Hadou, Yigit Berkay Uslu, Alejandro Ribeiro· June 17, 2026 View original

Summary

This paper introduces constrained diffusion models with primal-dual inference (PDI) to sample from optimal distributions of entropy-regularized optimization problems with average constraints. PDI jointly infers the optimal primal distribution and its parametrizing dual variable, updating the multiplier through dual ascent at each reverse diffusion step.

Researchers have developed a new method called Constrained Diffusion Models with Primal-Dual Inference (PDI) to address the challenge of sampling from optimal distributions in entropy-regularized optimization problems, particularly those involving average constraints. This approach formalizes constrained sampling within the Lagrangian dual domain, where the desired optimal distribution is a Gibbs distribution parameterized by an optimal dual variable. Unlike methods that pre-estimate and fix the dual multiplier, PDI dynamically infers both the optimal primal distribution and its corresponding dual variable simultaneously. In each step of the reverse diffusion process, the model denoises using a score field conditioned on the current multiplier, then updates this multiplier via dual ascent based on the estimated constraint violation of the denoised samples. To facilitate this, a single dual-conditioned score network is trained across the family of Gibbs distributions induced by the dual variables encountered during inference. The paper provides theoretical guarantees, proving that the time average of the generated dual variables converges to a neighborhood of the dual optimum and bounding the impact of any residual dual mismatch on the final distribution. PDI's effectiveness is demonstrated across various applications, including constrained Gaussian mixture sampling, wireless resource allocation, and portfolio management.

Why it matters

This advancement allows diffusion models to generate samples that adhere to specific constraints, which is crucial for real-world applications where resources are limited or certain conditions must be met. Professionals can use this for more practical and compliant generative AI solutions in fields like finance, engineering, and resource management.

How to implement this in your domain

  1. 1Apply PDI-enabled diffusion models to generate synthetic data that satisfies specific business rules or regulatory constraints.
  2. 2Utilize constrained diffusion for optimizing resource allocation problems, ensuring generated solutions adhere to capacity limits.
  3. 3Integrate PDI into financial modeling for portfolio management, generating investment strategies that meet risk and return constraints.
  4. 4Explore PDI for constrained image or data generation tasks where outputs must conform to predefined structural or statistical properties.

Who benefits

FinanceTelecommunicationsManufacturingHealthcareLogistics

Key takeaways

  • PDI enables diffusion models to sample from constrained optimal distributions.
  • It jointly infers primal distribution and dual variables during inference.
  • The method updates dual multipliers via dual ascent based on constraint violations.
  • PDI is applicable to problems like resource allocation and portfolio management.

Original post by Samar Hadou, Yigit Berkay Uslu, Alejandro Ribeiro

"arXiv:2606.17192v1 Announce Type: new Abstract: This paper develops constrained diffusion models with primal-dual inference (PDI) to sample from optimal distributions of entropy-regularized optimization problems with \emph{average} constraints. We formalize constrained sampling i…"

View on X

Originally posted by Samar Hadou, Yigit Berkay Uslu, Alejandro Ribeiro on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses