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

Processing images using mixture of experts

0Forward Citations (#3167995 Global)
0.0/yrCitation Velocity (#3167995 Global)
0.00Citation PageRank (#3167995 Global)
3Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating predictions about images. One of the systems includes a neural network comprising a sequence of one or more network blocks that are each configured to perform operations comprising: obtaining a block input that represents an intermediate representation of an input image; determining a plurality of patches of the block input or of an updated representation of the block input, wherein each patch comprises a different subset of elements of the block input or of the updated representation of the block input; assigning each patch to one or more respective expert modules of a plurality of expert modules of the network block; for each patch of the plurality of patches, processing the patch using the corresponding expert modules to generate respective module outputs; and generating a block output by combining the module outputs.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    A system comprising a neural network that is configured to process an input image and to generate a network output for the input image, the neural network comprising a sequence of one or more network blocks that are each configured to perform operations comprising: obtaining a block input that represents an intermediate representation of the input image; determining a plurality of patches of the block input or of an updated representation of the block input, wherein each patch comprises a different subset of elements of the block input or of the updated representation of the block input; assigning each patch to one or more respective expert modules of a plurality of expert modules of the network block; for each patch of the plurality of patches, processing the patch using the one or more corresponding expert modules to generate one or more respective module outputs; and generating a block output that is an updated representation of the input image and that has a same dimensionality as

  2. Claim 2Depends on #1

    The system of claim 1, wherein assigning each patch to one or more respective experts module of the network block comprises: processing the patch using a routing subnetwork to generate, for each expert module of the plurality of expert modules, a respective routing score; determining one or more highest routing scores of the plurality of routing scores; and assigning the patch to the expert module corresponding to each of the one or more highest routing scores.

  3. Claim 3Depends on #2

    The system of claim 2, wherein processing the patch using a routing subnetwork to generate, for each expert module of the plurality of expert modules, a respective routing score comprises: processing the patch using one or more feedforward neural network layers to generate a respective first intermediate routing score for each expert module; sampling, for each expert module, a noise value and adding the noise value to the first intermediate routing score of the expert module to generate a second intermediate routing score for the expert module; applying, for each expert module, a non-linear activation function to the second intermediate routing score of the expert module to generate the routing score for the expert module.

  4. Claim 4Depends on #2

    The system of claim 2, wherein, for each patch of the plurality of patches, processing the patch using the one or more corresponding expert modules to generate one or more respective module outputs comprises: processing, for each of the one or more expert modules corresponding to the patch, the patch using the expert module to generate a respective initial module output; and scaling, for each of the one or more expert modules corresponding to the patch, the corresponding initial module output according to the routing score corresponding to the expert module and the patch.

  5. Claim 5Depends on #2

    The system of claim 2, wherein the neural network has been trained using one or more of: an importance loss that encourages the routing scores corresponding to each expert module to have a same measure of central tendency, or a load loss that encourages respective likelihoods that each expert module is assigned a patch to have a same measure of central tendency.

  6. Claim 6Depends on #5

    The system of claim 5, wherein determining the importance loss for a batch of training images X comprises: for each expert module i, computing: imp i ( X) = ∑ x ∈ X f i ( x) wherein f i is a function defined by the routing subnetwork for computing the routing score for the expert module i or an intermediate routing score for the expert module i; and computing the importance loss to encourage, for each expert module i, imp i (X) to have a same measure of central tendency.

  7. Claim 7Depends on #6

    The system of claim 6, wherein the importance loss is: ℒ imp ( X) = ( std ⁡ ( imp 1: E ( X)) mean ( imp 1: E ( X))) 2 wherein E is a number of the plurality of expert modules.

  8. Claim 8Depends on #5

    The system of claim 5, wherein: each patch is assigned to k different expert modules, k ≥ 1, and determining the load loss for a batch of training images X comprises: for each training image x in the batch of training images X, computing: threshold k ( x) = max ( k) g i ( x) wherein g i (x) is a function defined by the routing subnetwork for computing the routing score for the expert module i or an intermediate routing score for the expert module i; for each training image x and for each expert module i, computing: p i ( x) = P ⁡ ( g i ( x) ≥ threshold k ( x)) wherein P(e) is a likelihood of event e occurring; and for each expert module i, computing: load i ( X) = ∑ x ∈ X p i ( x) and computing the load loss to encourage, for each expert module i, load i (x) to have a same measure of central tendency.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a National Stage Application under 35 U.S.C. § 371 and claims the benefit of International Application No. PCT/US2022/031466, filed May 27, 2022, which claims the benefit of priority under 35 U.S.C. § 119 to U.S. Provisional Application Ser. No. 63/194,926, filed May 28, 2021, the entirety of which is incorporated herein by reference. BACKGROUND This specification relates to processing images using neural networks. Neural networks are machine learning models that employ one or more layers of nonlinear units to predict an output for a received input. Some neural networks include one or more hidden layers in addition to an output layer. The output of each hidden layer is used as input to the next layer in the network, i.e., the next hidden layer or the output layer. Each layer of the network generates an output from a received input in accordance with current values of a respective set of parameters. SUMMARY This specification describes a system implemented as computer programs on one or more computers in one or more locations that is configured to process an image using a neural network and to generate a network output characterizing the image. The neural network includes a sequence of one or more network blocks that are each configured to process a block input that includes the image or an intermediate representation of the image and to generate a block output. At least one of the network blocks is an expert network block that includes a set of multiple different expert modules that are each configured to process a proper subset of the elements of the block input. In particular, an expert network block is configured to identify multiple “ patches ” of elements of the block input and, for each patch, process the patch using a routing module to identify a proper subset of the expert modules to which to route the patch. Each expert module then processes, for each patch routed to the expert module, the patch to

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

PatentTitleYearCitations

Non-Patent Literature (10)

  • Arnab et al.,
  • “
  • ViViT: A Video Vision Transformer,
  • ”
  • CoRR, Submitted on Mar. 29, 2021, arXiv:2103.15691v1, 13 pages.
  • Bengio et al.,
  • “
  • Conditional Computation in Neural Networks for faster models,
  • ”
  • CoRR, Submitted on Jan. 7, 2016, arXiv:1511.06297v2, 12 pages.