HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Unsupervised Semantic Correspondence Using Stable Diffusion

Eric Hedlin Gopal Sharma Shweta Mahajan Hossam Isack Abhishek Kar Andrea Tagliasacchi Kwang Moo Yi

Unsupervised Semantic Correspondence Using Stable Diffusion

Abstract

Text-to-image diffusion models are now capable of generating images that are often indistinguishable from real images. To generate such images, these models must understand the semantics of the objects they are asked to generate. In this work we show that, without any training, one can leverage this semantic knowledge within diffusion models to find semantic correspondences - locations in multiple images that have the same semantic meaning. Specifically, given an image, we optimize the prompt embeddings of these models for maximum attention on the regions of interest. These optimized embeddings capture semantic information about the location, which can then be transferred to another image. By doing so we obtain results on par with the strongly supervised state of the art on the PF-Willow dataset and significantly outperform (20.9% relative for the SPair-71k dataset) any existing weakly or unsupervised method on PF-Willow, CUB-200 and SPair-71k datasets.

Code Repositories

ubc-vision/LDM_correspondences
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
semantic-correspondence-on-cub-200-2011LDM Correspondences
Mean PCK@0.05: 61.6
Mean PCK@0.1: 77.5
semantic-correspondence-on-pf-willowLDMCorrespondences
PCK: 84.3
semantic-correspondence-on-spair-71kLDMCorrespondences
PCK: 45.4

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Unsupervised Semantic Correspondence Using Stable Diffusion | Papers | HyperAI