HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Text-image Alignment for Diffusion-based Perception

Neehar Kondapaneni; Markus Marks; Manuel Knott; Rogerio Guimaraes; Pietro Perona

Text-image Alignment for Diffusion-based Perception

Abstract

Diffusion models are generative models with impressive text-to-image synthesis capabilities and have spurred a new wave of creative methods for classical machine learning tasks. However, the best way to harness the perceptual knowledge of these generative models for visual tasks is still an open question. Specifically, it is unclear how to use the prompting interface when applying diffusion backbones to vision tasks. We find that automatically generated captions can improve text-image alignment and significantly enhance a model's cross-attention maps, leading to better perceptual performance. Our approach improves upon the current state-of-the-art (SOTA) in diffusion-based semantic segmentation on ADE20K and the current overall SOTA for depth estimation on NYUv2. Furthermore, our method generalizes to the cross-domain setting. We use model personalization and caption modifications to align our model to the target domain and find improvements over unaligned baselines. Our cross-domain object detection model, trained on Pascal VOC, achieves SOTA results on Watercolor2K. Our cross-domain segmentation method, trained on Cityscapes, achieves SOTA results on Dark Zurich-val and Nighttime Driving. Project page: https://www.vision.caltech.edu/tadp/. Code: https://github.com/damaggu/TADP.

Code Repositories

nkondapa/RSVC
pytorch
Mentioned in GitHub
damaggu/tadp
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
monocular-depth-estimation-on-nyu-depth-v2TADP
Delta u003c 1.25: 0.976
Delta u003c 1.25^2: 0.997
Delta u003c 1.25^3: 0.999
RMSE: 0.225
absolute relative error: 0.062
log 10: 0.027
semantic-segmentation-on-ade20kTADP
Validation mIoU: 55.9
semantic-segmentation-on-nighttime-drivingTADP
mIoU: 60.8
semantic-segmentation-on-pascal-voc-2012-valTADP
mIoU: 87.11%
weakly-supervised-object-detection-on-1TADP
MAP: 72.2
weakly-supervised-object-detection-on-comic2kTADP
MAP: 57.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
Text-image Alignment for Diffusion-based Perception | Papers | HyperAI