arXiv:2610.31721cs.LGOct 2026

Manuscript Offprint

arXiv:2610.31721

End-to-End Differentiable Diffusion Conditioning for Physics-Informed Optimization

Ricardo Luna Gutierrez, Vineet Gundecha, Rahman Ejaz, Varchas Gopalaswamy, Riccardo Betti, Sahand Ghorbanpour, Aarne Lees, Soumyendu Sarkar

Abstract

Optimizing high-dimensional physical systems under expensive evaluations and complex constraints is a central challenge in science and engineering. In offline model-based optimization (MBO), methods must improve designs using only a fixed dataset and no test-time access to the true objective. However, existing methods typically suffer from conservatism, unconstrained surrogate exploitation, or function as static inference-time samplers that cannot refine candidates against precise physical objectives. In this paper, we propose Differentiable Diffusion Conditioning (D2C) for offline MBO, which leverages the fact that deterministic sampling makes the reverse denoising chain differentiable with respect to the conditioning signal. D2C turns a frozen conditional diffusion model into an end-to-end gradient-based optimizer by directly optimizing conditioning variables at test time via gradients from frozen surrogate objectives and physics-informed penalties backpropagated through the reverse chain. We implement this idea in a composed proposer-evaluator framework and evaluate it on laser pulse optimization for inertial confinement fusion, sustainable data-center workload scheduling, and four Design-Bench tasks. Our method achieves the strongest results on the two real-world tasks and the best average rank across four Design-Bench tasks.

1 Introduction

The optimization of complex physical systems remains one of the most consequential challenges in science and engineering. Problems such as laser pulse shaping for inertial confinement fusion (ICF) and workload scheduling in large-scale data centers share a common structure: objective functions are computationally expensive to evaluate, the design space is high-dimensional with non-linear correlations, and candidate solutions must satisfy strict physical constraints where any violation carries safety-critical consequences.

The offline model-based optimization (MBO) paradigm addresses the evaluation-cost bottleneck by learning entirely from a fixed dataset of previously evaluated designs, with no access to the true objective at test time. Within this paradigm, existing approaches fall into three broad families. Forward (surrogate-based) methods train a neural network to approximate the objective and perform gradient ascent in design space [30, 9]; while effective, optimizing directly in unconstrained design space can move into regions poorly supported by the offline data, where the surrogate is unreliable. Inverse methods learn a conditional mapping from target performance labels to designs [2, 19, 18, 22]; these tend to stay closer to the empirical data distribution but are limited by the performance ceiling of the training labels and struggle to extrapolate beyond observed optima. Trajectory-based methods construct synthetic improvement paths and train generative models to imitate optimization

∗^{*}Corresponding author. †\daggerThese authors contributed equally.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

dynamics [3, 39]; while powerful, they remain inference-time samplers whose conditioning targets are fixed prior to generation, with no mechanism to refine designs against downstream objectives.

A common limitation across these families is the lack of a direct, differentiable path from a physics-informed objective back to the generative process. The conditioning signal that steers generation is treated as a static input rather than an optimizable variable. This decoupling is especially limiting in safety-critical physical domains where the objective is not a single scalar score but a composite of performance metrics, conservation laws, and hard feasibility constraints that must be jointly satisfied.

We address these limitations by proposing Differentiable Diffusion Conditioning (D2C) for Physics-Informed Optimization, a novel approach that converts a conditional diffusion model into an end-to-end gradient-based optimizer for constrained physical design. Our key insight for offline MBO is that deterministic diffusion sampling renders the reverse chain differentiable with respect to the conditioning input, enabling end-to-end backpropagation from downstream physics-informed objectives, through a frozen surrogate evaluator and physics-informed penalty terms, back to the conditioning variables. D2C therefore optimizes conditioning directly at test time while keeping both the diffusion proposer and surrogate evaluator fixed, yielding a practical end-to-end gradient path from the downstream objective to the conditioning variables. The diffusion model tends to keep candidates closer to the data distribution, while surrogate and physics-informed losses steer them toward feasible, high-performing designs.

We embed this mechanism within a composed proposer-evaluator architecture: the diffusion model GθG_{\theta} (proposer) generates candidates, and a surrogate SϕS_{\phi} (evaluator) scores them, with both remaining fixed during test-time optimization. Only the conditioning input is updated, which helps keep optimization closer to the proposer's learned data distribution while limiting direct surrogate exploitation. A stochastic multi-objective weighting scheme and validity-first selection further encourage broad exploration of competing objective trade-offs while enforcing strict constraint satisfaction. Figure 1 provides an overview of the full D2C pipeline. Our main contributions are:

• End-to-End Conditioning Optimization Through Diffusion. We use the deterministic reverse diffusion chain to backpropagate end-to-end from composite physics objectives to the conditioning inputs, making the conditioning signal itself the optimization variable within the generative process; optimizing it outperforms optimizing the latent noise (Appendix D.7).

• Frozen Proposer-Evaluator Architecture. We introduce a composed proposer-evaluator architecture in which a frozen diffusion proposer helps keep candidates closer to the empirical data distribution, while a frozen surrogate evaluator provides optimization gradients, reducing out-of-distribution exploitation.

• Physics-Informed Multi-Objective Optimization. We integrate heterogeneous objectives directly into the differentiable sampling chain via a stochastic Dirichlet-weighted loss, enabling principled multi-objective optimization under domain-specific constraints.

• Strong Empirical Performance. D2C achieves the best results on the two real-world physical design tasks and the best average rank across four Design-Bench tasks.

References (35)