Reward Guided Latent Consistency Distillation

Jiachen Li, Weixi Feng, Wenhu Chen, William Yang Wang
3/16/2024
cs.CVcs.AI

No official code found. Best implementation: Ji4chenLi/rg-lcd (26 stars, last commit 2024-10-09).

Abstract

Latent Consistency Distillation (LCD) has emerged as a promising paradigm for efficient text-to-image synthesis. By distilling a latent consistency model (LCM) from a pre-trained teacher latent diffusion model (LDM), LCD facilitates the generation of high-fidelity images within merely 2 to 4 inference steps. However, the LCM's efficient inference is obtained at the cost of the sample quality. In this paper, we propose compensating the quality loss by aligning LCM's output with human preference during training. Specifically, we introduce Reward Guided LCD (RG-LCD), which integrates feedback from a reward model (RM) into the LCD process by augmenting the original LCD loss with the objective of maximizing the reward associated with LCM's single-step generation. As validated through human evaluation, when trained with the feedback of a good RM, the 2-step generations from our RG-LCM are favored by humans over the 50-step DDIM samples from the teacher LDM, representing a 25-time inference acceleration without quality loss. As directly optimizing towards differentiable RMs can suffer from over-optimization, we take the initial step to overcome this difficulty by proposing the use of a latent proxy RM (LRM). This novel component serves as an intermediary, connecting our LCM with the RM. Empirically, we demonstrate that incorporating the LRM into our RG-LCD successfully avoids high-frequency noise in the generated images, contributing to both improved Fréchet Inception Distance (FID) on MS-COCO and a higher HPSv2.1 score on HPSv2's test set, surpassing those achieved by the baseline LCM.

View on arXivView PDF

Code Implementations(1)

Ji4chenLi/rg-lcdCommunity64%

Reward Guided Latent Consistency Distillation

260CSS, ShellMar 19, 20242 years ago

Similar Papers

Cite this paper

@article{li2024reward,
  title  = {Reward Guided Latent Consistency Distillation},
  author = {Jiachen Li and Weixi Feng and Wenhu Chen and William Yang Wang},
  year   = {2024},
  eprint = {2403.11027},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.11027v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.11027.svg)](https://codeofpaper.com/paper/2403.11027)

Discussion