PoSTCache:从预测到后验平滑的可修正扩散缓存
PoSTCache: From Forecasting to Postdictive Smoothing for Revisable Diffusion Caching
AI总结:
PoSTCache是一种无需训练的即插即用扩散缓存框架,通过后验平滑修正轨迹,结合PVR策略选择锚点,在图像和视频生成任务中提升了质量与效率的权衡表现。
摘要:
扩散模型和流匹配模型在视觉生成质量上表现出色,但由于迭代采样的特性,计算成本仍然很高。基于缓存的加速方法是一种无需训练的实用解决方案,通过复用或预测中间特征实现加速。然而,现有方法大多采用仅前向的信息流机制:被跳过的模型评估步骤所产生的近似结果会立即被提交到采样轨迹中,无法从后续全计算步骤生成的反馈中获益。我们提出了PoSTCache(后验平滑轨迹缓存,Postdictive Smoothing Trajectory Cache),这是一种无需训练、即插即用的框架,将扩散缓存重新表述为可修正的轨迹推理问题。PoSTCache首先利用现有缓存策略为被跳过的步骤构建前向提议;在后续的全计算步骤中,刷新后的预测结果与其前向提议之间的差异会产生校正信号,PoSTCache会将该信号反向传播,以优化并重新整合先前的预测结果。将全计算步骤视为校正反馈的来源,也改变了对这些步骤的选择方式。因此,我们引入了后验方差缩减(Posterior Variance Reduction, PVR)策略,该策略从离线去噪轨迹中估计跨时间步依赖关系,并根据锚点对替代轨迹不确定性的预期缩减量而非仅局部近似误差来选择锚点。在代表性图像和视频生成模型上进行的实验表明,与现有代表性缓存方法相比,PoSTCache始终能提升质量与效率之间的权衡表现。
英文摘要:
Diffusion and flow matching models achieve impressive visual generation quality but remain computationally expensive due to iterative sampling. Caching-based acceleration provides a practical training-free solution by reusing or predicting intermediate features. However, existing methods largely enforce a forward-only information flow: approximations produced for skipped model evaluations are immediately committed to the sampling trajectory and cannot benefit from feedback generated by later full-computation steps. We propose \textbf{PoSTCache} (\emph{Postdictive Smoothing Trajectory Cache}), a training-free and plug-and-play framework that reformulates diffusion caching as revisable trajectory inference. PoSTCache first uses an existing caching strategy to construct forward proposals for skipped steps. At a later full-computation step, the discrepancy between the refreshed prediction and its forward proposal yields a correction signal, which PoSTCache propagates backward to refine and reintegrate the preceding predictions. Viewing full-computation steps as sources of corrective feedback also changes how they should be selected. We therefore introduce the Posterior Variance Reduction (PVR) strategy, which estimates cross-timestep dependencies from offline denoising trajectories and selects anchors according to their expected reduction in surrogate trajectory uncertainty rather than local approximation error alone. Experiments on representative image and video generation models show that PoSTCache consistently improves the quality--efficiency trade-off over representative caching methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。