Papers
Topics
Authors
Recent
2000 character limit reached

Adaptive Path Correction with Exponents (ACE)

Updated 18 December 2025
  • The paper introduces ACE, a novel framework that adaptively adjusts exponent schedules to maintain valid probability flows in compositional diffusion tasks.
  • ACE employs a weighted Feynman–Kac sampler and bump function corrections to robustly counteract Marginal Path Collapse without needing model retraining.
  • Empirical evaluations show significant error reduction and improved sample quality in synthetic and molecular generation benchmarks using ACE.

Adaptive Path Correction with Exponents (ACE) is a principled framework for enabling robust inference-time steering of pretrained diffusion and flow models via the adaptive combination of multiple model trajectories, each modulated by time-varying exponents. ACE addresses the fundamental challenge of Marginal Path Collapse in ratio-of-densities steering, ensuring the existence of valid intermediate probability paths for tasks including molecular generation and compositional image synthesis. It operates without retraining and leverages only black-box access to pretrained model scores or velocities, transforming ratio-based composition from an unstable heuristic into a reliable algorithmic tool (Lee et al., 11 Dec 2025).

1. Ratio-of-Densities Steering and Marginal Path Collapse

Ratio-of-densities steering forms the backbone of various compositional generative modeling tasks. Given nn pretrained diffusion models {qt(i)}t[0,1]\{q^{(i)}_t\}_{t\in[0,1]}, potentially on different coordinates or subspaces, one constructs an unnormalized trajectory

ht(x)=i=1n(q~t(i)(x))γi(t),h_t(x) = \prod_{i=1}^n \bigl(\tilde q^{(i)}_t(x)\bigr)^{\gamma_i(t)},

with q~t(i)(x)=qt(i)(πi(x))\tilde q^{(i)}_t(x) = q^{(i)}_t(\pi_i(x)) for a suitable projection πi\pi_i into each expert’s domain, and exponent schedule γi(t)R\gamma_i(t)\in\mathbb{R} that may be positive (numerator) or negative (denominator). If htL1h_t\in L^1, then pt(x)=ht(x)/Ztp^*_t(x) = h_t(x)/Z_t with Zt=ht(x)dxZ_t = \int h_t(x)\,dx defines a valid probability flow between start and target t=0,1t=0,1.

Marginal Path Collapse occurs when, despite h0,h1L1h_0,h_1\in L^1, there exists t(0,1)t^*\in(0,1) with ht(x)dx=\int h_{t^*}(x)\,dx=\infty, making ptp^*_{t^*} non-normalizable. For example, in a one-dimensional Gaussian setting, the ratio construction can be integrable at endpoints and divergent at intermediate times due to negative effective variance, a phenomenon systematically triggered when numerator variances contract more slowly than denominator variances.

2. Path-Existence Criterion

A closed-form criterion predicts precisely when Marginal Path Collapse will occur in composition tasks involving compactly supported densities. Assuming each expert ii follows a noise schedule αt(i),βt(i)\alpha^{(i)}_t,\beta^{(i)}_t and operates on coordinates IiI_i, define

Ck(t)=i:kIiγi(t)(αt(i))2,C(t)=minkCk(t),C_k(t) = \sum_{i: k\in I_i} \frac{\gamma_i(t)}{(\alpha^{(i)}_t)^2}, \qquad C(t) = \min_k C_k(t),

where kk indexes coordinates. The integrability of the path is guaranteed by

{ht} is integrable for all t[0,1]Ck(t)>0 k,t[0,1).\Bigl\{ h_t \Bigr\} \text{ is integrable for all } t\in [0,1] \quad \Longleftrightarrow \quad C_k(t)>0\ \forall\, k,\, t\in [0,1).

Violation of this condition for any kk and tt signals an impending Marginal Path Collapse. This criterion holds under the requirement that the final densities q1(i)q^{(i)}_1 possess compact support.

3. Construction of Adaptive Path Correction with Exponents (ACE)

ACE introduces a two-pronged solution: (a) adaptive adjustment of exponents to guarantee Ck(t)>0C_k(t)>0 everywhere, and (b) a weighted SDE/ODE sampler for unbiased path tracking.

3.1. Adaptive Exponents Using Bump Functions

Let γi(0),γi(1)\gamma_i(0),\gamma_i(1) be the desired endpoint exponents and assume Ck(0)>0C_k(0)>0 and limt1Ck(t)>0\lim_{t\to 1^-}C_k(t)>0. There exists an index jj and a bump function b(t)=t(1t)b(t) = t(1-t) such that modifying the exponent trajectory via

γ~j(t)=γj(t)+Bb(t),γ~i(t)=γi(t) (ij)\tilde\gamma_j(t) = \gamma_j(t) + B\, b(t), \quad \tilde\gamma_i(t) = \gamma_i(t)\ (i\ne j)

for some analytically determined B>0B>0 ensures Ck(t)>0C_k(t)>0 for all kk and t[0,1)t\in [0,1). This approach suffices to correct the path without altering the boundary behavior, as the bump vanishes at t=0t=0 and t=1t=1.

3.2. Weighted Feynman–Kac Sampler

