Skip to main content
QUICK REVIEW

[Paper Review] Denoising Likelihood Score Matching for Conditional Score-based Data Generation

Chen-Hao Chao, Weifang Sun|arXiv (Cornell University)|Mar 27, 2022
Machine Learning and Data ClassificationComputer Science6 citations
TL;DR

This paper proposes Denoising Likelihood Score Matching (DLSM), a novel training objective for classifiers in conditional score-based generative models that mitigates the score mismatch issue by aligning estimated scores with the true gradients of the log-likelihood density. Experiments on CIFAR-10 and CIFAR-100 show DLSM significantly improves sampling quality, achieving state-of-the-art FID and IS scores by reducing score estimation error and enhancing fidelity and diversity.

ABSTRACT

Many existing conditional score-based data generation methods utilize Bayes' theorem to decompose the gradients of a log posterior density into a mixture of scores. These methods facilitate the training procedure of conditional score models, as a mixture of scores can be separately estimated using a score model and a classifier. However, our analysis indicates that the training objectives for the classifier in these methods may lead to a serious score mismatch issue, which corresponds to the situation that the estimated scores deviate from the true ones. Such an issue causes the samples to be misled by the deviated scores during the diffusion process, resulting in a degraded sampling quality. To resolve it, we formulate a novel training objective, called Denoising Likelihood Score Matching (DLSM) loss, for the classifier to match the gradients of the true log likelihood density. Our experimental evidence shows that the proposed method outperforms the previous methods on both Cifar-10 and Cifar-100 benchmarks noticeably in terms of several key evaluation metrics. We thus conclude that, by adopting DLSM, the conditional scores can be accurately modeled, and the effect of the score mismatch issue is alleviated.

Motivation & Objective

  • To identify and resolve the score mismatch issue in existing conditional score-based generative models, where classifier-derived scores deviate from true posterior gradients.
  • To improve sampling quality in diffusion-based conditional generation by ensuring accurate score estimation during the reverse process.
  • To develop a training objective that better aligns classifier predictions with the true log-likelihood gradients, enhancing fidelity and diversity of generated samples.
  • To validate the effectiveness of the proposed method across multiple benchmarks and evaluation metrics, including FID, IS, and P/R/D/C metrics.

Proposed method

  • Proposes a new loss function, Denoising Likelihood Score Matching (DLSM), which trains the classifier to match the gradients of the true log-likelihood density rather than relying on cross-entropy.
  • Integrates DLSM into the existing framework that decomposes the conditional score into a mixture of the data score and the classifier score via Bayes’ theorem.
  • Combines DLSM with a standard cross-entropy loss through a weighted sum, forming a total loss $ L_{\text{Total}} $, to stabilize training and improve generalization.
  • Employs denoising score matching (DSM) principles to estimate the data score function efficiently, reducing computational cost during training.
  • Uses Langevin diffusion for sampling, guided by the refined posterior score estimates derived from the DLSM-trained classifier.
  • Applies a scaling technique to further improve performance, demonstrating robustness across different hyperparameter settings.

Experimental results

Research questions

  • RQ1Does the score mismatch issue in existing conditional score-based models degrade sampling quality, and if so, what causes it?
  • RQ2Can a new classifier training objective that matches the true log-likelihood gradients improve score estimation accuracy and sampling quality?
  • RQ3How does the proposed DLSM loss compare to cross-entropy and other baselines in terms of FID, IS, and P/R/D/C metrics on CIFAR-10 and CIFAR-100?
  • RQ4Is the DLSM loss robust to hyperparameter choices, particularly the balancing coefficient λ in the total loss?
  • RQ5Does combining DLSM with a scaling technique further enhance performance across multiple evaluation metrics?

Key findings

  • The proposed DLSM method achieves a FID of 2.25 on CIFAR-10 and 2.33 on CIFAR-100, significantly outperforming the base method (FID 4.10 and 6.16) and previous state-of-the-art methods.
  • On CIFAR-10, DLSM achieves an inception score (IS) of 9.90, surpassing the base method (9.08) and the scaling method (9.50), indicating improved sample quality and diversity.
  • The method reduces score errors, with the lowest expected score divergence $ \mathbb{E}_{U(\tilde{\bm{x}})}[D_P(\tilde{\bm{x}}, \tilde{\bm{y}})] $ and $ \mathbb{E}_{U(\tilde{\bm{x}})}[D_L(\tilde{\bm{x}}, \tilde{\bm{y}})] $ when using the $ L_{\text{Total}} $ loss.
  • The DLSM loss is robust to hyperparameter choices, as performance remains stable across different values of λ, with FID and IS showing minimal fluctuation.
  • When combined with the scaling technique, DLSM further improves precision and density metrics, achieving 0.65 precision and 0.96 density on CIFAR-10, outperforming both base and scaling baselines.
  • Qualitative results show that DLSM generates sharper, more realistic samples with fewer artifacts, especially in fine-grained classes like 'baby', 'apple', and 'bear' on CIFAR-100.

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.