Personalized Image Generation via Reference Self-Attention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing image generation models require significant human editing efforts due to the need for repeated finetuning steps for each new subject, making them inefficient and costly for wide-range image generation tasks.

Innovation Solution

A subject-driven image generation framework utilizing denoising diffusion models, where a pretrained denoising model is conditioned with reference images to generate images of a subject in different contexts or variations, reducing the need for extensive finetuning.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If existing image generation models are used to generate images of different subjects, then image generation capability is achieved, but significant human editing efforts and repeated finetuning are required for each new subject

Engineering Contradiction:
Improveimage generation efficiencyVSAvoidtime for finetuning and human editing
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by collecting reference images of the target subject beforehand and using them to generate training data through text-to-image models. This preliminary data preparation eliminates the need for repeated finetuning when generating new images of the same subject, significantly reducing time loss and improving overall productivity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates a personalized image generation model that copies and adapts the general text-to-image model's capabilities to specifically replicate the target subject. By using reference images to train a customized model, the system achieves subject-specific image generation without requiring manual editing for each new subject, thus improving efficiency while reducing time investment.

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If existing image generation models generate images in different contexts and variations, then image diversity is achieved, but extensive finetuning is needed for each new subject

Engineering Contradiction:
Improveimage generation flexibilityVSAvoidcomplexity of finetuning process
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system achieves universality by creating a personalized model that can generate the target subject across multiple contexts, variations, and scenarios. The model learned from reference images can adapt to different backgrounds, styles, and compositions without requiring separate finetuning for each context, thus maintaining flexibility while reducing process complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system enables self-service by automatically generating diverse images of the target subject using the personalized model trained on reference images. The model independently handles different contexts and variations without requiring manual intervention or complex finetuning procedures, simplifying the overall process while maintaining adaptability.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20250173913A1Systems and methods for personalized image generation
Publication Date: 2025.05.29 SALESFORCE INC
  • US20250173913A1 patent drawing
  • US20250173913A1 patent drawing
  • US20250173913A1 patent drawing

AI summary

Embodiments described herein provide a framework designed to enable personalized image generation capabilities in a pretrained text-to-image generation model. The architecture comprises two replicas of the pretrained text-to-image model—a reference UNet dedicated to extracting visual features from reference images and a base UNet for the actual image generation process. The reference UNet processes reference images to collect the features before each Self-Attention (SA) layer of the reference UNet. The base UNet's SA layers are modified to “Reference Self-Attention” (RSA) layers that allow conditioning on extra features. Using the collected reference features as input, the base UNet equipped with the RSA layers estimates the noise in the input to guide the image generation towards the reference objects.