# US 2025/0061548 A1 · Hybrid sampling for 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/0061548 A1
- Document ID: US20250061548A1
- Status: Published application
- Kind: A1
- Application number: 18/452,150
- Filed: 2023-08-18
- Published: 2025-02-20
- Earliest claimed: 2023-08-18
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Difan Liu; Siddharth Iyer; Ryan Joe Murdock
- Web page: https://patentgrep.com/patent/US20250061548A1

## CPC

- G06T 5/70: Denoising; Smoothing
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/60: using machine learning, e.g. neural networks
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Systems and methods for generating images using hybrid sampling include obtaining a noisy image and generating a first denoised image during a first reverse diffusion phase using a diffusion neural network. The first denoised image is generated based on a first sampler that uses a first sampling density during at least a portion of the first reverse diffusion phase. Subsequently, a second denoised image is generated based on the first denoised image during a second reverse diffusion phase using the diffusion neural network. The second denoised image is generated based on a second sampler that uses a second sampling density different from the first sampling density during at least a portion of the second reverse diffusion phase.

## Claims

### Claim 1

A method comprising:
obtaining a noisy image;
generating a first denoised image based on the noisy image during a first reverse diffusion phase using a diffusion neural network, wherein the first denoised image is generated based on a first sampler that uses a first sampling density during at least a portion of the first reverse diffusion phase; and
generating a second denoised image based on the first denoised image during a second reverse diffusion phase using the diffusion neural network, wherein the second denoised image is generated based on a second sampler that uses a second sampling density different from the first sampling density during at least a portion of the second reverse diffusion phase.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the first sampler uses a first sampling density during at least a portion of the first reverse diffusion phase, the second sampler uses a second sampling density during at least a portion of the second reverse diffusion phase, and wherein the first sampling density is greater than the second sampling density.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the first sampler is based on a denoising diffusion implicit model (DDIM) and the second sampler is based on a diffusion probabilistic model (DPM).

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the first sampler is based on a lower order differential equation solver and the second sampler is based on a higher order differential equation solver.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
injecting noise during each iteration of the first reverse diffusion phase.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
refraining from injecting noise during each iteration of the second reverse diffusion phase.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
generating a third denoised image based on the second denoised image during a third reverse diffusion phase using the diffusion neural network, wherein the third denoised image is generated based on a third sampler.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
refraining from injecting noise during the third reverse diffusion phase.

### Claim 9 (depends on 7)

The method of claim 7, wherein:
the third sampler is based on a DDIM.

### Claim 10 (depends on 7)

The method of claim 7, wherein:
the third sampler is based on a lower order differential equation solver and the second sampler is based on a higher order differential equation solver.

### Claim 11 (depends on 7)

The method of claim 7, wherein:
the first sampler uses a first sampling density during at least a portion of the first reverse diffusion phase, the third sampler uses a third sampling density during at least a portion of the third reverse diffusion phase, and wherein the first sampling density is greater than the third sampling density.

### Claim 12

A method comprising:
obtaining a noisy image;
generating a first denoised image based on the noisy image during a first reverse diffusion phase using a diffusion neural network;
injecting noise into the first denoised image during the first reverse diffusion phase; and
generating a second denoised image based on the first denoised image and the noise injection from the first reverse diffusion phase, wherein the second denoised image is generated during a second reverse diffusion phase using the diffusion neural network without injecting noise during the second reverse diffusion phase.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
identifying a diffusion time step during the first reverse diffusion phase; and
removing noise from the noisy image based on the diffusion time step using a first sampler to obtain the first denoised image, wherein the first sampler operates based on the noise injection.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
identifying an additional diffusion time step during the first reverse diffusion phase; and
removing noise at the additional diffusion time step using the first sampler.

### Claim 15 (depends on 12)

The method of claim 12, further comprising:
identifying a diffusion time step during the second reverse diffusion phase; and
removing noise from the noisy image based on the diffusion time step using a second sampler to obtain the second denoised image, wherein the second sampler operates without noise injection.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
identifying an additional diffusion time step during the second reverse diffusion phase; and
removing noise at the additional diffusion time step using the second sampler.

### Claim 17

An apparatus comprising:
at least one processor;
at least one memory including instructions executable by the processor;
the apparatus further comprising a diffusion neural network comprising parameters stored in the at least one memory, wherein the diffusion neural network is configured to compute noise of a noisy image;
a first sampler configured to remove noise based on an output of the diffusion neural network during a first reverse diffusion phase; and
a second sampler configured to remove noise based on an output of the diffusion neural network during a second reverse diffusion phase.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein:
the first sampler injects noise during the first reverse diffusion phase, and the second sampler does not inject noise during the second reverse diffusion phase.

### Claim 19 (depends on 17)

The apparatus of claim 17, further comprising:
a third sampler configured to remove noise based on an output of the diffusion neural network during a third reverse diffusion phase.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein:
the diffusion neural network comprises a U-net architecture.
