LatentCRF: Continuous CRF for Efficient Latent Diffusion
Kanchana Ranasinghe, Sadeep Jayasumana, Andreas Veit, Ayan, Chakrabarti, Daniel Glasner, Michael S Ryoo, Srikumar Ramalingam, Sanjiv, Kumar

TL;DR
LatentCRF is a neural network layer that models spatial and semantic relationships in latent diffusion models, significantly improving inference speed while maintaining image quality and diversity.
Contribution
We propose LatentCRF, a continuous CRF layer that replaces some inference steps in LDMs, enhancing efficiency without sacrificing quality.
Findings
33% faster inference with no quality loss
Maintains diversity and realism of generated images
Easy to integrate into existing LDMs
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Image Processing and 3D Reconstruction · Generative Adversarial Networks and Image Synthesis
MethodsSPEED: Separable Pyramidal Pooling EncodEr-Decoder for Real-Time Monocular Depth Estimation on Low-Resource Settings · Diffusion
