# US 2025/0166243 A1 · Multi-attribute inversion for text-to-image synthesis

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0166243 A1
- Document ID: US20250166243A1
- Status: Published application
- Kind: A1
- Application number: 18/513,071
- Filed: 2023-11-17
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Aishwarya Agarwal; Srikrishna Karanam; Tripti Shukla; Balaji Vasan Srinivasan
- Web page: https://patentgrep.com/patent/US20250166243A1

## CPC

- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06T 11/60: Creating or editing images; Combining images with text
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An image generation model obtains a text prompt, a first attribute token, and a second attribute token. A first set of layers of the image generation model and a first set of time-steps are identified for the first attribute token and a second set of layers of the image generation model and a second set of time-steps are identified for the second attribute token. A synthetic image is generated based on the text prompt, the first attribute token, and the second attribute token by providing the first attribute token to the first set layers of the image generation model during the first set of time-steps and providing the second attribute token to the second set of layers of the image generation model during the second set of time-steps.

## Claims

### Claim 1

A method comprising:
obtaining a text prompt, a first attribute token, and a second attribute token;
identifying a first set of layers of an image generation model and a first set of time-steps for the first attribute token and a second set of layers of the image generation model and a second set of time-steps for the second attribute token; and
generating, using the image generation model, a synthetic image based on the text prompt, the first attribute token, and the second attribute token by providing the first attribute token to the first set layers of the image generation model during the first set of time-steps and providing the second attribute token to the second set of layers of the image generation model during the second set of time-steps.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the first attribute token comprises a first token type and the second attribute token comprises a second token type, and wherein the first token type and the second token type are selected from a set of token types including a color token type, an object token type, a style token type, and a layout token type.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the synthetic image includes an element described by the text prompt, a first attribute represented by the first attribute token, and a second attribute represented by the second attribute token.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
the first attribute token and the second attribute token comprise learnable tokens corresponding to the first attribute and the second attribute, respectively.

### Claim 5 (depends on 3)

The method of claim 3, wherein obtaining the first attribute token and the second attribute token comprises:
receiving a user input indicating the first attribute and the second attribute.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the first set of layers does not overlap with the second set of layers, and the first set of time-steps does not overlap with the second set of time-steps.

### Claim 7 (depends on 1)

The method of claim 1, wherein generating the synthetic image comprises:
performing a reverse diffusion process on a noisy input image, wherein the reverse diffusion process is based on a plurality of time-steps including the first set of time-steps and the second set of time-steps.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
encoding the text prompt to obtain a text embedding, where the synthetic image is generated based on the text embedding.

### Claim 9

A method for training a machine learning model, comprising:
obtaining training data including a first attribute token representing a first attribute, and a second attribute token representing a second attribute;
identifying a first set of layers of an image generation model and a first set of time-steps for the first attribute token and a second set of layers of the image generation model and a second set of time-steps for the second attribute token; and
training the image generation model to generate synthetic images comprising the first attribute and the second attribute by providing the first attribute token to the first set layers of the image generation model during the first set of time-steps and providing the second attribute token to the second set of layers of the image generation model during the second set of time-steps.

### Claim 10 (depends on 9)

The method of claim 9, wherein training the image generation model comprises:
performing a forward diffusion process on a training image to obtain a noisy input image;
performing a reverse diffusion process on the noisy image to obtain a predicted image; and
comparing the predicted image with the training image.

### Claim 11 (depends on 9)

The method of claim 9, wherein training the image generation model comprises:
training the image generation model to generate synthetic images comprising a color attribute, an object attribute, a style attribute, and a layout attribute.

### Claim 12 (depends on 9)

The method of claim 9, wherein training the image generation model comprises:
training the image generation model comprises computing a color-style disentanglement loss.

### Claim 13 (depends on 9)

The method of claim 9, wherein obtaining the training data further comprises:
optimizing the first attribute token to represent the first attribute and optimizing the second attribute token to represent the second attribute.

### Claim 14 (depends on 9)

The method of claim 9, wherein obtaining the training data further comprises:
obtaining a training image and a text prompt describing the training image, wherein the image generation is trained based on the training image and the text prompt.

### Claim 15

Apparatus for image processing, comprising:
at least one processor;
at least one memory storing instruction executable by the at least one processor; and
the apparatus further comprising an image generation model comprising parameters stored in the at least one memory and trained to generate synthetic images comprising a first attribute and a second attribute by providing a first attribute token to a first set layers of the image generation model during a first set of time-steps and providing a second attribute token to a second set of layers of the image generation model during a second set of time-steps.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein:
the image generation model comprises a U-Net architecture, and wherein the first set of layers and the second set of layers comprise different layers of the U-Net architecture.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein:
the first attribute comprises a color attribute or a style attribute and the first set of layers comprises moderate resolution layers of the image generation model.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein:
the second attribute comprises an object attribute or a layout attribute and the second set of layers comprises coarse resolution layers of the image generation model.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein:
the first attribute comprises a color attribute, a style attribute, or a layout attribute, and the first set of time-steps comprises an initial set of time-steps.

### Claim 20 (depends on 15)

The apparatus of claim 15, wherein:
the second attribute comprises an object attribute and the second set of time-steps comprises a middle set of time-steps.
