# US 2025/0165756 A1 · Resource-efficient diffusion models

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

- Number: US 2025/0165756 A1
- Document ID: US20250165756A1
- Status: Published application
- Kind: A1
- Application number: 18/949,875
- Filed: 2024-11-15
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Yang Zhao; Yanwu Xu; Zhisheng Xiao; Tingbo Hou
- Web page: https://patentgrep.com/patent/US20250165756A1

## CPC

- G06N 3/0475: Generative networks
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating a data item by performing a single-step denoising process using a diffusion model neural network. For example, the data items can be images, videos, audio waveforms, sensor outputs, and so on.

## Claims

### Claim 1

A system comprising one or more computers and one or more storage devices storing instructions that when executed by the one or more computers cause the one or more computers to implement a diffusion model neural network that generates a data item by performing a denoising process, wherein the diffusion model neural network comprises one or more initial neural network blocks followed by one or more intermediate neural network blocks followed by one or more final neural network blocks, and wherein:
each initial neural network block is configured to process an initial block input having a higher dimensionality to generate an initial block output based on applying a convolution operation to the initial block input;
each intermediate neural network block is configured to process an intermediate block input having a lower dimensionality that is lower than the higher dimensionality to generate an intermediate block output based on applying the convolution operation and an attention operation to the intermediate block input; and
each final neural network block is configured to process a final block input having the higher dimensionality to generate a final block output based on applying the convolution operation to the final block input.

### Claim 2 (depends on 1)

The system of claim 1, wherein each initial neural network block comprises one or more depth-wise separable convolution layers, and wherein the convolution operation is a depth-wise separable convolution operation.

### Claim 3 (depends on 1)

The system of claim 1, wherein each initial neural network block does not include any attention layer.

### Claim 4 (depends on 1)

The system of claim 1, wherein the one or more intermediate neural network blocks comprise a first intermediate neural network block followed by a second intermediate neural network block, and wherein:
the first intermediate neural network block is configured to process a first intermediate block input having a first lower dimensionality to generate a first intermediate block output based on applying the convolution operation and a cross-attention operation to the first intermediate block input; and
the second intermediate neural network block is configured to process a second intermediate block input having a second lower dimensionality to generate a second intermediate block output based on applying the convolution operation, the cross-attention operation, and a self-attention operation to the second intermediate block input.

### Claim 5 (depends on 4)

The system of claim 4, wherein the second lower dimensionality is lower than the first lower dimensionality.

### Claim 6 (depends on 1)

The system of claim 1, wherein applying the attention operation comprises applying the attention operation over keys and values that have been generated using a same projection matrix.

### Claim 7 (depends on 1)

The system of claim 1, wherein applying the attention operation comprises applying a ReLU activation function to generate an output of the attention operation.

### Claim 8 (depends on 1)

The system of claim 1, wherein generating the data item by performing the denoising process comprises:
processing a diffusion input that comprises an initial representation of the data item through the one or more initial neural network blocks, the one or more intermediate neural network blocks, and the one or more final neural network blocks to generate a diffusion output; and
updating the initial representation of the data item using the diffusion output to generate the data item.

### Claim 9 (depends on 8)

The system of claim 8, wherein the diffusion input comprises a conditioning input.

### Claim 10 (depends on 8)

The system of claim 8, wherein the diffusion output defines a noise estimate for the initial representation of the data item.

### Claim 11 (depends on 1)

The system of claim 1, wherein the diffusion model neural network has an architecture that is determined by searching through a predetermined search space of possible architectures to reduce resource consumption of the diffusion model neural network having the determined architecture.

### Claim 12 (depends on 1)

The system of claim 1, wherein the data item is an image, a video, an audio waveform, or a sensor output.

### Claim 13

A method performed by one or more computers, the method comprising:
generating a data item by performing a denoising process using a diffusion model neural network, wherein the diffusion model neural network comprises one or more initial neural network blocks followed by one or more intermediate neural network blocks followed by one or more final neural network blocks, and wherein the generating comprises:
processing, by each initial neural network block, an initial block input having a higher dimensionality to generate an initial block output based on applying a convolution operation to the initial block input;
processing, by each intermediate neural network block, an intermediate block input having a lower dimensionality that is lower than the higher dimensionality to generate an intermediate block output based on applying the convolution operation and an attention operation to the intermediate block input; and
processing, by each final neural network block, a final block input having the higher dimensionality to generate a final block output based on applying the convolution operation to the final block input.

### Claim 14 (depends on 13)

The method of claim 13, wherein each initial neural network block comprises one or more depth-wise separable convolution layers, and wherein the convolution operation is a depth-wise separable convolution operation.

### Claim 15 (depends on 13)

The method of claim 13, wherein each initial neural network block does not include any attention layer.

### Claim 16 (depends on 13)

The method of claim 13, wherein the one or more intermediate neural network blocks comprise a first intermediate neural network block followed by a second intermediate neural network block, and wherein:
the first intermediate neural network block is configured to process a first intermediate block input having a first lower dimensionality to generate a first intermediate block output based on applying the convolution operation and a cross-attention operation to the first intermediate block input; and
the second intermediate neural network block is configured to process a second intermediate block input having a second lower dimensionality to generate a second intermediate block output based on applying the convolution operation, the cross-attention operation, and a self-attention operation to the second intermediate block input.

### Claim 17 (depends on 16)

The method of claim 16, wherein the second lower dimensionality is lower than the first lower dimensionality.

### Claim 18 (depends on 13)

The method of claim 13, wherein applying the attention operation comprises applying the attention operation over keys and values that have been generated using a same projection matrix.

### Claim 19 (depends on 13)

The method of claim 13, wherein applying the attention operation comprises applying a ReLU activation function to generate an output of the attention operation.

### Claim 20

One or more non-transitory computer storage media storing instructions that when executed by one or more computers cause the one or more computers to implement a diffusion model neural network that generates a data item by performing a denoising process, wherein the diffusion model neural network comprises one or more initial neural network blocks followed by one or more intermediate neural network blocks followed by one or more final neural network blocks, and wherein:
each initial neural network block is configured to process an initial block input having a higher dimensionality to generate an initial block output based on applying a convolution operation to the initial block input;
each intermediate neural network block is configured to process an intermediate block input having a lower dimensionality that is lower than the higher dimensionality to generate an intermediate block output based on applying the convolution operation and an attention operation to the intermediate block input; and
each final neural network block is configured to process a final block input having the higher dimensionality to generate a final block output based on applying the convolution operation to the final block input.
