hottub.patents
US 12,705,692 B2#3168006 Most CitedActiveUnited States (USPTO)Utility

Training of a machine learning system for object-level image synthesis with labeled-slot conditioning

0Forward Citations (#3168006 Global)
0.0/yrCitation Velocity (#3168006 Global)
0.00Citation PageRank (#3168006 Global)
0Prior Art Cited
10Claims (2 Indep. · 8 Dep.)
8Drawings / Sheets

Abstract

A computer-implemented method for training a machine learning system. The machine learning system is trained for generating images in at least two stages.

Interactive Citation Constellation Global Citation Ranking

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

Claims (10 — 2 Independent, 8 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for training a machine learning system, the machine learning system being trained for generating images in at least two stages, the method comprising the following steps: in a first stage based on at least one input image, learning at least one codebook by tokenizing the at least one input image and reconstructing images through an autoencoding architecture; and in a second stage, training a transformer decoder to generate images based on the at least one codebook by reconstructing masked tokens of the reconstructed images; wherein, in the first stage, a codebook dictionary is generated by generating codebook vocabulary by cross-scale mixing, the cross-scale mixing including mixing image features of the input image among different scales of the image features, the image features being encoded and decoded via the autoencoding architecture, and wherein the transformer decoder is trained to generate images based on labeled-slot conditioning; wherein the labeled-slot conditioning includes providing a plurality of class labels, each of the class labels corresponding to a class of an object of an image to slots of a slot attention module of the transformer decoder.

  2. Claim 2Depends on #1

    The method according to claim 1, wherein the input image includes low-level image features and high-level images features, and the cross-scale mixing includes aggregating high-level image features and low-level images features together via at least one cross-attention module among low-level image features and high-level image features.

  3. Claim 3Depends on #1

    The method according to claim 1, wherein the cross-scale mixing includes at least one tokenization and reconstruction process at a first level of the autoencoding architecture and at least one tokenization and reconstruction process at a second level of the autoencoding architecture, and: (i) updating the first level of the autoencoding architecture with losses coming from the second level the autoencoding architecture, and/or (ii) updating the second level of the autoencoding architecture with losses coming from the first level the autoencoding architecture.

  4. Claim 4Depends on #1

    The method according to claim 1, wherein in the first stage at least one of the following codebook configurations is generated: a) at least two separate scale-related codebook dictionaries; or b) a low-level codebook and a high-level codebook, wherein the low-level codebook is dependent on the high-level codebook; or c) a single scale-mixed codebook.

  5. Claim 5Depends on #4

    The method according to claim 4, wherein when at least two hierarchical codebook dictionaries related to different scales are obtained in stage 1, the slot attention module is modified according to one of the following: (i) mixing the at least two codebook dictionaries by concatenating vectors of the at least two codebook dictionaries, (ii) nesting the cross attentions before at least one gated recurrent unit (GRU) of the transformer decoder, (iii) concatenating at least two separate slot attention modules.

  6. Claim 6Depends on #1

    The method according to claim 1, further comprising initializing the slots of the slot attention module in a class-dependent way, and providing a loss term that enforces a respective slot to be associated to specific class.

  7. Claim 7Depends on #1

    The method according to claim 1, wherein the machine learning system is trained on at least two different data sets.

  8. Claim 8Independent Claim

    A machine learning system trained for generating images in at least two stages, the machine learning system being trained by a method including the following steps: in a first stage based on at least one input image, learning at least one codebook by tokenizing the at least one input image and reconstructing images through an autoencoding architecture; and in a second stage, training a transformer decoder to generate images based on the at least one codebook by reconstructing masked tokens of the reconstructed images; wherein, in the first stage, a codebook dictionary is generated by generating codebook vocabulary by cross-scale mixing, the cross-scale mixing including mixing image features of the input image among different scales of the image features, the image features being encoded and decoded via the autoencoding architecture, and wherein the transformer decoder is trained to generate images based on labeled-slot conditioning; wherein the labeled-slot conditioning includes providing a plurality of class labels, each of the class labels corresponding to a class of an object of an image to slots of a slot attention module of the transformer decoder.

  9. Claim 9Depends on #8

    The machine learning system according to claim 8, wherein the machine learning system is trained for at least one of the following: a) generating labeled objects, and/or b) composing image data for augmented and/or synthetic data, and/or c) generating image data for synthetic data in unseen compositions.

  10. Claim 10Depends on #9

    The machine learning system according to claim 9, wherein the machine learning system is trained for generating at least one training data set and/or at least one test data set, the at least one training data set and/or the at least one test data set including labeled object data and/or labeled image data, wherein the at least one training data set or the at least one test data set is used to train and/or to test a machine learning system.

Technical Overview & Description

CROSS REFERENCE The present application claims the benefit under 35 U.S.C. § 119 of German Patent Application No. DE 10 2022 212 154.6 filed on Nov. 15, 2022, which is expressly incorporated herein by reference in its entirety. BACKGROUND INFORMATION Image synthesis is the process of artificially generating images that contain some particular desired content. It is analogous to the inverse of the classification problem: generating an image that contains the visual contents that are associated with a specific label. Generative adversarial networks (GANs) are an architecture that can be trained to generate synthetic images. For example, vector quantized, VQ, models make use of transformer architectures in an effective way by using them at an image embedding level rather than at pixel level. The VQ model VQGAN has been one of the first VQ models to reach high resolution image generation capabilities, see for example Patrick Esser, Robin Rombach, and Bj ö rn Ommer; “ Taming transformers for high-resolution image synthesis; ” in CVPR, 2021. In particular, during training a codebook of token embeddings is learned in a first stage that will work as a dictionary for the transformer in a second stage. In this way, at inference time, new images can be synthesized by sampling a sequence of token embeddings from the codebook, and decoding them into images. In VQGAN, initially this was done autoregressively, making the generation slow and introducing unwanted biases. However, recently, MaskGIT showed a better and faster solution via a bidirectional masking approach, see for example Chang, H., Zhang, H., Jiang, L., Liu, C., Freeman, W. T.; “ MaskGIT: Masked generative image transformer; ” arXiv preprint arXiv:2202.04200, 2022. In this regard, conditional generation is done by appending conditioning tokens to the image ones, making the transformer learn the conditional data distributions. For example, in DALL-E, Aditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray, Chelsea Voss,

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

No backward patent references recorded.

Non-Patent Literature (10)

  • Razavi et al (Generating Diverse High-Fidelity Images with VQ-VAE-2, Jun. 2, 2019).
  • Chen et al (CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification, Aug. 22, 2021).
  • Chang et al (MaskGIT: Masked Generative Image Transformer, Feb. 8, 2022).
  • Singh et al (Illiterate DALL-E Leans to Compose, Mar. 14, 2022).
  • Locatello et al (Object-Centric Learning with Slot Attention, Oct. 14, 2020).
  • Esser et al.,
  • “
  • Taming Transformers for High-Resolution Image Synthesis,
  • ”
  • 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021, pp. 12868-12877.