hottub.patents
US 12,802,299 B2#3072116 Most CitedActiveUnited States (USPTO)Utility

Text-to-pattern generation

0Forward Citations (#3072116 Global)
0.0/yrCitation Velocity (#3072116 Global)
0.00Citation PageRank (#3072116 Global)
27Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
19Drawings / Sheets

Abstract

A method, apparatus, non-transitory computer readable medium, and system for image generation include obtaining an input prompt comprising a pattern element and a target level of an image attribute. A guidance feature representing the pattern element is generated, using a prior model, based on the input prompt and the target level of the image attribute. The prior model is trained using reinforcement learning to generate guidance features for pattern image generation based on the target level of the image attribute. An image generation model generates a synthesized image based on the guidance feature. The synthesized image includes a set of versions of the pattern element with the target level of the image attribute.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method comprising: obtaining an input prompt comprising a pattern element and a target level of an image attribute; generating, using a prior model, a guidance feature representing the pattern element based on the input prompt and the target level of the image attribute, wherein the prior model is trained using upside down reinforcement learning (UDRL) to generate guidance features for generating patterns using an image generation model based on the target level of the image attribute, and wherein the prior model takes the target level of the image attribute as input and generates an input for the image generation model; and generating, using the image generation model, a synthesized image based on the guidance feature, wherein the synthesized image includes a plurality of versions of the pattern element with the target level of the image attribute.

  2. Claim 2Depends on #1

    The method of claim 1, wherein obtaining the input prompt comprises: obtaining a preliminary prompt comprising the pattern element; and adding the target level of the image attribute to the preliminary prompt.

  3. Claim 3Depends on #1

    The method of claim 1, further comprising: obtaining a preliminary prompt comprising the pattern element; and adding a pattern attribute to the preliminary prompt to obtain an additional prompt, wherein the synthesized image is generated based on the additional prompt.

  4. Claim 4Depends on #1

    The method of claim 1, wherein: the target level of the image attribute comprises a scalar value.

  5. Claim 5Depends on #1

    The method of claim 1, wherein: the image attribute comprises a pattern classifier attribute.

  6. Claim 6Depends on #1

    The method of claim 1, wherein: the image attribute comprises an aesthetic attribute.

  7. Claim 7Depends on #1

    The method of claim 1, wherein: the UDRL uses the image attribute as input.

  8. Claim 8Depends on #1

    The method of claim 1, further comprising: performing color enhancement on the synthesized image to obtain an enhanced image having a smaller number of colors than the synthesized image.

  9. Claim 9Independent Claim

    A method for training a machine learning model, the method comprising: obtaining a training set including an image and an input prompt, wherein the image depicts a pattern element and the input prompt comprises a description of the pattern element and a target level of an image attribute; generating a predicted guidance feature based on the input prompt; generating a predicted image based on the predicted guidance feature; and training, using upside down reinforcement learning (UDRL) based on the training set and the predicted image, a prior model to generate guidance features for pattern image generation based on the target level of the image attribute.

  10. Claim 10Depends on #9

    The method of claim 9, wherein: the UDRL comprises providing the image attribute as input to the prior model.

  11. Claim 11Depends on #9

    The method of claim 9, further comprising: pre-training the prior model on a preliminary training set having more samples than the training set.

  12. Claim 12Depends on #9

    The method of claim 9, further comprising: generating, using an image generation model, a synthesized image based on a guidance feature from the prior model, wherein the synthesized image includes a plurality of versions of the pattern element.

  13. Claim 13Depends on #12

    The method of claim 12, further comprising: training the image generation model to generate synthesized images based on the guidance features from the prior model.

  14. Claim 14Depends on #9

    The method of claim 9, wherein obtaining the training set comprises: obtaining a ground-truth image; and generating the input prompt based on the ground-truth image.

  15. Claim 15Depends on #14

    The method of claim 14, further comprising: generating the target level of the image attribute using a classifier model based on the ground-truth image.

  16. Claim 16Independent Claim

    An apparatus comprising: at least one processor; at least one memory including instructions executable by the at least one processor to perform operations comprising: obtaining an input prompt comprising a pattern element and a target level of an image attribute; generating, using a prior model, a guidance feature representing the pattern element based on the input prompt and the target level of the image attribute, wherein the prior model is trained using upside down reinforcement learning (UDRL) to generate guidance features for generating patterns using an image generation model based on the target level of the image attribute, and wherein the prior model takes the target level of the image attribute as input and generates an input for the image generation model; and generating, using the image generation model, a synthesized image based on the guidance feature, wherein the synthesized image includes a plurality of versions of the pattern element with the target level of the image attribute.

  17. Claim 17Depends on #16

    The apparatus of claim 16, wherein: the prior model comprises a transformer network and the image generation model comprises a diffusion model.

  18. Claim 18Depends on #16

    The apparatus of claim 16, further comprising: a color enhancement component configured to perform color enhancement on the synthesized image to obtain an enhanced image having a smaller number of colors than the synthesized image.

  19. Claim 19Depends on #16

    The apparatus of claim 16, further comprising: a pattern classifier configured to generate a pattern classifier attribute.

  20. Claim 20Depends on #16

    The apparatus of claim 16, further comprising: an aesthetic classifier configured to generate an aesthetic attribute.

Technical Overview & Description

BACKGROUND The following relates generally to image processing, and more specifically to pattern generation using machine learning. Digital image processing refers to the use of a computer to edit a digital image using an algorithm or a processing network. In some cases, image processing software can be used for various tasks, such as image editing, image restoration, image generation, etc. Recently, machine learning models have been used in advanced image processing techniques. Among these machine learning models, diffusion models and other generative models such as generative adversarial networks (GANs) have been used for various tasks including generating images with perceptual metrics, generating images in conditional settings, image inpainting, and image manipulation. Image generation, a subfield of image processing, involves the use of diffusion models to synthesize images. Diffusion models can be used for various image generation tasks including image super-resolution, generation of images with perceptual metrics, conditional generation (e.g., generation based on text guidance), image inpainting, and image manipulation. Specifically, diffusion models are trained to take random noise as input and generate unseen images with features similar to the training data. However, conventional image generation models do not accurately generate some kinds of images, including some pattern images. SUMMARY The present disclosure describes systems and methods for pattern generation. Embodiments of the present disclosure include an image generation apparatus that receives an input prompt and generates a synthesized image including a set of versions of a pattern element. The image generation apparatus includes a diffusion prior model that is trained to generate guidance features for pattern image generation based on input prompts comprising a target level of an image attribute. The prior model is trained using upside down reinforcement learning (UDRL) by providing a “ reward

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 (27)

Non-Patent Literature (10)

  • Black, et al.,
  • “
  • Training Diffusion Models with Reinforcement Learning
  • ”
  • , arXiv preprint arXiv:2305.13301v2 [cs.LG] May 23, 2023, 21 pages.
  • Fan, et al.,
  • “
  • DPOK: Reinforcement Learning for Fine-tuning Text-to-Image Diffusion Models
  • ”
  • , arXiv preprint arXiv:2305.16381v1 [cs.LG] May 25, 2023, 26 pages.