Text-Based Real Image Editing with Diffusion Models

US2024355017A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2024355017-A1
Application numberUS-202318302508-A
CountryUS
Kind codeA1
Filing dateApr 18, 2023
Priority dateApr 18, 2023
Publication dateOct 24, 2024
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Methods and systems for editing an image are disclosed herein. The method includes receiving an input image and a target text, the target text indicating a desired edit for the input image and obtaining, by the computing system, a target text embedding based on the target text. The method also includes obtaining, by the computing system, an optimized text embedding based on the target text embedding and the input image and fine-tuning, by the computing system, a diffusion model based on the optimized text embedding. The method can further include interpolating, by the computing system, the target text embedding and the optimized text embedding to obtain an interpolated embedding and generating, by the computing system, an edited image including the desired edit using the diffusion model based on the input image and the interpolated embedding.

First claim

Opening claim text (preview).

What is claimed is: 1 . A computer-implemented method for editing an image, the method comprising: receiving, by a computing system, an input image and a target text, the target text indicating a desired edit for the input image; obtaining, by the computing system, a target text embedding based on the target text; obtaining, by the computing system, an optimized text embedding based on the target text embedding and the input image; fine-tuning, by the computing system, a diffusion model based on the optimized text embedding; interpolating, by the computing system, the target text embedding and the optimized text embedding to obtain an interpolated embedding; and generating, by the computing system, an edited image including the desired edit using the diffusion model based on the input image and the interpolated embedding. 2 . The computer-implemented method of claim 1 , wherein obtaining the target text embedding includes providing, by the computing system, the target text to a text encoder; and receiving, by the computing system, the target text embedding from the text encoder. 3 . The computer-implemented method of claim 1 , wherein obtaining the optimized text embedding includes freezing, by the computing system, the parameters of the diffusion model; optimizing, by the computing system, the target text embedding using a denoising diffusion objective to obtain the optimized text embedding; and outputting the optimized text embedding, wherein the optimized text embedding is a text embedding that matches the input image. 4 . The computer-implemented method of claim 1 , wherein fine-tuning the diffusion model includes freezing, by the computing system, the optimized text embedding; and optimizing, by the computing system, at least one model parameter of the diffusion model using a loss function. 5 . The computer-implemented method of claim 4 , wherein optimizing the at least one model parameter includes conditioning the diffusion model on the optimized text embedding. 6 . The computer-implemented method of claim 4 , wherein fine-tuning the diffusion model further includes fine-tuning, by the computing system, at least one auxiliary diffusion model, wherein fine-tuning the at least one auxiliary diffusion model includes freezing, by the computing system, the target text embedding; and optimizing, by the computing system, the at least one auxiliary diffusion model using the loss function. 7 . The computer-implemented method of claim 6 , wherein optimizing the at least one auxiliary diffusion model includes conditioning the at least one auxiliary diffusion model on the target text embedding. 8 . The computer-implemented method of claim 6 , wherein generating the edited image includes generating, by the computing system, a low-resolution version of the edited image using the diffusion model; super-resolving, by the computing system, the low-resolution version of the edited image into a final high-resolution version of the edited image using the at least one auxiliary diffusion model. 9 . The computer-implemented method of claim 1 , wherein generating the edited image includes generating, by the computing system, the edited image using the diffusion model conditioned on the interpolated embedding. 10 . A computing system for editing images, the computing system comprising: one or more processors; and a non-transitory, computer-readable medium comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations, the operations comprising: receiving an input image and a target text, the target text indicating a desired edit for the input image; obtaining a target text embedding based on the target text; obtaining an optimized text embedding based on the target text embedding and the input image fine-tuning a diffusion model based on the optimized text embedding; interpolating the target text embedding and the optimized text embedding to obtain an interpolated embedding; and generating an edited image including the desired edit using the diffusion model based on the input image and the interpolated embedding. 11 . The computing system of claim 10 , wherein obtaining the target text embedding includes providing the target text to a text encoder; and receiving the target text embedding from the text encoder. 12 . The computing system of claim 10 , wherein obtaining the optimized text embedding includes freezing, by the computing system, the parameters of the diffusion model; optimizing, by the computing system, the target text embedding using a denoising diffusion objective to obtain the optimized text embedding; and outputting the optimized text embedding, wherein the optimized text embedding is a text embedding that matches the input image. 13 . The computing system of claim 10 , wherein fine-tuning the diffusion model includes freezing the optimized text embedding; and optimizing at least one model parameter of the diffusion model using a loss function. 14 . The computing system of claim 13 , wherein optimizing the at least one model parameter includes conditioning the diffusion model on the optimized text embedding. 15 . The computing system of claim 13 , wherein fine-tuning the diffusion model further includes fine-tuning at least one auxiliary diffusion model, wherein fine-tuning the at least one auxiliary diffusion model includes freezing the target text embedding; and optimizing the at least one auxiliary diffusion model using the loss function. 16 . The computing system of claim 15 , wherein optimizing the at least one auxiliary diffusion model includes conditioning the at least one auxiliary diffusion model on the target text embedding. 17 . The computer-implemented method of claim 15 , wherein generating the edited image includes generating a low-resolution version of the edited image using the diffusion model; super-resolving the low-resolution version of the edited image into a final high-resolution version of the edited image using the at least one auxiliary diffusion model. 18 . The computing system of claim 10 , wherein generating the edited image includes generating the edited image using the diffusion model conditioned on the interpolated embedding. 19 . A non-transitory, computer-readable medium comprising instructions that, when executed by one or more processors, cause the one or more processors to perform operations, the operations comprising: receiving an input image and a target text, the target text indicating a desired edit for the input image; obtaining a target text embedding based on the target text; obtaining an optimized text embedding based on the target text embedding and the input image; fine-tuning a diffusion model based on the optimized text embedding; interpolating the target text embedding and the optimized text embedding to obtain an interpolated embedding; and generating an edited image including the desired edit using the diffusion model based on the input image and the interpolated embedding. 20 . The non-transitory, computer-readable medium of claim 19 , wherein generating the edited image includes generating the edited image using the diffusion model conditioned on the interpolated embedding.

Assignees

Inventors

Classifications

  • G06T11/60Primary

    Creating or editing images; Combining images with text · CPC title

  • G06T3/4053Primary

    based on super-resolution, i.e. the output image resolution being higher than the sensor resolution · CPC title

  • Recognition of textual entities · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2024355017A1 cover?
Methods and systems for editing an image are disclosed herein. The method includes receiving an input image and a target text, the target text indicating a desired edit for the input image and obtaining, by the computing system, a target text embedding based on the target text. The method also includes obtaining, by the computing system, an optimized text embedding based on the target text embe…
Who is the assignee on this patent?
Google Llc
What technology area does this patent fall under?
Primary CPC classification G06T11/60. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Oct 24 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).