LEAP: Accelerating ODE-based Diffusion Sampling with Optimal Linear Leaps
Organizations: State Key Laboratory of Blockchain and Data Security, Zhejiang University. · Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security. · University of California, Berkeley, California, United States
Abstract
Diffusion models primarily rely on general-purpose ODE-based numerical methods for training-free accelerated sampling, but performance degrades with coarse time discretization. In this paper, we propose optimal linear leaps (LEAP), a specialized method grounded in theoretical and empirical investigations of sampling trajectory geometry. Built upon low-dimensionality and cross-trajectory consistency, LEAP formulates a supervised least-squares optimization problem within the local trajectory subspace, achieving a precise approximation of future states without model evaluations. Extensive experiments demonstrate that LEAP outperforms previous methods across diverse modalities, including text-to-image (Stable Diffusion 3.5, FLUX.1-dev) and image-to-3D (TRELLIS.2) generation. Furthermore, LEAP can be seamlessly integrated into existing solver-based methods, offering a plug-and-play enhancement for modern diffusion models. Code is available at https://github.com/zju-pi/LEAP.
Figures & tables
| Steps | Method | SD3.5-Medium | FLUX.1-dev | ||||
| HPSv2 | ImageReward | CLIPScore | HPSv2 | ImageReward | CLIPScore | ||
| 10 | Euler | 25.8866 | 0.6653 | 32.7920 | 28.3538 | 0.8110 | 30.6939 |
| DPM++ | 26.4565 | 0.7178 | 32.9027 | 28.6365 | 0.8331 | 30.7257 | |
| iPNDM | 26.4041 | 0.7063 | 32.7579 | 28.8272 | 0.8956 | 30.9178 | |
| UniPC | 26.4450 | 0.7122 | 32.6428 | 28.8193 | 0.8839 | 31.0634 | |
| LTC-Accel | 26.2546 | 0.7324 | 33.1578 | 28.9543 | 0.9193 | 31.1217 | |
| Method | PSNR | CLIP Score | ||||||||
| 10 | 15 | 20 | 25 | 30 | 10 | 15 | 20 | 25 | 30 | |
| Euler | 7.250 | 7.396 | 7.235 | 7.361 | 7.405 | 0.8638 | 0.8654 | 0.8682 | 0.8650 | 0.8658 |
| LEAP (Euler) | 7.414 | 7.537 | 7.337 | 7.410 | 7.408 | 0.8677 | 0.8674 | 0.8693 | 0.8678 | 0.8709 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Solver + Method | HPSv2 | ImageReward | CLIPScore |
| Euler | 27.4725 | 0.8416 | 33.4644 |
| LEAP (Euler) | 28.1826 | 0.9522 | 33.6817 |
| DPM++ | 27.8642 | 0.8438 | 33.4704 |
| LEAP (DPM++) | 28.2152 | 0.9806 | 33.5617 |
| iPNDM | 27.9220 | 0.8770 | 33.4416 |
| LEAP (iPNDM) | 28.2204 | 0.9642 | 33.6601 |
| NFE | P:C | HPSv2 | ImageReward | CLIPScore |
| 10 | 26.8419 | 0.7692 | 33.2982 | |
| 26.3182 | 0.7224 | 33.1515 | ||
| 15 | 28.1826 | 0.9522 | 33.6817 | |
| 27.9594 | 0.9004 | 33.7109 | ||
| 20 | 28.5727 | 0.9701 | 33.7192 | |
| 28.3575 | 0.9499 | 33.8125 |
| Metric | Method | Anime | ConceptArt | Paintings | Photo |
| HPSv2 | Euler | 30.14 | 28.63 | 28.99 | 26.56 |
| LEAP (Euler) | 31.22 | 30.15 | 30.14 | 27.37 | |
| ImageReward | Euler | 1.10 | 1.02 | 1.06 | 0.80 |
| LEAP (Euler) | 1.18 | 1.15 | 1.16 | 0.96 | |
| CLIPScore | Euler | 35.18 | 33.61 | 33.41 | 32.28 |
| LEAP (Euler) | 35.19 | 33.96 | 33.69 | 32.79 |
| Transfer setting | Method | HPSv2 | ImageReward | CLIPScore |
| Cross-model | Euler | 25.89 | 0.67 | 32.79 |
| LEAP (FLUX coeffs.) | 26.97 | 0.75 | 33.26 | |
| Cross-solver | DPM++ | 26.46 | 0.72 | 32.90 |
| LEAP (Euler coeffs.) | 27.01 | 0.80 | 33.48 | |
| Cross-step | Euler | 27.47 | 0.84 | 33.46 |
| LEAP (10-NFE coeffs.) | 28.17 | 0.91 | 33.69 |
Diffusion Model Sampling
Diffusion model sampling studies how to generate high-quality samples efficiently by designing reverse processes, solvers, and inference-time controls.
See all 79 papers