TensorX
返回文献探索

Paper · arXiv 2312.16272

SSR-Encoder: Encoding Selective Subject Representation for Subject-Driven Generation

Yuxuan Zhang, Jiaming Liu, Yiren Song, Rui Wang, Hao Tang, Jinpeng Yu, Huaxia Li, Xu Tang, Yao Hu, Han Pan, Zhongliang Jing

7 upvotesDecember 26, 2023arXiv 预印本
AI 摘要

The SSR-Encoder is a novel architecture that selectively captures and focuses on crucial subject representations from reference images, enhancing subject-driven image generation without test-time fine-tuning.

SSR-EncoderToken-to-Patch AlignerDetail-Preserving Subject Encodersubject embeddingsEmbedding Consistency Regularization Loss

Abstract

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: https://ssr-encoder.github.io

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号