Skip to content

Optimize Your Sampling: Tuned Diffusion Sampling with Bayesian Optimization

Aug 2026 · 0 citations · 51 references
Computer Science

TL;DR

Optizing Your Sampling (OYS), which instead treats timestep selection as a black-box optimization problem, optimizing the target metric directly with Bayesian optimization, improves both simple and sophisticated samplers such as Euler and DPM-Solver++.

Abstract

Sampling from a diffusion model typically requires many forward passes through a large neural network, making generation computationally expensive. While much work has focused on efficient solvers and samplers, comparatively little attention has been paid to selecting the sampling timesteps themselves. A recent line of work optimizes theoretically derived surrogates for sample quality rather than the quality metric itself. We propose Optimizing Your Sampling (OYS), which instead treats timestep selection as a black-box optimization problem, optimizing the target metric directly with Bayesian optimization. OYS outperforms both the default schedules and those of Align Your Steps on text-to-image generation, and improves over the default schedules on inpainting and other image tasks, in both quantitative and human evaluations. OYS requires no additional training, is applicable even to distilled models, and improves both simple and sophisticated samplers such as Euler and DPM-Solver++. A 5-step OYS schedule retains 89%-94% of the quality of a 50-step schedule while reducing inference cost by 10x.

View source

Similar papers

Jul 2026

Learning Sampling Parameters for Diffusion Models

This work introduces LeSAMP, a framework for learning prompt-conditioned, timestep-varying sampling parameters, and suggests that learned sampling-parameter policies provide a complementary approach to existing post-training methods for improving diffusion model outputs.

Arisrei Lim, Yossi Gandelsman · 0 citations
Jul 2026

Inference-Time Scaling of Diffusion Models via Progressive Seed Pruning

Progressive Seed Pruning consistently improves reward-guided selection and achieves higher GenEval scores (automated) and better human evaluation on prompt-alignment than best-of-$N$, importance-sampling, and tree-search baselines at matched compute.

Rogério Guimarães, Pietro Perona · 0 citations
#machine learning Preprint Aug 2026

Enhancing Bayesian Optimization and Active Learning Through Kernel Diversity

A unified framework, KENDO (Kernel ENsemble Disagreement-aware Operator), is proposed that integrates Ensemble Gaussian Processes (EGP) with disagreement-aware acquisition strategies and extends the approach to multi-objective optimization via random scalarization that preserves the single-optimizer conditioning struct...

Heng Zhang, Hao-Tian Xiang, Konstantinos D. Polyzos et al. · 1 citation
Jul 2026

Guiding Posterior Exploration with Optimizer-Derived Geometry

This paper demonstrates that curvature estimates computed during the warmstart as a byproduct in adaptive optimizers such as AdamW can inform the sampling phase at negligible additional cost and consistently maintains or improves predictive performance and uncertainty quantification without any additional computational...

Moritz Schlager, Emanuel Sommer, Thomas Möllenhoff et al. · 0 citations
Preprint Aug 2026

Fast and efficient nested sampling with BEST

A new nested-sampling implementation in TensorFlow is presented, written entirely in TensorFlow and designed for efficient XLA compilation on both CPUs and GPUs, that combines clustering and slice sampling with the possibility of updating several live points simultaneously.

Andreas Nygaard · 0 citations
Jul 2026

Transfer Learning Architectures for Scalable Multi-Fidelity Bayesian Optimization

This work benchmarks eleven transfer-learning surrogates against four GP methods under an identical selection rule, fidelity budget, and model size, across nine tasks spanning synthetic functions to real chemistry and materials problems, where transfer-learning surrogates reach substantially better solutions using far...

Jaewook Lee, Ethan Errington, Christian D. Lorenz et al. · 0 citations

Related blog posts

Microsoft Research Blog Aug 11, 2026

Introducing CARE-X: Towards Clinically Useful Radiology VLMs with Auxiliary Supervision, Reward-Aligned Learning, and Tool-Augmented Measurement

Radiology AI is evolving beyond report generation. CARE-X explores a unified approach that combines flexible reasoning, calibrated predictions, and measurement-based tools for chest X-ray interpretation. The post Introducing CARE-X: Towards Clinically Useful Radiology VLMs with Auxiliary Supervision, Reward-Aligned Learning, and Tool-Augmented Measurement appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.