Abstract
Inference-time steering enables pretrained diffusion/flow models to be adapted to new tasks without retraining. A widely used approach is the ratio-of-densities method, which defines a time-indexed target path by reweighting probability-density trajectories from multiple models with positive, or in some cases, negative exponents. This construction, however, harbors a critical and previously unformalized failure mode: Marginal Path Collapse, where intermediate densities become non-normalizable even though endpoints remain valid. Collapse arises systematically when composing heterogeneous models trained on different noise schedules or datasets, including a common setting in molecular design where de-novo, conformer, and pocket-conditioned models must be combined for tasks such as flexible-pose scaffold decoration. We provide a novel and complete solution for the problem. First, we derive a simple path existence criterion that predicts exactly when collapse occurs from noise schedules and exponents alone. Second, we introduce Adaptive path Correction with Exponents (ACE), which extends Feynman-Kac steering to time-varying exponents and guarantees a valid probability path. On a synthetic 2D benchmark and on flexible-pose scaffold decoration, ACE eliminates collapse and enables high-guidance compositional generation, improving distributional and docking metrics over constant-exponent baselines and even specialized task-specific scaffold decoration models. Our work turns ratio-of-densities steering with heterogeneous experts from an unstable heuristic into a reliable tool for controllable generation.
Introduction
Diffusion steering has emerged as a powerful paradigm for adapting pretrained generative models to specific tasks without the need for costly retraining. By combining multiple "expert" models through a ratio-of-densities approach, researchers can guide the sampling process toward distributions that satisfy complex, multi-faceted constraints. However, this flexibility comes with a significant mathematical risk. This paper identifies and formalizes "Marginal Path Collapse," a failure mode where the intermediate probability densities along the generative trajectory become non-normalizable, causing the sampling process to diverge.
The Phenomenon of Marginal Path Collapse
The standard ratio-of-densities method defines a target path by reweighting trajectories from multiple models using steering exponents. While the endpoints (pure noise and clean data) may remain valid, the path in between can "break." This is especially prevalent when using heterogeneous experts—models trained on different noise schedules or datasets.
As shown in the figure above, the effective variance of the combined system can blow up at specific "break points" during the time trajectory $t \in [0, 1]$. When this happens, the resulting distribution is no longer a valid probability density, leading to fragmented or nonsensical outputs in domains like molecular design or image synthesis. This collapse is not a rare edge case; it was found in up to 80% of tested heterogeneous combinations at high guidance scales.
The Solution: Diagnosis and Correction
To address this, we propose a two-fold solution. First, we derive a rigorous Path Existence Criterion, denoted as $C(t) > 0$. This criterion allows practitioners to predict exactly when a path will collapse based solely on the noise schedules and exponents of the experts involved, without running a single sampling step. Essentially, if the variances of the "denominator" models shrink faster than the "numerator" models, the ratio blows up.
Second, we introduce Adaptive path Correction with Exponents (ACE). ACE stabilizes the generative path by transitioning from constant to time-varying exponents. By applying a "bump function" that temporarily adjusts the guidance strength during critical intermediate phases, ACE ensures that $C(t)$ remains positive throughout the entire trajectory.
Experimental Results
The efficacy of ACE was demonstrated across three diverse benchmarks:
- Synthetic 2D Checkerboard: ACE successfully navigated complex local/global conditioning where standard steering failed.
- Molecular Design (CrossDocked2020): In flexible-pose scaffold decoration, ACE maintained near 100% chemical validity and significantly improved docking scores (e.g., -5.72 vs -4.82 for baselines). It even outperformed specialized, task-specific models like Delete or DiffDec.
- Compositional Image Generation (COCO-MIG): ACE improved attribute alignment and spatial accuracy (mIoU) over constant-exponent baselines, matching the performance of specialized "adapter" models like GLIGEN without any additional training.
Conclusion
Marginal Path Collapse is a systematic issue in heterogeneous diffusion steering, but it is not an insurmountable one. By providing a formal criterion for path existence and the ACE correction method, we transform ratio-of-densities steering from an unstable heuristic into a robust and reliable tool for controllable generation. Future work will look into reducing the linear inference cost through distillation and extending the theory to purely categorical data domains.
Summary updated