Skip to main content
QUICK REVIEW

[Paper Review] On tuning consistent annealed sampling for denoising score matching

Joan Serrà, Santiago Pascual|arXiv (Cornell University)|Apr 8, 2021
Music and Audio ProcessingComputer Science11 references5 citations
TL;DR

This paper proposes a reparameterized hyperparameter formulation for consistent annealed sampling (CAS) in score-based generative models, enabling stable and tunable sampling across variable step counts. By parameterizing the step size via $\epsilon_c$ such that $\eta = 1 - \gamma^{\epsilon_c}$, the method ensures bounded step sizes independent of the number of sampling steps $N$, improving stability and performance across different computational budgets while maintaining consistency with established sampling schemes.

ABSTRACT

Score-based generative models provide state-of-the-art quality for image and audio synthesis. Sampling from these models is performed iteratively, typically employing a discretized series of noise levels and a predefined scheme. In this note, we first overview three common sampling schemes for models trained with denoising score matching. Next, we focus on one of them, consistent annealed sampling, and study its hyper-parameter boundaries. We then highlight a possible formulation of such hyper-parameter that explicitly considers those boundaries and facilitates tuning when using few or a variable number of steps. Finally, we highlight some connections of the formulation with other sampling schemes.

Motivation & Objective

  • To address instability and poor generalization of hyperparameters in consistent annealed sampling (CAS) when using few or variable numbers of sampling steps.
  • To resolve the dependency of the step size hyperparameter $\epsilon_b$ on the number of steps $N$ by introducing a reparameterization that explicitly respects physical and numerical boundaries.
  • To enable stable, high-quality sampling across diverse computational budgets by decoupling hyperparameter tuning from $N$.
  • To establish connections between CAS and other sampling schemes like ALS and predictor-corrector (PC) methods through a unified hyperparameter formulation.

Proposed method

  • Proposes a reparameterization of the step size $\eta = \epsilon_b / \sigma_N^2$ as $\eta = 1 - \gamma^{\epsilon_c}$, where $\gamma$ is the geometric progression factor of noise levels and $\epsilon_c$ is a new hyperparameter.
  • Derives bounds on $\eta$ to ensure numerical stability: $1 - \gamma \leq \eta \leq 1$, which are preserved by the new formulation.
  • Introduces $\epsilon_c$ as a tunable hyperparameter that controls the step size relative to the noise schedule, enabling consistent behavior across different $N$.
  • Demonstrates that specific values of $\epsilon_c$ recover known sampling schemes: $\epsilon_c = 2$ recovers a form close to ALS and the predictor step of PC, $\epsilon_c = 1$ yields a deterministic denoising recursion, and $\epsilon_c \to \infty$ yields a pure noise-addition scheme.
  • Uses the expected denoised sample $H(\mathbf{x}, \sigma) = \mathbf{x} + \sigma^2 s_\theta(\mathbf{x}, \sigma)$ at the final step to improve sample quality.
  • Empirically validates the method on a speech synthesis model, showing that $\epsilon_c$ is more stable and generalizable than $\epsilon_b$ across different $N$.

Experimental results

Research questions

  • RQ1How can the hyperparameter $\epsilon_b$ in consistent annealed sampling be reparameterized to ensure stability across variable numbers of sampling steps?
  • RQ2What constraints on the step size $\eta$ are necessary to maintain numerical and physical consistency in CAS?
  • RQ3How does the proposed formulation $\eta = 1 - \gamma^{\epsilon_c}$ relate to existing sampling schemes like ALS and the predictor-corrector (PC) method?
  • RQ4Can a single hyperparameter $\epsilon_c$ enable stable and high-quality sampling across diverse computational budgets without re-tuning?
  • RQ5What is the impact of the final denoising step $H(\mathbf{x}, \sigma)$ on sample quality in CAS?

Key findings

  • The proposed formulation $\eta = 1 - \gamma^{\epsilon_c}$ ensures that the step size remains within the stable bounds $1 - \gamma \leq \eta \leq 1$ for all $N$, preventing numerical instability.
  • Tuning $\epsilon_c$ yields more stable and generalizable performance across different numbers of sampling steps $N$ compared to tuning $\epsilon_b$, which requires re-optimization for each $N$.
  • For $\epsilon_c = 2$, the CAS recursion closely matches the form of annealed Langevin sampling (ALS) and the predictor step of the PC scheme, with only a minor scaling difference in the noise term.
  • The case $\epsilon_c = 1$ corresponds to a purely deterministic denoising recursion, while $\epsilon_c \to \infty$ corresponds to a purely stochastic update with full noise injection.
  • Empirical results show that sampling with $\epsilon_c$ remains stable and achieves high quality even for small $N$, whereas $\epsilon_b$-based tuning breaks down for small $N$.
  • The formulation enables consistent performance across a wide range of $N$, with good operation points found across multiple $\epsilon_c$ values, demonstrating robustness and generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.