arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.19506cs.CVcs.LG
收藏

关系特征缓存用于加速扩散变换器

Relational Feature Caching for Accelerating Diffusion Transformers

Yonsei University(延世大学);Korea Institute of Science and Technology (KIST)(韩国科学技术院)

Byunggwan Son, Jeimin Jeon, Jeongwoo Choi, Bumsub Ham

AI总结:

本文提出关系特征缓存(RFC)方法,通过利用输入-输出关系提升特征预测准确性,有效减少扩散变换器的计算开销。

摘要:

特征缓存方法通过在特定时间步存储计算昂贵模块的输出特征,并利用这些特征来减少后续步骤中的冗余计算,从而加速扩散变换器(DiTs)。最近的基于预测的缓存方法采用时间外推技术来近似缓存的输出特征。尽管有效,但仅依赖时间外推仍然会导致显著的预测误差,从而导致性能下降。通过详细分析,我们发现这些误差源于输出特征变化幅度的不规则性,并且模块的输入特征与相应的输出特征之间存在强相关性。基于此,我们提出了关系特征缓存(RFC),这是一种利用输入-输出关系来提高特征预测准确性的新型框架。具体来说,我们引入了关系特征估计(RFE),用于从输入中估计输出特征变化幅度,从而实现更准确的特征预测。我们还提出了关系缓存调度(RCS),它利用输入特征来估计预测误差,并仅在预计误差可能显著时执行完整计算。在各种DiT模型上的广泛实验表明,RFC在很大程度上优于先前的方法。项目页面可在https://cvlab.yonsei.ac.kr/projects/RFC上找到。

英文摘要:

Feature caching approaches accelerate diffusion transformers (DiTs) by storing the output features of computationally expensive modules at certain timesteps, and exploiting them for subsequent steps to reduce redundant computations. Recent forecasting-based caching approaches employ temporal extrapolation techniques to approximate the output features with cached ones. Although effective, relying exclusively on temporal extrapolation still suffers from significant prediction errors, leading to performance degradation. Through a detailed analysis, we find that 1) these errors stem from the irregular magnitude of changes in the output features, and 2) an input feature of a module is strongly correlated with the corresponding output. Based on this, we propose relational feature caching (RFC), a novel framework that leverages the input-output relationship to enhance the accuracy of the feature prediction. Specifically, we introduce relational feature estimation (RFE) to estimate the magnitude of changes in the output features from the inputs, enabling more accurate feature predictions. We also present relational cache scheduling (RCS), which estimates the prediction errors using the input features and performs full computations only when the errors are expected to be substantial. Extensive experiments across various DiT models demonstrate that RFC consistently outperforms prior approaches significantly. Project page is available at https://cvlab.yonsei.ac.kr/projects/RFC

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