The corrected exponent schedule {γ~i(t)}\{\tilde\gamma_i(t)\} enables unbiased tracking of the normalized path via a stochastic differential equation: dXt=(vt(Xt)+σt22st(Xt))dt+σtdWt, dlogwt=[vt(Xt)+i=1nγ~˙i(t)logq~t(i)(Xt)+i=1nγ~i(t)Dt(i)(Xt)]dt\begin{aligned} dX_t &= \Bigl(v^*_t(X_t) + \frac{\sigma_t^2}{2} s^*_t(X_t)\Bigr)\,dt + \sigma_t\,dW_t, \ d\log w_t &= \Bigl[ \nabla\cdot v^*_t(X_t) + \sum_{i=1}^n \dot{\tilde\gamma}_i(t)\,\log \tilde q^{(i)}_t(X_t) + \sum_{i=1}^n \tilde\gamma_i(t)\, D^{(i)}_t(X_t) \Bigr] dt \end{aligned} where st(x)=i=1nγ~i(t)s~t(i)(x)s^*_t(x) = \sum_{i=1}^n \tilde\gamma_i(t)\, \tilde s^{(i)}_t(x) collects expert scores, vt(x)v^*_t(x) is user-chosen drift, and Dt(i)(x)D^{(i)}_t(x) terms encapsulate velocity divergence and drift mismatch corrections.

3.3. Collapse Prevention

By enforcing Ck(t)>0C_k(t)>0 via the bump-corrected exponents, the integrand hth_t remains normalizable for all tt, preserving unbiased inference. The score logpt\nabla\log p^*_t is well-defined, and the Feynman-Kac framework yields stable tracking.

4. Algorithmic Implementation

The ACE method is operationalized as follows (see Alg. 1 in (Lee et al., 11 Dec 2025)):

  1. Initialization: Draw NN initial particles X0jp0X^j_0 \sim p^*_0, set log-weights logw0j=0\log w^j_0 = 0.
  2. For each timestep Δt\Delta t:

a. Compute st(Xtj)s^*_t(X^j_t) and drift μt=vϕ+12σt2st\mu_t = v^*_\phi + \frac12 \sigma_t^2 s^*_t. b. For each expert ii, compute Dt(i)(Xtj)D^{(i)}_t(X^j_t). c. Propagate Xt+Δtj=Xtj+μtΔt+σtΔtξjX^j_{t+\Delta t} = X^j_t + \mu_t \Delta t + \sigma_t \sqrt{\Delta t} \xi^j. d. Update logwj\log w^j by integrating the SDE corrections. e. If the effective sample size ESS<τN{\rm ESS}<\tau N, perform weighted resampling.

  1. Output: Approximates p1p^*_1 via weighted samples.

This sampler accommodates both SDE and ODE settings (by setting σt=0\sigma_t=0, omitting Itô corrections) and can be integrated with Sequential Monte Carlo resampling strategies.

5. Empirical Evaluation

5.1. Synthetic 2D Checkerboard

In a synthetic benchmark, the target p(x,yA,B)p(xA)p(x,yB)/p(x)p(x,y\mid A,B)\propto p(x\mid A)p(x,y\mid B)/p(x) is realized over [4,4]2[-4,4]^2 using three heterogeneous diffusion experts. Collapse frequency is substantial: in $100$ random schedules, Marginal Path Collapse occurs in 41%41\% of cases at guidance w=1.0w=1.0, rising to 80%80\% at w=15w=15. ACE (B=30B=30) eliminates collapse, achieving W10.28W_1\approx0.28, W20.40W_2\approx0.40, and MMD0.027\mathrm{MMD}\approx0.027, representing a >5×>5\times reduction in error over constant-exponent baselines (FKC: W12.13W_1\approx2.13).

Method W1W_1 W2W_2 MMD
NR 0.78 1.07 0.068
FKC 2.13
ACE (B=30B=30) 0.28 0.40 0.027

5.2. Flexible-Pose Scaffold Decoration

In molecular scaffold decoration, three models are composed: DN (de-novo, trained on ZINC), CONF (topology-conditioned conformers), and SBDD (pocket-conditioned generation). Collapse for constant-exponent steering limits attainable guidance (ω>1.1\omega>1.1). Applying ACE with B=30B=30 to the SBDD exponent restores valid paths for ω\omega up to $1.4$. On CrossDock-Weak and CrossDock-SBDD datasets, ACE attains 96–100% chemical validity, optimal structure recovery, and substantially improved docking scores (5.44-5.44 for ACE at ω=1.2\omega=1.2 vs. 3.40-3.40 for FKC), surpassing specialized task models such as Delete, DiffDec, and AutoFragDiff.

6. Practical Guidelines and Limitations

  • Always verify the path-existence criterion C(t)>0C(t)>0 on the discrete sampling grid before steering.
  • If C(t)<0C(t)<0 for some tt, introduce a bump Bt(1t)B\,t(1-t) in positive exponents; B=30B=30 suffices for molecular tasks, and increasing BB further broadens safety margins, though may amplify model errors.
  • For valid paths, moderate time variation in exponents can sharpen distributions and improve sample quality (see compositional generation on COCO-MIG, Prop. 4.1).
  • ACE requires no retraining and is agnostic to the specific network architectures, requiring only black-box score/velocity access.
  • Current limitations include: error accumulation under many expert compositions, extension to discrete/hybrid spaces, cost of SDE/ODE distillation for faster inference, and application beyond stochastic interpolants to broader transport tasks.

7. Significance and Research Frontiers

ACE furnishes a theoretically complete framework for addressing Marginal Path Collapse in diffusion steering, enabling previously unattainable degrees of compositionality and guidance strength across synthetic, molecular, and image domains. This framework systematically transforms ratio-of-densities steering into a stable, general methodology, promoting broader adoption in controllable generation. Open research questions include managing expert composition error, discrete-variable extensions, efficient inference distillation, and application to broader generative transport problems (Lee et al., 11 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Whiteboard

Follow Topic

Get notified by email when new papers are published related to Adaptive Path Correction with Exponents (ACE).