# US 2026/0073692 A1 · Positional embedding and training techniques for a diffusion model

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

- Number: US 2026/0073692 A1
- Document ID: US20260073692A1
- Status: Published application
- Kind: A1
- Application number: 18/930,681
- Filed: 2024-10-29
- Published: 2026-03-12
- Earliest claimed: 2024-09-11
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Jianming Zhang; Zhifei Zhang; Wei-An Lin; Hao Tan
- Web page: https://patentgrep.com/patent/US20260073692A1

## CPC

- G06T 11/00: Two-dimensional [2D] image generation
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/094: Adversarial learning
- G06T 5/60: using machine learning, e.g. neural networks
- G06T 5/70: Denoising; Smoothing
- G06T 7/20: Analysis of motion (motion estimation for coding, decoding, compressing or decompressing digital video signals H04N19/43, H04N19/51)
- G06V 10/82: using neural networks
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

The present disclosure relates to systems, methods, and non-transitory computer-readable media that generates spatial-temporal positional encodings. For example, the disclosed systems generate a noised token from adding noise to an embedding of a frame of a video. Moreover, the disclosed systems generate a spatial embedding for a token using a centered two-dimensional coordinate map. Further, the disclosed systems generate temporal embeddings for the token from a timestamp of the token in the video. Further, the disclosed systems generate a denoised token by removing noise from the noised token according to spatial-temporal positional encodings that include the spatial embedding and the temporal embedding via a diffusion model. Additionally, the disclosed systems modify parameters of the diffusion model based on a comparison of the denoised token and the token.

## Claims

### Claim 1

A non-transitory computer-readable medium comprising instructions that, when executed by at least one processor, cause the at least one processor to perform operations comprising:
generating, from a video, a noised token based on adding noise to an embedding of a frame of the video;
generating, utilizing a centered two-dimensional coordinate map, a spatial embedding for the noised token of a sequence of tokens to index a location of the noised token within the frame from which the noised token was generated;
generating a temporal embedding for the noised token of the sequence of tokens from a timestamp;
generating, utilizing a diffusion model, a denoised token by denoising the noised token according to spatial-temporal positional encodings comprising the spatial embedding and the temporal embedding; and
modifying parameters of the diffusion model based on the denoised token.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein generating the spatial embedding for the noised token comprises:
transforming, utilizing a first positional encoding function, the noised token to a x-dimension; and
transforming, utilizing a second positional encoding function, the noised token to a y-dimension.

### Claim 3 (depends on 2)

The non-transitory computer-readable medium of claim 2, further comprising assigning the noised token on the centered two-dimensional coordinate map based on the x-dimension and the y-dimension of the noised token to generate the spatial embedding for the noised token.

### Claim 4 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein generating the temporal embedding comprises:
determining the timestamp for the frame of a sequence of frames of the video;
determining an inverse timestamp for the frame of the sequence of frames of the video; and
generating the temporal embedding for the noised token based on the timestamp and the inverse timestamp.

### Claim 5 (depends on 1)

The non-transitory computer-readable medium of claim 1, further comprising generating the spatial-temporal positional encodings by:
generating an encoding that indicates a x-dimension, a y-dimension, a timestamp and an inverse timestamp;
wherein the timestamp indicates a temporal position of the frame of a sequence of frames of the video; and
wherein the inverse timestamp indicates a difference in a total length of the video and the temporal position of the frame of the sequence of frames of the video.

### Claim 6 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein generating the noised token comprises:
generating, utilizing an encoder, the embedding of the frame of a sequence of frames;
adding noise to the embedding of the frame of the sequence of frames; and
generating, utilizing a tokenization model to process the embedding with the added noise, the noised token by breaking down the frame into a series of image patches, wherein the noised token comes from an image patch of the series of image patches.

### Claim 7 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein modifying the parameters of the diffusion model comprises:
generating, utilizing a detokenization model to process the denoised token, a denoised embedding;
comparing the denoised embedding with the embedding of the frame of the video to determine a measure of accuracy; and
modifying the parameters of the diffusion model based on the measure of accuracy.

### Claim 8 (depends on 1)

