Video-Rate Streaming Stylization on a Vision-Aware MLLM-Conditioned Edit Diffusion: Asymmetric Batched Inference on a Distilled UNet + MLLM Text Encoder
This paper presents a video-rate streaming stylization pipeline that overcomes the text-encoder bottleneck in MLLM-conditioned edit diffusion by combining a distilled 0.39B U-Net with a 2.13B Qwen3-VL encoder, utilizing asymmetric batched inference and fused graph optimizations to achieve up to 74.1 fps on consumer GPUs.
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
Imagine you have a magical art studio where a robot painter can instantly turn any video into an oil painting. Usually, the slowest part of this process is the painter itself (the "U-Net"), who takes time to mix colors and apply brushstrokes.
However, this paper describes a new setup where the painter has been super-trained to work incredibly fast—so fast that they are no longer the bottleneck. Instead, the new "slowpoke" is the Art Director (a massive AI called an MLLM). Before the painter can start, the Art Director has to look at the video frame and the user's instructions (e.g., "make it look like a Van Gogh") and write a detailed brief. Because the Art Director is so heavy and complex, they hold up the whole line, even though the painter is ready to go.
The authors built a system to solve this specific problem: How do you keep the video flowing smoothly when the Art Director is slow, but the Painter is fast?
Here is how they did it, using three main tricks:
1. The "Two-Track" Assembly Line (Asymmetric Pipelining)
Imagine a factory with two conveyor belts running side-by-side.
- The Main Belt: The fast Painter works on the current frame.
- The Side Belt: The slow Art Director works on the next frame's instructions while the Painter is busy.
By running these two tasks at the same time on different "tracks" (CUDA streams), the system hides the Art Director's slowness. While the Painter is busy painting Frame 1, the Art Director is already reading the instructions for Frame 2. By the time the Painter finishes, the instructions for the next frame are ready. This keeps the line moving without stopping.
2. The "Group Brief" Strategy (Batched Inference)
The Art Director is slow, but they get faster if they process a group of people at once rather than one by one.
- Instead of asking the Art Director to write a brief for just one frame, the system gathers a batch of 8 or 16 frames.
- The Art Director writes one massive, efficient brief that covers all of them.
- This "bulk discount" on time means the Art Director spends less time per frame, even though they are processing more data at once.
3. The "Smart Refresh" Schedule (Periodic Conditioning)
Sometimes, the instructions don't need to be rewritten for every single frame. If the video is just a person walking, the "oil painting style" doesn't need to be re-calculated every millisecond.
- The system uses a "refresh schedule." It calculates the detailed style instructions once, then reuses that same instruction for several frames in a row.
- It only stops to recalculate the instructions when the scene changes significantly or after a set number of frames.
- This saves a huge amount of time because the system doesn't waste energy re-asking the Art Director the same question over and over.
The Results: A Fast, Smooth Stream
The authors tested this on a single consumer graphics card (an RTX 3090 Ti).
- Speed: They achieved a steady 27 to 30 frames per second (FPS). This is fast enough to watch a video in real-time without stuttering.
- Latency: There is a slight delay (about 0.5 to 1 second) because the system has to buffer a few frames to make the "Two-Track" system work, but the video plays smoothly once it starts.
- Quality: The system works well on videos it hasn't seen before (like different types of dance or parkour videos) and can handle different art styles, though it struggles a bit with very complex, high-contrast patterns like comic book dots.
What They Tried (and Failed)
The paper also lists a few ideas that didn't work, acting as "cautionary tales" for others:
- Mixing old paint: Trying to mix the previous frame's paint directly into the new one made the video turn into a blurry, single-color blob.
- Skipping the painter: Trying to guess the next frame by just warping the old one (skipping the painter entirely) resulted in a shaky, low-quality video.
- Cutting corners: Removing parts of the Art Director's instructions to save time actually made the video worse, proving those instructions were necessary.
The Bottom Line
This paper isn't about making the robot painter faster; it's about reorganizing the factory so the slow Art Director doesn't stop the fast Painter. By running tasks in parallel, grouping instructions, and reusing them wisely, they managed to stream high-quality video stylization in real-time on a single home computer.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.