2025-04-18 · 专家 · 机器学习 · 计算机视觉

Packing Input Frame Context in Next-Frame Prediction Models for Video Generation

提出了一种名为FramePack的神经网络结构,用于训练视频生成中的下一帧预测模型,通过压缩输入帧并采用抗漂移采样方法,有效解决了视频生成中的记忆遗忘和漂移问题。

更新于 2025-05-07。作者:Lvmin Zhang、Maneesh Agrawala。

中文摘要

我们提出了一种神经网络结构,名为FramePack,用于训练视频生成中的下一帧(或下一帧段落)预测模型。FramePack可以将输入帧进行压缩,使transformer的上下文长度保持为固定数值,而与视频长度无关。因此,我们能够使用与图像扩散类似的计算瓶颈处理大量帧。这也使得视频扩散的训练批次大小显著提高(批次大小可与图像扩散训练相当)。我们还提出了一种反漂移采样方法,该方法以倒序生成帧,并具有早期建立的端点,以避免暴露偏差(迭代过程中的误差累积)。最后,我们展示现有视频扩散模型可以与FramePack进行微调,并且由于下一帧预测支持更平衡的扩散调度器以及更少的极端流量转换时间步,其视觉效果可能得到改善。

英文摘要

We present a neural network structure, FramePack, to train next-frame (or next-frame-section) prediction models for video generation. The FramePack compresses input frames to make the transformer context length a fixed number regardless of the video length. As a result, we are able to process a large number of frames using video diffusion with computation bottleneck similar to image diffusion. This also makes the training video batch sizes significantly higher (batch sizes become comparable to image diffusion training). We also propose an anti-drifting sampling method that generates frames in inverted temporal order with early-established endpoints to avoid exposure bias (error accumulation over iterations). Finally, we show that existing video diffusion models can be finetuned with FramePack, and their visual quality may be improved because the next-frame prediction supports more balanced diffusion schedulers with less extreme flow shift timesteps.

解读

一句话总结

提出了一种名为FramePack的神经网络结构,用于训练视频生成中的下一帧预测模型,通过压缩输入帧并采用抗漂移采样方法,有效解决了视频生成中的记忆遗忘和漂移问题。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt