Color conditioned diffusion prior
Abstract
Systems and methods for image processing are described. Embodiments of the present disclosure, via a multi-modal encoder of an image processing apparatus, encodes a text prompt to obtain a text embedding. A color encoder of the image processing apparatus encodes a color prompt to obtain a color embedding. A diffusion prior model of the image processing apparatus generates an image embedding based on the text embedding and the color embedding. A latent diffusion model of the image processing apparatus generates an image based on the image embedding, where the image includes an element from the text prompt and a color from the color prompt.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method comprising: encoding a text prompt to obtain a text embedding; encoding a color prompt to obtain a color embedding, wherein the color prompt comprises a different modality than the text prompt; generating an image embedding using a diffusion prior model based on the text embedding and the color embedding, wherein the image embedding represents the text prompt and the color prompt; and generating an image by denoising a noise input based on the image embedding that represents the text prompt and the color prompt using a latent diffusion model (LDM), wherein the image includes an element from the text prompt and a color from the color prompt.
- Claim 2Depends on #1
The method of claim 1, wherein: the text embedding and the image embedding are in a multi-modal embedding space.
- Claim 3Depends on #2
The method of claim 2, wherein: the text embedding is in a first region of the multi-modal embedding space corresponding to text and the image embedding is in a second region of the multi-modal embedding space corresponding to images.
- Claim 4Depends on #1
The method of claim 1, wherein generating the image embedding comprises: performing an attention process using shared attention weights among the text embedding and the color embedding.
- Claim 5Depends on #1
The method of claim 1, wherein: the color embedding comprises a color histogram.
- Claim 6Depends on #1
The method of claim 1, further comprising: identifying a candidate image embedding for a candidate image; comparing the image embedding to the candidate image embedding; and providing the candidate image as a search result based on the comparison.
- Claim 7Depends on #1
The method of claim 1, further comprising: generating a plurality of image embeddings based on the text embedding and the color embedding, wherein the image embedding is selected from the plurality of image embeddings.
- Claim 8Depends on #7
The method of claim 7, further comprising: generating a plurality of images based on the plurality of image embeddings, respectively, wherein each of the plurality of images includes the element from the text prompt and the color from the color prompt.
Technical Overview & Description
BACKGROUND The following relates generally to machine learning, and more specifically to machine learning for image generation. Digital image processing refers to the use of a computing device to edit a digital image using an algorithm or a processing network. In some cases, image processing software can be used for various image processing tasks, such as image editing, image restoration, image generation, etc. Some image processing systems may implement machine learning techniques, for example, to perform tasks using predictive models (e.g., without explicitly programming the system for each task), to perform tasks with more accuracy or in less time, to perform tasks using special-purpose hardware, etc. Machine learning models are used in image generation such as generative deep learning models. However, conventional models involve high computational burden and memory usage and do not provide enough flexibility. Therefore, there is a need in the art for an improved image processing system that is optimized in terms of training efficiency and memory usage, and the improved system can provide image generation flexibility. SUMMARY The present disclosure describes systems and methods for image processing. Embodiments of the present disclosure include an image processing apparatus configured to generate an output image using an optimized image generation network. The image processing apparatus is configured to generate images using a combination of a diffusion prior model and a latent diffusion model. A text prompt is converted to a text embedding (e.g., a first condition) using a multi-modal encoder (e.g., CLIP model). A color encoder generates a color embedding (e.g., a second condition) based on a color prompt. The diffusion prior model of the image processing apparatus generates an image embedding based on the text embedding and the color embedding. The latent diffusion model receives the image embedding as input and generates one or more images based on the image e
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (13)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- 1Li, et al.,
- “
- Universal Style Transfer via Feature Transforms
- ”
- , 31st Conference on Neural Information Processing Systems (NIPS 2017), 11 pages.
- 2Radford, et al.,
- “
- Learning Transferable Visual Models From Natural Language Supervision
- ”
- , In International Conference on Machine Learning (pp. 8748-8763), PMLR, arXiv preprint: arXiv:2103.00020v1 [cs.CV] Feb. 26, 2021.