交互式视频生成中的推测采样
研究论文 · 2026/10/16
交互式视频生成通常依赖小的双向块来降低响应延迟。然而,初步实验表明,更大的块能提升视频质量并更好地利用GPU并行性,仅需适度增加采样时间即可采样更多潜在变量。基于此,我们提出推测采样(Speculative Sampling),一种结合大双向窗口建模能力与小窗口低延迟交互的策略。它通过附加噪声潜在变量作为填充来扩展建模窗口,并缓存预测结果,在条件不变时复用。预测增量交付,未提交的未来可替换。延迟分析表明,这消除了块边界施加的等待时间下限,将优化重点从减小块大小转向加速每块采样。双向窗口大小因此成为联合优化视觉质量与采样时间的决策变量,而非低延迟交互的必要约束。这为在交互式流系统中服务大型双向模型开辟了道路,无需复杂的流式后训练。
该研究挑战了交互式视频生成中必须使用小块的常规认知,提出通过推测采样实现大窗口建模与低延迟交互的兼顾,为提升视频质量同时保持实时性提供了新思路,且无需复杂的流式后训练,具有较高的实用价值。
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.