Skip to main content
QUICK REVIEW

[Paper Review] Mirror Diffusion Models for Constrained and Watermarked Generation

Guan-Horng Liu, Tianrong Chen|arXiv (Cornell University)|Oct 2, 2023
Markov Chains and Monte Carlo MethodsMathematics3 citations
TL;DR

This paper introduces Mirror Diffusion Models (MDM), a novel class of diffusion models that generate data on convex constrained sets—such as simplices and ℓ₂-balls—by lifting the diffusion process to an unconstrained dual space via a mirror map. The method enables simulation-free, tractable training with exact transition kernels and superior performance over prior reflected diffusion approaches, while also enabling invisible, quantitative watermarking through constraint-based embedding.

ABSTRACT

Modern successes of diffusion models in learning complex, high-dimensional data distributions are attributed, in part, to their capability to construct diffusion processes with analytic transition kernels and score functions. The tractability results in a simulation-free framework with stable regression losses, from which reversed, generative processes can be learned at scale. However, when data is confined to a constrained set as opposed to a standard Euclidean space, these desirable characteristics appear to be lost based on prior attempts. In this work, we propose Mirror Diffusion Models (MDM), a new class of diffusion models that generate data on convex constrained sets without losing any tractability. This is achieved by learning diffusion processes in a dual space constructed from a mirror map, which, crucially, is a standard Euclidean space. We derive efficient computation of mirror maps for popular constrained sets, such as simplices and $\ell_2$-balls, showing significantly improved performance of MDM over existing methods. For safety and privacy purposes, we also explore constrained sets as a new mechanism to embed invisible but quantitative information (i.e., watermarks) in generated data, for which MDM serves as a compelling approach. Our work brings new algorithmic opportunities for learning tractable diffusion on complex domains. Our code is available at https://github.com/ghliu/mdm

Motivation & Objective

  • To address the lack of tractable, simulation-free diffusion models for data constrained to convex sets such as simplices and ℓ₂-balls.
  • To overcome limitations of reflected diffusion, which lacks closed-form transition kernels and requires approximate score functions.
  • To enable robust, high-fidelity generation within complex geometric constraints without compromising training scalability.
  • To explore constrained sets as a mechanism for embedding invisible, quantitative watermarks in generated data for copyright protection.
  • To demonstrate the feasibility of using mirror maps to transform constrained generation into a tractable, Euclidean-space learning problem.

Proposed method

  • Lift the data distribution from a constrained set 𝒪 ⊆ ℝᵈ to an unconstrained dual space via a mirror map ∇ϕ, which is a strictly convex function's gradient.
  • Perform diffusion modeling in the dual space ℝᵈ, where transition kernels and score functions are analytically tractable, enabling simulation-free training.
  • Use the inverse mirror map ∇ϕ⁻¹ to map generated samples back to the original constrained set, ensuring constraints are satisfied by construction.
  • Derive efficient mirror map computations for common constrained sets, including simplices and ℓ₂-balls, using known convex conjugate duality.
  • Apply the framework to watermarking by encoding watermarks as constraints in the dual space, ensuring invisible yet verifiable content integrity.
  • Implement two variants: MDM-dual (learning in the full dual space) and MDM-proj (projecting training data to the constraint set), comparing performance on image generation benchmarks.

Experimental results

Research questions

  • RQ1Can diffusion models be made tractable and simulation-free when generating data on convex constrained sets, such as simplices and ℓ₂-balls?
  • RQ2How does mirror mapping in a dual space preserve generative quality while enforcing geometric constraints?
  • RQ3Can constrained sets be used as a mechanism for embedding invisible, quantitative watermarks in generated data?
  • RQ4What is the trade-off between watermark robustness and generation fidelity in constrained diffusion models?
  • RQ5How do MDM variants (MDM-dual and MDM-proj) compare in performance on unconditional and conditional image generation tasks?

Key findings

  • MDM achieves significantly improved FID scores on unconditional image generation tasks (e.g., CelebA-HQ, AFHQv2) compared to prior reflected diffusion methods, demonstrating superior sample quality.
  • MDM-dual, despite learning a smoother dual-space distribution, consistently achieves lower FID than MDM-proj, indicating that distributional shift from projection harms performance.
  • The watermark precision exceeds 95% and false positive rate is below 0.001% in conditional ImageNet 256×256 restoration tasks, confirming effective and robust watermark embedding.
  • Both MDM-dual and MDM-proj generate images that satisfy the polytope constraint, while non-MDM baselines violate constraints despite visual indistinguishability.
  • The ablation study confirms that reducing the number of constraints (m) and loosening constraint ranges (cᵢ, bᵢ) improves both FID and watermark precision, revealing a trade-off between protection and quality.
  • The method enables simulation-free training with exact regression objectives, unlike prior reflected diffusion approaches that require geometric approximations or simulation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.