Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity
Paper · 2025 · Haocheng Xi, Shuo Yang, Yilong Zhao et al.
Summary
Making a video with diffusion requires repeated updates to a representation that starts out noisy. Each update can use information from anywhere in the clip, which helps the generator assemble a scene and keep it coherent over time. That flexibility is expensive. The longer the representation gets, the more places there are both to ask for information and to supply it. Sparse VideoGen asks how much of this all-to-all work a video diffusion transformer actually needs.
The authors find that attention often concentrates along either of two directions. An attention head, one of the components that mixes information from different positions, may draw mainly on the frame it is processing and a few neighboring frames. Another may gather information from matching locations throughout the clip. The paper calls these spatial and temporal patterns. A head’s behavior can change during denoising or when the input changes, so Sparse VideoGen makes the choice during generation. It tests both patterns on randomly selected query rows, checks which gives an output closer to full attention for those rows, and runs the winning pattern for the head. The generator’s pretrained weights are reused without further training.
Temporal attention poses a second problem. A sequence laid out one frame at a time scatters the tokens needed for a comparison across many memory locations. Sparse VideoGen groups tokens by their position within a frame, so the representations of a location at different times become neighbors in memory. The GPU can then work on compact blocks and skip the blocks outside the selected pattern. This rearrangement preserves the selected comparisons and makes their lower arithmetic cost translate into shorter execution time.
According to the paper, the end-to-end speedup reaches a factor of 2.28× for CogVideoX-v1.5, 2.33× for HunyuanVideo, and a factor of 1.51 for Wan 2.1. In its detailed HunyuanVideo example, generation of a 5.3-second clip at 720p takes 968 seconds with Sparse VideoGen, compared with 2253 seconds with full attention. According to the authors, the mean peak signal-to-noise ratio is 29.99 for CogVideoX-v1.5 text-to-video generation and an average above 29.55 for HunyuanVideo in its main quality evaluation. Those scores describe fidelity to the dense-attention versions of the videos. A separate test on a subset of VBench finds that inspecting 1% of the query rows yields generation quality comparable to inspecting every row. The experiments thus test both whether the comparisons can be dropped with limited changes to the output and whether the retained comparisons can be executed efficiently enough to shorten a full generation run.
Deep dive: Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity
Sparse VideoGen speeds up video diffusion by choosing which attention comparisons to keep and grouping them for efficient GPU execution. · about 35 minutes to read
The problem and its context
A video gives attention two dimensions of context
A diffusion generator makes successive adjustments to an internal representation before decoding it into visible output. For text-to-video generation, a written description guides that process. Image-to-video generation also uses a starting image. The operation studied in this paper runs inside the network that makes the adjustments. Its input includes a sequence of tokens, which are vectors representing positions in the compressed video. Each such position has a location within a frame and a frame number within the clip.
The paper traces the architecture back to image diffusion. Scalable Diffusion Models with Transformers illustrates the use of a transformer for the denoising computation. In the video applications discussed by the authors, attention extends from positions in an image to positions throughout a video. A region in one frame can use information from elsewhere in that frame or from another point in time. The authors refer to this as full attention over space and time, or 3D full attention. The dimensions are the spatial axes and the time axis of the video representation.
An attention head receives a query for each position whose representation it is updating. The available positions each supply a key for comparison and a value that carries information. The head uses the query and keys to determine how strongly the values contribute to its output. Several heads can do this in parallel, using different representations of the same input. That gives separate heads room to emphasize different relationships. The paper takes advantage of this division of labor by asking which comparisons each head can safely omit.
A convenient way to picture attention is as a map with queries down one side and keys along the other. A cell represents the connection between the query at its row and the key at its column. Full attention considers the entire map. High weights can still occupy only a few regions of the map, even when the calculation includes every cell. Sparse attention takes advantage of that concentration by giving a query access to a selected part of the context. The opportunity is to avoid computing interactions whose combined effect on the output is small.
Video makes the size of the map a pressing concern. Raising resolution can increase the number of tokens in each frame. Lengthening the clip can increase the number of frames represented. Either change gives each row more keys to compare and adds more rows that need an answer. The work grows quadratically with sequence length because both dimensions of the attention map grow together. The generator incurs this cost during successive denoising updates, even though the representation at an early update can differ substantially from the representation near the end.
These interactions serve related purposes. Information from different parts of a frame can help the network keep the local scene organized. Information from different times can help maintain the appearance of a subject or scene as the clip develops. A cheaper attention calculation has to preserve enough of both. The question is whether every head needs the same breadth of access, or whether some heads already draw most of their useful information from a recognizable part of the map.
The cost shows up in generation latency
The paper’s motivating runtime breakdown reports that attention occupies 51% of latency for CogVideoX-v1 at a context length of 17k. For CogVideoX-v1.5 at 45k, it occupies 73%. In the HunyuanVideo breakdown with a context length of 120k, the share can exceed 80%. The introduction also describes a HunyuanVideo run on an NVIDIA A100 that takes almost an hour to generate a 5-second video. These profiles concern different configurations. They illustrate how much of generation time can be spent on attention once a workload has a long video sequence.
A large latency share makes attention an attractive target, but removing a comparison on paper and saving time on a GPU are different measurements. The GPU has machinery for doing groups of matrix operations in parallel. A calculation with many surviving interactions packed into compact regions can make good use of that machinery. A calculation with the same number of surviving interactions scattered across memory can spend more time finding and assembling its inputs. The authors therefore treat the shape of the retained regions as part of the problem of GPU parallel computing.
There is also a cost to discovering what can be skipped. Looking at every dense attention result would give the method plenty of information about which parts matter. The system would already have paid for the operation it wanted to avoid. At the other extreme, assigning a mask to each head ahead of time would make selection cheap, but would count on that head behaving similarly for different inputs and at different stages of denoising. The paper’s approach is motivated by the need to make a fresh decision cheaply and in a form the hardware can execute.
Earlier work changes the schedule, the arithmetic, or the system
The paper reviews techniques that shorten the process of denoising itself. Some approaches to diffusion use stochastic differential equations to describe the evolution of noisy data. In the authors’ account, this line of work gives rise to sampling procedures that can require many updates. DDIM brings an ordinary differential equation formulation into the discussion. Subsequent work studies more efficient sampling paths or numerical solvers, including the approach based on rectified flow. Advancing the state in fewer updates can save every operation inside the updates that are removed. Denoising Diffusion Implicit Models · Flow Straight and Fast
The related work also describes training procedures that consolidate several denoising operations into fewer updates. Consistency-based approaches build this objective into training, while distillation uses a more expensive generator to teach one designed to run in fewer steps. The authors emphasize the cost of additional training for video systems. Their own question concerns the work inside an attention call in an already trained generator. This places their intervention at a different level from deciding how many updates a clip needs. Latent Consistency Models
Other methods reduce the cost of representing or processing the data within an update. A more compressive autoencoder can give the denoising network a smaller representation to handle. An efficient architecture can change the operations the network performs. Quantization represents values at lower numerical precision. The paper discusses examples that compress weights or activations and work that applies low precision directly to attention. A smaller representation changes how many positions enter the computation, while low precision changes the cost of processing the interactions that the system uses.
The system literature in the paper offers another set of possibilities. Dynamic batching groups inputs so the hardware can process them together, with a focus on throughput. Caching keeps intermediate results for reuse. The paper describes PAB as storing features and broadcasting them at intervals across denoising, and discusses other approaches that look for similar inputs or reusable conditional and unconditional outputs. In these cases, reuse is valuable to the extent that an available result can stand in for a fresh calculation. The attention approximation studied here computes with current inputs and reduces the context considered in that calculation.
These lines of work address different sources of cost. Reducing the number of updates can save calls to attention. Quantization can reduce the cost of arithmetic within a call. Caching can remove particular computations when suitable results are available. The paper also discusses linear attention, which changes the calculation to obtain linear rather than quadratic dependence on sequence length. Sparse VideoGen keeps the attention operation over a smaller set of pairs. The choice of pairs, and how to run the resulting operation, are therefore central to what it has to establish.
What the authors draw from sparse attention on text
The paper cites evidence that attention on text can concentrate on a small set of influential tokens. Streaming approaches exploit attention to positions near the beginning of the sequence or near the current location. Heavy-hitter methods identify tokens that repeatedly account for substantial attention. Query-aware methods use the current question posed by a head to guide the choice of keys. These examples establish that the set of available positions can greatly exceed the set that contributes most of the information. H₂O · Quest
Some of the earlier work also distinguishes among heads. The paper discusses DuoAttention and MInference as examples of attention systems that find different patterns in separate heads. Other cited work looks for similarities in attention across layers. Head-specific behavior makes a single uniform mask an empirical choice that needs justification. It gives the authors reason to investigate different kinds of concentration within the same video generator. DuoAttention · MInference
A flattened video sequence has an extra property that matters for that investigation. Separation in the sequence may tell little about separation within the scene. Two tokens can represent exactly the same location in successive frames and still have a full frame’s worth of sequence positions between their starting indices. Conversely, a long uninterrupted stretch of the sequence may cover an entire frame and contain many different locations at the same time. A rule based on nearby sequence positions favors one relation. A rule based on the geometry of the video can express either relation. The authors’ analysis starts by examining which of these arrangements the attention heads already favor.
The method, step by step
Read the sequence as position within frame and frame within clip
The tested generators compress video with a spatiotemporal variational autoencoder, abbreviated VAE. Attention operates on this compressed representation. A frame in the method is therefore a frame of that representation. Its tokens are arranged in a fixed order, after which the sequence continues with the next frame. The same spatial coordinate occurs once per frame at the same offset within that frame’s part of the sequence.
This arrangement gives the authors a way to interpret an attention map. Consider several queries that belong to the same frame. If they give substantial weight to keys in the same frame or in neighboring frames, the emphasized rows and columns both occupy contiguous spans. Their intersections form rectangular regions. Now consider queries that prefer to gather information from a particular location in other frames. Along each query row, the keys at that location recur at regular intervals. As the query position changes, the corresponding key positions shift with it. Viewed across many rows, the pattern can look like recurring diagonal strokes.
The paper calls the first behavior spatial and the second temporal. These names come from the organization of the useful context. A spatial head can gather from many different locations within a limited neighborhood of frames. Its reach across positions helps explain the authors’ association with the structure of a scene. A temporal head can gather from a limited set of locations through the frames. Its ability to connect corresponding regions over time motivates the authors’ association with temporal consistency.
These are tendencies observed in dense attention. To use them for acceleration, the authors define explicit masks, which specify the query–key pairs that a sparse calculation will retain. A spatial mask admits tokens from nearby frames. A temporal mask admits the tokens at corresponding or selected nearby positions through time, according to its spatial allowance. A head’s output is still a weighted combination of values. The mask constrains which values can enter that combination.
The authors also observe that prompt tokens and tokens from the first frame can draw substantial attention under either pattern. Both masks retain access to them. This shared allowance matters especially for reading the temporal mask. The video region that follows the repeated pattern is organized by locations across frames, and the attention output can still use the prompt and the first frame. A visualization of the repeated part of the mask captures only part of what the head sees.
In the authors’ analysis, both the input and the denoising step matter to the choice. A head that behaves spatially for one prompt can behave temporally for another. As the input representation changes during a single run, the preferred pattern can also change. The head retains its trained parameters through these decisions. Its current output supplies evidence about the mask that fits this use of the head.
Pattern selection and execution in Sparse VideoGen
The steps in order.
Choose a mask by comparing what the head returns
The authors first use a costly reference procedure to check whether the patterns are suitable. For a given head and denoising step, they calculate dense attention and the outputs obtained under both masks. They compare the two sparse outputs against the dense output using mean squared error, or MSE. This measure squares differences between corresponding output components and averages them. The mask with smaller error supplies the attention result used to continue the run.
This comparison takes place after the attention calculation has combined the values. An attention map can show where the weights concentrate, but the selector needs to know how much the restriction changes the vector returned to the next operation. The omitted keys may carry values whose contribution overlaps with what the retained keys already supply. Changing the allowable context can also change the relative weights of the surviving values. Checking the output against a dense calculation accounts for their combined effect on the quantity the rest of the network receives.
The procedure that checks every row serves as an oracle for the choice between the prescribed masks. In this usage, an oracle is a reference that has access to more information than is economical to obtain during ordinary generation. It can compare the candidate outputs over the entire head. Its decision is specific to the two masks, their configured widths, and MSE as the criterion. Implementing that decision literally requires computing the very dense result the accelerated path aims to avoid, along with both candidate results.
Sparse VideoGen replaces that exhaustive inspection with a random sample of query rows. The paper denotes the percentage selected by x. A query row represents one position requesting information. For a sampled query, the profiler evaluates full attention using the available key and value context, then evaluates each of the two restricted calculations for the same query. The sample determines which queries take part in this experiment. Each dense reference row still has access to the complete context for its query.
Using common rows is important. Each candidate is judged against the same dense outputs under the same current input. Otherwise, differences between sampled positions could influence which mask appears more accurate. The selected rows collectively give an estimate of how much each pattern changes the head’s output. Sparse VideoGen chooses the candidate with lower error on that estimate. The choice applies to the complete head calculation, including positions outside the sample.
The distinction between sampled rows and the complete output also explains why profiling can be cheap in relation to running all the variants. The method spends a small amount of work doing dense attention for selected queries, plus the work of trying the restricted alternatives on them. For the rest of the head, the role of the profiler is already finished. The chosen mask determines the set of keys used to answer each query. All the output positions needed by the network are still produced.
A sample can be informative because the choice concerns patterns that extend across groups of queries. A narrow spatial window and a set of corresponding locations across time are rules with repeatable structure. The profiler is deciding which rule is a better approximation for the head on this call. It can make that decision without estimating the importance of every individual interaction. The price of this simplification is that it selects a single pattern for the head under the current conditions. Queries within that head can have differing needs, which the selected mask still has to accommodate.
There is no separate training corpus or learned head classifier in the method. The reference for a decision is computed from the current query, key, and value representations. The mask widths and the profiling percentage are configuration choices. The benchmark prompts are used to evaluate generation and to study sensitivity to those choices. They serve a different purpose from the sampled rows used to make an individual decision. The authors released the Sparse VideoGen implementation under that name.
Count the work retained by each mask
The operation count begins with the video-token part of dense attention. It abstracts away the text and first-frame allowances that both patterns keep. It also abstracts away hardware execution and the work of choosing a pattern. Within those assumptions, the paper counts how frequently the query and key representations must interact and how much work goes into applying the resulting weights to values.
2 · 2 · (LN)² · H = 4L²N²H
Here L is the number of tokens per frame, N is the number of frames, and H is the hidden dimension used in the count. The product LN gives the length of the video-token sequence. The exponent ² squares that length because queries and keys both range over the sequence. The factors of 2 account for the score and value products and for the multiplication and addition counted in the arithmetic. The 4 combines those factors. A centered dot or juxtaposition denotes multiplication, parentheses group terms, and the equals sign gives equivalent forms of the dense cost.
For the spatial pattern, the natural unit of the calculation is a pair of frames. Each query frame interacts with a limited number of key frames. Within an allowed frame pair, tokens from the query frame can use tokens from the key frame. The formula counts unrestricted interactions within those retained groups and uses the admitted frame count to determine how many groups there are.
(2 · 2 · L²H) · cₛN
L again gives tokens per frame, H is the hidden dimension, and N is the number of frames supplying queries. cₛ counts the nearby frames admitted for each query frame, with ₛ identifying the spatial setting. The square L² counts token pairs within an allowed frame pair. The factors of 2 retain the meanings they had in the dense estimate. The centered dots and juxtaposition indicate products, and the parentheses enclose the work counted per allowed frame pair.
The paper expresses the spatial cost as a fraction of the dense cost.
cₛ / N
cₛ is the spatial frame allowance, N is the total number of frames, and / denotes division. This fraction is the paper’s spatial sparsity measure in the theoretical calculation. It measures retained work. A decrease in the quantity means the mask permits a smaller share of the original set of interactions.
For the temporal pattern, the roles of the axes change. Start with a query location within a frame. The mask allows a limited set of key locations, each represented throughout the clip. Once a location pair is admitted, its interactions extend across frames. The estimate counts the frame pairs available for each allowed spatial pair.
(2 · 2 · N²H) · cₜL
N is the frame count, H is the hidden dimension, and L gives the number of query locations in a frame. cₜ is the number of key locations admitted for each query location, with ₜ identifying the temporal setting. N² counts the pairs of frames for each admitted pair of locations. The factors of 2 again account for both attention products and the arithmetic used in them. The parentheses group the work for an admitted location pair, and the dots and juxtaposition multiply the factors.
The retained fraction for this calculation uses the size of a frame as its denominator.
cₜ / L
cₜ gives the allowance of spatial token positions for the temporal mask, L is the frame’s token count, and / denotes division. The two fractions reveal different ways to adjust the computation. The spatial allowance changes the range of times a query can use. The temporal allowance changes the range of positions it can use through time. Both change the number of interactions the kernel must evaluate.
The paper uses these counts to reason about settings with roughly 30% retained work for the principal evaluations. The formulas describe idealized attention arithmetic over video tokens. They omit the shared prompt and first-frame allowance because the authors treat it as small for the purpose of that analysis. Whether the measured attention call follows the arithmetic estimate depends on the execution of the retained interactions and the extra work involved in preparing them. That is where the original layout poses the largest problem for the temporal pattern.
Put the temporal groups next to each other in memory
In the frame-by-frame order of the input, a collection of tokens from the same frame is a compact region. A spatial mask can use such regions as the basis of blocks of query–key interactions. For a temporal mask, the relevant positions are spread along the sequence at a stride of L, meaning that successive occurrences of a location are spaced one frame’s token count apart. A rectangle in the original attention layout can then contain a mixture of useful temporal entries and a much larger area of comparisons that the mask is meant to omit.
The authors discuss this issue in terms of NVIDIA Tensor Cores. These units perform matrix multiplication on small tiles. The paper describes a requirement of at least 16 contiguous elements in each dimension for the case it considers. When the temporal interactions fall along regularly spaced strokes, the data needed for them arrive from dispersed positions. The implementation can lose much of the benefit of dropping arithmetic if it cannot present the remaining work as suitably compact tiles.
Sparse VideoGen transposes the frame and within-frame position axes for temporal attention. Before the change, the sequence passes through the locations of a frame before advancing in time. After the change, it passes through the frames for a location before advancing to the next location. A group that previously required jumping over parts of the sequence now appears together. The corresponding regions in the attention map can be represented as blocks that the sparse kernel knows how to process.
The transformation changes the placement of entries and preserves the identities of the retained pairs. Consider a query at a particular location and time and a key at the same location in another frame. Their indices move under the new order. When the query positions, key and value positions, and mask are interpreted consistently, the same query and key still interact. The resulting output vector belongs to the same query as before. In exact arithmetic this is a rearrangement of the masked operation. The comparison with dense attention concerns the effects of the mask itself.
A block-sparse kernel uses this organization to skip whole regions of the calculation. Inside a retained region, operations can be handled with the regularity of matrix multiplication. The larger arrangement specifies which regions have to be processed. Grouping the temporal data aligns those levels of organization: the mask has a reason to keep a particular group, and the hardware sees the group in an order suited to executing it. The rearrangement has a runtime cost of its own, so the authors also test whether it pays off in practice.
The prototype uses Triton for fused profiling and layout kernels. Fusion combines related operations in the implementation. The authors use a block-sparse attention kernel with FlashInfer to execute the selected mask. The logic of the profiler gives the kernel a choice between known geometries, making the layout change specific to the temporal case it is designed to serve.
Address the smaller operations around attention
The paper also customizes QK-norm and RoPE. QK-norm is normalization applied to the query and key representations. RoPE, or rotary position encoding, applies transformations to those representations so that position can affect the attention calculation. These operations are part of the path surrounding the attention products. The authors report that existing implementations expose limited parallelism at small head dimensions, citing the dimension of 64 used in CogVideoX-v1.5.
The customized CUDA kernels use sub-warp reductions. A warp is a group of GPU threads that execute together, and a reduction combines several inputs into an aggregate. Working within a smaller group of threads gives the implementation a way to organize the calculation for short vectors. The paper times these operations separately from the attention kernel. This matters to the overall design because a faster attention kernel can change which pieces of the surrounding workload account for the remaining latency.
The authors also implement a block-sparse attention kernel that supports FP8, a low-precision floating-point format. In that variant the mask determines which pairs to compute, and the numerical format determines the precision used for the retained work. Combining these changes can reduce cost at both levels. The usefulness of the precision change depends on the dimensions and execution characteristics of the workload, so the experiment distinguishes the quantized configuration from the main sparse-attention configuration.
Experiments and results
Match each result to its generation workload
The main comparisons cover image-to-video and text-to-video generation with CogVideoX-v1.5 and text-to-video generation with HunyuanVideo. The benchmark generates 720p videos. For CogVideoX-v1.5, the sequence after the VAE contains 11 frames of 4080 tokens each. HunyuanVideo uses 33 frames with 3600 tokens per frame. These are the dimensions seen by attention after compression. The workloads differ in how much context comes from positions within each frame and how much comes from the number of frames. CogVideoX · HunyuanVideo
For the primary CogVideoX-v1.5 tests, the authors use VBench prompts with the prompt optimization suggested by CogVideoX. The main HunyuanVideo benchmark uses prompts from the Penguin Video Benchmark released by HunyuanVideo. VBench also supplies data for separate tests discussed in the paper, including a HunyuanVideo sensitivity test. A result for HunyuanVideo can therefore refer to different prompt collections depending on the experiment. The primary quality averages and the mask-width sensitivity measurements should be read with their respective data settings.
The Sparse VideoGen configurations use a spatial allowance of 4 frames and a temporal allowance of 1224 tokens for CogVideoX-v1.5. For HunyuanVideo, the allowances are 10 frames and 1200 tokens. The paper characterizes these choices as roughly 30% sparsity for each pattern. Its convention is the fraction of work kept under the simplified attention analysis. The main benchmark uses these preset allowances while the profiler chooses the type of mask during the run.
Dense generation supplies the fidelity reference. The acceleration comparisons include DiTFastAttn, which the authors treat as resembling the spatial pattern alone. They add a Temporal-only implementation to test the other geometry as a uniform rule. MInference represents a separate approach to sparse pattern selection, with its official settings. PAB represents feature caching, also with its official settings. The alternatives therefore cover different ways to avoid computation while continuing to produce a video from the same generation pipeline.
The setup says the baseline acceleration methods skip the initial 25% of denoising steps because previous work treats these updates as critical for quality. The steps remain part of generation, with the acceleration intervention held back during that part of the schedule. The paper also states that the baselines use FlashAttention-2. The end-to-end timing platform is an H100-80GB-HBM3 with CUDA 12.4. This is the platform for the comparative measurements. The introduction’s separate A100 example serves to describe the practical scale of the original bottleneck.
Measure fidelity to dense output and qualities of the video
Peak signal-to-noise ratio, or PSNR, is a measure of numerical agreement between the accelerated output and its dense reference. Larger discrepancies in pixel values reduce the score. A higher PSNR therefore indicates closer reproduction of that particular dense output. If a subject appears in a slightly different position, or a texture is rendered differently, the change can affect this comparison even when either video makes sense as a response to the prompt.
Structural similarity, or SSIM, provides a comparison concerned with image structure. Learned perceptual image patch similarity, or LPIPS, measures perceptual distance in a learned representation, with lower values indicating closer agreement. The use of multiple measures allows the comparison to reflect differences that show up through different views of the images. A change in fine pixel detail and a change in the apparent structure of a scene can have different consequences for these scores.
The paper also uses VBench measures for imaging quality and subject consistency. The former concerns the visual output, while the latter concerns how consistently the video depicts its subject through time. These complement measures that compare accelerated and dense outputs. The fidelity scores answer how far the approximation moves the generation away from its reference. The VBench dimensions reflect particular properties of the generated clip. The experiments report both kinds of evaluation because acceleration can affect the visible result in several ways.
Time is also measured at more than one level. Floating-point operation counts represent the scale of the arithmetic. Kernel measurements time particular operations and can isolate parts of the implementation. End-to-end latency includes the complete clip generation and therefore reflects preparatory work, attention, and the rest of the pipeline. The paper’s principal speedups are end-to-end figures, with the kernel measurements used to explain why the system can achieve them.
The quality measurements favor the adaptive masks
In the main quality comparison, the authors report that Sparse VideoGen has better PSNR, SSIM, and LPIPS than the acceleration baselines. On the optimized VBench prompts for CogVideoX-v1.5 text-to-video, its average PSNR is 29.99. The paper also associates that average for CogVideoX-v1.5 text-to-video with a 31% retained-work setting for both head patterns. For HunyuanVideo in the main quality benchmark using Penguin prompts, average PSNR exceeds 29.55. The reported averages concern fidelity to dense generation under those conditions.
The authors connect part of the quality difference to the ability to keep the temporal pattern. Their explanation of MInference focuses on its mean-pooled block scores. A narrow group of important temporal entries can cross a block whose other entries receive little attention. Averaging over the block can then dilute the signal from the entries that matter. The failure mode follows directly from the arrangement of the video tokens: a meaningful relationship between locations over time can appear as a sparsely occupied diagonal region of the attention map.
The paper shows examples on CogVideoX-v1.5 image-to-video and HunyuanVideo text-to-video. In the comparisons with MInference, the authors identify blur in one output and inconsistency in the appearance of a tree trunk over time in another. The examples give a visual interpretation of the discrepancies that reference-based metrics can register. A blurred detail can change pixel agreement within a frame. A changing feature across frames can alter how coherently an object persists through the clip.
For PAB, the explanation concerns feature reuse. The operation can substitute a cached result for a computation on current inputs. The authors attribute the fidelity differences in that comparison to this substitution. Sparse VideoGen computes attention afresh over the admitted positions. The comparison with PAB consequently asks how two ways of saving work affect the output: using a prior result where reuse is allowed and evaluating a restricted operation on the current representations.
The paper also adds FP8 attention to Sparse VideoGen on HunyuanVideo. It reports a drop of 0.1 in PSNR and an efficiency gain of 1.3× with quantization. This is the change associated with adding the low-precision path to sparse attention. The authors omit FP8 from their CogVideoX-v1.5 evaluation because the head dimension of 64 limits arithmetic intensity and yielded no GPU speedup. Arithmetic intensity describes the amount of calculation relative to the data movement involved. This result confines the demonstrated additional gain from quantization to the workload that benefited.
From a faster attention call to a shorter generation run
The paper reports up to 2.28× end-to-end speedup on CogVideoX-v1.5. The opening comparison associates that figure with image-to-video generation. The efficiency discussion also reports 2.28× as an average speedup in its benchmark account. The clearest individual runtime example is the HunyuanVideo breakdown for a 5.3-second video rendered at 720p. The authors report 2253 seconds for dense generation and 968 seconds for the accelerated run, a 2.33× end-to-end speedup.
End-to-end latency in the HunyuanVideo timing run for a 5.3-second clip at 720p
Sparse VideoGen shortens the time from the start of generation to the finished clip.
The numbers
| System or setting | seconds |
|---|---|
| Full attention | 2253 |
| Sparse VideoGen (this paper) | 968 |
The breakdown credits sparse attention with the largest improvement among the design changes, reporting a 1.81× speedup for that contribution. This figure describes a stage of the runtime breakdown. The complete speedup reflects the attention replacement together with the other execution changes. The example is especially informative because it measures elapsed time for generation. Any preparation and remaining work that the complete pipeline requires is part of the comparison.
The authors also compare individual kernels with implementations used as references. For QK-norm and RoPE they use a CogVideoX-v1.5 configuration with 4080 tokens per frame and 96 heads, varying the number of frames in the benchmark. The reported average speedups over PyTorch are 7.4× for QK-norm and 15.5× for RoPE. The averages concern the operations in isolation. Their importance for a clip depends on the amount of total runtime those operations occupy, which is why the paper presents the complete run alongside the kernel results.
For block-sparse attention, the authors compare measured latency with the speedup expected from the retained operation count as the sparsity setting varies. They report that the customized kernel tracks the theoretical expectation more closely once the temporal layout is transformed. This ties the latency result to a specific part of the method: the useful token groups have to be arranged so the GPU can actually execute the reduced number of interactions efficiently. The layout comparison isolates that question under the HunyuanVideo configuration.
Wan 2.1 appears in the abstract with a reported end-to-end speedup factor of 1.51. The appendix illustrates dense and sparse outputs at 720p for its text-to-video and image-to-video modes. It also shows a HunyuanVideo text-to-video comparison. The illustrations give examples of appearance under the two attention paths. The detailed timing breakdown concerns HunyuanVideo, and the primary settings and benchmark discussion center on CogVideoX-v1.5 and HunyuanVideo. The Wan result establishes a reported gain and gives qualitative examples for another generator. Wan
What the ablations show
Changing the memory order while keeping temporal sparsity fixed
The formal ablation measures the sparse attention kernel under the HunyuanVideo configuration with and without the layout transformation. The same temporal pattern defines the work in both cases. In the original order, the tokens for a temporal group remain separated by the frame stride. In the transformed implementation, those tokens are packed together. This keeps the pattern’s nominal arithmetic comparable while changing the way the kernel encounters the data.
At the 10% sparsity setting, the paper reports a 1.7× advantage for the reordered implementation over the original sparse implementation and a 3.63× improvement in the kernel comparison. The first figure is the incremental gain from the layout change relative to the original sparse path. The second describes the resulting improvement in the comparison with the full computation. Both figures refer to the attention kernel under that setting. The clip-level figures account for a wider set of operations.
The authors find that the transformed layout follows the theoretical speedup more closely across the settings they test. That comparison gives the arithmetic estimate practical meaning. Reducing the number of eligible interactions helps when the surviving groups can be handled efficiently. The original sparse implementation already skips work, yet its measured improvement falls short of the estimate. The transformed implementation uses contiguity to capture more of the saving.
A useful feature of this ablation is that the effect on quality is conceptually distinct from the effect it measures. Selection of the temporal mask determines which information enters the output. The layout arranges the terms of that calculation. By timing both ways of executing the mask, the paper can examine the value of the rearrangement without relying on differences in the information allowed to reach a query.
Reducing the profiler’s sample
The sensitivity comparison for profiling changes the proportion of query rows used for the decision. The exhaustive procedure inspects the full set and provides a reference choice between the configured masks. With fewer sampled rows, the procedure still tests both masks against dense outputs, but constructs the comparison from a smaller view of the head. The question is whether the drop in evidence has a material effect after the selected masks are applied throughout generation.
On a random VBench subset with CogVideoX-v1.5, the authors report that using 1% of query rows gives generation quality comparable to profiling 100%. In the methodology discussion of CogVideoX-v1.5 image-to-video, the authors report up to 31.1 PSNR with the 1% setting and a profiling runtime overhead of 3% relative to full attention. The reported PSNR is for generated video, while the profiler uses mean squared error on head outputs. The test therefore connects the local selection criterion to the quality outcome it is intended to preserve.
The all-row investigation supplies a related result. In the motivation analysis on VBench, the paper reports PSNR over 29 for CogVideoX-v1.5 and HunyuanVideo when the mask is chosen using full output comparisons. This experiment asks whether the two mask families can preserve dense generation when the selector has ample evidence. The sampling comparison then asks whether using much less evidence leaves the resulting quality comparable in the CogVideoX-v1.5 sensitivity setup.
Comparable video quality can arise even when the sampled and exhaustive selectors sometimes disagree. If both masks yield similar outputs for a head, the consequences of selecting either may be small. If their outputs differ substantially, the quality outcome depends more on identifying the closer candidate. The reported experiment measures the result of accumulating these decisions during video generation. The frequency and distribution of exact head-by-head agreement remain open.
Varying the context each mask can use
A separate test varies the spatial and temporal allowances on a random subset of VBench with HunyuanVideo. This experiment changes the candidate masks themselves. Giving a spatial mask a larger allowance admits additional frames. Giving a temporal mask a larger allowance admits additional locations through the frames. These changes can alter the fidelity of the resulting output and the amount of work required to compute it.
The authors report an LPIPS of 0.154 at 13% sparsity in this HunyuanVideo sensitivity test. They observe that LPIPS decreases as the retained fraction increases. In the paper’s convention, a larger percentage means more attention work survives. The trend is consistent with adding comparisons that help the sparse generation stay closer to its dense counterpart. It provides evidence that the mask width remains a consequential setting even once the system can choose which type of mask to apply.
Sampling and mask width govern different parts of the decision. Increasing the sample gives the profiler more evidence about the same candidates. Increasing the width gives a candidate access to more of the original input. The sensitivity results thus identify distinct sources of error that can affect the output. One arises when a sample gives insufficient evidence for the better choice, and the other arises when the available candidates impose restrictions that matter to the generator.
What the uniform patterns add to the comparison
The spatial and Temporal-only baselines offer evidence about applying one geometry broadly. A spatial restriction prioritizes how regions within nearby frames relate to one another. A temporal restriction prioritizes how corresponding locations relate across the clip. Sparse VideoGen’s stronger fidelity results in the reported comparison support the authors’ case for making both forms of access available and choosing according to the head’s current inputs.
The baseline comparison is broader than the controlled layout ablation. DiTFastAttn is an existing method that the authors characterize as spatial in orientation, and the temporal baseline is a separate implementation. The outcomes reflect the full behavior of the compared methods. The sampling test provides a narrower check on the selector within Sparse VideoGen, and the layout ablation directly measures the cost of executing the chosen pattern. Together these results explain which parts of the design have direct controlled evidence and which are supported through comparisons of complete inference paths.
Limitations
Limits and open questions the authors identify
The authors explicitly leave adaptive sparsity control for future work. Sparse VideoGen adapts the type of mask to the current head. In the main experiments, the widths of those masks are chosen for each generator in advance. The sensitivity study demonstrates a tradeoff between preserving more context and saving work, while the choice of how much context a particular head needs at a particular moment remains open. This is an additional decision beyond distinguishing the spatial and temporal patterns.
The FP8 results have an explicit workload restriction. HunyuanVideo benefits from the quantized sparse implementation in the reported tests. For CogVideoX-v1.5, the authors identify the smaller head dimension and limited arithmetic intensity as reasons they found no acceleration from FP8 on the GPU. The existence of a compatible implementation shows that low precision and sparsity can be combined. The amount of speed gained from that combination depends on the shape of the computation.
The paper also offers a hypothesis about why fixed locations across time can receive such useful attention. The authors suggest that slow-moving videos may be prevalent in the training data, making a same-location rule adequate for many temporal relationships. This is presented as a possible explanation. Establishing the connection would require evidence linking the motion in training material to the attention pattern that emerges. The experiments instead concern the behavior and quality of generation under the tested approximations.
Limits that follow from the experimental setup
The paper sometimes describes quality preservation in terms that suggest an exact match. Its evidence describes closeness under specified metrics and in illustrated examples. PSNR, LPIPS, and SSIM are comparisons with dense generation, and they register different kinds of departure. A strong score can coexist with changes in details. The statement that the layout is mathematically equivalent concerns applying a fixed sparse mask in a different order. It provides no basis for treating the masked computation as identical to dense attention.
Fidelity also answers a specific question about the reference. An accelerated clip can resemble its dense counterpart closely even when both share a limitation in how they realize the prompt. The imaging and subject-consistency scores address selected properties of the output. Broader judgments about prompt fulfillment and viewer preferences remain outside what can be concluded from those particular metrics. The example clips show concrete outcomes for particular inputs and leave the variation across prompt types open.
The oracle’s scope is similarly bounded by its task. It identifies which of two pre-defined candidates has the lower output error when scored on all rows. The space of possible masks is much larger, and the analysis does not establish that the prescribed spatial or temporal neighborhoods capture every useful pattern. Some queries can need information outside either candidate’s main region. The quality results describe how the generator behaves with these choices available, together with the exceptions for the prompt and first frame.
The geometry of temporal attention is especially relevant to motion. A location in one frame may correspond to a different part of an object in another as the object moves. The temporal allowance can admit multiple positions, and spatial heads remain available to the generator. How effectively those mechanisms handle different kinds or amounts of motion is a separate empirical question. The reported comparisons leave motion-specific reliability and the incidence of poor matches to the two masks unresolved.
The sampling experiment measures generation quality under the sampled procedure on a particular prompt subset. The evidence supports that operating point. It gives limited information about variability across random draws or about cases in which a small number of unusual rows strongly favor a different mask. Performance with a different mask width could also change the difficulty of the selection problem. A narrower candidate can amplify the effect of a wrong choice, while broader candidates may return more similar outputs. The experiments study the effects of these settings and leave their joint behavior incompletely characterized.
The arithmetic and timing results also have distinct scopes. The theoretical formulas describe the video-token interactions under simplifying assumptions about the shared context. The actual runtime includes profiling, rearrangement, and operations outside the targeted attention calculation. The H100 benchmark and the kernel tests establish what happens with the reported implementation and workload dimensions. Timing on other hardware and scaling to substantially different frame shapes remain open because memory access, tile use, and the costs surrounding attention can change.
Finally, the main benchmark evidence is most detailed for CogVideoX-v1.5 and HunyuanVideo. For Wan 2.1, the reported speedup and visual examples give a more limited account of the conditions under which the same behavior holds. The early-step policy also matters to the comparisons. The experiment setup withholds the baseline interventions during the initial 25% of denoising. Changing when approximation begins could affect both generation quality and how much runtime is available to save. The reported comparisons are tied to the stated evaluation conditions.
What came after
Block selection and numerical precision
The related work places SageAttention in the numerical-efficiency lineage that Sparse VideoGen draws on. The paper describes its use of smoothing to make INT8 attention practical. That approach changes the representation of the numbers used to compute attention. Sparse VideoGen’s masks change the interactions that enter the computation. The paper demonstrates how these approaches can meet by implementing block-sparse attention with FP8. SageAttention appears in the paper as prior technical context for reduced precision.
XAttention uses antidiagonal scoring to identify blocks for sparse attention. Sparse VideoGen’s related-work discussion treats it as a general approach to finding sparsity. The connection is the need for a selection procedure that is cheaper than evaluating the entire attention map. XAttention scores candidate blocks using their internal structure. Sparse VideoGen scores a choice between video-specific masks by comparing the outputs they produce on sampled queries. The paper discusses XAttention as related work, so the common concern with inexpensive selection establishes a technical parallel.
Real-time video and permutation during attention
MonarchRT pursues efficient attention for real-time video generation. Its stated objective takes the application question in Sparse VideoGen further towards a specific latency requirement. Sparse VideoGen measures a reduction in the time to produce a complete clip and examines the costs inside that run. MonarchRT puts attention efficiency in the service of real-time generation. The direct connection is the importance of attention latency to the overall video workload. The available description leaves its use of particular Sparse VideoGen components open.
S2O uses online permutation for early stopping in sparse attention. Sparse VideoGen also makes the order of attention data part of inference, using a fixed relationship between frame and position axes to pack the temporal interactions together. In S2O, the stated role of permutation is to support the decision to stop processing. In Sparse VideoGen, the sampled comparison determines what to process, and the permutation makes the temporal choice efficient to execute. This gives the two approaches a concrete point of contact while leaving the details of any direct technical inheritance open.
Cite
Cite as Haocheng Xi, Shuo Yang, Yilong Zhao, Chenfeng Xu, Muyang Li, Xiuyu Li, Yujun Lin, Han Cai, Jintao Zhang, Dacheng Li, Jianfei Chen, Ion Stoica, Kurt Keutzer and Song Han. 2025. Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity. arXiv:2502.01776.
@misc{xi2025sparse,
title = {{Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity}},
author = {Haocheng Xi, Shuo Yang, Yilong Zhao, Chenfeng Xu, Muyang Li, Xiuyu Li, Yujun Lin, Han Cai, Jintao Zhang, Dacheng Li, Jianfei Chen, Ion Stoica, Kurt Keutzer and Song Han},
year = {2025},
doi = {10.48550/arxiv.2502.01776},
eprint = {2502.01776},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2502.01776}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/xi-2025-sparse-videogen-accelerating-video-diffusion/
References
- Arnab, A., Dehghani, M., Heigold, G., Sun, C., Lučić, M., and Schmid, C. Vivit: A video vision transformer. In ICCV, 2021. our card
- Cai, H., Li, J., Hu, M., Gan, C., and Han, S. Efficientvit: Lightweight multi-scale attention for high-resolution dense prediction. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 17302–17313, 2023. OpenAlex ↗ · Scholar ↗
- Cai, H., Li, M., Zhang, Q., Liu, M.-Y., and Han, S. Condition-aware neural network for controlled image generation. In CVPR, 2024. OpenAlex ↗ · Scholar ↗
- Chen, J., Cai, H., Chen, J., Xie, E., Yang, S., Tang, H., Li, M., Lu, Y., and Han, S. Deep compression autoencoder for efficient high-resolution diffusion models. arXiv preprint arXiv:2410.10733, 2024a. OpenAlex ↗ · Scholar ↗
- Chen, J., Ge, C., Xie, E., Wu, Y., Yao, L., Ren, X., Wang, Z., Luo, P., Lu, H., and Li, Z. Pixart-sigma: Weak-to-strong training of diffusion transformer for 4k text-to-image generation. In European Conference on Computer Vision, pp. 74–91. Springer, 2025. OpenAlex ↗ · Scholar ↗
- Chen, P., Shen, M., Ye, P., Cao, J., Tu, C., Bouganis, C.-S., Zhao, Y., and Chen, T. $\backslash delta$-dit: A training-free acceleration method tailored for diffusion transformers. arXiv preprint arXiv:2406.01125, 2024b. OpenAlex ↗ · Scholar ↗
- Choromanski, K., Likhosherstov, V., Dohan, D., Song, X., Gane, A., Sarlos, T., Hawkins, P., Davis, J., Mohiuddin, A., Kaiser, L., et al. Rethinking attention with performers. arXiv preprint arXiv:2009.14794, 2020. our card
- Dao, T., Gu, A., Eichhorn, M., Rudra, A., and Ré, C. Learning fast algorithms for linear transforms using butterfly factorizations. In International conference on machine learning, pp. 1517–1527. PMLR, 2019. OpenAlex ↗ · Scholar ↗
- Dao, T., Fu, D. Y., Ermon, S., Rudra, A., and Ré, C. Flashattention: Fast and memory-efficient exact attention with io-awareness, 2022. URL https://arxiv.org/abs/2205.14135. OpenAlex ↗ · Scholar ↗
- Feng, H., Ding, Z., Xia, Z., Niklaus, S., Abrevaya, V., Black, M. J., and Zhang, X. Explorative inbetweening of time and space. In European Conference on Computer Vision, pp. 378–395. Springer, 2024. OpenAlex ↗ · Scholar ↗
- Guo, Y., Yang, C., Rao, A., Liang, Z., Wang, Y., Qiao, Y., Agrawala, M., Lin, D., and Dai, B. Animatediff: Animate your personalized text-to-image diffusion models without specific tuning. In ICLR, 2024. OpenAlex ↗ · Scholar ↗
- Han, C., Wang, Q., Xiong, W., Chen, Y., Ji, H., and Wang, S. Lm-infinite: Simple on-the-fly length generalization for large language models. arXiv preprint arXiv:2308.16137, 2023. OpenAlex ↗ · Scholar ↗
- Ho, J., Jain, A., and Abbeel, P. Denoising diffusion probabilistic models. NeurIPS, 2020. OpenAlex ↗ · Scholar ↗
- Hong, W., Ding, M., Zheng, W., Liu, X., and Tang, J. Cogvideo: Large-scale pretraining for text-to-video generation via transformers. In ICLR, 2023. our card
- Horé, A. and Ziou, D. Image quality metrics: Psnr vs. ssim. In 2010 20th International Conference on Pattern Recognition, pp. 2366–2369, 2010. . OpenAlex ↗ · Scholar ↗
- Huang, Z., He, Y., Yu, J., Zhang, F., Si, C., Jiang, Y., Zhang, Y., Wu, T., Jin, Q., Chanpaisit, N., Wang, Y., Chen, X., Wang, L., Lin, D., Qiao, Y., and Liu, Z. Vbench: Comprehensive benchmark suite for video generative models, 2023. URL https://arxiv.org/abs/2311.17982. OpenAlex ↗ · Scholar ↗
- Jiang, H., Li, Y., Zhang, C., Wu, Q., Luo, X., Ahn, S., Han, Z., Abdi, A. H., Li, D., Lin, C.-Y., et al. Minference 1.0: Accelerating pre-filling for long-context llms via dynamic sparse attention. arXiv preprint arXiv:2407.02490, 2024. our card
- Katharopoulos, A., Vyas, A., Pappas, N., and Fleuret, F. Transformers are rnns: Fast autoregressive transformers with linear attention. In International conference on machine learning, pp. 5156–5165. PMLR, 2020. OpenAlex ↗ · Scholar ↗
- Kodaira, A., Xu, C., Hazama, T., Yoshimoto, T., Ohno, K., Mitsuhori, S., Sugano, S., Cho, H., Liu, Z., and Keutzer, K. Streamdiffusion: A pipeline-level solution for real-time interactive generation. arXiv preprint arXiv:2312.12491, 2023. OpenAlex ↗ · Scholar ↗
- Kong, W., Tian, Q., Zhang, Z., Min, R., Dai, Z., Zhou, J., Xiong, J., Li, X., Wu, B., Zhang, J., et al. Hunyuanvideo: A systematic framework for large video generative models. arXiv preprint arXiv:2412.03603, 2024. our card
- Li, M., Cai, T., Cao, J., Zhang, Q., Cai, H., Bai, J., Jia, Y., Liu, M.-Y., Li, K., and Han, S. Distrifusion: Distributed parallel inference for high-resolution diffusion models. In CVPR, 2024. OpenAlex ↗ · Scholar ↗
- Li*, M., Lin*, Y., Zhang*, Z., Cai, T., Li, X., Guo, J., Xie, E., Meng, C., Zhu, J.-Y., and Han, S. Svdquant: Absorbing outliers by low-rank components for 4-bit diffusion models. In The Thirteenth International Conference on Learning Representations, 2025. OpenAlex ↗ · Scholar ↗
- Li, X., Liu, Y., Lian, L., Yang, H., Dong, Z., Kang, D., Zhang, S., and Keutzer, K. Q-diffusion: Quantizing diffusion models. In ICCV, 2023. OpenAlex ↗ · Scholar ↗
- Li, Y., Jiang, H., Zhang, C., Wu, Q., Luo, X., Ahn, S., Abdi, A. H., Li, D., Gao, J., Yang, Y., et al. Mminference: Accelerating pre-filling for long-context vlms via modality-aware permutation sparse attention. arXiv preprint arXiv:2504.16083, 2025. OpenAlex ↗ · Scholar ↗
- Liang, F., Kodaira, A., Xu, C., Tomizuka, M., Keutzer, K., and Marculescu, D. Looking backward: Streaming video-to-video translation with feature banks. arXiv preprint arXiv:2405.15757, 2024. OpenAlex ↗ · Scholar ↗
- Liu, F., Zhang, S., Wang, X., Wei, Y., Qiu, H., Zhao, Y., Zhang, Y., Ye, Q., and Wan, F. Timestep embedding tells: It's time to cache for video diffusion model. arXiv preprint arXiv:2411.19108, 2024a. OpenAlex ↗ · Scholar ↗
- Liu, H., Yan, W., Zaharia, M., and Abbeel, P. World model on million-length video and language with ringattention. arXiv preprint, 2024b. OpenAlex ↗ · Scholar ↗
- Liu, X., Gong, C., and Liu, Q. Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003, 2022. our card
- Liu, X., Zhang, X., Ma, J., Peng, J., and Liu, Q. Instaflow: One step is enough for high-quality diffusion-based text-to-image generation. In International Conference on Learning Representations, 2024c. OpenAlex ↗ · Scholar ↗
- Liu, Z., Desai, A., Liao, F., Wang, W., Xie, V., Xu, Z., Kyrillidis, A., and Shrivastava, A. Scissorhands: Exploiting the persistence of importance hypothesis for llm kv cache compression at test time. Advances in Neural Information Processing Systems, 36, 2024d. OpenAlex ↗ · Scholar ↗
- Lu, C., Zhou, Y., Bao, F., Chen, J., Li, C., and Zhu, J. Dpm-solver: A fast ode solver for diffusion probabilistic model sampling in around 10 steps. In NeurIPS, 2022a. OpenAlex ↗ · Scholar ↗
- Lu, C., Zhou, Y., Bao, F., Chen, J., Li, C., and Zhu, J. Dpm-solver++: Fast solver for guided sampling of diffusion probabilistic models. arXiv preprint arXiv:2211.01095, 2022b. OpenAlex ↗ · Scholar ↗
- Luo, S., Tan, Y., Huang, L., Li, J., and Zhao, H. Latent consistency models: Synthesizing high-resolution images with few-step inference. arXiv preprint arXiv: 2310.04378, 2023. our card
- Lv, Z., Si, C., Song, J., Yang, Z., Qiao, Y., Liu, Z., and Wong, K.-Y. K. Fastercache: Training-free video diffusion model acceleration with high quality. 2024. OpenAlex ↗ · Scholar ↗
- Ma, X., Fang, G., and Wang, X. Deepcache: Accelerating diffusion models for free. In CVPR, 2024. OpenAlex ↗ · Scholar ↗
- Meng, C., He, Y., Song, Y., Song, J., Wu, J., Zhu, J.-Y., and Ermon, S. SDEdit: Guided image synthesis and editing with stochastic differential equations. In ICLR, 2022. our card
- Peebles, W. and Xie, S. Scalable diffusion models with transformers. In ICCV, 2023. our card
- Shen, X., Xiong, Y., Zhao, C., Wu, L., Chen, J., Zhu, C., Liu, Z., Xiao, F., Varadarajan, B., Bordes, F., Liu, Z., Xu, H., Kim, H. J., Soran, B., Krishnamoorthi, R., Elhoseiny, M., and Chandra, V. Longvu: Spatiotemporal adaptive compression for long video-language understanding, 2024. URL https://arxiv.org/abs/2410.17434. OpenAlex ↗ · Scholar ↗
- Song, J., Meng, C., and Ermon, S. Denoising diffusion implicit models. In ICLR, 2020. our card
- Song, Y. and Ermon, S. Generative modeling by estimating gradients of the data distribution. Advances in neural information processing systems, 32, 2019. our card
- Song, Y., Dhariwal, P., Chen, M., and Sutskever, I. Consistency models. In ICML, 2023. OpenAlex ↗ · Scholar ↗
- Su, Z., Shen, W., Li, L., Chen, Z., Wei, H., Yu, H., and Yuan, K. Akvq-vl: Attention-aware kv cache adaptive 2-bit quantization for vision-language models, 2025. URL https://arxiv.org/abs/2501.15021. OpenAlex ↗ · Scholar ↗
- Tang, J., Zhao, Y., Zhu, K., Xiao, G., Kasikci, B., and Han, S. Quest: Query-aware sparsity for efficient long-context llm inference, 2024. URL https://arxiv.org/abs/2406.10774. our card
- Tillet, P., Kung, H.-T., and Cox, D. D. Triton: an intermediate language and compiler for tiled neural network computations. Proceedings of the 3rd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages, 2019. URL https://api.semanticscholar.org/CorpusID:184488182. our card
- Wang, A., Ai, B., Wen, B., Mao, C., Xie, C.-W., Chen, D., Yu, F., Zhao, H., Yang, J., Zeng, J., et al. Wan: Open and advanced large-scale video generative models. arXiv preprint arXiv:2503.20314, 2025. our card
- Wang, S., Li, B. Z., Khabsa, M., Fang, H., and Ma, H. Linformer: Self-attention with linear complexity. arXiv preprint arXiv:2006.04768, 2020. OpenAlex ↗ · Scholar ↗
- Xiao, G., Tian, Y., Chen, B., Han, S., and Lewis, M. Efficient streaming language models with attention sinks. arXiv preprint arXiv:2309.17453, 2023. our card
- Xiao, G., Tang, J., Zuo, J., Guo, J., Yang, S., Tang, H., Fu, Y., and Han, S. Duoattention: Efficient long-context llm inference with retrieval and streaming heads. arXiv preprint arXiv:2410.10819, 2024a. our card
- Xiao, G., Tian, Y., Chen, B., Han, S., and Lewis, M. Efficient streaming language models with attention sinks, 2024b. URL https://arxiv.org/abs/2309.17453. our card
- Xie, E., Chen, J., Chen, J., Cai, H., Tang, H., Lin, Y., Zhang, Z., Li, M., Zhu, L., Lu, Y., et al. Sana: Efficient high-resolution image synthesis with linear diffusion transformers. arXiv preprint arXiv:2410.10629, 2024. OpenAlex ↗ · Scholar ↗
- Xu, R., Xiao, G., Huang, H., Guo, J., and Han, S. Xattention: Block sparse attention with antidiagonal scoring. arXiv preprint arXiv:2503.16428, 2025. our card
- Yang, L., Zhang, Z., Chen, Z., Li, Z., and Jia, Z. Tidaldecode: Fast and accurate llm decoding with position persistent sparse attention. arXiv preprint arXiv:2410.05076, 2024a. OpenAlex ↗ · Scholar ↗
- Yang, S., Sheng, Y., Gonzalez, J. E., Stoica, I., and Zheng, L. Post-training sparse attention with double sparsity, 2024b. URL https://arxiv.org/abs/2408.07092. OpenAlex ↗ · Scholar ↗
- Yang, Z., Teng, J., Zheng, W., Ding, M., Huang, S., Xu, J., Yang, Y., Hong, W., Zhang, X., Feng, G., et al. Cogvideox: Text-to-video diffusion models with an expert transformer. arXiv preprint arXiv:2408.06072, 2024c. our card
- Ye, Z., Lai, R., Shao, J., Chen, T., and Ceze, L. Sparsetir: Composable abstractions for sparse compilation in deep learning, 2023. URL https://arxiv.org/abs/2207.04606. OpenAlex ↗ · Scholar ↗
- Ye, Z., Chen, L., Lai, R., Lin, W., Zhang, Y., Wang, S., Chen, T., Kasikci, B., Grover, V., Krishnamurthy, A., and Ceze, L. Flashinfer: Efficient and customizable attention engine for llm inference serving, 2025. URL https://arxiv.org/abs/2501.01005. our card
- Yin, T., Gharbi, M., Park, T., Zhang, R., Shechtman, E., Durand, F., and Freeman, W. T. Improved distribution matching distillation for fast image synthesis. arXiv preprint arXiv:2405.14867, 2024a. OpenAlex ↗ · Scholar ↗
- Yin, T., Gharbi, M., Zhang, R., Shechtman, E., Durand, F., Freeman, W. T., and Park, T. One-step diffusion with distribution matching distillation. In CVPR, 2024b. OpenAlex ↗ · Scholar ↗
- Yu, W., Luo, M., Zhou, P., Si, C., Zhou, Y., Wang, X., Feng, J., and Yan, S. Metaformer is actually what you need for vision. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 10819–10829, 2022. OpenAlex ↗ · Scholar ↗
- Yuan, Z., Zhang, H., Lu, P., Ning, X., Zhang, L., Zhao, T., Yan, S., Dai, G., and Wang, Y. Ditfastattn: Attention compression for diffusion transformer models, 2024. URL https://arxiv.org/abs/2406.08552. OpenAlex ↗ · Scholar ↗
- Zhang, J., Herrmann, C., Hur, J., Cabrera, L. P., Jampani, V., Sun, D., and Yang, M.-H. A tale of two features: Stable diffusion complements dino for zero-shot semantic correspondence. 2023a. OpenAlex ↗ · Scholar ↗
- Zhang, J., Huang, H., Zhang, P., Wei, J., Zhu, J., and Chen, J. Sageattention2: Efficient attention with thorough outlier smoothing and per-thread int4 quantization, 2024. URL https://arxiv.org/abs/2411.10958. OpenAlex ↗ · Scholar ↗
- Zhang, J., Wei, J., Zhang, P., Zhu, J., and Chen, J. Sageattention: Accurate 8-bit attention for plug-and-play inference acceleration. In International Conference on Learning Representations (ICLR), 2025a. our card
- Zhang, J., Xiang, C., Huang, H., Wei, J., Xi, H., Zhu, J., and Chen, J. Spargeattn: Accurate sparse attention accelerating any model inference. arXiv preprint arXiv:2502.18137, 2025b. OpenAlex ↗ · Scholar ↗
- Zhang, R., Isola, P., Efros, A. A., Shechtman, E., and Wang, O. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018. OpenAlex ↗ · Scholar ↗
- Zhang, Z., Sheng, Y., Zhou, T., Chen, T., Zheng, L., Cai, R., Song, Z., Tian, Y., Ré, C., Barrett, C., et al. H2o: Heavy-hitter oracle for efficient generative inference of large language models. Advances in Neural Information Processing Systems, 36:0 34661–34710, 2023b. OpenAlex ↗ · Scholar ↗
- Zhang, Z., Sheng, Y., Zhou, T., Chen, T., Zheng, L., Cai, R., Song, Z., Tian, Y., Ré, C., Barrett, C., Wang, Z., and Chen, B. H$_2$o: Heavy-hitter oracle for efficient generative inference of large language models, 2023c. URL https://arxiv.org/abs/2306.14048. our card
- Zhao, T., Fang, T., Liu, E., Rui, W., Soedarmadji, W., Li, S., Lin, Z., Dai, G., Yan, S., Yang, H., et al. Vidit-q: Efficient and accurate quantization of diffusion transformers for image and video generation. arXiv preprint arXiv:2406.02540, 2024a. OpenAlex ↗ · Scholar ↗
- Zhao, X., Jin, X., Wang, K., and You, Y. Real-time video generation with pyramid attention broadcast, 2024b. URL https://arxiv.org/abs/2408.12588. OpenAlex ↗ · Scholar ↗
- Zhao, Y., Lin, C.-Y., Zhu, K., Ye, Z., Chen, L., Zheng, S., Ceze, L., Krishnamurthy, A., Chen, T., and Kasikci, B. Atom: Low-bit quantization for efficient and accurate llm serving. MLSys, 2024c. our card
- Zheng, N., Jiang, H., Zhang, Q., Han, Z., Yang, Y., Ma, L., Yang, F., Zhang, C., Qiu, L., Yang, M., and Zhou, L. Pit: Optimization of dynamic sparse deep learning models via permutation invariant transformation, 2023. URL https://arxiv.org/abs/2301.10936. OpenAlex ↗ · Scholar ↗