Discffusion: Discriminative Diffusion Models as Few-shot Vision and Language Learners (2305.10722v3)
Abstract: Diffusion models, such as Stable Diffusion, have shown incredible performance on text-to-image generation. Since text-to-image generation often requires models to generate visual concepts with fine-grained details and attributes specified in text prompts, can we leverage the powerful representations learned by pre-trained diffusion models for discriminative tasks such as image-text matching? To answer this question, we propose a novel approach, Discriminative Stable Diffusion (DSD), which turns pre-trained text-to-image diffusion models into few-shot discriminative learners. Our approach mainly uses the cross-attention score of a Stable Diffusion model to capture the mutual influence between visual and textual information and fine-tune the model via efficient attention-based prompt learning to perform image-text matching. By comparing DSD with state-of-the-art methods on several benchmark datasets, we demonstrate the potential of using pre-trained diffusion models for discriminative tasks with superior results on few-shot image-text matching.
- Xuehai He (26 papers)
- Weixi Feng (14 papers)
- Tsu-Jui Fu (35 papers)
- Varun Jampani (125 papers)
- Arjun Akula (6 papers)
- Pradyumna Narayana (12 papers)
- Sugato Basu (16 papers)
- William Yang Wang (254 papers)
- Xin Eric Wang (74 papers)