The non-transitory computer-readable medium of claim 1, further comprising generating, from an additional video, a plurality of subsets of frames of a sequence of frames, wherein a subset of frames comprises a key-frame block and a set of motion blocks.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, further comprising:
generating, for the key-frame block, an additional noised token, additional spatial-temporal positional encodings, and a first block-specific token; and
generating, for a motion block of the set of motion blocks, the additional noised token, the additional spatial-temporal positional encodings, and a second block-specific token, wherein the key-frame block and the motion block share the additional noised token and the additional spatial-temporal positional encodings but are distinguished from one another with a block-specific token.

### Claim 10

A system comprising:
one or more memory devices; and
one or more processors coupled to the one or more memory devices that cause the system to perform operations comprising:
receiving a video generation request;
generating noised tokens and spatial-temporal positional encodings for the video generation request;
generating, utilizing a diffusion model, denoised tokens by removing noise from the noised tokens according to the spatial-temporal positional encodings; and
generating, utilizing a decoder, a video from the denoised tokens.

### Claim 11 (depends on 10)

The system of claim 10, wherein generating the spatial-temporal positional encodings comprises generating, utilizing a centered two-dimensional coordinate map, a spatial embedding for a noised token to index a location of the noised token within a frame from which the noised token was generated, wherein the centered two-dimensional coordinate map incorporates video attributes, and the video attributes comprise an aspect ratio of the video.

### Claim 12 (depends on 10)

The system of claim 10, wherein generating the spatial-temporal positional encodings comprises:
generating a temporal embedding for a noised token based on a timestamp and an inverse timestamp of the noised token; and
generating the spatial-temporal positional encodings by combining a spatial embedding and a temporal embedding.

### Claim 13 (depends on 10)

The system of claim 10, wherein:
receiving the video generation request comprises generating, utilizing an encoder, prompt tokens for the video generation request; and
generating the denoised tokens comprises processing, utilizing the diffusion model, the prompt tokens, the noised tokens, and the spatial-temporal positional encodings to generate the denoised tokens.

### Claim 14 (depends on 10)

The system of claim 10, wherein generating the video comprises:
receiving the video generation request comprising a visual prompt;
generating, utilizing an encoder, visual tokens for the visual prompt;
processing, utilizing the diffusion model, the visual tokens, the noised tokens, and the spatial-temporal positional encodings to generate the denoised tokens; and
generating the video from the denoised tokens, wherein the video includes a digital image from the visual prompt.

### Claim 15 (depends on 10)

The system of claim 10, wherein generating the video comprises generating the video in accordance with video attributes indicated by the spatial-temporal positional encodings, a text prompt of the video generation request, and a visual prompt of the video generation request.

### Claim 16

A computer-implemented method comprising:
generating, from a video, an embedding of a frame of the video;
generating a noised token from the embedding by adding noise to the embedding and further tokenizing the embedding;
generating, utilizing a centered two-dimensional coordinate map, a spatial embedding for the noised token to index a location of the noised token within the frame from which the noised token was generated;
generating a temporal embedding for the noised token from a timestamp of the noised token in the video;
generating, utilizing a diffusion model, a denoised token by removing noise from the noi sed token according to a block specific embedding for the noised token and spatial-temporal positional encodings comprising the spatial embedding and the temporal embedding; and
modifying parameters of the diffusion model based on the denoised token.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, wherein generating the spatial embedding comprises:
generating the spatial embedding for a subset of noised tokens corresponding to a subset of frames of a sequence of frames from the video, wherein each frame of the subset of frames is assigned the spatial embedding; and
generating the block specific embedding for the noised token of the subset of noised tokens, wherein the noised token within the subset of noised tokens is distinguished from other noised tokens within the subset of noised tokens by the block specific embedding.

### Claim 18 (depends on 16)

The computer-implemented method of claim 16, wherein generating the temporal embedding comprises generating the temporal embedding for a subset of noised tokens corresponding to a subset of frames of a sequence of frames from the video, wherein each frame of the subset of frames is assigned the temporal embedding.

### Claim 19 (depends on 16)

The computer-implemented method of claim 16, further comprising:
generating an additional block specific embedding for an additional noised token of a subset of noised tokens corresponding to a subset of frames from the video; and
generating an additional denoised token from the additional noised token, the spatial-temporal positional encodings, and the additional block specific embedding for the additional noised token.

### Claim 20 (depends on 16)

The computer-implemented method of claim 16, wherein modifying parameters of the diffusion model based on the denoised token comprises:
generating, utilizing a detokenization model, a denoised embedding from the denoised token;
comparing the denoised embedding with the embedding to determine a measure of accuracy; and
modifying parameters of the diffusion model based on the measure of accuracy.
