SSR-Encoder: Encoding Selective Subject Representation for Subject-Driven Generation
Yuxuan Zhang, Yiren Song, Jiaming Liu et al. · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · 2024
Recent advancements in subject-driven image generation have led to zero-shot generation, yet precise selection and focus on crucial subject representations remain challenging. Addressing this, we introduce the SSR-Encoder, a novel architecture designed for selectively capturing any subject from single or multiple reference images. It responds to various query modalities including text and masks, without necessitating test-time fine-tuning. The SSR-Encoder combines a Token-to-Patch Aligner that aligns query inputs with image patches and a Detail-Preserving Subject Encoder for extracting and preserving fine features of the subjects, thereby generating subject embeddings. These embeddings, used in conjunction with original text embeddings, condition the generation process. Characterized by its model generalizability and efficiency, the SSR-Encoder adapts to a range of custom models and control modules. Enhanced by the Embedding Consistency Regularization Loss for improved training, our extensive experiments demonstrate its effectiveness in versatile and high-quality image generation, indicating its broad applicability. Project page: ssr-encoder.github.io
Cited by 52 works. doi:10.1109/cvpr52733.2024.00771 Open-access PDF
Authors
- Yuxuan Zhang
- Yiren Song
- Jiaming Liu
- Rui Wang
- Jinpeng Yu
- Hao Tang
- Huaxia Li
- Xu Tang
- Yao Hu
- Han Chang Pan
- Zhongliang Jing
References
- High-Resolution Image Synthesis with Latent Diffusion Models
- Emerging Properties in Self-Supervised Vision Transformers
- Adding Conditional Control to Text-to-Image Diffusion Models
- Hierarchical Text-Conditional Image Generation with CLIP Latents
- LoRA Fine-Tuning of a 3B Code LLM for Algorithmic Efficiency
- DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Zero-Shot Text-to-Image Generation
- CLIPScore: A Reference-free Evaluation Metric for Image Captioning
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models