atlas

Research map / Image generation / Text-to-image diffusion

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

CVPR 2024 · Image generation › Text-to-image diffusion · approach: Personalized and region-controlled generation · 41 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SSR-Encoder, a finetuning-free image encoder that selects subject representations via text or mask queries using a token-to-patch aligner and multi-scale CLIP features, plugged into Stable Diffusion for single- and multi-subject generation.

Problem

Subject-driven image generation without test-time finetuning struggles to select and focus on the crucial subject representation in reference images (backgrounds and mixed subjects confuse encoders), and encoder methods are often tied to a specific base diffusion model.

Approach

A token-to-patch aligner (trainable linear projections over CLIP text tokens and image patches) produces attention maps that select subject regions by text or mask query; a detail-preserving encoder projects multi-layer CLIP features weighted by these maps into parallel subject cross-attention layers, trained with an embedding consistency regularization loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use SSR-Encoder instead of DreamboothStable Diffusion V1-5 subject-driven generation · Multi-subject benchCLIP-T: 0.298 -> 0.302Helped
use SSR-Encoder instead of Break-A-SceneStable Diffusion V1-5 subject-driven generation · Multi-subject benchCLIP-ES: 0.187 -> 0.182Helped
use SSR-Encoder instead of DreamboothStable Diffusion V1-5 subject-driven generation · Multi-subject benchDINO-M: 0.681 -> 0.556Hurt
use SSR-Encoder instead of DreamboothStable Diffusion V1-5 subject-driven generation · DreamBenchCLIP-T: 0.305† -> 0.308Helped
use SSR-Encoder instead of DreamboothStable Diffusion V1-5 subject-driven generation · DreamBenchDINO: 0.668† -> 0.612Hurt
use SSR-Encoder instead of IP-adapterStable Diffusion V1-5 subject-driven generation · DreamBenchCLIP-I: 0.809 -> 0.821Helped
use SSR-Encoder instead of IP-adapterStable Diffusion V1-5 subject-driven generation · DreamBenchAesthetic Score: 6.432 -> 6.563Helped
add multi-scale visual embeddings (ablation)SSR-Encoder · Multi-subject benchCLIP-T: 0.257 -> 0.302Helped
add multi-scale visual embeddings (ablation)SSR-Encoder · Multi-subject benchCLIP-ES: 0.185 -> 0.182Helped
add multi-scale visual embeddings (ablation)SSR-Encoder · Multi-subject benchDINO-M: 0.510 -> 0.556Helped
add embedding consistency regularization loss (ablation)SSR-Encoder · Multi-subject benchCLIP-T: 0.235 -> 0.302Helped
add embedding consistency regularization loss (ablation)SSR-Encoder · Multi-subject benchCLIP-ES: 0.199 -> 0.182Helped

Surprising findings

Limitations

Experimental setup

Datasets: LAION-5B DreamBench

Benchmarks: Multi-subject bench DreamBench

Metrics: CLIP-T CLIP-ES DINO-M DINO CLIP-I Aesthetic Score

Baselines: Textual Inversion Dreambooth Break-a-Scene Reference Only ELITE IP-adapter BLIP-Diffusion

Builds on: Stable Diffusion CLIP ControlNet IP-adapter

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy