Manuscript Offprint

arXiv:2608.26748

Self-Augmented Diffusion Guidance for Physics-Informed Generation

Akira Osaka, Naoya Takeishi, Takehisa Yairi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Diffusion models can be used to generate spatiotemporal signals of physical phenomena, such as time-series images of fluid dynamics. However, a major limitation of standard diffusion models is that they do not incorporate constraints derived from the underlying physical laws. Consequently, generated samples may appear visually plausible while deviating substantially from the true dynamics. In this study, we propose a simple yet effective physics-informed approach based on diffusion guidance with self-generated data augmentation. The proposed method learns the data distribution conditioned on the degree of deviation from the physically correct dynamics and generates samples by explicitly setting the deviation condition to be zero. The method decouples the evaluation of the governing equations from the diffusion model training and sampling processes, avoiding the need to solve the governing equations at every iteration of the denoising process. This design makes the method applicable to problems requiring computationally expensive numerical simulations and enables faster sample generation. Experimental results demonstrate that the proposed model not only significantly reduces the deviations compared with standard diffusion models but also achieves further reductions when combined with existing physics-constrained diffusion methods.

1 Introduction

Diffusion models provide a powerful framework for learning probability distributions and generating realistic samples. Their applications extend beyond general image generation to physical phenomena in fields such as fluid dynamics (Shu et al., 2023), oceanography (Xu & Li, 2025), and atmospheric science (Wang et al., 2025). However, when applied to physical problems, standard diffusion models, including score-based models (Song & Ermon, 2019; Song et al., 2021b) and denoising models (Sohl-Dickstein et al., 2015; Ho et al., 2020; Song et al., 2021a), face a critical limitation that they do not explicitly account for the underlying physical laws. Consequently, they may generate samples that appear visually plausible but are physically inconsistent, reducing their validity and practical utility.

Several previous studies have addressed this issue by developing diffusion models that enforce adherence to governing physical laws. The Physics-Informed Diffusion Model (PIDM) (Bastek et al., 2025) reduces discrepancies between generated samples and the underlying physical constraints by incorporating the residuals of the governing equations into the training loss. PIDM imposes these constraints only during training, leaving the sampling process unchanged from that of standard diffusion models. Among the methods that incorporate physical constraints during sampling, CoCoGen (Jacobsen et al., 2025) modifies the sampling procedure

Table 1: Comparison of assumptions required by previous physics-informed generative methods and ours.

MethodConstraint Evaluation during TrainingConstraint Evaluation during SamplingGradient of ConstraintProjection / Correction
PG Diffusion (Shu et al., 2023)✓✓✓-
PIDM (Bastek et al., 2025)✓-✓-
CoCoGen (Jacobsen et al., 2025)-✓✓-
ECI (Cheng et al., 2025)---✓
Proposed----

Note: ECI is based on flow matching, whereas PG Diffusion, PIDM, CoCoGen, and ours are based on diffusion models.

so that denoising proceeds in a direction that reduces the constraint violation. Similarly, Physics-Guided Diffusion (PG Diffusion) (Shu et al., 2023) integrates residual information into the model architecture using classifier-free guidance. Regarding PG Diffusion, Bastek et al. (2025) point out that although the method incorporates gradient information into the model, it does not explicitly enforce residual minimization, resulting in insufficient physical consistency. This observation highlights the need for methods that explicitly impose a zero-residual condition during sampling.

Another critical challenge is computational cost. Existing methods (Bastek et al., 2025; Jacobsen et al., 2025; Shu et al., 2023) require the evaluation and differentiation of the constraints during either training or sampling. In some problems, such as the generation of time-series data in fluid dynamics, snapshots are generated at spatial and temporal resolutions coarser than those required for stable and accurate numerical differentiation. Such nature of data makes it inapplicable to evaluate the residuals of the partial differential equations (PDEs) as a mean to impose physics constraints expressed as PDEs. In such cases, instead, the degrees of constraint satisfaction should be evaluated by measuring the deviations between generated samples and physically consistent time-series samples obtained by numerically integrating the governing equations with smaller internal steps. Evaluating such integration-based constraints and their derivatives are typically more computationally expensive than diffusion model training or sampling, especially in high-dimensional settings, and can result in prohibitively long runtimes. To broaden the applicability of physics-informed generative models, it is important to develop a method that separates constraint evaluation from diffusion training and sampling while still incorporating physical information into the model.

In this study, we propose a simple yet effective physics-aware diffusion guidance method based on the classifier-free guidance framework. Our method is based on a self-augmentation strategy in which a base diffusion model is used to generate a kind of negative samples, while the original dataset is treated as positive samples. The diffusion model is then guided to generate samples that are closer to the positive samples and further from the negative. Furthermore, for problems requiring computationally expensive numerical simulations, our approach decouples constraint evaluation from diffusion model training and sampling. It eliminates the need for calculating gradients of the constraint functions during either training or sampling.

Unlike PG Diffusion (Shu et al., 2023), which also employs classifier-free guidance, our method explicitly enforces physical consistency by sampling from a diffusion model conditioned on zero constraint violation. The Extrapolation-Correction-Interpolation (ECI) sampling method (Cheng et al., 2025), based on flow matching (Lipman et al., 2023), also achieves gradient-free generation by taking advantage of its deterministic flow structure. However, it assumes the availability of an appropriate correction algorithm that projects the samples to satisfy the constraints. Our approach further removes this requirement and is applicable as long as the constraints can be evaluated somehow. Table 1 compares the requirements of previous approaches with those of our method. Our method does not rely on any of the assumptions required by the existing methods.

