ManifoldCache: Training-Free Diffusion Acceleration via Constraint Manifold Caching
Prashant Pandey ⋅ Sri Venkatraya Chowdary Devineni ⋅ Brejesh Lall
Abstract
Diffusion models for structured scientific generation must produce samples satisfying hard geometric constraints imposed by physics, chemistry, or biology, yet inference in these settings is prohibitively slow, demanding hundreds to thousands of neural-function evaluations per sample. We unify eight state-of-the-art models spanning medical volumetrics, molecular conformations, protein backbone design, crystal structure prediction, and multi-view 3D scenes under a single abstraction, Constraint-Manifold Diffusion Models (CMDMs), in which the target distribution is supported on a manifold defined by an externally specified constraint map. Existing acceleration families transfer poorly to this class: quantization exhausts memory on high-dimensional volumetric operators; pruning breaks constraint fidelity; fast ODE solvers allow trajectories to drift off the constraint manifold; and feature-caching heuristics are blind to constraint geometry and can cause mode confusion in the high-noise regime. We introduce ManifoldCache, the first training-free, data-free accelerator designed from first principles for CMDMs. The key insight is that the conditional score decomposes orthogonally into a normal component, which enforces constraint satisfaction, and a tangential component, which navigates within the manifold. Building on this structure, we show for a two-mode Gaussian model that the noise-schedule midpoint, where signal and noise have equal energy, separates two regimes: once signal dominates, the error of a cached estimate is provably bounded, while before that point a strictly positive fraction of cached estimates land in the wrong mode, and this fraction does not vanish as the midpoint is approached. We further prove that, under an explicit condition on the balance between the two score components, deeper network blocks admit larger certified cache strides, as a consequence of the score decomposition propagating through block Jacobians. The resulting schedule requires one integer comparison per block per step, zero calibration data, and zero training overhead. Across all eight CMDMs, ManifoldCache delivers wall-clock speedups of $1.2$-$1.9\times$ and stays closest to full-inference quality on each model's primary metric among the feature-caching methods we compare; on Med-DDPM it also offers a better quality-speed trade-off than quantization, pruning, and fast-solver baselines. Our code is available at https://github.com/prinshul/Manifoldcache.git.
Successful Page Load