Speculative Sampling in Interactive Video Generation

AK's Picks GenAI Diffusion TDIG
交互式视频生成通常依赖于较小的双向时间块(chunk),以降低响应延迟。然而,我们的初步实验表明,增大时间块尺寸不仅能提升视频质量,还能更充分地利用GPU的并行计算能力——仅需小幅增加采样耗时,即可对更多潜在表示(latents)进行采样。受此启发,我们提出了“推测式采样”(Speculative Sampling)策略:该策略将大尺寸双向窗口的建模能力与小尺寸窗口的低延迟交互特性有机结合。其具体实现方式为:在建模窗口末端附加噪声潜在表示作为填充(padding),并对由此产生的预测结果进行缓存;当条件输入保持不变时,这些缓存的预测可被直接复用。预测结果以增量方式逐次输出,而尚未最终确认的未来帧则始终可被替换更新。我们的延迟分析表明,该方法消除了由时间块边界所强加的等待时间下限,从而将优化重心从“减小时间块尺寸”转向“加速单个时间块内的采样过程”。因此,双向窗口尺寸不再是对低延迟交互所施加的刚性约束,而转变为一个可调节的决策变量,用于协同优化视频视觉质量和单次采样耗时。这一思路为在交互式流式系统中直接部署大规模双向模型开辟了新路径,无需依赖复杂的流式微调(streaming post-training)技术。
Interactive video generation commonly relies on small bidirectional chunks to reduce response latency. Yet our preliminary experiments show that larger chunks improve video quality and better utilize GPU parallelism, allowing more latents to be sampled with only a modest increase in sampling time. Motivated by these observations, we propose Speculative Sampling, a strategy that combines the modeling power of large bidirectional windows with the low-latency interaction of small ones. It expands the modeling window by appending noise latents as padding and caches the resulting predictions for reuse when the condition remains unchanged. Predictions are delivered incrementally, while the uncommitted future remains replaceable. Our latency analysis shows that this removes the waiting-time lower bound imposed by chunk boundaries, shifting the optimization focus from reducing chunk size to accelerating per-chunk sampling. Bidirectional window size thus becomes a decision variable for jointly optimizing visual quality and sampling time, rather than a necessary constraint on low-latency interaction. This opens a path to serving large bidirectional models in interactive streaming systems without complex streaming post-training.
许愿