Apple 发布 FastFrames 自回归视频扩散模型,实现交互级延迟
FastFrames: Video Generation at Interactive Latency
Apple 机器学习研究团队发布 FastFrames,一系列自回归视频扩散模型,在不牺牲质量的前提下实现交互级延迟。研究发现 VAE 解码和 KV cache 更新等常被视为固定实现的环节占端到端推理延迟一半以上,作者用轻量替代方案替换它们。
论文指出 VAE 解码和 KV cache 更新占一半以上推理延迟并给出替换方案,1.3B 版本在单卡 B200 上做到 36 ms 每帧。
AuthorsGene Chou†**, Guandao Yang, Fujun Luan, Lars Mescheder, Wei Dong, Stephan R. Richter, Vladlen Koltun
Autoregressive video diffusion models generate frames based on new observations and inputs, making them a promising medium for interactive visual experiences. However, existing models can be orders of magnitude too slow for fluid interaction. This paper introduces FastFrames, a family of fast autoregressive video diffusion models that achieves interactive latency without compromising quality. We profile the inference pipeline of state-of-the-art models and find that operations often treated as fixed implementation details, such as VAE decoding and KV cache updates, in fact account for over half of end-to-end inference latency. We challenge the assumption that these components are indispensable and replace them with lightweight alternatives. Our 1.3B variant runs at 36 ms per frame, or 28 responses per second (RPS), on a single B200 GPU while matching the generation quality of a state-of-the-art model that is nearly 8× slower. Our 14B variant runs at 45 ms per frame, or 22 RPS, on an 8× B200 GPU node and yields significantly better visual quality and realism. We show that FastFrames enables real-time interaction in applications such as camera-conditioned and physics-conditioned video generation.
See this page for videos, code, and model weights.
- † Cornell University
- ** Work done while at Apple
Related readings and updates.
Normalizing flows (NFs) are end-to-end likelihood-based generative models for continuous data, and have recently regained attention with encouraging progress on image generation. Yet in the video generation domain, where spatiotemporal complexity and computational cost are substantially higher, state-of-the-art systems almost exclusively rely on diffusion-based models. In this work, we revisit this design space by presenting STARFlow-V, a…
The field of video generation has made remarkable advancements, yet there remains a pressing need for a clear, systematic recipe that can guide the development of robust and scalable models. In this work, we present a comprehensive study that systematically explores the interplay of model architectures, training recipes, and data curation strategies, culminating in a simple and scalable text-image-conditioned video generation method, named STIV…
来源:Apple Machine Learning Research · machinelearning.apple.com