SQuad: Sub-Quadratic Attention Distillation for Efficient Video Generation
SQuad is a sub-quadratic attention distillation framework that compresses pretrained Video Diffusion Transformers to achieve complexity, delivering quadratic-level video generation quality with significantly reduced computational costs and faster inference speeds.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Creating moving pictures with artificial intelligence has become one of the most exciting frontiers in modern computing. These systems, known as video diffusion models, work by starting with a chaotic cloud of static noise and gradually refining it into a coherent scene, frame by frame, based on a text description. To understand how they do this, imagine a vast grid of tiny digital pixels, where each pixel is a token carrying information about color, shape, and time. The engine that drives these models is a mechanism called self-attention. This mechanism allows every single token in the video to look at every other token to decide how they should relate to one another. It is this constant, all-seeing connection that gives the video its lifelike quality and ensures that a character's movement in the first second matches their appearance in the last. However, this power comes with a steep price. As the video grows longer or more detailed, the number of connections the system must calculate explodes, making the process incredibly slow and expensive, often limiting creators to just a few seconds of footage.
Researchers at Qualcomm AI Research have developed a new approach called SQuad to solve this problem without sacrificing the quality of the video. Instead of trying to simplify the complex connections or replace the core mechanism with a cheaper, weaker alternative, they found a way to reorganize how the system looks at the data. In the standard method, every token must check in with every other token, a process that becomes unmanageable as the video size increases. The team realized that in video generation, most of these connections are actually very weak; only a small, critical group of tokens truly needs to pay close attention to each other at any given moment. Building on this observation, they designed a two-step process. First, the system groups nearby tokens into small windows and lets them mix information locally. Then, it takes a second pass to let these windows communicate with each other across the entire video. This structure allows the model to maintain a full view of the scene while drastically cutting down the number of calculations required.
The results of applying this method to a large video generation model called Wan 2.2 are striking. The researchers took a powerful, pre-trained model and taught it to use this new, streamlined attention method through a process of distillation, where the new system learns to mimic the behavior of the original. The outcome is a model that produces videos of nearly identical visual quality to the original, scoring almost the same on rigorous quality tests, but with a massive reduction in cost. While the original model required 100 steps to generate a video, the new version achieves similar results in just six steps. In terms of speed, the time it takes to process a single step of the video generation dropped from roughly 47 milliseconds to just 4 milliseconds. The amount of computing power needed for these steps fell by a factor of nearly 67.
This efficiency gain is not just a theoretical improvement; it translates directly into what a user experiences. When tested on a standard high-definition video generation task, the new method generated a video in about half the total time of the original system, even when accounting for the entire generation pipeline. The researchers compared their method against other attempts to speed up video generation, some of which rely on complex, hybrid architectures that add millions of extra parameters to the model. In contrast, the SQuad approach requires no additional memory or specialized hardware, fitting neatly into existing systems. User studies confirmed that people could not reliably tell the difference between videos made by the original, heavy model and those made by the new, efficient version. In fact, in a head-to-head comparison, a significant portion of human viewers actually preferred the videos generated by the new method.
The significance of this work lies in its balance. Previous attempts to make these models faster often involved replacing the powerful attention mechanism with simpler, linear approximations, which frequently resulted in a noticeable drop in video quality. The SQuad method avoids this trap by keeping the core mathematical operation intact but changing the order in which it is applied. It proves that the full, quadratic complexity of checking every token against every other token is not strictly necessary to achieve high-fidelity results. By carefully structuring the flow of information, the researchers have shown that it is possible to generate long, high-resolution videos with a fraction of the computational cost. This opens the door for generating longer, more complex scenes on standard hardware, moving the field closer to the goal of creating unlimited, high-quality video content without the current bottlenecks of time and energy.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.