We evaluate our method on fluid dynamics tasks and demonstrate that it significantly reduces deviations from the underlying physical laws. Our approach can also be readily combined with existing physics-informed diffusion methods in a plug-and-play manner. We show that combining it with previous approaches such as PIDM and CoCoGen yields further improvements in physical consistency.

References (60)

  • Physics-informed video diffusion for shallow water equations
  • Physics-informed diffusion models
  • Strictly constrained generative modeling via split augmented langevin sampling
  • Spectral-Refiner: Accurate fine-tuning of spatiotemporal fourier neural operator for turbulent flows
  • Gradient-free generation for hard-constrained systems
  • Constrained synthesis with projected diffusion models
  • Constraint-aware flow matching: Decision aligned end-to-end training for constrained sampling (opens arXiv in a new tab)
  • Diffusion posterior sampling for general noisy inverse problems
  • The frontier of simulation-based inference
  • Diffusion models beat GANs on image synthesis
  • Adjoint matching: Fine-tuning flow and diffusion generative models with memoryless stochastic optimal control
  • Learning to correct spectral methods for simulating turbulent flows
  • Diffusion models for constrained domains
  • Physics-informed diffusion models in spectral space
  • Classifier-Free Diffusion Guidance
  • Denoising diffusion probabilistic models
  • DiffusionPDE: Generative PDE-solving under partial observation
  • Constrained diffusion with trust sampling
  • PAD-Hand: Physics-aware diffusion for hand motion recovery
  • CoCoGen: Physically consistent and conditioned score-based generative models for forward and inverse problems
  • Constrained diffusion models via dual training
  • Adam: A method for stochastic optimization
  • Machine learning-accelerated computational fluid dynamics
  • Physics-constrained diffusion model for synthesis of 3d turbulent data (opens arXiv in a new tab)
  • HardFlow: Hard-constrained sampling for flow-matching models via trajectory optimization
  • Flow matching for generative modeling
  • Improved denoising diffusion probabilistic models
  • LoPhyDA: Low-rank tensor and physics gradient guided diffusion for atmospheric data assimilation
  • U-Net: Convolutional networks for biomedical image segmentation
  • A physics-informed diffusion model for high-fidelity flow field reconstruction
  • Deep unsupervised learning using nonequilibrium thermodynamics
  • Denoising diffusion implicit models
  • Generative modeling by estimating gradients of the data distribution
  • Score-based generative modeling through stochastic differential equations
  • PHDME: Physics-informed diffusion models without explicit governing equations (opens arXiv in a new tab)
  • Physics-constrained fine-tuning of flow-matching models for generation and inverse problems
  • Physics-constrained flow matching: Sampling generative models with hard constraints
  • PhyDA: Physics-guided diffusion models for data assimilation in atmospheric systems (opens arXiv in a new tab)
  • Partial physics informed diffusion model for ocean chlorophyll concentration reconstruction
  • Guided diffusion sampling on function spaces with applications to PDEs
  • PhysDiff: Physics-guided human motion diffusion model
  • Neural methods for amortized inference
  • PILD: Physics-informed learning via diffusion (opens arXiv in a new tab)
  • Physics-informed distillation of diffusion models for PDE-constrained generation
  • Each sample contains the pressure field $p$ and permeability field $K$, both at a resolution of $64 \times 64$
  • All experiments were conducted on an NVIDIA GH200 GPU for both training and sampling
  • Before residual evaluation, generated samples were transformed back to their original physical scales
  • The model parameters are optimized using Adam (Kingma & Ba, 2015)
  • The same model configuration is used for both the first-stage diffusion model and the subsequent guidance model
  • Each histogram is computed from 1000 samples generated in a single independent trial with a different random seed
  • >Diffusion</td></tr><tr><td>Number of diffusion steps</td><td>1000</td></tr><tr><td>Variance schedule</td><td>Linear $(1\times10^{-4}\rightarrow2\times10^{-2})$</td></tr><tr><td colspan=
  • It also demonstrates the proposed method combined with PIDM and CoCoGen achieves the largest reduction
  • For each generated sample, we show the three closest training samples in terms of MSE. The generated samples differ from their nearest training samples, suggesting that the model does not simply reproduce the training data and can generate novel physics-aware samples
  • The viscosity is set to
  • No external forcing is applied
  • The fluid residual $r$ is rescaled to $r_{\text{rescaled}} \in [0,1]$
  • During classifier-free guidance training, the condition is replaced with the null condition $\mathbf{c}_{\varnothing} = [-1, 0]$ with probability 0.2
  • >Diffusion</td></tr><tr><td>Number of diffusion steps</td><td>1000</td></tr><tr><td>Variance schedule</td><td>Cosine (offset: 0.008)</td></tr><tr><td colspan=
  • The residual represents the deviation between generated samples and the corresponding snapshots obtained by numerically integrating the Navier–Stokes equations from the same initial states
  • This analysis examines whether the model can generate novel, physically consistent samples rather than simply reproducing the training data