English

LatentCRF: Continuous CRF for Efficient Latent Diffusion

Computer Vision and Pattern Recognition 2024-12-25 v1

Abstract

Latent Diffusion Models (LDMs) produce high-quality, photo-realistic images, however, the latency incurred by multiple costly inference iterations can restrict their applicability. We introduce LatentCRF, a continuous Conditional Random Field (CRF) model, implemented as a neural network layer, that models the spatial and semantic relationships among the latent vectors in the LDM. By replacing some of the computationally-intensive LDM inference iterations with our lightweight LatentCRF, we achieve a superior balance between quality, speed and diversity. We increase inference efficiency by 33% with no loss in image quality or diversity compared to the full LDM. LatentCRF is an easy add-on, which does not require modifying the LDM.

Keywords

Cite

@article{arxiv.2412.18596,
  title  = {LatentCRF: Continuous CRF for Efficient Latent Diffusion},
  author = {Kanchana Ranasinghe and Sadeep Jayasumana and Andreas Veit and Ayan Chakrabarti and Daniel Glasner and Michael S Ryoo and Srikumar Ramalingam and Sanjiv Kumar},
  journal= {arXiv preprint arXiv:2412.18596},
  year   = {2024}
}
R2 v1 2026-06-28T20:48:18.706Z