Papers › Latte: Latent Diffusion Transformer for Video Generation

Latte: Latent Diffusion Transformer for Video Generation

5 Jan 2024arXiv:2401.03048archive 2025-07-28

Xin Ma, Yaohui Wang, Gengyun Jia, Xinyuan Chen, Ziwei Liu, Yuan-Fang Li, Cunjian Chen, Yu Qiao

We propose a novel Latent Diffusion Transformer, namely Latte, for video generation. Latte first extracts spatio-temporal tokens from input videos and then adopts a series of Transformer blocks to model video distribution in the latent space. In order to model a substantial number of tokens extracted from videos, four efficient variants are introduced from the perspective of decomposing the spatial and temporal dimensions of input videos. To improve the quality of generated videos, we determine the best practices of Latte through rigorous experimental analysis, including video clip patch embedding, model variants, timestep-class information injection, temporal positional embedding, and learning strategies. Our comprehensive evaluation demonstrates that Latte achieves state-of-the-art performance across four standard video generation datasets, i.e., FaceForensics, SkyTimelapse, UCF101, and Taichi-HD. In addition, we extend Latte to text-to-video generation (T2V) task, where Latte achieves comparable results compared to recent T2V models. We strongly believe that Latte provides valuable insights for future research on incorporating Transformers into diffusion models for video generation.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.03048")

Code

Syntology Ran 10 of 13 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

maxin-cn/Latte officialmentioned on GitHubpytorchApache-2.0 report
showlab/FAR mentioned on GitHubpytorch report
vchitect/latte mentioned on GitHubpytorchApache-2.0 report
mindspore-lab/mindone mindsporenot reachable when probed 2026-09-17 — repositories for recent papers often appear after camera-ready report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 10 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
7ran
3unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from maxin-cn/Latte. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

clip_grad_norm_ maxin-cn/Latte/utils.py official repository ran Apache-2.0 (permissive) · 72ee7e991255ed28 · report
create_logger maxin-cn/Latte/train_pl.py official repository ran Apache-2.0 (permissive) · ea2dc93d273c536c · report
get_2d_sincos_pos_embed maxin-cn/Latte/models/latte.py official repository ran · honoured contract Apache-2.0 (permissive) · c92c27c924b517e8 · report
get_experiment_dir maxin-cn/Latte/utils.py official repository ran Apache-2.0 (permissive) · f2b6bc25cb2bbec8 · report
get_filelist maxin-cn/Latte/datasets/ffs_datasets.py official repository ran fingerprinted Apache-2.0 (permissive) · 8c9a5a9b54bc8e33 · report
get_grad_norm maxin-cn/Latte/utils.py official repository ran Apache-2.0 (permissive) · 64900e821beadb4e · report
modulate maxin-cn/Latte/models/latte.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 03310bba324ae4fb · report
numpy2tensor maxin-cn/Latte/datasets/ffs_datasets.py official repository ran Apache-2.0 (permissive) · b76cb2065bce9c3e · report
temporal_sampling maxin-cn/Latte/datasets/ffs_datasets.py official repository ran fingerprinted Apache-2.0 (permissive) · 2ce6782a49b98214 · report
zero_module maxin-cn/Latte/models/utils.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 129b804760b3115f · report
checkpoint maxin-cn/Latte/models/utils.py official repository unverified Apache-2.0 (permissive) · 6fe195fcfd10e259 · report
get_1d_sincos_temp_embed maxin-cn/Latte/models/latte.py official repository unverified Apache-2.0 (permissive) · c8dc321d086803c8 · report
timestep_embedding maxin-cn/Latte/models/utils.py official repository unverified Apache-2.0 (permissive) · 319f00691ca1b97c · report

Tasks

Text-to-Video GenerationVideo Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPECLIPDense ConnectionsDiffusionDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections