# US 2023/0267315 A1 · Diffusion Models Having Improved Accuracy and Reduced Consumption of Computational Resources

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0267315 A1
- Document ID: US20230267315A1
- Status: Published application
- Kind: A1
- Application number: 18/012,195
- Filed: 2022-06-13
- Published: 2023-08-24
- Earliest claimed: 2021-06-14
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Diederik Pieter Kingma; Tim Salimans
- Web page: https://patentgrep.com/patent/US20230267315A1

## CPC

- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0475: Generative networks
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/09: Supervised learning
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G10L 21/0208: Noise filtering
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A computer-implemented method for use of a diffusion model having improved accuracy comprises obtaining input data, the input data comprising one or more channels; providing the input data to a machine-learned diffusion model, the machine-learned diffusion model comprising: a noising model comprising a plurality of noising stages, the noising model configured to introduce noise to receive the input data and produce intermediate data in response to receipt of the input data; and a denoising model configured to reconstruct output data from the intermediate data; and receiving, by the computing system, the output data from the machine-learned diffusion model. The diffusion model can include a learned noise schedule. Additionally and/or alternatively, input to the denoising model can include a set of Fourier features. Additionally and/or alternatively, the diffusion model can be trained based at least in part on a continuous-time loss for an evidence lower bound.

## Claims

### Claim 1

A computing system that leverages Fourier features for improved fine scale prediction, comprising:
one or more processors; and
one or more non-transitory, computer-readable media that collectively store:
at least a denoising model of a machine-learned diffusion model, the diffusion model comprising:
a noising model comprising a plurality of noising stages, the noising model configured to receive input data and produce latent data in response to receipt of the input data; and
the denoising model configured to reconstruct output data from the latent data;
wherein input to the denoising model comprises a set of Fourier features comprising a linear projection of channels of at least one stage of the plurality of noising stages; and
instructions that, when executed by the one or more processors, cause the computing system to execute the denoising model to process the latent data to generate the output data.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the set of Fourier features comprises a linear projection of the channels of each of the plurality of noising stages.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein the set of Fourier features comprises a linear projection of at least one stage of the plurality of noising stages onto a set of periodic basis functions with high frequency.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein the set of Fourier features comprises four channels.

### Claim 5

(canceled)

### Claim 6

(canceled)

### Claim 7 (depends on 1)

The computing system of claim 1, wherein the input data comprises a bit length, and wherein the set of Fourier features comprises Fourier features having each frequency from one to the bit length.

### Claim 8 (depends on 1)

The computing system of claim 1, wherein the input data comprises a bit length of eight or greater, and wherein the set of Fourier features comprises Fourier features having each frequency from seven to the bit length.

### Claim 9 (depends on 1)

The computing system of claim 1, wherein the input data comprises image data.

### Claim 10 (depends on 1)

The computing system of claim 1, wherein the latent data comprises a compressed representation of the input data and the output data comprises a decompressed representation of the input data.

### Claim at position 11

11-20. (canceled)

### Claim 21

One or more non-transitory, computer-readable media collectively storing at least a noising model of a diffusion model, the diffusion model comprising:
the noising model comprising a plurality of noising stages, the noising model configured to introduce noise to input data according to a noise schedule to produce intermediate data; and
a denoising model configured to reconstruct output data from the intermediate data;
wherein the noise schedule is a learned noise schedule that comprises one or more learned parameter values.

### Claim 22 (depends on 21)

The one or more non-transitory, computer-readable media of claim 21, wherein the learned noise schedule comprises a ratio of a squared mean of a marginal distribution of the diffusion model to a squared variance of the marginal distribution.

### Claim 23 (depends on 21)

The one or more non-transitory, computer-readable media of claim 21, wherein the learned noise schedule is learned jointly with the diffusion model.

### Claim 24 (depends on 21)

The one or more non-transitory, computer-readable media of claim 21, wherein the learned noise schedule comprises a signal-to-noise ratio function.

### Claim 25 (depends on 21)

The one or more non-transitory, computer-readable media of claim 21, wherein the learned noise schedule is parameterized by a monotonically increasing function.

### Claim 26 (depends on 25)

The one or more non-transitory, computer-readable media of claim 25, wherein the monotonically increasing function comprises a monotonically increasing neural network.

### Claim 27 (depends on 26)

The one or more non-transitory, computer-readable media of claim 26, wherein the monotonically increasing neural network comprises one or more linear layers that are restricted to be positive.

### Claim 28

(canceled)

### Claim 29

(canceled)

### Claim 30 (depends on 21)

The one or more non-transitory, computer-readable media of claim 21, wherein the derivative of the loss function with respect to the noise schedule is computed in computed along with gradients of the other parameters of the diffusion model without a second backpropagation pass through the denoising model.

### Claim 31 (depends on 21)

The one or more non-transitory, computer-readable media of claim 21, wherein parameters of the learned noise schedule are learned by maximizing an evidence lower bound together with other parameters of the diffusion model.

### Claim 32 (depends on 21)

The one or more non-transitory, computer-readable media of claim 21, wherein the diffusion model is a continuous time diffusion model, and wherein the parameters of the learned noise schedule are learned by optimizing an evidence lower bound with respect to endpoints of the learned noise schedule.

### Claim 33 (depends on 21)

The one or more non-transitory, computer-readable media of claim 21, wherein parameters of the learned noise schedule are learned by minimizing variance by performing stochastic gradient descent on a squared diffusion loss.

### Claim at position 25

34-46. (canceled)

### Claim 47

A computer-implemented method for training a diffusion model while consuming fewer computational resources, the method comprising:
obtaining, by a computing system comprising one or more computing devices, training data, the training data comprising one or more channels;
providing, by the computing system, the training data to a machine-learned diffusion model, the machine-learned diffusion model comprising:
a noising model comprising a plurality of noising stages, the noising model configured to introduce noise to receive the training data and produce intermediate data in response to receipt of the training data; and
a denoising model configured to reconstruct output data from the intermediate data; and
determining, by the computing system, a training loss based at least in part on use of the machine-learned diffusion model with the training data, wherein the diffusion model is trained by optimizing parameters of the machine-learned diffusion model towards an evidence lower bound, wherein the evidence lower bound comprises a continuous-time loss.

### Claim 48 (depends on 47)

The computer-implemented method of claim 47, wherein the continuous-time loss is approximated using an unbiased estimator of the continuous-time loss.

### Claim 49 (depends on 48)

The computer-implemented method of claim 48, wherein the unbiased estimator comprises a Monte Carlo estimator.

### Claim 50 (depends on 47)

The computer-implemented method of claim 47, wherein the continuous-time loss comprises infinite depth.

### Claim at position 30

51-52. (canceled)
